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

2011-03-13 Thread Denver Coneybeare
New submission from Denver Coneybeare : 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 writing". To me, this impl

[issue11369] Add caching for the isEnabledFor() computation

2011-03-13 Thread William Hart
William Hart 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 wrote: > > Vinay Sajip added the comment: > > Bill, > > I was looking at

[issue11485] Default SDK value on MacOSX needs changing

2011-03-13 Thread Santoso Wijaya
Santoso Wijaya 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' version of Python as the d

[issue1429] FD leak in SocketServer

2011-03-13 Thread Jeff McNeil
Jeff McNeil added the comment: I entirely forgot I had signed up to look, my apologies. I'm going through this w/ what's lying on Mercurial's tip, I can't reproduce it at all. I can raise exceptions of various flavors from within the handle method of a StreamRequestHandler and there are no l

[issue11050] email.utils.getaddresses behavior contradicts RFC2822

2011-03-13 Thread R. David Murray
Changes by R. David Murray : -- versions: +Python 2.7, Python 3.1, Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue5803] email/quoprimime: encode and decode are very slow on large messages

2011-03-13 Thread R. David Murray
Changes by R. David Murray : -- versions: +Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue11021] email MIME-Version headers for each part in multipart message

2011-03-13 Thread R. David Murray
R. David Murray added the comment: Assuming this is correct (I haven't tried looking for the reference yet), I'm leaning toward it being enough of a behavior change that it should not be backported. -- versions: +Python 3.3 -Python 2.7, Python 3.1, Python 3.2

[issue10574] email.header.decode_header fails if the string contains multiple directives

2011-03-13 Thread R. David Murray
Changes by R. David Murray : -- versions: +Python 3.2, Python 3.3 -Python 2.6 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue1823] Possible to set invalid Content-Transfer-Encoding on email.mime.multipart.MIMEMultipart

2011-03-13 Thread R. David Murray
Changes by R. David Murray : -- versions: +Python 3.3 -Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue9967] encoded_word regular expression in email.header.decode_header()

2011-03-13 Thread R. David Murray
Changes by R. David Murray : -- versions: +Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue8769] Straightforward usage of email package fails to round-trip

2011-03-13 Thread R. David Murray
Changes by R. David Murray : -- versions: +Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue1025395] email.Utils.parseaddr fails to parse valid addresses

2011-03-13 Thread R. David Murray
Changes by R. David Murray : -- versions: +Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://

[issue11488] Add writelines test coverage in tempfile

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

[issue11488] Add writelines test coverage in tempfile

2011-03-13 Thread R. David Murray
R. David Murray added the comment: Patch looks good to me. -- assignee: -> r.david.murray nosy: +r.david.murray ___ Python tracker ___ _

[issue11490] subprocess test_leaking_fds_on_error fails if last directory in path is not accessible

2011-03-13 Thread R. David Murray
Changes by R. David Murray : -- resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker ___ _

[issue11490] subprocess test_leaking_fds_on_error fails if last directory in path is not accessible

2011-03-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2b75ac7c9c12 by R David Murray in branch '3.1': #11490: EACCES can also mean command not found http://hg.python.org/cpython/rev/2b75ac7c9c12 New changeset 67f4ef6094ed by R David Murray in branch '3.2': Merge fix for #11490 from 3.1. http://hg.pyth

[issue11490] subprocess test_leaking_fds_on_error fails if last directory in path is not accessible

2011-03-13 Thread R. David Murray
Changes by R. David Murray : -- assignee: -> r.david.murray ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue11490] subprocess test_leaking_fds_on_error fails if last directory in path is not accessible

2011-03-13 Thread R. David Murray
New submission from R. David Murray : test_subprocess was failing for me on my laptop, and my laptop only. With some guidance from haypo on using strace, I tracked the problem down to the fact that the last directory in my path is a directory to which I don't have permission. So the error su

[issue2650] re.escape should not escape underscore

2011-03-13 Thread Ezio Melotti
Ezio Melotti added the comment: I took a look to what other languages do, and it turned out that: perl escapes [^A-Za-z_0-9] [0]; .net escapes the metachars and whitespace [1]; java escapes the metachars or escape sequences [2]; ruby escapes the metachars [3]; It might be OK to exclude _ from

