[issue7661] compiling ctypes fails with non-ascii path

2010-01-10 Thread Florent Xicluna
Changes by Florent Xicluna la...@yahoo.fr: Removed file: http://bugs.python.org/file15815/issue7661_ctypes_path.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7661 ___

[issue7661] compiling ctypes fails with non-ascii path

2010-01-10 Thread Florent Xicluna
Florent Xicluna la...@yahoo.fr added the comment: Fixed typo in previous patch. -- Added file: http://bugs.python.org/file15816/issue7661_ctypes_path.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7661

[issue7664] python logger does not handle IOError Exception

2010-01-10 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- nosy: +vinay.sajip priority: - normal stage: - test needed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7664 ___

[issue5683] Speed up cPickle's pickling generally

2010-01-10 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: There were a couple of comments on the Rietveld code review above. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5683 ___

[issue5683] Speed up cPickle's pickling generally

2010-01-10 Thread Skip Montanaro
Skip Montanaro s...@pobox.com added the comment: Antoine There were a couple of comments on the Rietveld code review Antoine above. Indeed there are. Given that the Unladen Swallow folks were focusing on the 2.6 branch and their goal was to improve performance I don't see any reason to not

[issue5683] Speed up cPickle's pickling generally

2010-01-10 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Indeed there are. Given that the Unladen Swallow folks were focusing on the 2.6 branch and their goal was to improve performance I don't see any reason to not accept what they've done, then tweak it for 2.7/3.1 assuming the changes you and

[issue5683] Speed up cPickle's pickling generally

2010-01-10 Thread Skip Montanaro
Skip Montanaro s...@pobox.com added the comment: Antoine The main thing I'm worried about is the potentially unbounded Antoine buffering, since it could reduce performance (or even thrash Antoine the machine) instead of improving it. Got a test case in mind? If so, I'll code it up and

[issue5683] Speed up cPickle's pickling generally

2010-01-10 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Got a test case in mind? If so, I'll code it up and compare 2.6 and Unladen Swallow as well as offer it up for inclusion in the U-S test suite. Trying to pickle a structure that's larger than half the RAM should do the trick. Something like a

[issue7661] compiling ctypes fails with non-ascii path

2010-01-10 Thread Florent Xicluna
Florent Xicluna la...@yahoo.fr added the comment: It fails if path contains space, too. Additional patch fixes this case. -- Added file: http://bugs.python.org/file15817/issue7661_ctypes_path_space.diff ___ Python tracker rep...@bugs.python.org

[issue5683] Speed up cPickle's pickling generally

2010-01-10 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Quick test on a 3GB machine: Without patch (top shows the process reaches 1.2GB RAM max): $ time ./python -c import cPickle;l=['a'*1024 for i in xrange(100)];cPickle.dump(l, open('/dev/null', 'wb')) 10.67user 1.47system 0:12.92elapsed

[issue7661] compiling ctypes fails with non-ascii path

2010-01-10 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: The patch looks ok to me. Thomas, do you have any take on this? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7661 ___

[issue7665] test_urllib2 fails if path contains \

2010-01-10 Thread Florent Xicluna
New submission from Florent Xicluna la...@yahoo.fr: /tmp/py2u… → un\icode $ ./python Lib/test/regrtest.py test_urllib2 test_urllib2 test test_urllib2 failed -- Traceback (most recent call last): File /tmp/py2u… → un\icode/Lib/test/test_urllib2.py, line 36, in test_trivial f =

[issue7663] UTF-16 build incorrectly translates cases for non-BMP code points

2010-01-10 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- components: +Unicode nosy: +amaury.forgeotdarc, ezio.melotti, loewis priority: - normal stage: - test needed type: - behavior ___ Python tracker rep...@bugs.python.org

[issue7665] test_urllib2 fails if path contains \

2010-01-10 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti, orsenthil priority: - normal stage: - needs patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7665 ___

[issue6854] UnicodeDecodeError when retrieving binary data from cgi.FieldStorage()

