Carlos Nepomuceno added the comment:
According to what I have been told at python-l...@python.org str.__mod__() is
not going to be deprecated and that seems to be a myth created by Python's own
documentation.
I do remember to have read previously in another page that it would be
deprecated
New submission from Carlos Nepomuceno:
It[1] says:
Since str.format() is quite new, a lot of Python code still uses the %
operator. However, because this old style of formatting will eventually be
removed from the language, str.format() should generally be used.
[1] http://docs.python.org/2
Carlos Nepomuceno added the comment:
I don't know what to do. I tried CTRL+C but it didn't stop. Then I pressed
CTRL+Z and kill the python process and when i got back with 'fg' the make
process had been terminated. No messages were printed
Carlos Nepomuceno added the comment:
./python -m trace -t Lib/test/test_asynchat.py
[...]
--- modulename: asyncore, funcname: poll
asyncore.py(126): if map is None:
asyncore.py(128): if map:
asyncore.py(129): r = []; w = []; e = []
asyncore.py(130): for fd, obj
Carlos Nepomuceno added the comment:
Thank you! But what's going on?
Do my system have any limitation that is causing such hang?
Here goes it's ulimit output just in case:
[root@localhost Python-2.7.5]# ulimit -a
core file size (blocks, -c) 0
data seg size (kbytes, -d
Carlos Nepomuceno added the comment:
Full output in the attached file.
[root@localhost Python-2.7.5]# strace -ttT -f ./python Lib/test/test_asynchat.py
[...]
[pid 1697] 08:01:27.815179 select(6, [5], [5], [5], {0, 1}) = 0 (Timeout)
0.010095
[pid 1697] 08:01:27.825348 select(6, [5], [5
Carlos Nepomuceno added the comment:
What ports are needed?
[root@localhost Python-2.7.5]# iptables -L
Chain INPUT (policy DROP)
target prot opt source destination
ACCEPT udp -- anywhere anywhereudp dpt:domain
ACCEPT tcp -- anywhere
Carlos Nepomuceno added the comment:
Yes, but I don't have the git clone.
Can you send the complete file instead of the patch?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17992
Carlos Nepomuceno added the comment:
BTW, problem solved with:
iptables -A INPUT -d 127.0.0.1 -j ACCEPT
iptables -A INPUT -s 127.0.0.1 -j ACCEPT
Thanks a lot! \o
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17992
Carlos Nepomuceno added the comment:
Tried to use the new files[1] but they use 'support' instead of 'test_support'
from 'test' module.
[1] test_asynchat.py, test_asyncore.py
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org
Carlos Nepomuceno added the comment:
Ok! Thanks a lot!
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17992
___
___
Python-bugs-list mailing
New submission from Carlos Nepomuceno:
after running 'make' i entered 'make test' and it hanged on test_asynchat.
stayed there for more than 1 hour.
---
Python build finished, but the necessary bits to build these modules were not
found:
_bsddb _tkinter bsddb185
bz2
Changes by Carlos Nepomuceno nepomucenocarlo...@gmail.com:
Removed file: http://bugs.python.org/file30278/test_asynchat.txt
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17992
Changes by Carlos Nepomuceno nepomucenocarlo...@gmail.com:
Removed file: http://bugs.python.org/file30277/test_asynchat.txt
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17992
Changes by Carlos Nepomuceno nepomucenocarlo...@gmail.com:
Added file: http://bugs.python.org/file30278/test_asynchat.txt
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17992
Changes by Carlos Nepomuceno nepomucenocarlo...@gmail.com:
Added file: http://bugs.python.org/file30279/test_asynchat.txt
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17992
16 matches
Mail list logo