[issue7679] Warning building 2.7 on OS X 10.6 libintl.h "Present But Cannot Be Compiled"

2011-03-13 Thread Nicholas Riley
Nicholas Riley added the comment: You should be able to invoke the compiler like this: gcc -nostdinc -I/usr/include -F/System/Library/Frameworks ... which will remove /usr/local/include (and /Library/Frameworks). This also removes the compiler-specific include dir, so to be fully general you

[issue1162477] Parsing failures in parsedate_tz

2011-03-13 Thread R. David Murray
Changes by R. David Murray : -- resolution: -> accepted stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___ ___

[issue1162477] Parsing failures in parsedate_tz

2011-03-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9d7a83654870 by R David Murray in branch 'default': #1162477: accept '.' in addition to ':' when parsing time in date header. http://hg.python.org/cpython/rev/9d7a83654870 -- nosy: +python-dev ___ Python

[issue9878] Avoid parsing pyconfig.h and Makefile by autogenerating extension module

2011-03-13 Thread Carl Meyer
Changes by Carl Meyer : -- nosy: +carljm ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/

[issue1079] decode_header does not follow RFC 2047

2011-03-13 Thread R. David Murray
Changes by R. David Murray : -- versions: +Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

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

2011-03-13 Thread David Bolen
David Bolen added the comment: Guess I cry uncle - not sure how it used to work then. I just did a dummy svn checkout off of the older svn.python.org from trunk and the .[ch] files appear to have dates earlier than the asdl.py script, so I would have assumed it would have the same problem.

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

2011-03-13 Thread Brian Merrell
New submission from Brian Merrell : The following works on Win7x64 Python 2.6.5 and breaks on Ubuntu 10.04x64-2.6.5. This raises three issues: 1) Shouldn't anything generated by json.dumps be parsed by json.loads? 2) It appears this is an invalid unicode character. Shouldn't this be caught

[issue11488] Add writelines test coverage in tempfile

2011-03-13 Thread ev
New submission from ev : Ran coverage.py and noticed that writelines had no coverage in tempfile, so I added it in. -- components: Tests files: test_tempfile_writelines.patch keywords: patch messages: 130778 nosy: brian.curtin, ev, georg.brandl priority: normal severity: normal status:

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

2011-03-13 Thread Antoine Pitrou
Antoine Pitrou added the comment: (the change will probably make things worse actually; see http://bugs.python.org/issue11419) -- ___ Python tracker ___ ___

[issue11474] url2pathname() handling of '/C|/' on Windows

2011-03-13 Thread Santoso Wijaya
Changes by Santoso Wijaya : -- type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue11474] url2pathname() handling of '/C|/' on Windows

2011-03-13 Thread Santoso Wijaya
Santoso Wijaya added the comment: Oops, wrong library name in patch comment. -- Added file: http://bugs.python.org/file21105/nturl2path.patch ___ Python tracker ___

[issue11474] url2pathname() handling of '/C|/' on Windows

2011-03-13 Thread Santoso Wijaya
Changes by Santoso Wijaya : Removed file: http://bugs.python.org/file21104/nturl2path.patch ___ Python tracker ___ ___ Python-bugs-list mailin

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

2011-03-13 Thread Antoine Pitrou
Antoine Pitrou added the comment: > I suspect this may be an issue now because the old svn approach was a > full checkout for each build, whereas the hg approach is to pull to > the local clone, and then just update the build tree. So in the svn > case all the files would have a good shot at th

[issue1440472] email.Generator is not idempotent

2011-03-13 Thread R. David Murray
Changes by R. David Murray : -- versions: +Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://

[issue504152] rfc822 long header continuation broken

2011-03-13 Thread R. David Murray
Changes by R. David Murray : -- versions: +Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue1443875] email/charset.py convert() patch

2011-03-13 Thread R. David Murray
Changes by R. David Murray : -- versions: +Python 3.3 -Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

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

2011-03-13 Thread David Bolen
David Bolen added the comment: Note in the meantime, I've manually touched those two files on the dmg buildbot and it builds successfully. As Antoine pointed out to me separately, the hg update used by the buildbot should leave that intact, so this should stop any buildbot failures for the t