2010-01-10 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: This appears to be a duplicate of issue 4953. -- nosy: +r.david.murray priority: - normal resolution: - duplicate stage: - committed/rejected status: open - closed superseder: - cgi module cannot handle POST with

[issue7632] dtoa.c: oversize b in quorem

2010-01-10 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: One more incorrectly rounded result, this time for a normal number: AssertionError: Incorrectly rounded str-float conversion for 4487665465554760717039532578546e-47: expected 0x1.0p+0, got 0x1.fp-1

[issue7666] test_lib2to3 fails if path contains space

2010-01-10 Thread Florent Xicluna
New submission from Florent Xicluna la...@yahoo.fr: test_lib2to3 diff: opérande supplémentaire « unicode/Lib/lib2to3/pytree.py » diff: Pour en savoir davantage, faites: « diff --help ». test test_lib2to3 failed -- Traceback (most recent call last): File /tmp/py2u… →

[issue7648] test_urllib2 fails on Windows if not run from C:

2010-01-10 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: Fixed in revision 77411 for trunk. Will merge it to other branches. -- versions: +Python 2.6, Python 2.7, Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7648

[issue7648] test_urllib2 fails on Windows if not run from C:

2010-01-10 Thread Senthil Kumaran
Changes by Senthil Kumaran orsent...@gmail.com: -- resolution: - fixed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7648 ___ ___

[issue7665] test_urllib2 and test_ntpath fail if path contains \

2010-01-10 Thread Florent Xicluna
Florent Xicluna la...@yahoo.fr added the comment: Similar issue with test_ntpath. /tmp/py2u… → un\icode $ ./python Lib/test/regrtest.py test_ntpath test_ntpath test test_ntpath failed -- Traceback (most recent call last): File /tmp/py2u… → un\icode/Lib/test/test_ntpath.py, line 171, in

[issue7119] email: msg.items() returns different values before and after msg.as_string()

2010-01-10 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Applied in r77412, with ie and eg changed to 'for example'. -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org

[issue7648] test_urllib2 fails on Windows if not run from C:

2010-01-10 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: merged it in other branches: r77413,r77414,r77415. This fixes the errors in test_trivial tests. Verified on windows. -- assignee: - orsenthil status: open - closed ___ Python tracker

[issue5127] Use Py_UCS4 instead of Py_UNICODE in unicodectype.c

2010-01-10 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- superseder: - UCS4 build incorrectly translates cases for non-BMP code points ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5127 ___

[issue7643] What is a Unicode line break character?

2010-01-10 Thread Marc-Andre Lemburg
Marc-Andre Lemburg m...@egenix.com added the comment: Florent Xicluna wrote: Florent Xicluna la...@yahoo.fr added the comment: I don't know what to do about this: - FS, GS, RS are combined marks (CM): “Prohibit a line break between the character and the preceding character” I

[issue7665] test_urllib2 and test_ntpath fail if path contains \

2010-01-10 Thread Senthil Kumaran
Changes by Senthil Kumaran orsent...@gmail.com: -- assignee: - orsenthil ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7665 ___ ___

[issue7648] test_urllib2 fails on Windows if not run from C:

2010-01-10 Thread Austin English
Austin English austinenglish+pyt...@gmail.com added the comment: Woohoo, thanks! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7648 ___ ___

[issue7667] test_doctest fails with non-ascii path

2010-01-10 Thread Florent Xicluna
New submission from Florent Xicluna la...@yahoo.fr: /tmp/py2u…→unicode $ ./python Lib/test/regrtest.py test_doctest test_doctest ** File /tmp/py2u…→unicode/Lib/test/test_doctest.py, line 2052, in

[issue7648] test_urllib2 fails on Windows if not run from C:

2010-01-10 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: Just a Note: test_file in py26 had problems with multiple ips in this scenario (execute test.test_urllib2 from different drive in windows), but not in the py3k version. I need to verify it py26-maint/trunk. --

[issue5127] Use Py_UCS4 instead of Py_UNICODE in unicodectype.c

