[issue11485] Default SDK value on MacOSX needs changing

2011-03-14 Thread Santoso Wijaya
Santoso Wijaya santoso.wij...@gmail.com added the comment: Running configure on a MacOSX system will set MACOSX_DEPLOYMENT_TARGET to 10.4, which is probably not optimal for anyone on a recentish system. What's more, when I first tried to compile Python on Mac OS X, and I have MacPorts'

[issue11369] Add caching for the isEnabledFor() computation

2011-03-14 Thread William Hart
William Hart whart...@gmail.com added the comment: Vinay: No, I haven't tried this in multi-threaded applications. You're correct that this would require locks around the global data. --Bill On Thu, Mar 10, 2011 at 3:16 AM, Vinay Sajip rep...@bugs.python.org wrote: Vinay Sajip

[issue11491] dbm.open(..., flag=n) raises dbm.error if file exists and is rejected by whichdb

2011-03-14 Thread Denver Coneybeare
New submission from Denver Coneybeare denver.coneybe...@gmail.com: dbm.open() with flag=n raises dbm.error if the given file exists but whichdb doesn't recognize it. In the documentation for dbm.open() the n flag is documented to Always create a new, empty database, open for reading and

[issue11487] build_installer.py should avoid relying on a young Python

2011-03-14 Thread Ned Deily
Ned Deily n...@acm.org added the comment: Note, there is a fix for the $MACOSX_DEPLOYMENT_TARGET mismatch Ronald mentions in Issue9516 and is only a problem if, during the build, /usr/bin/env python is a Python 2.7 that was built with a different deployment target. Python 2.6 and earlier are

[issue11492] email.header.Header doesn't fold headers