[issue1690608] email.utils.formataddr() should be rfc2047 aware

2011-03-13 Thread R. David Murray
Changes by R. David Murray : -- versions: +Python 2.7, Python 3.1, Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue2658] decode_header() fails on multiline headers

2011-03-13 Thread R. David Murray
Changes by R. David Murray : -- versions: +Python 2.7, Python 3.1, Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue1681333] email.header unicode fix

2011-03-13 Thread R. David Murray
Changes by R. David Murray : -- versions: +Python 2.7, Python 3.1, Python 3.2, Python 3.3 -Python 2.6 ___ Python tracker ___ ___ Pyt

[issue11474] url2pathname() handling of '/C|/' on Windows

2011-03-13 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +brian.curtin, orsenthil, tim.golden stage: -> patch review versions: +Python 3.1, Python 3.2, Python 3.3 ___ Python tracker ___ ___

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

2011-03-13 Thread David Bolen
David Bolen added the comment: Note that some of my last comment was before I saw the others, so I'm fine with script changes if that seems ok to others. >From Ronald: "This is because the header file and input grammar have the same timestamp, and which forces the rebuild." Note in the buil

[issue11329] PyEval_InitThreads() not safe before Py_Initialize()

2011-03-13 Thread Antoine Pitrou
Antoine Pitrou added the comment: Patch now committed, thank you! -- resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker ___ __

[issue11329] PyEval_InitThreads() not safe before Py_Initialize()

2011-03-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset 4c59cd84086f by Antoine Pitrou in branch '3.2': Issue #11329: PyEval_InitThreads() cannot be called before Py_Initialize() anymore http://hg.python.org/cpython/rev/4c59cd84086f New changeset 3c0edb157ea2 by Antoine Pitrou in branch 'default': Issu

[issue975330] Inconsistent newline handling in email module

2011-03-13 Thread R. David Murray
Changes by R. David Murray : -- versions: +Python 2.7, Python 3.1, Python 3.2, Python 3.3 -Python 2.6 ___ Python tracker ___ ___ Pyth

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

2011-03-13 Thread Ronald Oussoren
Ronald Oussoren added the comment: This does not only affect the installer. On my machine the python on $PATH was build using the 10.6 deployment target. When I build python from a fresh checkout I get an error message because the 10.6 python gets run with deployment target 10.4 and then barf

[issue1590744] mail message parsing glitch

2011-03-13 Thread R. David Murray
Changes by R. David Murray : -- versions: +Python 2.7, Python 3.1, Python 3.2, Python 3.3 -Python 2.6 ___ Python tracker ___ ___ Pyt

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

2011-03-13 Thread David Bolen
David Bolen added the comment: Just a few thoughts that were in part in an earlier exchange with Antoine. It seems to me that if the Python-ast.[ch] files are included in the repository then they ought to be up to date as part of any given change set. So I think I'd actually prefer having th

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

2011-03-13 Thread Ronald Oussoren
Ronald Oussoren added the comment: To avoid duplicate work: I'll commit a patch during the pycon sprints -- ___ Python tracker ___ __

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

2011-03-13 Thread Ronald Oussoren
Ronald Oussoren added the comment: I noticed this myself as well when building a fresh checkout, without build_installer.py. This is because the header file and input grammar have the same timestamp, and which forces the rebuild. That causes problems on OSX when you build with a different d

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

2011-03-13 Thread Antoine Pitrou
New submission from Antoine Pitrou : There was this failure in the daily DMG builder: http://www.python.org/dev/buildbot/all/builders/3.x.dmg/builds/423/steps/compile/logs/stdio The problem is that asdl_c.py gets run by the Makefile with the standard Python, which on this machine is 2.3.5 (acco

[issue11485] Default SDK value on MacOSX needs changing

2011-03-13 Thread Ronald Oussoren
Changes by Ronald Oussoren : -- versions: +Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue11486] Add option to not install into /Applications

2011-03-13 Thread Ronald Oussoren
New submission from Ronald Oussoren : It would be nice if it were possible to install a framework installation from source without also installing files into /Applications. This could be done by adding an option to configure --without-macosx-applications. The primairy usecase for this is deve

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

2011-03-13 Thread Santoso Wijaya
Changes by Santoso Wijaya : -- nosy: +santa4nt versions: +Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscr

[issue11485] Default SDK value on MacOSX needs changing

2011-03-13 Thread Ronald Oussoren
New submission from Ronald Oussoren : (based on the fruitfull meating I had with Ned after the language summit at Pycon '11) 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. It would be better to s

[issue11484] `with_traceback` in 2.7 docs but not implemented

2011-03-13 Thread Ezio Melotti
Ezio Melotti added the comment: It's a documentation bug, with_traceback is available in 3.x only. I now fixed the doc for 2.7, thanks for the report! -- assignee: docs@python -> ezio.melotti nosy: +ezio.melotti resolution: -> fixed stage: -> committed/rejected status: open -> closed

[issue11484] `with_traceback` in 2.7 docs but not implemented

2011-03-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset 22f991bb9b0b by Ezio Melotti in branch '2.7': #11484: remove paragraph about with_traceback from 2.7 doc. http://hg.python.org/cpython/rev/22f991bb9b0b -- nosy: +python-dev ___ Python tracker

[issue11474] url2pathname() handling of '/C|/' on Windows

2011-03-13 Thread Santoso Wijaya
Santoso Wijaya added the comment: I agree. Attaching a patch with a fix and unittest. -- keywords: +patch nosy: +santa4nt Added file: http://bugs.python.org/file21104/nturl2path.patch ___ Python tracker __

[issue11484] `with_traceback` in 2.7 docs but not implemented

2011-03-13 Thread Jonas H.
New submission from Jonas H. : Either a `BaseException.with_traceback` implementation is missing or the docs are wrong. http://docs.python.org/library/exceptions.html?highlight=with_traceback#exceptions.BaseException.with_traceback python3 -c 'print("with_traceback" in dir(BaseException))' Tru

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

2011-03-13 Thread Nadeem Vawda
Nadeem Vawda added the comment: Thanks for the review. I'll try and have an updated patch ready by next weekend. Regarding your comments: > Is there any reason it doesn't inherit io.BufferedIOBase? No, there isn't; I'll fix that in my revised patch. > Since this is a new start, perhaps we sho

[issue11478] Docs list nonexistant PyObject_CopyToObject function

2011-03-13 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker ___ ___ P

[issue11478] Docs list nonexistant PyObject_CopyToObject function

2011-03-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset 248800b58175 by Antoine Pitrou in branch '2.7': Remove documentation to non-existent function PyObject_CopyToObject (fixes #11478) http://hg.python.org/cpython/rev/248800b58175 -- ___ Python tracker

[issue11478] Docs list nonexistant PyObject_CopyToObject function

2011-03-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset 539e6f1fce78 by Antoine Pitrou in branch '3.1': Remove documentation to non-existent function PyObject_CopyToObject (fixes #11478) http://hg.python.org/cpython/rev/539e6f1fce78 New changeset eb8c2f43b251 by Antoine Pitrou in branch '3.2': Remove d

[issue11478] Docs list nonexistant PyObject_CopyToObject function

2011-03-13 Thread Antoine Pitrou
Antoine Pitrou added the comment: Indeed, it doesn't exist. There is also a function named PyObject_CopyData which is not documented anywhere (and I'd bet noone has ever used it). -- nosy: +mark.dickinson, pitrou ___ Python tracker

[issue2771] Test issue

2011-03-13 Thread Martin v . Löwis
Changes by Martin v. Löwis : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue11233] clarifying Availability: Unix

2011-03-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset f197dac00f43 by Antoine Pitrou in branch 'default': Merge commit for #11233 http://hg.python.org/cpython/rev/f197dac00f43 -- nosy: +python-dev ___ Python tracker

[issue11223] interruption of locks by signals not guaranteed when the semaphore implementation is not used

2011-03-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5d0d488cbca8 by Antoine Pitrou in branch '3.2': Issue #11223: Fix test_threadsignals to fail, not hang, when the http://hg.python.org/cpython/rev/5d0d488cbca8 -- nosy: +python-dev ___ Python tracker

[issue1777134] minidom pretty xml output improvement

2011-03-13 Thread Dávid Gábor Bodor
Dávid Gábor Bodor added the comment: I would prefer to see this improvement as an option, rather than the default, because I believe that 'Issue4147' satisfies "pretty printing" better. While leaving out whitespace from text-only elements is benefical for compatibility and roundtripping, ther

[issue5800] make wsgiref.headers.Headers accept empty constructor

2011-03-13 Thread SilentGhost
SilentGhost added the comment: > Looks good to me. Would you mind committing it then? -- ___ Python tracker ___ ___ Python-bugs-list m

[issue9856] Change object.__format__(s) where s is non-empty to a TypeError

2011-03-13 Thread Eric Smith
Changes by Eric Smith : -- priority: release blocker -> deferred blocker ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

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

2011-03-13 Thread Antoine Pitrou
Antoine Pitrou added the comment: Reviewers: nadeem vawda , http://codereview.appspot.com/4274045/diff/1/Lib/bz2.py File Lib/bz2.py (right): http://codereview.appspot.com/4274045/diff/1/Lib/bz2.py#newcode25 Lib/bz2.py:25: class BZ2File: Is there any reason it doesn't inherit io.BufferedIOBase?

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

2011-03-13 Thread Antoine Pitrou
Antoine Pitrou added the comment: Review posted at http://codereview.appspot.com/4274045/ -- ___ Python tracker ___ ___ Python-bugs-li

[issue2771] Test issue

2011-03-13 Thread Martin v . Löwis
Changes by Martin v. Löwis : -- status: closed -> open ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue2771] Test issue

