[issue683658] PyErr_Warn may cause import deadlock

2008-01-19 Thread Georg Brandl
Changes by Georg Brandl: -- status: pending - closed Tracker [EMAIL PROTECTED] http://bugs.python.org/issue683658 ___ Python-bugs-list mailing list Unsubscribe:

[issue1687] plistlib.py restricts integer to Python int when writing

2008-01-19 Thread Georg Brandl
Georg Brandl added the comment: Backported in r60098. -- nosy: +georg.brandl resolution: remind - fixed status: pending - closed __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1687 __

[issue1700467] stack size of python_d.exe on VC6

2008-01-19 Thread Georg Brandl
Georg Brandl added the comment: No response, closing. -- nosy: +georg.brandl status: pending - closed _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1700467 _

[issue1719423] Python package support not properly documented

2008-01-19 Thread Georg Brandl
Georg Brandl added the comment: Any progress on this? _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1719423 _ ___ Python-bugs-list mailing list Unsubscribe:

[issue1867] patch for pydoc to work in py3k

2008-01-19 Thread Georg Brandl
Georg Brandl added the comment: Fixed in r60100. -- nosy: +georg.brandl resolution: - fixed status: open - closed __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1867 __

[issue1746071] class mutex doesn't do anything atomically

2008-01-19 Thread Antoine Pitrou
Antoine Pitrou added the comment: Making the mutex module thread safe is a low hanging fruit for the bug day. But would it bring anything that the threading module doesn't have? -- nosy: +pitrou _ Tracker [EMAIL PROTECTED]

[issue1019808] wrong socket error returned

2008-01-19 Thread A.M. Kuchling
A.M. Kuchling added the comment: Applied to 2.6 trunk in rev. 60101 (at long last!). Thanks for your patch! -- keywords: +patch resolution: - accepted status: open - closed _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1019808

[issue1161031] Neverending warnings from asyncore

2008-01-19 Thread A.M. Kuchling
Changes by A.M. Kuchling: -- assignee: akuchling - josiahcarlson _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1161031 _ ___ Python-bugs-list mailing list

[issue1509] Documentation lacking for the sqlite3 module.

2008-01-19 Thread Georg Brandl
Georg Brandl added the comment: Fixed in r60103. -- nosy: +georg.brandl resolution: - fixed status: open - closed __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1509 __

[issue1296] optparse's OptionGroup not described

2008-01-19 Thread A.M. Kuchling
Changes by A.M. Kuchling: -- assignee: - akuchling nosy: +akuchling __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1296 __ ___ Python-bugs-list mailing list

[issue1296] optparse's OptionGroup not described

2008-01-19 Thread A.M. Kuchling
A.M. Kuchling added the comment: Thanks for pointing this out. I've restored the text to the trunk in rev. 60106, and to the 2.5-maint branch in rev. 60107. -- resolution: - fixed status: open - closed __ Tracker [EMAIL PROTECTED]

[issue1336] subprocess.Popen hangs when child writes to stderr

2008-01-19 Thread Gregory P. Smith
Gregory P. Smith added the comment: fixed in trunk r60104. i'm backporting it to 2.5 and 2.4. -- resolution: - fixed versions: +Python 2.5, Python 2.6 __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1336 __

[issue1509] Documentation lacking for the sqlite3 module.

2008-01-19 Thread Jaroslav Pachola
Jaroslav Pachola added the comment: Attaching a patch that adds fetchXXX() description to the documentation for Python 2.5. Added file: http://bugs.python.org/file9235/sqlite3_docs_25.diff __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1509

[issue1509] Documentation lacking for the sqlite3 module.

2008-01-19 Thread Jaroslav Pachola
Jaroslav Pachola added the comment: BTW, the first 2 patches (for Python 2.6) work also on version 3.0a2 for me. -- versions: +Python 3.0 __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1509 __

[issue1336] subprocess.Popen hangs when child writes to stderr

2008-01-19 Thread Gregory P. Smith
Gregory P. Smith added the comment: r60111 undid part of r60104 that added an unnecessary else and indentation. svn diff -r60103:60111 of Lib/subprocess.py is a nice clean patch. __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1336

[issue1625] bz2.BZ2File doesn't support multiple streams

2008-01-19 Thread A.M. Kuchling
A.M. Kuchling added the comment: Like gzip, you can concatenate two bzip2 files: bzip2 -c /etc/passwd /tmp/pass.bz2 bzip2 -c /etc/passwd /tmp/pass.bz2 bunzip2 will output both parts, generating two copies of the file. So nothing needs to be done on compression, but uncompression needs to