2010-01-10 Thread Marc-Andre Lemburg
Marc-Andre Lemburg m...@egenix.com added the comment: Amaury Forgeot d'Arc wrote: Amaury Forgeot d'Arc amaur...@gmail.com added the comment: I don't see the point in changing the various conversion APIs in the unicode database to return Py_UCS4 when there are no conversions that map code

[issue7668] test_httpservers fails with non-ascii path

2010-01-10 Thread Florent Xicluna
New submission from Florent Xicluna la...@yahoo.fr: /tmp/py2u…→unicode $ ./python Lib/test/regrtest.py test_httpservers test_httpservers File /tmp/tmplX9agF/cgi-bin/file1.py, line 1 SyntaxError: Non-ASCII character '\xe2' in file /tmp/tmplX9agF/cgi-bin/file1.py on line 1, but no encoding

[issue7669] test_unicode_file fails with non-ascii path

2010-01-10 Thread Florent Xicluna
New submission from Florent Xicluna la...@yahoo.fr: /tmp/py2u…→unicode $ ./python Lib/test/regrtest.py test_unicode_file test_unicode_file test test_unicode_file failed -- Traceback (most recent call last): File /tmp/py2u…→unicode/Lib/test/test_unicode_file.py, line 173, in test_single_files

[issue7670] _sqlite3: Block *all* operations on a closed Connection object

2010-01-10 Thread STINNER Victor
New submission from STINNER Victor victor.stin...@haypocalc.com: Add call to pysqlite_check_connection() on the follow methods: * create_function() * create_aggregate() * set_authorizer() * set_progress_handler() * __call__() Eg. fix the following segfault: c = Connection(test)

[issue7582] [patch] diff.py to use iso timestamp

2010-01-10 Thread Brian Curtin
Brian Curtin cur...@acm.org added the comment: The documentation could use some work. It means that if the timezone does use a daylight savings time period, time.daylight specifies the amount of the offset. In my timezone this value is 1. However, time.localtime().is_dst is currently 0,

[issue7582] [patch] diff.py to use iso timestamp

2010-01-10 Thread Brian Curtin
Brian Curtin cur...@acm.org added the comment: http://msdn.microsoft.com/en-us/library/2t504ch6%28VS.80%29.aspx has some info for how this is implemented on Windows, and I get the same results on my Mac. On Linux an AttributeError is raised time.struct_time not having an attribute is_dst,

[issue7661] compiling ctypes fails with non-ascii path

2010-01-10 Thread Florent Xicluna
Florent Xicluna la...@yahoo.fr added the comment: Updated: added quotes on line 2319. -- Added file: http://bugs.python.org/file15820/issue7661_ctypes_path_space.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7661

[issue7661] compiling ctypes fails with non-ascii path

2010-01-10 Thread Florent Xicluna
Changes by Florent Xicluna la...@yahoo.fr: Removed file: http://bugs.python.org/file15817/issue7661_ctypes_path_space.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7661 ___

[issue7664] python logger does not handle IOError Exception

2010-01-10 Thread Vinay Sajip
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment: Please clarify exsctly what you mean by multiprocessing logger. Note that logging does not support logging to the same file from concurrent processes (threads *are* supported). See

[issue7671] test_popen fails if path contains semi-colon ;

2010-01-10 Thread Florent Xicluna
New submission from Florent Xicluna la...@yahoo.fr: /tmp/semi;colon $ ./python -3 Lib/test/regrtest.py test_popen test_popen sh: /tmp/semi: Aucun fichier ou répertoire de ce type sh: colon/python: Aucun fichier ou répertoire de ce type test test_popen failed -- Traceback (most recent call last):

[issue7670] _sqlite3: Block *all* operations on a closed Connection object

2010-01-10 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- assignee: - ghaering nosy: +ghaering stage: - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7670 ___

[issue7632] dtoa.c: oversize b in quorem

2010-01-10 Thread Tim Peters
Tim Peters tim.pet...@gmail.com added the comment: Showing once again that a proof of FP code correctness is about as compelling as a proof of God's ontological status ;-) Still, have to express surprised admiration for 4487665465554760717039532578546e-47! That one's not even