2011-03-13 Thread Martin v . Löwis
Changes by Martin v. Löwis : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue2771] Test issue

2011-03-13 Thread Martin v . Löwis
Changes by Martin v. Löwis : -- status: closed -> open ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue2771] Test issue

2011-03-13 Thread Martin v . Löwis
Changes by Martin v. Löwis : Added file: http://bugs.python.org/file21103/6a1c8fcce229.diff ___ Python tracker ___ ___ Python-bugs-list mailing

[issue2771] Test issue

2011-03-13 Thread Martin v . Löwis
Changes by Martin v. Löwis : -- hgrepos: +2 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue2771] Test issue

2011-03-13 Thread Martin v . Löwis
Changes by Martin v. Löwis : -- hgrepos: +1 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue1271] Raw string parsing fails with backslash as last character

2011-03-13 Thread R. David Murray
R. David Murray added the comment: Well, the problem with the reference is that the language reference is intended as a specification document, not a tutorial, so such a discussion does not belong there. The library reference, which does contain platform-specific and tutorial-like informatio

[issue11479] Add discussion of trailing slash in raw string to tutorial

2011-03-13 Thread R. David Murray
R. David Murray added the comment: Well, the problem with both [:-1] and os.path.join is that they are inappropriate for that section of the tutorial. I considered putting the discussion later in the section so that I could use [:-1] (which hasn't been introduced at that point), but it made

[issue2931] optparse: various problems with unicode and gettext

2011-03-13 Thread Ezio Melotti
Ezio Melotti added the comment: +1 -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/ma

[issue2771] Test issue

2011-03-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset e51cd925a89a by Ezio Melotti in branch 'default': Test hook (closes #2771). http://hg.python.org/test/rev/e51cd925a89a -- resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Py

[issue2771] Test issue

2011-03-13 Thread Ezio Melotti
Changes by Ezio Melotti : -- resolution: fixed -> status: closed -> open ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue2931] optparse: various problems with unicode and gettext

2011-03-13 Thread Éric Araujo
Éric Araujo added the comment: I’m afraid 2.5 and 2.6 don’t get bug fixes any more, only security fixes. For 2.7 and 3.x, even if your bug can’t be reproduced, I think it would be useful to add the test to prevent a regression. -- ___ Python track

[issue11479] Add discussion of trailing slash in raw string to tutorial

2011-03-13 Thread Ezio Melotti
Ezio Melotti added the comment: That would of course be a good addition too. -- ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue11477] Bug in code dispatching based on internal slots

2011-03-13 Thread Meador Inge
Changes by Meador Inge : -- nosy: +meador.inge ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue11479] Add discussion of trailing slash in raw string to tutorial

2011-03-13 Thread SilentGhost
Changes by SilentGhost : Removed file: http://bugs.python.org/file21102/unnamed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue11479] Add discussion of trailing slash in raw string to tutorial