[issue1300] subprocess.list2cmdline doesn't do pipe symbols

2008-01-19 Thread Gregory P. Smith
Changes by Gregory P. Smith: -- assignee: - gregory.p.smith keywords: +easy nosy: +gregory.p.smith __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1300 __ ___

[issue1751519] curses - new window methods: addchstr and addchnstr

2008-01-19 Thread A.M. Kuchling
A.M. Kuchling added the comment: I'm doubtful about passing strings of characters that contain characters + attrs. The usual convention used by the curses module is to allow strings containing attributeless characters to display, or integers that can include an attribute value. Perhaps these

[issue1300] subprocess.list2cmdline doesn't do pipe symbols

2008-01-19 Thread Gregory P. Smith
Gregory P. Smith added the comment: fixed in trunk r60115 (2.6). -- resolution: - fixed status: open - closed __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1300 __

[issue1689] Backport PEP 3141 to 2.6

2008-01-19 Thread Georg Brandl
Changes by Georg Brandl: -- resolution: - accepted status: open - pending __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1689 __ ___ Python-bugs-list mailing list

[issue1738] filecmp.dircmp does exact match only

2008-01-19 Thread Georg Brandl
Changes by Georg Brandl: Removed file: http://bugs.python.org/file9067/filecmp.py.patch __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1738 __ ___ Python-bugs-list mailing list

[issue1048820] Only Overwrite mode possible with curses.textpad.Textbox

2008-01-19 Thread A.M. Kuchling
Changes by A.M. Kuchling: -- keywords: +patch title: Only Overwrite mode possible with curses.textpad.Textbox - Only Overwrite mode possible with curses.textpad.Textbox _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1048820

[issue1659] Tests needing network flag?

2008-01-19 Thread Georg Brandl
Georg Brandl added the comment: This won't work without corresponding changes in regrtest.py; it currently mentions test_socket_ssl and test_timeout explicitly. -- nosy: +georg.brandl __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1659

[issue1659] Tests needing network flag?

2008-01-19 Thread Skip Montanaro
Skip Montanaro added the comment: This is an easy patch, but I'd like someone to at least verify it works before checking it in... nudge, nudge, wink, wink... -- keywords: +easy __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1659

[issue1621] Do not assume signed integer overflow behavior

2008-01-19 Thread Ismail Donmez
Ismail Donmez added the comment: I created a git repo for my fixes over http://repo.or.cz/w/pytest.git?a=shortlog;h=overflow-fix . Now as tiran suggested I fix one file and make sure nothing regressed. But! Feel free to beat me to it and fix this. I am all new to this and progress might be and

[issue1336] subprocess.Popen hangs when child writes to stderr

2008-01-19 Thread Gregory P. Smith
Gregory P. Smith added the comment: r60113 in release25-maint, r60114 in release24-maint. -- status: open - closed __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1336 __

[issue1189216] zipfile module and 2G boundary

2008-01-19 Thread Gregory P. Smith
Gregory P. Smith added the comment: fixed in trunk r60116 (2.6). and release25-maint r60117 (2.5.2). -- resolution: - accepted status: open - closed _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1189216

[issue487738] weaklist

2008-01-19 Thread Georg Brandl
Georg Brandl added the comment: Also we already have a WeakSet now since the abc module needs it. -- nosy: +georg.brandl Tracker [EMAIL PROTECTED] http://bugs.python.org/issue487738

[issue1060] zipfile cannot handle files larger than 2GB (inside archive)

2008-01-19 Thread Gregory P. Smith
Gregory P. Smith added the comment: The issue here was that reading more data than will fit into an in memory string fails. While the zipfile module could detect this in some cases, it is not really worth such a runtime check. This is just a fact of python and of sane programming, if you're

[issue1826] operator.attrgetter() should accept dotted attribute paths

2008-01-19 Thread Georg Brandl
Georg Brandl added the comment: Attaching another patch that doesn't create a list of strings every time the attrgetter is called. Also includes docs. -- nosy: +georg.brandl Added file: http://bugs.python.org/file9236/attrgetter-2.diff __ Tracker [EMAIL

[issue1401] urllib2 302 POST

2008-01-19 Thread Johann Tonsing
Changes by Johann Tonsing: -- nosy: +jtonsing __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1401 __ ___ Python-bugs-list mailing list Unsubscribe:

[issue1003] zipfile password fails validation

2008-01-19 Thread Gregory P. Smith
Gregory P. Smith added the comment: this failure also occurs on simple zip files created using infozip's zip with -e to encrypt the contents. debugging... __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1003 __

