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

2011-03-14 Thread Ned Deily
Ned Deily 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 not suscep

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

2011-03-14 Thread Scott Kitterman
New submission from Scott Kitterman : 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 mailout00.controlledmail.com (mailout00.co

[issue11493] Add python.exe-gdb.py to .hgignore

2011-03-14 Thread Santoso Wijaya
New submission from Santoso Wijaya : The 3.x branch has python.exe-gdb.py entry in its .hgignore file, but the 2.7 branch does not. Can we please add it? -- components: Build files: gdbignore.patch keywords: patch messages: 130794 nosy: santa4nt priority: normal severity: normal status:

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

2011-03-14 Thread Santoso Wijaya
Santoso Wijaya 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: http://bugs.python.org/fi

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

2011-03-14 Thread Santoso Wijaya
Changes by Santoso Wijaya : Removed file: http://bugs.python.org/file21110/urlparse.patch ___ Python tracker ___ ___ Python-bugs-list mailing

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

2011-03-14 Thread Santoso Wijaya
Santoso Wijaya added the comment: Oops, wrong revision base. -- Added file: http://bugs.python.org/file2/urlparse.patch ___ Python tracker ___ __

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

2011-03-14 Thread Senthil Kumaran
Senthil Kumaran 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 earlier builds, als

[issue10885] multiprocessing docs

2011-03-14 Thread Roundup Robot
Roundup Robot 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 multiprocessing docs typo http

[issue10885] multiprocessing docs

2011-03-14 Thread Ross Lagerwall
Changes by Ross Lagerwall : -- assignee: docs@python -> rosslagerwall resolution: -> fixed stage: -> committed/rejected status: open -> closed versions: +Python 3.3 ___ Python tracker

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

2011-03-14 Thread Santoso Wijaya
Santoso Wijaya 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 : 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", "copyright", "cred

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

2011-03-14 Thread Éric Araujo
Éric Araujo 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 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 -> jafo nosy: +ja

[issue4473] POP3 missing support for starttls

2011-03-14 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- versions: +Python 3.3 -Python 2.7, Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mailing list

[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 : -- versions: +Python 3.3 -Python 2.6, Python 3.1, Python 3.2 ___ Python tracker ___ ___ Python-bugs-list m

[issue11477] Bug in code dispatching based on internal slots

2011-03-14 Thread Carl Friedrich Bolz
Changes by Carl Friedrich Bolz : -- nosy: +cfbolz ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue11488] Add writelines test coverage in tempfile

2011-03-14 Thread Brian Curtin
Brian Curtin added the comment: Agreed, looks fine. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://

[issue11495] Remove OSF support completelly

2011-03-14 Thread Jesús Cea Avión
New submission from Jesús Cea Avión : 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: Remove OSF suppo

[issue11485] Default SDK value on MacOSX needs changing

2011-03-14 Thread Ronald Oussoren
Ronald Oussoren 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 the same as those of

[issue11495] Remove OSF support completelly

2011-03-14 Thread Antoine Pitrou
Antoine Pitrou 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 (GNU pth threa

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

2011-03-14 Thread Ronald Oussoren
Ronald Oussoren added the comment: Issue11485 contains a comment of someone that ran into the same issue is me. -- ___ Python tracker ___ ___

[issue1099] Mac compile fails with pydebug and framework enabled

2011-03-14 Thread Ronald Oussoren
Ronald Oussoren 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 __

[issue11452] test_inspect, test_trace not symlink install clean

2011-03-14 Thread Steffen Daode Nurpmeso
Steffen Daode Nurpmeso 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 tests OK. 1 test altered

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

2011-03-14 Thread Ronald Oussoren
Ronald Oussoren 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) -- ___ Python tracker

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

2011-03-14 Thread Michiel de Hoon
Michiel de Hoon 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 >>> import bz2 >>> bz2.open Traceback (most recent call last): File "", line 1, in ? AttributeError: 'modu

[issue11165] Document PyEval_Call* functions

2011-03-14 Thread Robbie Clemons
Changes by Robbie Clemons : -- nosy: +robquad ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue11477] Bug in code dispatching based on internal slots

2011-03-14 Thread Nick Coghlan
Nick Coghlan 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 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. -- ___ Python tracker

[issue11477] Bug in code dispatching based on internal slots

2011-03-14 Thread Nick Coghlan
Changes by Nick Coghlan : -- assignee: -> ncoghlan ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue11488] Add writelines test coverage in tempfile