[issue1943] improved allocation of PyUnicode objects

2010-01-10 Thread Adam Olsen
Adam Olsen rha...@gmail.com added the comment: Points against the subclassing argument: * We have a null-termination invariant. For byte strings this was part of the public API, and I'm not sure that's changed for unicode strings; aren't you arguing that we should maximize how much of our

[issue7582] [patch] diff.py to use iso timestamp

2010-01-10 Thread Brian Curtin
Brian Curtin cur...@acm.org added the comment: Whoops, nevermind the Linux comment on that last one. My typo there caused the exception. The result there is the same as the other platforms. -- ___ Python tracker rep...@bugs.python.org

[issue7671] test_popen fails if path contains special char like ;

2010-01-10 Thread Florent Xicluna
Florent Xicluna la...@yahoo.fr added the comment: Patch attached. -- keywords: +patch stage: - patch review title: test_popen fails if path contains semi-colon ; - test_popen fails if path contains special char like ; Added file:

[issue7610] Cannot use both read and readline method in same ZipExtFile object

2010-01-10 Thread Nir Aides
Nir Aides n...@winpdb.org added the comment: If the sequence of readaheads is ['a\r', '\nb\n'], the first use of the pattern will consume 'a', then the peek(2) will trigger a read() and the next use of the pattern will consume '\r\n'. I updated the patch and enhanced a little the inline

[issue7671] test_popen fails if path contains special char like ;

2010-01-10 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: Fixed in r77420. -- nosy: +benjamin.peterson resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7671

[issue7666] test_lib2to3 fails if path contains space

2010-01-10 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: Fixed in r77419. -- nosy: +benjamin.peterson resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7666

[issue7672] _ssl module causes segfault

2010-01-10 Thread Sean Soria
New submission from Sean Soria bugs.pyt...@seansoria.com: I seem to have a rather unique setup that causes this crash to be 100% reproducible. My application embeds python in order to execute user code. It is constantly loading and unloading the libraries so that they're only in memory during

[issue7632] dtoa.c: oversize b in quorem

2010-01-10 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Showing once again that a proof of FP code correctness is about as compelling as a proof of God's ontological status ;-) Clearly we need a 1000-page Isabelle/HOL-style machine-checked formal proof, rather than a ten-page TeX proof. Any

[issue1943] improved allocation of PyUnicode objects

2010-01-10 Thread Marc-Andre Lemburg
Marc-Andre Lemburg m...@egenix.com added the comment: Adam Olsen wrote: Adam Olsen rha...@gmail.com added the comment: Points against the subclassing argument: * We have a null-termination invariant. For byte strings this was part of the public API, and I'm not sure that's changed

[issue1943] improved allocation of PyUnicode objects

2010-01-10 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: Base type Unicode buffers end with a null-Py_UNICODE termination, but this is not used anywhere, AFAIK On Windows, code like CreateDirectoryW(PyUnicode_AS_UNICODE(po), NULL) is very common, at least in posixmodule.c. --

[issue1943] improved allocation of PyUnicode objects

2010-01-10 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: I find that the null termination for 8-bit strings makes low-level parsing operations (e.g., parsing a numeric string) safer and easier: for example, it makes skipping a series of digits with something like: while (isdigit(*s)) ++s; safe.

[issue5372] Distutils inappropriately reuses .o files between extension modules

2010-01-10 Thread Tarek Ziadé
Tarek Ziadé ziade.ta...@gmail.com added the comment: This optimization is indeed simplistic. I'll also remove _prep_compiler() in trunk, as I don't see a problem in removing it in the 2.7.x and 3.2.x series. I also need to fix it in 2.6.x / 3.1.x, but I'll keep the private method there.

[issue2449] Improved serialization error logging in xmlrpclib

2010-01-10 Thread Brian Curtin
Brian Curtin cur...@acm.org added the comment: Christopher, are you willing to update your patch for the current trunk (2.7)? -- nosy: +brian.curtin stage: - needs patch versions: +Python 2.7 -Python 2.4 ___ Python tracker rep...@bugs.python.org