2011-03-13 Thread Eli Bendersky
Eli Bendersky added the comment: > Ezio Melotti added the comment: > > I would rephrase: > +There is one subtle aspect to raw strings that is of special concern to > Windows > +programmers: a raw string may not end in an odd number of ``\`` > characters. > > to something like: > +There is one

[issue11479] Add discussion of trailing slash in raw string to tutorial

2011-03-13 Thread Ezio Melotti
Ezio Melotti added the comment: I would rephrase: +There is one subtle aspect to raw strings that is of special concern to Windows +programmers: a raw string may not end in an odd number of ``\`` characters. to something like: +There is one subtle aspect to raw strings: a raw string may not en

[issue6727] ImportError when package is symlinked on Windows

2011-03-13 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: +brian.curtin ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue11483] python fails to follow symlinks on windows

2011-03-13 Thread Brian Curtin
Brian Curtin added the comment: This is a duplicate of #6727, which is now easier to fix due to the symlink work in 3.2. -- resolution: -> duplicate stage: -> committed/rejected status: open -> closed ___ Python tracker

[issue11483] python fails to follow symlinks on windows

2011-03-13 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +brian.curtin type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue11483] python fails to follow symlinks on windows

2011-03-13 Thread nw
New submission from nw : Go to C:/Python2.7/Lib create directory foo + __init__.py Make a symlink: mklink /D bar foo. Start Python. import foo # works import bar # fails (no module named bar) -- components: Windows messages: 130740 nosy: nw priority: normal severity: normal status: op

[issue11479] Add discussion of trailing slash in raw string to tutorial

2011-03-13 Thread Graham Wideman
Graham Wideman added the comment: Eli: Excellent and thoughtful point. This would indeed be exactly the place to suggest os.path.join as an alternative. In addition, there are still occasions where one needs to form a string with trailing backslash. Two examples: 1. When writing the string s

[issue10735] platform.architecture() gives misleading results for OS X multi-architecture executables

2011-03-13 Thread Ronald Oussoren
Ronald Oussoren added the comment: W.r.t the MachO name: I misread the patch, MachO is fine as the name for the reasons you mention. I'm not convinced that your hack to make bits return the pointer size of the currently running architecture when testing sys.executable is useful, especially b

[issue2931] optparse: various problems with unicode and gettext

2011-03-13 Thread Ivan Vilata i Balaguer
Ivan Vilata i Balaguer added the comment: After so much time I've checked again with the little script I sent and I see that it doesn't happen under Python 2.7 (2.7.1+), but it does under 2.6 (2.6.6) and 2.5 (2.5.5). -- ___ Python tracker

[issue7391] Re-title the "Using Backslash to Continue Statements" anti-idiom

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

[issue11477] Bug in code dispatching based on internal slots

2011-03-13 Thread Armin Rigo
Armin Rigo added the comment: Note that I "fixed" one case in PyPy: if the class C has no __iter__() but only __radd__(), and we call "somelist += C()". This was done simply by having somelist.__iadd__(x) return NotImplemented in case x is not iterable, instead of propagating the TypeError.

[issue11482] Float Plus Error

2011-03-13 Thread Mark Dickinson
Mark Dickinson added the comment: See: http://docs.python.org/tutorial/floatingpoint.html -- nosy: +mark.dickinson resolution: -> invalid status: open -> closed ___ Python tracker ___

[issue11482] Float Plus Error

2011-03-13 Thread Lu Feng
New submission from Lu Feng : Run 1.1 + 3.2, result is 4.301 And when Run [x * 0.1 for x in range(0, 10)], the result is [0.0, 0.1, 0.2, 0.30004, 0.4, 0.5, 0.6001, 0.7001, 0.8, 0.9] -- messages: 130734 nosy: lufen...@gmail.com priority: no

[issue7689] Pickling of classes with a metaclass and copy_reg

2011-03-13 Thread Daniel Urban
Daniel Urban added the comment: Attaching an updated patch for py3k. > Not an expert, but the Python parts of your patch look good to me. Me neither, but the C parts also look good to me. The tests fail without the patch, succeed with it. Note, that it is possible, that the copy module also s

  1   2   >