[issue5635] test_sys reference counting fails while tracing

2009-03-31 Thread David Christian
New submission from David Christian : test_sys refcount test checks that assigning None to a local variable n increases the references to None by exactly 1. However sys.settrace is set, then the frame object must be instantiated to be passed to the trace object. This increments the reference

[issue1608921] PyThread_release_lock with pthreads munges errno

2009-03-31 Thread David Christian
Changes by David Christian : -- nosy: +dugan ___ Python tracker <http://bugs.python.org/issue1608921> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1711605] CGIHttpServer leaves traces of previous requests in env

2009-03-31 Thread David Christian
Changes by David Christian : -- nosy: +dugan ___ Python tracker <http://bugs.python.org/issue1711605> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1674555] Python 2.5 testsuite sys.path contains system dirs

2009-03-31 Thread David Christian
Changes by David Christian : -- nosy: +dugan ___ Python tracker <http://bugs.python.org/issue1674555> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue5617] Unicode printing in gdb post-mortem sessions

2009-03-30 Thread David Christian
Changes by David Christian : -- title: Unicode pringint in post-mortem sessions -> Unicode printing in gdb post-mortem sessions ___ Python tracker <http://bugs.python.org/iss

[issue5617] Unicode pringint in post-mortem sessions

2009-03-30 Thread David Christian
New submission from David Christian : http://blog.kowalczyk.info/article/Gdb-basics.html It is difficult to display the frame you're in while debugging a core dump in python 3.0 (when in a core dump, you can't run functions, and thus cannot use many of the normal methods of displayi

[issue5238] ssl makefile never closes socket

2009-03-01 Thread David Christian
David Christian added the comment: I actually discovered this issue when using httplib over ssl. Closing the httplib connection was not closing the socket - the socket would only be closed after garbage collection, due to this bug. That's what caused me to investigate and find this fla

[issue5188] telnetlib process_rawq buffer handling is confused

2009-02-15 Thread David Christian
Changes by David Christian : Added file: http://bugs.python.org/file13099/telnetlib.patch ___ Python tracker <http://bugs.python.org/issue5188> ___ ___ Python-bugs-list m

[issue5188] telnetlib process_rawq buffer handling is confused

2009-02-15 Thread David Christian
David Christian added the comment: True. It turns out that there are other uses of a bytes string when a byte is required in that same routine. I've patched up those as well. Looks what we really need is a test of this function. I'll work on th

[issue5188] telnetlib process_rawq buffer handling is confused

2009-02-12 Thread David Christian
Changes by David Christian : -- keywords: +patch Added file: http://bugs.python.org/file13062/telnetlib.patch ___ Python tracker <http://bugs.python.org/issue5

[issue5238] ssl makefile never closes socket

2009-02-12 Thread David Christian
Changes by David Christian : -- components: +Library (Lib) keywords: +patch type: -> resource usage Added file: http://bugs.python.org/file13061/ssl.py.patch ___ Python tracker <http://bugs.python.org/iss

[issue5238] ssl makefile never closes socket

2009-02-12 Thread David Christian
New submission from David Christian : The ssl.py makefile function returns a socket._fileobject object with a reference to itself, and also increments the makefile_refs variable. However, the _fileobject is created with the parameter close=False, which means that when you call _fileobject.close

[issue5188] telnetlib process_rawq buffer handling is confused

2009-02-08 Thread David Christian
David Christian added the comment: The result of this bug is that any callback set via set_option_negotiation_callback will not be called. ___ Python tracker <http://bugs.python.org/issue5

[issue5188] telnetlib process_rawq buffer handling is confused

2009-02-08 Thread David Christian
New submission from David Christian : in telnetlib's process_rawq, rawq_getchar() returns a bytes object of length 1. However, that buffer is then compared directly against the variable IAC, which is the integer 255. This is always false, as bytes([255]) != 255. Checked svn and looks

[issue1174606] Reading /dev/zero causes SystemError

2008-02-23 Thread David Christian
Changes by David Christian: Added file: http://bugs.python.org/file9512/issue1174606.diff _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1174606> _ ___

[issue1174606] Reading /dev/zero causes SystemError

2008-02-23 Thread David Christian
David Christian added the comment: Raise OverflowError if unbounded read() exceeds PY_SSIZE_T_MAX bytes. Added file: http://bugs.python.org/file9511/issue1174606.diff _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/iss