[issue7672] _ssl module causes segfault

2010-01-10 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Why do you think this is a bug in Python? -- nosy: +loewis ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7672 ___

[issue1943] improved allocation of PyUnicode objects

2010-01-10 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: I find that the null termination for 8-bit strings makes low-level parsing operations (e.g., parsing a numeric string) safer and easier: Not to mention faster. The new IO library makes use of it (for newline detection), on both bytestrings and

[issue7672] _ssl module causes segfault

2010-01-10 Thread Sean Soria
Sean Soria bugs.pyt...@seansoria.com added the comment: Because Python is not cleaning up after itself. I don't see how a multi-threaded app could work around this issue. The only solution I can think of at the app level is to reset those callbacks once python exits, but a different thread

[issue5683] Speed up cPickle's pickling generally

2010-01-10 Thread Skip Montanaro
Skip Montanaro s...@pobox.com added the comment: Antoine With the patch, the same command quickly swaps hopelessly and Antoine after 5 minutes of elapsed time I finally manage to kill the Antoine process. Verified with an Unladen Swallow test case. I'll see if I can fix it. S

[issue7672] _ssl module causes segfault

2010-01-10 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: What operating system is this on? IIUC, Python has no chance to perform any cleanup. So it's not a bug that no cleanup happens. I don't understand the proposal of not setting the callback if they are already set. If that is done, how can

[issue7672] _ssl module causes segfault

2010-01-10 Thread Sean Soria
Sean Soria bugs.pyt...@seansoria.com added the comment: The issue was debugged on AMD64 Linux, but I was seeing similar crashing on OSX but could not debug because I wasn't getting a proper stack trace (probably because something else was being loaded into that memory space). I have yet to

[issue7672] _ssl module causes segfault

2010-01-10 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: So how do you do cleanup on Linux, or on OSX, in a shared library? I'd claim that the bug is in your application. It shouldn't unload a DLL that is still in use (by having a function pointer into it stored globally). Testing for a prior

[issue7672] _ssl module causes segfault

2010-01-10 Thread Sean Soria
Sean Soria bugs.pyt...@seansoria.com added the comment: You've got init_* that Python calls whenever it loads a library, you could just as easily have destroy_*. But that would probably be overkill. How would the application know that Python has created callbacks? This is just one instance.

[issue7673] audioop: check that length is a multiple of the size

2010-01-10 Thread STINNER Victor
New submission from STINNER Victor victor.stin...@haypocalc.com: Most functions of audioop takes as input a byte string (audio data) and a size argument (number of bytes of a sample). Functions don't check that the byte string length is a multiple of the size. It leads to read and write

[issue7544] Fatal error on thread creation in low memory condition

2010-01-10 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: The patch looks good; the line tstate-thread_id = PyThread_get_thread_ident(); is needed because the tstate is created in the main thread, but used in another thread. -- nosy: +amaury.forgeotdarc

[issue7544] Fatal error on thread creation in low memory condition

2010-01-10 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: The patch looks good I'm not sure about autoTLSkey value. PyThreadState_New() calls _PyGILState_NoteThreadState() which checks that autoTLSkey is not zero, but I don't know if autoTLSkey have the right value with my preallocation

[issue7544] Fatal error on thread creation in low memory condition

2010-01-10 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: I'm not sure about autoTLSkey value (...) After some tests (printf fun), it looks ok. -- There is another problem in _testcapi: test_thread_state() calls directly PyThread_start_new_thread() and the thread function calls

[issue7143] get_payload(decode=True) eats last newline

2010-01-10 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: The behavior you object to is in fact correct per RFC 2046, 5.5.1: The boundary delimiter MUST occur at the beginning of a line, i.e., following a CRLF, and the initial CRLF is considered to be attached to the boundary delimiter

[issue3244] multipart/form-data encoding