[issue1048820] Only Overwrite mode possible with curses.textpad.Textbox

2008-01-19 Thread A.M. Kuchling
A.M. Kuchling added the comment: Applied to the trunk in rev. 60119. Thanks for your patch! Please remember to sign and send in a contributor form; the forms are available at http://www.python.org/psf/contrib/ -- resolution: - accepted status: open - closed versions: +Python 2.6

[issue777884] minidom.py -- TypeError: object doesn't support slice assig

2008-01-19 Thread A.M. Kuchling
Changes by A.M. Kuchling: -- assignee: fdrake - akuchling Tracker [EMAIL PROTECTED] http://bugs.python.org/issue777884 ___ Python-bugs-list mailing list Unsubscribe:

[issue1003] zipfile password fails validation

2008-01-19 Thread Gregory P. Smith
Gregory P. Smith added the comment: Fixed in r60121 (2.6). zip file decryption check bytes were more complicated than the existing code supported. Algorithm updated. -- resolution: - fixed status: open - closed versions: +Python 2.6 -Python 2.5 __

[issue1627] Problem with httplib and Content-Length: -1

2008-01-19 Thread Steven Downum
Steven Downum added the comment: I have made a patch of the proposed fixed and ran the httplib test afterwards, to make sure it passed. -- nosy: +sdownum Added file: http://bugs.python.org/file9237/1626_patch.diff __ Tracker [EMAIL PROTECTED]

[issue1621] Do not assume signed integer overflow behavior

2008-01-19 Thread Ismail Donmez
Ismail Donmez added the comment: With second patch now python builds without any overflow warnings, no new regressions. Please test and/or review. Only thing left is fixing Modules subdirectory. Thanks. Added file: http://bugs.python.org/file9238/fix-overflows-try2.patch

[issue705836] struct.pack of floats in non-native endian order

2008-01-19 Thread Mark Dickinson
Mark Dickinson added the comment: It's a little odd: the relevant code is in floatobject.c, in _PyFloat_Pack4. The issue is what happens when a Python float (stored internally as a platform double) is packed as an IEEE-754 single-precision float. The current code doesn't behave

[issue705836] struct.pack of floats in non-native endian order

2008-01-19 Thread Mark Dickinson
Mark Dickinson added the comment: Aha: the C99 standard, section 6.3.1.5, says: When a double is demoted to float, a long double is demoted to double or float, or a value being represented in greater precision and range than required by its semantic type (see 6.3.1.8) is explicitly converted

[issue1640] Enhancements for mathmodule

2008-01-19 Thread George Castillo
George Castillo added the comment: Is there still interest in implementing the inverse hyperbolic trig functions for real numbers? I would be willing to explore this if there is. -- nosy: +gmcastil __ Tracker [EMAIL PROTECTED]

[issue1659] Tests needing network flag?

2008-01-19 Thread Skip Montanaro
Skip Montanaro added the comment: it currently mentions test_socket_ssl and test_timeout explicitly it being regrtest.py? This patch works for me. In what way is regrtest's reference to test_socket_ssl (for example) a problem? All I did for that test was tighten up the requirements to run

[issue1640] Enhancements for mathmodule

2008-01-19 Thread Mark Dickinson
Mark Dickinson added the comment: George: I'm certainly still interested in having asinh, acosh and atanh in math---I'm not sure about anyone else, but I consider these three functions to be basic ingredients in any math library. They even appear in most calculus texts. And the complex

[issue1621] Do not assume signed integer overflow behavior

2008-01-19 Thread Ismail Donmez
Ismail Donmez added the comment: Possibly last one before final patch, only Modules/_sre.c left to fix, I appreciate help on that. Please ignore tab problems, I think that can be fixed later on. Thanks. Added file: http://bugs.python.org/file9239/fix-overflows-try3.patch

[issue1183712] package_data chops off first char of default package

2008-01-19 Thread Raghuram Devarakonda
Raghuram Devarakonda added the comment: Closing this as the required code change is committed (as part of #1720897). -- resolution: - fixed status: open - closed _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1183712

[issue705836] struct.pack of floats in non-native endian order

2008-01-19 Thread Mark Dickinson
Mark Dickinson added the comment: Here's a patch that fixes the test that Collin mentioned to reflect what's actually been happening for the last nearly 5 years, and changes _PyFloat_Pack4 and _PyFloat_Pack8, as follows. When packing a float that's too large for the destination format (e.g.

<    1   2