2011-03-14 Thread Roundup Robot
Roundup Robot 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 #11488 patch from 3.1

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

2011-03-14 Thread Steffen Daode Nurpmeso
Steffen Daode Nurpmeso 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. All of this is written

[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 : 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 "/home/nessita/pycon/sprint/cpython/Lib/test/test_

[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 added the comment: I'm working on a patch. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2011-03-14 Thread Matias Bordese
New submission from Matias Bordese : 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: 130820 nosy: docs@pyt

[issue2650] re.escape should not escape underscore

2011-03-14 Thread SilentGhost
SilentGhost 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 matching; escaped strings a

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

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

[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 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 ___ Python tracker

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

2011-03-14 Thread Antoine Pitrou
Antoine Pitrou 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 added the comment: Fixed in [9bacb56f08e7] -- nosy: +brett.cannon resolution: -> fixed status: open -> closed ___ Python tracker ___ __

[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 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 making sure configure has b

[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 : -- nosy: +brian.curtin versions: +Python 2.7, Python 3.1, Python 3.2 ___ Python tracker ___ ___ Python-

[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 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 method is not available.

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

2011-03-14 Thread Nadeem Vawda
Nadeem Vawda 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, that is a topic for a sep

[issue6911] Document changes in asynchat

2011-03-14 Thread Jeff Ramnani
Jeff Ramnani 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: http://bugs.python.org/file21116/asynchat-docs.patch __

[issue1440472] email.Generator is not idempotent

2011-03-14 Thread R. David Murray
R. David Murray 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

[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 : 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 498, in test_unicode_f

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

2011-03-14 Thread Ezio Melotti
Changes by Ezio Melotti : -- assignee: -> ezio.melotti nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list U

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

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

[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 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 ___

[issue11495] Remove OSF support completelly

2011-03-14 Thread Jesús Cea Avión
Jesús Cea Avión 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 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, but libffi s

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

2011-03-14 Thread Roundup Robot
Roundup Robot 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: -> committed/rejec

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

2011-03-14 Thread Antoine Pitrou
Antoine Pitrou 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 need to add

[issue7689] Pickling of classes with a metaclass and copy_reg

2011-03-14 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +ncoghlan ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue11499] reassignment to bool is left in the file

2011-03-14 Thread Jason R. Coombs
New submission from Jason R. Coombs : 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 editions (2.2.1 and ea

[issue11165] Document PyEval_Call* functions

2011-03-14 Thread Antoine Pitrou
Antoine Pitrou 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 : -- nosy: +benjamin.peterson title: reassignment to bool is left in the file -> 2to3: reassignment to bool is left in the file ___ Python tracker ___ __

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

2011-03-14 Thread Robbie Clemons
Robbie Clemons 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

[issue11500] Fixes failing urllib2 proxy tests on OSX

2011-03-14 Thread Scott Wilson
New submission from Scott Wilson : 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 test_urllib2.HandlerTests.test_proxy_https_proxy_authorization Wil

[issue6584] gzip module has no custom exception

2011-03-14 Thread Filip Gruszczyński
Filip Gruszczyński added the comment: Bump! How about commiting this patch? Or maybe there is something missing? I'll be happy to fix it. -- ___ Python tracker ___ _

[issue1099] Mac compile fails with pydebug and framework enabled

2011-03-14 Thread Roundup Robot
Roundup Robot 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 #1099: Fix the bui

[issue6584] gzip module has no custom exception

2011-03-14 Thread Antoine Pitrou
Antoine Pitrou 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 when the test

[issue5673] Add timeout option to subprocess.Popen

2011-03-14 Thread Reid Kleckner
Reid Kleckner added the comment: I updated and committed the patch to the cpython hg repo in revision [c4a0fa6e687c]. -- ___ Python tracker ___ _

[issue1099] Mac compile fails with pydebug and framework enabled

2011-03-14 Thread Ronald Oussoren
Changes by Ronald Oussoren : -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___ _

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

2011-03-14 Thread Alexander Belopolsky
Alexander Belopolsky 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 "", line 1, in UnicodeDecodeError: 'utf8' cod

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

2011-03-14 Thread Natalia B. Bidart
New submission from Natalia B. Bidart : 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 module is not available,

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

2011-03-14 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue5673] Add timeout option to subprocess.Popen

2011-03-14 Thread Sridhar Ratnakumar
Sridhar Ratnakumar 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 http://hg.python.org/cpython/rev/c

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

2011-03-14 Thread Jason R. Coombs
New submission from Jason R. Coombs : 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 possible to support t

[issue11024] imaplib: Time2Internaldate() returns localized strings

2011-03-14 Thread R. David Murray
R. David Murray 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 skipped if the chosen test

[issue5673] Add timeout option to subprocess.Popen

2011-03-14 Thread Reid Kleckner
Reid Kleckner added the comment: On Mon, Mar 14, 2011 at 12:31 PM, Sridhar Ratnakumar wrote: > > Sridhar Ratnakumar 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

[issue11495] Remove OSF support completelly

2011-03-14 Thread Roundup Robot
Roundup Robot 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 ___ Python track

[issue11500] Fixes failing urllib2 proxy tests on OSX

2011-03-14 Thread Scott Wilson
Changes by Scott Wilson : -- nosy: +orsenthil -ronaldoussoren type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue11495] Remove OSF support completelly

2011-03-14 Thread Jesús Cea Avión
Jesús Cea Avión 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 : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

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

2011-03-14 Thread Daniel Stutzbach
Changes by Daniel Stutzbach : -- keywords: +needs review nosy: +alexandre.vassalotti, stutzbach stage: -> patch review ___ Python tracker ___ ___

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

2011-03-14 Thread Benjamin Peterson
Benjamin Peterson added the comment: That seems awfully obscure. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscr

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

2011-03-14 Thread Jason R. Coombs
Jason R. Coombs 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 the trouble of add

[issue11503] Expand test coverage in posixpath

2011-03-14 Thread Evan Dandrea
New submission from Evan Dandrea : 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 file. - ismount w

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

2011-03-14 Thread Ezio Melotti
Ezio Melotti 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 ___

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

2011-03-14 Thread Ezio Melotti
Changes by Ezio Melotti : -- resolution: -> fixed stage: -> committed/rejected status: open -> closed type: crash -> behavior ___ Python tracker ___ ___

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

2011-03-14 Thread Benjamin Peterson
Benjamin Peterson 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 __

[issue11503] Expand test coverage in posixpath

2011-03-14 Thread Evan Dandrea
Changes by Evan Dandrea : -- nosy: +michael.foord ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue11504] test_subprocess failure

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

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

2011-03-14 Thread Santoso Wijaya
Changes by Santoso Wijaya : -- nosy: +santa4nt ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue11504] test_subprocess failure

2011-03-14 Thread Reid Kleckner
Reid Kleckner 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 failing consistentl

[issue11504] test_subprocess failure

2011-03-14 Thread Antoine Pitrou
Antoine Pitrou 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 there's some

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

2011-03-14 Thread Brian Merrell
Brian Merrell 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 surrogates(eg "ignore",

[issue11148] Crash and error message from Python VM

2011-03-14 Thread Ronald Oussoren
Ronald Oussoren 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 _

[issue9670] Exceed Recursion Limit in Thread

2011-03-14 Thread Ronald Oussoren
Changes by Ronald Oussoren : Removed file: http://bugs.python.org/file19301/smime.p7s ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue10665] Expand unicodedata module documentation

2011-03-14 Thread Georg Brandl
Georg Brandl 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 ___ ___

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

2011-03-14 Thread Brian Curtin
Brian Curtin 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 there (try/finally

[issue11477] Bug in code dispatching based on internal slots

2011-03-14 Thread Terry J. Reedy
Terry J. Reedy 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 assume that chan

[issue11477] Bug in code dispatching based on internal slots

2011-03-14 Thread Terry J. Reedy
Terry J. Reedy 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 ___ _

[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 : -- assignee: -> r.david.murray ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue11504] test_subprocess failure

2011-03-14 Thread Reid Kleckner
Reid Kleckner 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 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 you eventually commit this c

[issue11503] Expand test coverage in posixpath

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

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

2011-03-14 Thread Éric Araujo
Éric Araujo added the comment: Fortunately, addCleanup exists in 2.7 and 3.1. -- nosy: +eric.araujo ___ Python tracker ___ ___ Python

[issue11503] Expand test coverage in posixpath

2011-03-14 Thread Evan Dandrea
Evan Dandrea added the comment: Added an updated patch that includes testing whether ismount would succeed by faking path being on a different device from its parent. -- Added file: http://bugs.python.org/file21125/test_posixpath_with_same_device.patch ___

  1   2   3   4   >