2011-03-14 Thread Scott Kitterman
New submission from Scott Kitterman skl...@kitterman.com: Header folding is very different (non-existent as far as I've found so far) in Python3. Here's a short example: #!/usr/bin/python # -*- coding: ISO-8859-1 from email.header import Header hdrin = 'Received: from

[issue11467] urlparse.urlsplit() regression for paths consisting of digits

2011-03-14 Thread Santoso Wijaya
Santoso Wijaya santoso.wij...@gmail.com added the comment: I'm attaching a patch with a fix and a unittest using the email example. I put this in a new test_RFC2368 (the mailto URL scheme) method. Seems like there is no unittest for parsing mailto scheme to begin with. -- Added file:

[issue11467] urlparse.urlsplit() regression for paths consisting of digits

2011-03-14 Thread Santoso Wijaya
Changes by Santoso Wijaya santoso.wij...@gmail.com: Removed file: http://bugs.python.org/file21110/urlparse.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11467 ___

[issue11467] urlparse.urlsplit() regression for paths consisting of digits

2011-03-14 Thread Santoso Wijaya
Santoso Wijaya santoso.wij...@gmail.com added the comment: Oops, wrong revision base. -- Added file: http://bugs.python.org/file2/urlparse.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11467

[issue11467] urlparse.urlsplit() regression for paths consisting of digits

2011-03-14 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: Santoso, Quick review comments: 1. The patch looks good. 2. I would use a temporary 'throw-away' variable instead of _, but don't bother to change it, before committing I shall take care. 3. Important - Did you find any regression with the

[issue10885] multiprocessing docs

2011-03-14 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset 5dabfc3e4dd5 by Ross Lagerwall in branch '3.1': Issue #10885: Fix multiprocessing docs typo http://hg.python.org/cpython/rev/5dabfc3e4dd5 New changeset b2ebe9f5faca by Ross Lagerwall in branch '2.7': Issue #10885: Fix

[issue10885] multiprocessing docs

2011-03-14 Thread Ross Lagerwall
Changes by Ross Lagerwall rosslagerw...@gmail.com: -- assignee: docs@python - rosslagerwall resolution: - fixed stage: - committed/rejected status: open - closed versions: +Python 3.3 ___ Python tracker rep...@bugs.python.org

[issue11467] urlparse.urlsplit() regression for paths consisting of digits

2011-03-14 Thread Santoso Wijaya
Santoso Wijaya santoso.wij...@gmail.com added the comment: Senthil, Thanks for the review! I was initially thinking of `port = ...` but opted for _, arbitrarily, instead. regrtest on Darwin-10.6.0-i386-64bit ran fine. -- ___ Python tracker

[issue11494] Confusing error message from warnings.warn

2011-03-14 Thread Gerrit Holl
New submission from Gerrit Holl topjakl...@gmail.com: When accidentally passing a string to warnings.warn where one should pass a Warning-class, the error message is rather confusing: $ ./python Python 2.7.1+ (release27-maint:88766, Mar 8 2011, 16:51:59) [GCC 4.4.5] on linux2 Type help,

[issue2142] difflib.unified_diff(...) produces invalid patches

2011-03-14 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: I’m not sure whether the compatibility policy would prevent that. Aren’t there some cases with iterators (not strings) that work fine today without the change? If so, it should be possible to get the same behavior. --

[issue8516] Speed difference between Python 2.5 and 2.6 during filling bsddb database.

2011-03-14 Thread Jesús Cea Avión
Jesús Cea Avión j...@jcea.es added the comment: Python 2.7 is out for a year now, and BSDDB is not present in Python 3. I mark this as closed/out of date. Any bug in pybsddb must be reported to the external package at http://www.jcea.es/programacion/pybsddb.htm -- assignee: jcea -

[issue4473] POP3 missing support for starttls

2011-03-14 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: -- versions: +Python 3.3 -Python 2.7, Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4473 ___

[issue4142] smtplib doesn't clear helo/ehlo flags on quit

2011-03-14 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: -- versions: +Python 3.3 -Python 2.6, Python 3.1, Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4142 ___

[issue11477] Bug in code dispatching based on internal slots

2011-03-14 Thread Carl Friedrich Bolz
Changes by Carl Friedrich Bolz cfb...@gmx.de: -- nosy: +cfbolz ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11477 ___ ___ Python-bugs-list

[issue11488] Add writelines test coverage in tempfile

2011-03-14 Thread Brian Curtin
Brian Curtin br...@python.org added the comment: Agreed, looks fine. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11488 ___ ___

[issue11495] Remove OSF support completelly

2011-03-14 Thread Jesús Cea Avión
New submission from Jesús Cea Avión j...@jcea.es: OSF was deprecated in Python 3.2, following the PEP11. Now we must delete the support completelly for python 3.3. -- assignee: jcea messages: 130804 nosy: jcea priority: normal severity: normal stage: needs patch status: open title:

[issue11485] Default SDK value on MacOSX needs changing

2011-03-14 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: See Issue11487 for more discussion on the SDK issue. As a workaround do touch Include/Python-ast.* to ensure that the build won't try to rebuild the header files (those files are up-to-date, but the timestamps in a fresh checkout are

[issue11495] Remove OSF support completelly

2011-03-14 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Well, all of the following systems/configurations should have their support removed in 3.3: Name: Systems using Mach C Threads Name: SunOS lightweight processes (LWP) Name: Systems using --with-pth

[issue11487] build_installer.py should avoid relying on a young Python

2011-03-14 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: Issue11485 contains a comment of someone that ran into the same issue is me. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11487

[issue1099] Mac compile fails with pydebug and framework enabled

2011-03-14 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: I've added a new patch which only updates makefile.pre.in. -- Added file: http://bugs.python.org/file21112/issue1099-v2.patch ___ Python tracker rep...@bugs.python.org

[issue11452] test_inspect, test_trace not symlink install clean

2011-03-14 Thread Steffen Daode Nurpmeso
Steffen Daode Nurpmeso sdao...@googlemail.com added the comment: It happened again. 13:27 ~/src/cpython $ ./python.exe -E -Wd -m test -r -w == CPython 3.3a0 (default:a49bda5ff3d5, Mar 14 2011, 13:24:44) [GCC 4.2.1 (Apple Inc. build 5664)] == Darwin-10.6.0-i386-64bit little-endian [...] 326

[issue9516] sysconfig: $MACOSX_DEPLOYMENT_TARGET mismatch: now 10.3 but 10.5 during configure

2011-03-14 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: Tarek: could you comment on this patch, in particular: is it OK to commit this to 2.7, 3.2 and head? (I haven't checked yet if the patch still applies cleanly, will do that later today) --

[issue5863] bz2.BZ2File should accept other file-like objects. (issue4274045)

2011-03-14 Thread Michiel de Hoon
Michiel de Hoon mdeh...@users.sourceforge.net added the comment: Would it be possible to add an open() function to the bz2 module? Currently gzip has such a function, but bz2 does not: import gzip gzip.open function open at 0x781f0 import bz2 bz2.open Traceback (most recent call last):

[issue11165] Document PyEval_Call* functions

2011-03-14 Thread Robbie Clemons
Changes by Robbie Clemons robclem...@gmail.com: -- nosy: +robquad ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11165 ___ ___ Python-bugs-list

[issue11477] Bug in code dispatching based on internal slots

2011-03-14 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: Armin, I'm not sure returning NotImplemented from __iadd__ is a good idea in this case. It means += on a mutable object may silently fail to mutate in-place - enabling that seems rather questionable. -- nosy: +ncoghlan

[issue1099] Mac compile fails with pydebug and framework enabled

2011-03-14 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: The patch has a spurious backslash at the end of the $(CC) command, but should otherwise be OK. I'm currently running the testsuite in will later today push the fix to the repository. --

[issue11477] Bug in code dispatching based on internal slots

2011-03-14 Thread Nick Coghlan
Changes by Nick Coghlan ncogh...@gmail.com: -- assignee: - ncoghlan ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11477 ___ ___ Python-bugs-list

[issue11488] Add writelines test coverage in tempfile

2011-03-14 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset f816841bab03 by R David Murray in branch '3.1': #11488: Add tests for writelines method of SpooledTemporaryFile. http://hg.python.org/cpython/rev/f816841bab03 New changeset da37cc4bd088 by R David Murray in branch '3.2': Merge

[issue11466] getpass.getpass doesn't close tty file

2011-03-14 Thread Steffen Daode Nurpmeso
Steffen Daode Nurpmeso sdao...@googlemail.com added the comment: Hello, Éric and Gregory, this patch also addresses the problem that 'one newline too much' may be written in case of errors. The problem is already present in the unpatched code, and i admit that 11466.3.patch doesn't fix it.

[issue11496] test_readline fails when readline was installed after running configure (and was not re-run)

2011-03-14 Thread Natalia B. Bidart
New submission from Natalia B. Bidart nataliabid...@gmail.com: If libreadline-dev was installed after configure was run, and the latter is not re-run, test_readline fails with: [1/1] test_readline test test_readline failed -- Traceback (most recent call last): File

[issue11496] test_readline fails when readline was installed after running configure (and was not re-run)

2011-03-14 Thread Natalia B. Bidart
Natalia B. Bidart nataliabid...@gmail.com added the comment: I'm working on a patch. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11496 ___

[issue11497] Devguide: re-run configure in Unix setup step after installing deps

2011-03-14 Thread Matias Bordese
New submission from Matias Bordese mbord...@gmail.com: When setting up dev environment in Unix and there are missing dependencies after running make, you may need to re-run configure before a new make (relates to #11496). -- assignee: docs@python components: Documentation messages:

[issue2650] re.escape should not escape underscore

2011-03-14 Thread SilentGhost
SilentGhost ghost@gmail.com added the comment: I think these are two different questions: 1. What to escape 2. What to do about poor performance of the re.escape when re.sub is used In my opinion, there isn't any justifiable reason to escape non-meta characters: it doesn't affect

[issue11497] Devguide: re-run configure in Unix setup step after installing deps

2011-03-14 Thread Matias Bordese
Matias Bordese mbord...@gmail.com added the comment: Adding patch. -- keywords: +patch Added file: http://bugs.python.org/file21114/issue11497.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11497

[issue11496] test_readline fails when readline was installed after running configure (and was not re-run)

2011-03-14 Thread Natalia B. Bidart
Natalia B. Bidart nataliabid...@gmail.com added the comment: Trivial patch to skip the test if module 'readline' doesn't have the 'clear_history' attr. -- keywords: +patch Added file: http://bugs.python.org/file21115/pycon-issue11496.patch ___

[issue5863] bz2.BZ2File should accept other file-like objects. (issue4274045)

2011-03-14 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Would it be possible to add an open() function to the bz2 module? Currently gzip has such a function, but bz2 does not: Well, it could be a topic for a separate issue. -- ___ Python tracker

[issue11497] Devguide: re-run configure in Unix setup step after installing deps

2011-03-14 Thread Brett Cannon
Brett Cannon br...@python.org added the comment: Fixed in [9bacb56f08e7] -- nosy: +brett.cannon resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11497

[issue11496] test_readline fails when readline was installed after running configure (and was not re-run)

2011-03-14 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Hmm. It seems to me that in this case the test *should* fail, since it indicates a broken Python installation. How about instead catching the error in the test and calling self.fail with the error and an additional message about

[issue11491] dbm.open(..., flag=n) raises dbm.error if file exists and is rejected by whichdb

2011-03-14 Thread Denver Coneybeare
Changes by Denver Coneybeare denver.coneybe...@gmail.com: -- nosy: +brian.curtin versions: +Python 2.7, Python 3.1, Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11491 ___

[issue11496] test_readline fails when readline was installed after running configure (and was not re-run)

2011-03-14 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: MvL explained that there is a configure tests that makes the existence of this routine optional. So the skip is appropriate, but the message should read something like the clear history tests cannot be run because the clear_history

[issue5863] bz2.BZ2File should accept other file-like objects. (issue4274045)

2011-03-14 Thread Nadeem Vawda
Nadeem Vawda nadeem.va...@gmail.com added the comment: Would it be possible to add an open() function to the bz2 module? Yes, it would be quite trivial, though I don't think it would be worthwhile - all it would do is provide a direct alias for the BZ2File constructor. But as Antoine said,

[issue6911] Document changes in asynchat

2011-03-14 Thread Jeff Ramnani
Jeff Ramnani j...@jefframnani.com added the comment: This patch could no longer be applied cleanly on the 2.7 branch. I have updated the patch so it applies cleanly to commit 22f991bb9b0b on the 2.7 branch. -- nosy: +jramnani Added file:

[issue1440472] email.Generator is not idempotent

2011-03-14 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Here is a patch that adds a footnote explaining the issue. -- keywords: +patch Added file: http://bugs.python.org/file21117/gen_not_quite_idem.patch ___ Python tracker rep...@bugs.python.org

[issue11498] test_zipfile.test_unicode_filenames should be skipped of no zlib

2011-03-14 Thread Natalia B. Bidart
New submission from Natalia B. Bidart nataliabid...@gmail.com: When running the test suite, if zlib is not available, we get this failure: [1/1] test_zipfile test test_zipfile failed -- Traceback (most recent call last): File /home/nessita/pycon/sprint/cpython/Lib/test/test_zipfile.py, line

[issue11498] test_zipfile.test_unicode_filenames should be skipped of no zlib

2011-03-14 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- assignee: - ezio.melotti nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11498 ___

[issue11498] test_zipfile.test_unicode_filenames should be skipped of no zlib

2011-03-14 Thread Natalia B. Bidart
Natalia B. Bidart nataliabid...@gmail.com added the comment: Trivial patch to skip the aforementioned test. -- keywords: +patch Added file: http://bugs.python.org/file21118/pycon-issue11498.patch ___ Python tracker rep...@bugs.python.org

[issue11496] test_readline fails when readline was installed after running configure (and was not re-run)

2011-03-14 Thread Natalia B. Bidart
Natalia B. Bidart nataliabid...@gmail.com added the comment: Attaching patch with improved skip message as per David's comment. -- Added file: http://bugs.python.org/file21119/pycon-issue11496.patch ___ Python tracker rep...@bugs.python.org

[issue11495] Remove OSF support completelly

2011-03-14 Thread Jesús Cea Avión
Jesús Cea Avión j...@jcea.es added the comment: Uhm... cleaning this code I have a lot of references in ctypes libraries, especifically in the FFI section. I have the feeling that we are importing this code from upstream, so I better don't touch this ctypes/FFI. Am I right?. --

[issue11495] Remove OSF support completelly

2011-03-14 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Uhm... cleaning this code I have a lot of references in ctypes libraries, especifically in the FFI section. I have the feeling that we are importing this code from upstream, so I better don't touch this ctypes/FFI. ctypes can be touched,

[issue11498] test_zipfile.test_unicode_filenames should be skipped of no zlib

2011-03-14 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset 89af3880ca57 by Eric V. Smith in branch 'default': Skip test if zlib not present. Closes #11498. Patch by Natalia B. Bidart. http://hg.python.org/cpython/rev/89af3880ca57 -- nosy: +python-dev resolution: - fixed stage: -

[issue5863] bz2.BZ2File should accept other file-like objects. (issue4274045)

2011-03-14 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Regarding the use of PY_SSIZE_T_CLEAN, I assume that Py_ssize_t is to be preferred over plain ssize_t. Is this correct? Yes, ssize_t doesn't exist everywhere AFAIK. (size_t does, or at least we assume it does) Also, I was wondering whether I

[issue7689] Pickling of classes with a metaclass and copy_reg

2011-03-14 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +ncoghlan ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7689 ___ ___ Python-bugs-list mailing

[issue11499] reassignment to bool is left in the file

2011-03-14 Thread Jason R. Coombs
New submission from Jason R. Coombs jar...@jaraco.com: Consider the Python file #!python True = 1 False = 0 The 2to3 script returns an empty diff for this file. These lines (especially when the values are canonical), are clearly for backward compatibility to early Python 2.x

[issue11165] Document PyEval_Call* functions

2011-03-14 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: IMO, it would probably have been better if these APIs had been private from the start. Is there any use case for calling them from 3rd-party code? -- nosy: +pitrou ___ Python tracker

[issue11499] 2to3: reassignment to bool is left in the file

2011-03-14 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +benjamin.peterson title: reassignment to bool is left in the file - 2to3: reassignment to bool is left in the file ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11499

[issue10775] assertRaises as a context manager should accept a 'msg' keyword argument.

2011-03-14 Thread Robbie Clemons
Robbie Clemons robclem...@gmail.com added the comment: Changing callableObj to callable_obj in assertRaises will break for anyone that's upgrading to 3.3. I left a comment on the review. -- nosy: +robquad ___ Python tracker rep...@bugs.python.org

[issue11500] Fixes failing urllib2 proxy tests on OSX

2011-03-14 Thread Scott Wilson
New submission from Scott Wilson scott.wil...@gmail.com: Fixes a bug in the os x proxy bypass code for fully qualified IP addresses in the proxy exception list. Tests that fail on os x without this patch: test_urllib2.HandlerTests.test_proxy_https

[issue6584] gzip module has no custom exception

2011-03-14 Thread Filip Gruszczyński
Filip Gruszczyński grusz...@gmail.com added the comment: Bump! How about commiting this patch? Or maybe there is something missing? I'll be happy to fix it. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6584

[issue1099] Mac compile fails with pydebug and framework enabled

2011-03-14 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset 7af5a9298251 by Ronald Oussoren in branch '3.1': Fixes #1099: Mac compile fails with pydebug and framework enabled http://hg.python.org/cpython/rev/7af5a9298251 New changeset e8679f07badd by Ronald Oussoren in branch '3.2': Issue

[issue6584] gzip module has no custom exception

2011-03-14 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Since the patch makes BadGzipFile a subclass of IOError, it doesn't look unreasonable. Some nits: - a gzipped file is not an archive - the unit tests should use either the with statement, or try/finally blocks to properly close the file even

[issue5673] Add timeout option to subprocess.Popen

2011-03-14 Thread Reid Kleckner
Reid Kleckner r...@mit.edu added the comment: I updated and committed the patch to the cpython hg repo in revision [c4a0fa6e687c]. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5673 ___

[issue1099] Mac compile fails with pydebug and framework enabled

2011-03-14 Thread Ronald Oussoren
Changes by Ronald Oussoren ronaldousso...@mac.com: -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1099

[issue11489] json.dumps not parsable by json.loads (on Linux only)

2011-03-14 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: It appears this is an invalid unicode character. Shouldn't this be caught by decode(utf8) It should and it is in Python 3.x: b'\xed\xa8\x80'.decode(utf8) Traceback (most recent call last): File stdin, line 1, in

[issue11501] distutils.archive_util should handle absence of zlib module

2011-03-14 Thread Natalia B. Bidart
New submission from Natalia B. Bidart nataliabid...@gmail.com: When creating a zipfile, the code: zip = zipfile.ZipFile(zip_filename, w, compression=zipfile.ZIP_DEFLATED) does not handle the potential RuntimeError casued by: If ZIP_DEFLATED is specified but the zlib

[issue11501] distutils.archive_util should handle absence of zlib module

2011-03-14 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11501 ___ ___

[issue5673] Add timeout option to subprocess.Popen

2011-03-14 Thread Sridhar Ratnakumar
Sridhar Ratnakumar sridh...@activestate.com added the comment: On 2011-03-14, at 9:18 AM, Reid Kleckner wrote: I updated and committed the patch to the cpython hg repo in revision [c4a0fa6e687c]. Does this go to the main branch (py3.3) only? It is not clear from just looking at

[issue11502] assignment of winreg module to another name causes NameError

2011-03-14 Thread Jason R. Coombs
New submission from Jason R. Coombs jar...@jaraco.com: Consider the Python file: import _winreg _winreg.foo x = _winreg Currently, 2to3 converts this to: import winreg winreg.foo x = _winreg The result will elicit a NameError on line 3 (if line 2 is valid). Is it

[issue11024] imaplib: Time2Internaldate() returns localized strings

2011-03-14 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: The tests for this function are...not sufficient. I don't think I'm comfortable committing a patch without improving the tests. Ideally there would also be a test that the locale does not affect the result, which would need to be

[issue5673] Add timeout option to subprocess.Popen

2011-03-14 Thread Reid Kleckner
Reid Kleckner r...@mit.edu added the comment: On Mon, Mar 14, 2011 at 12:31 PM, Sridhar Ratnakumar rep...@bugs.python.org wrote: Sridhar Ratnakumar sridh...@activestate.com added the comment: On 2011-03-14, at 9:18 AM, Reid Kleckner wrote: I updated and committed the patch to the cpython

[issue11495] Remove OSF support completelly

2011-03-14 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset 15b090c9442a by Jesus Cea in branch 'default': Issue #11495: OSF support is eliminated. It was deprecated in Python 3.2 http://hg.python.org/cpython/rev/15b090c9442a -- nosy: +python-dev

[issue11500] Fixes failing urllib2 proxy tests on OSX

2011-03-14 Thread Scott Wilson
Changes by Scott Wilson scott.wil...@gmail.com: -- nosy: +orsenthil -ronaldoussoren type: - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11500 ___

[issue11495] Remove OSF support completelly

2011-03-14 Thread Jesús Cea Avión
Jesús Cea Avión j...@jcea.es added the comment: Committed as r15b090c9442a. The other deprecated supports should be covered in other issues. I will check myself them in a while. -- resolution: - accepted status: open - closed ___ Python tracker

[issue5673] Add timeout option to subprocess.Popen

2011-03-14 Thread Reid Kleckner
Changes by Reid Kleckner r...@mit.edu: -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5673 ___ ___ Python-bugs-list

[issue11480] Cannot copy a class with a metaclass other than type

2011-03-14 Thread Daniel Stutzbach
Changes by Daniel Stutzbach stutzb...@google.com: -- keywords: +needs review nosy: +alexandre.vassalotti, stutzbach stage: - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11480

[issue11499] 2to3: reassignment to bool is left in the file

2011-03-14 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: That seems awfully obscure. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11499 ___

[issue11499] 2to3: reassignment to bool is left in the file

2011-03-14 Thread Jason R. Coombs
Jason R. Coombs jar...@jaraco.com added the comment: Agreed. I encountered it in https://github.com/dottedmag/path.py, which has since been patched by removing the compatibility clauses, but that means that Python 2.2.1 and earlier are no longer supported by the project. If it's not worth

[issue11503] Expand test coverage in posixpath

2011-03-14 Thread Evan Dandrea
New submission from Evan Dandrea e...@ubuntu.com: I've expanded the coverage of the posixpath test. The following scenarios have been added: - lexists with a non-existent file. - ismount with binary data. - ismount with a directory that is not a mountpoint. - ismount with a non-existent

[issue11498] test_zipfile.test_unicode_filenames should be skipped of no zlib

2011-03-14 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: I fixed it in 3.2 too in d2689ed3dc83. Thanks for the patch! -- resolution: fixed - stage: committed/rejected - status: closed - open ___ Python tracker rep...@bugs.python.org

[issue11498] test_zipfile.test_unicode_filenames should be skipped of no zlib

2011-03-14 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- resolution: - fixed stage: - committed/rejected status: open - closed type: crash - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11498

[issue11499] 2to3: reassignment to bool is left in the file

2011-03-14 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: Okay. This is certainly the first request I've seen, so I'm going to close. -- resolution: - rejected status: open - closed ___ Python tracker rep...@bugs.python.org

[issue11503] Expand test coverage in posixpath

2011-03-14 Thread Evan Dandrea
Changes by Evan Dandrea e...@ubuntu.com: -- nosy: +michael.foord ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11503 ___ ___ Python-bugs-list

[issue11504] test_subprocess failure

2011-03-14 Thread Antoine Pitrou
New submission from Antoine Pitrou pit...@free.fr: http://www.python.org/dev/buildbot/all/builders/x86%20debian%20parallel%203.x/builds/1678/steps/test/logs/stdio == FAIL: test_check_output_timeout

[issue11487] build_installer.py should avoid relying on a young Python

2011-03-14 Thread Santoso Wijaya
Changes by Santoso Wijaya santoso.wij...@gmail.com: -- nosy: +santa4nt ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11487 ___ ___

[issue11504] test_subprocess failure

2011-03-14 Thread Reid Kleckner
Reid Kleckner r...@mit.edu added the comment: I can't reproduce this. I've tested on: 64-bit Linux (Debian lenny) OS X 10.6 Windows Vista 32-bit It seems reasonable to me that the interpreter should be able to initialize and write to stdout in less than half a second, but it seems to be

[issue11504] test_subprocess failure

2011-03-14 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: It seems reasonable to me that the interpreter should be able to initialize and write to stdout in less than half a second Well, we have some very slow buildbots and others which seem quite loaded too. (this one should be very fast but perhaps

[issue11489] json.dumps not parsable by json.loads (on Linux only)

2011-03-14 Thread Brian Merrell
Brian Merrell br...@merrells.org added the comment: I am not sure this should be fixed in 2.x. Lone surrogates seem to round-trip just fine in 2.x and there likely to be existing code that relies on this. I generally agree but am then at a loss as to how to detect and deal with lone

[issue11148] Crash and error message from Python VM

2011-03-14 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: I agree this is a duplicate of #6721. I'm therefore closing this issue. -- resolution: - duplicate stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org

[issue9670] Exceed Recursion Limit in Thread

2011-03-14 Thread Ronald Oussoren
Changes by Ronald Oussoren ronaldousso...@mac.com: Removed file: http://bugs.python.org/file19301/smime.p7s ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9670 ___

[issue10665] Expand unicodedata module documentation

2011-03-14 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: The PDF generator is PDFLaTeX, whose range of Unicode characters is very limited, so no, I can't fix it. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10665

[issue11491] dbm.open(..., flag=n) raises dbm.error if file exists and is rejected by whichdb

2011-03-14 Thread Brian Curtin
Brian Curtin br...@python.org added the comment: Attached is a slightly updated version of the patch. If the assertEqual for any reason were to fail, the file wouldn't be closed, leading to a ResourceWarning. That'll work on 3.2+, but if this is backported consideration will have to be made

[issue11477] Bug in code dispatching based on internal slots

2011-03-14 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: It seems to me that the underlying (design) flaw is having duplicate slots in the C type structure*. I presume that having two different functions in num-add and seq-add (concat) (I know, not quite the proper names), etc, is an error. I also

[issue11477] Bug in code dispatching based on internal slots

2011-03-14 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: And if num-add is present and seq-add not, copy the other way, even if it were recommended to only use the former. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11477

[issue11496] test_readline fails when readline was installed after running configure (and was not re-run)

2011-03-14 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- assignee: - r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11496 ___ ___

[issue11504] test_subprocess failure

2011-03-14 Thread Reid Kleckner
Reid Kleckner r...@mit.edu added the comment: I increased the timeout in [fd2b3eac6756] and the buildbot is passing now: http://python.org/dev/buildbot/all/builders/x86%20debian%20parallel%203.x -- status: open - closed ___ Python tracker

[issue11491] dbm.open(..., flag=n) raises dbm.error if file exists and is rejected by whichdb

2011-03-14 Thread Denver Coneybeare
Denver Coneybeare denver.coneybe...@gmail.com added the comment: Looks good to me. I thought the same thing about the file not being closed on error, but all of the other tests in the file also suffer from that problem, so I just followed the convention set out by the other tests. Maybe if

[issue11503] Expand test coverage in posixpath

2011-03-14 Thread Evan Dandrea
Evan Dandrea e...@ubuntu.com added the comment: Fixed a typo in the previous patch. -- Added file: http://bugs.python.org/file21124/test_posixpath.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11503

  1   2   3   4   >