2010-01-10 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Daniel suggested marking this as superseding issue 727898, and I agree. But I want to note that in that issue Barry suggested that it was possible services from the email package could be useful in building this support, and that there

[issue727898] Support for sending multipart form data

2010-01-10 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- resolution: - duplicate stage: - committed/rejected status: open - closed superseder: - multipart/form-data encoding ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue727898

[issue2449] Improved serialization error logging in xmlrpclib

2010-01-10 Thread Brian Curtin
Brian Curtin cur...@acm.org added the comment: Here is blunck2's patch updated against r77393. Once I have a better understanding of the issue I'll see if I can write tests (eg. I don't know the significance of 8002 on line 675, etc). -- stage: needs patch - test needed

[issue2449] Improved serialization error logging in xmlrpclib

2010-01-10 Thread Brian Curtin
Changes by Brian Curtin cur...@acm.org: -- keywords: +patch Added file: http://bugs.python.org/file15824/issue2449.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2449 ___

[issue2644] errors from msync ignored in mmap_object_dealloc

2010-01-10 Thread Brian Curtin
Brian Curtin cur...@acm.org added the comment: Do you have a test case to reproduce the errors? I see that we call msync followed by munmap, neither one checked. -- nosy: +brian.curtin stage: - test needed ___ Python tracker rep...@bugs.python.org

[issue2449] Improved serialization error logging in xmlrpclib

2010-01-10 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: A few things about the patch: 1) the MarshallError class has a 'message' attribute that results in a warning on some Python versions, it should be renamed in something different (like 'msg'); 2) I'm not sure why the

[issue2449] Improved serialization error logging in xmlrpclib

2010-01-10 Thread Brian Curtin
Brian Curtin cur...@acm.org added the comment: This patch should address all but #2. I'm not exactly sure of the use-case blunck2 had in mind so I'm not sure how the message would be used. -- Added file: http://bugs.python.org/file15825/issue2449_v2.diff

[issue2449] Improved serialization error logging in xmlrpclib

2010-01-10 Thread Brian Curtin
Changes by Brian Curtin cur...@acm.org: Removed file: http://bugs.python.org/file15824/issue2449.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2449 ___

[issue2644] errors from msync ignored in mmap_object_dealloc

2010-01-10 Thread Brian Curtin
Changes by Brian Curtin cur...@acm.org: -- priority: - normal ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2644 ___ ___ Python-bugs-list mailing

[issue7664] python logger does not handle IOError Exception

2010-01-10 Thread Yateen V. Joshi
Yateen V. Joshi yjo...@starentnetworks.com added the comment: ok, thanks. I will try with subclass for handler. A question however, I do not see IOError exception being handled anywhere in the logging module. Is it not possible that the same would occur when we are trying to 'emit' a record to

[issue2698] Extension module build fails for MinGW: missing vcvarsall.bat

2010-01-10 Thread Craig McQueen
Craig McQueen pyt...@craig.mcqueen.id.au added the comment: Eric sent a build_ext.py to me and Daniel26 by e-mail. Attached. The idea was to copy it over the one in C:\Python31\Lib\distutils\command. I tried the file that he sent, but I'm getting the same issue that Daniel26 described.

[issue7674] select.select() corner cases: duplicate fds, out-of-range fds

2010-01-10 Thread Chris Leary
New submission from Chris Leary cd...@cornell.edu: I was just reading through this ACM article that enumerates some of the issues with the select function in .NET: http://cacm.acm.org/magazines/2009/5/24646-api-design-matters/fulltext select.select() currently suffers from the same

[issue7664] python logger does not handle IOError Exception

2010-01-10 Thread Vinay Sajip
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment: From: Yateen V. Joshi rep...@bugs.python.org A question however, I do not see IOError exception being handled anywhere in the logging module. Is it not possible that the same would occur when we are trying to 'emit' a record to a log

[issue7672] _ssl module causes segfault

2010-01-10 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: You you suggest that any application which dynamically loads a library never unload it? Correct. Library unloading just don't work. Trying it anyway is an endless uphill battle. -- ___ Python

<    1   2