[issue11459] Python select.select does not correctly report read readyness

2011-03-16 Thread Gregory P. Smith
Gregory P. Smith g...@krypto.org added the comment: ross's patch looks good to me. Isn't the behavior just plain broken in 3.1 and 3.2? The docs say that the default bufsize=0 is unbuffered in Popen but the implementation has that nasty XXX to make it line buffered instead of unbuffered in

[issue10812] Add some posix functions

2011-03-16 Thread Ross Lagerwall
Ross Lagerwall rosslagerw...@gmail.com added the comment: PyParse_off_t was already added when sendfile() was added as was the iovec_setup stuff. I'll upload a patch soon which updates it to take this and the other comments into account. -- ___

[issue11459] Python select.select does not correctly report read readyness

2011-03-16 Thread Gregory P. Smith
Gregory P. Smith g...@krypto.org added the comment: to get that behavior, change the =1 default to =io.DEFAULT_BUFFER_SIZE in ross's patch. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11459

[issue11133] inspect.getattr_static code execution

2011-03-16 Thread Daniel Urban
Daniel Urban urban.dani...@gmail.com added the comment: The new entry in Misc/NEWS says: Patch by Daniel Urban. But it wasn't me, who made the patch, I just opened the issue. -- ___ Python tracker rep...@bugs.python.org

[issue11504] test_subprocess failure

2011-03-16 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Other failures on the Sparc debian buildbot (which is quite slow): == ERROR: test_wait_timeout (test.test_subprocess.ProcessTestCase)

[issue11562] += on list inside a tuple raises TypeError but succeds anyway

2011-03-16 Thread slav0nic
Changes by slav0nic slav0n...@gmail.com: -- nosy: +slav0nic ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11562 ___ ___ Python-bugs-list mailing

[issue11565] Another (the last) group of misspellings

2011-03-16 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset bf94b6a73fc8 by Ezio Melotti in branch '3.1': #11565: Fix several typos. Patch by Piotr Kasprzyk. http://hg.python.org/cpython/rev/bf94b6a73fc8 -- nosy: +python-dev ___ Python tracker

[issue11565] Another (the last) group of misspellings

2011-03-16 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset dc245d681901 by Ezio Melotti in branch '3.2': #11565: Merge with 3.1. http://hg.python.org/cpython/rev/dc245d681901 -- ___ Python tracker rep...@bugs.python.org

[issue11565] Another (the last) group of misspellings

2011-03-16 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset db73857669fb by Ezio Melotti in branch 'default': #11565: Merge with 3.2. http://hg.python.org/cpython/rev/db73857669fb -- ___ Python tracker rep...@bugs.python.org

[issue11439] subversion keyword breakage

2011-03-16 Thread Neil Muller
Neil Muller drnlmuller+b...@gmail.com added the comment: This also affects a number of files under Lib, including some that set their version using $Revision$. Since I stumbled on this issue by encountering some code that checks the version string in tkinker breaking, this is an issue that

[issue11565] Another (the last) group of misspellings

2011-03-16 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset cd8d3c2d3bce by Ezio Melotti in branch '2.7': #11565: Fix several typos. Patch by Piotr Kasprzyk. http://hg.python.org/cpython/rev/cd8d3c2d3bce -- ___ Python tracker

[issue11565] Another (the last) group of misspellings

2011-03-16 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Fixed in all the four branches, thanks for the patch! -- resolution: - fixed stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org

[issue11568] docstring of select.epoll.register() is wrong

2011-03-16 Thread Markus Korn
New submission from Markus Korn thek...@gmx.de: select.epoll.register raises an IOError for already registered fds, however the docstring says the fd gets modified: Python 2.7.1+ (r271:86832, Feb 24 2011, 15:00:15) [GCC 4.5.2] on linux2 Type help, copyright, credits or license for more

[issue11320] Usage of API method Py_SetPath causes errors in Py_Initialize() (Posix ony))

2011-03-16 Thread Palm Kevin
Palm Kevin kevin.p...@labsolution.lu added the comment: @Sridhar: Could you please provide input for the question asked by Antoine? I'd love to have this issue fixed for next Python release. -- ___ Python tracker rep...@bugs.python.org

[issue11243] email/message.py str conversion

2011-03-16 Thread Steffen Daode Nurpmeso
Steffen Daode Nurpmeso sdao...@googlemail.com added the comment: On Tue, Mar 15, 2011 at 04:21:24AM +, R. David Murray wrote: Please test and let me know if it works Spending some more time on that, continuing yesterdays session where i got stuck. When i instead do (still in

[issue11401] email.header error during .flatten()

2011-03-16 Thread Steffen Daode Nurpmeso
Steffen Daode Nurpmeso sdao...@googlemail.com added the comment: On Tue, Mar 15, 2011 at 10:44:43PM +, R. David Murray wrote: header with no body. (Those are the *real* dangerous ones!) -- ___ Python tracker rep...@bugs.python.org

[issue11569] multiprocessing/darwin: sysctl(8) mislocation

2011-03-16 Thread Steffen Daode Nurpmeso
New submission from Steffen Daode Nurpmeso sdao...@googlemail.com: Hello Mac OS X gurus, multiprocessing/__init__py. searches for sysctl(8) via os.popen(), which will fail since the moist fruits provide sysctl(8) in /usr/sbin! The applied patch multiproc_sysctl.patch uses an absolute path. (This

[issue11562] += on list inside a tuple raises TypeError but succeds anyway

2011-03-16 Thread Daniel Urban
Daniel Urban urban.dani...@gmail.com added the comment: The reason of this behaviour is that x += 1 basically is the same as x = x.__iadd__(1). In the tuple case: t[1] = t[1].__iadd__([6]). The __iadd__ call mutates the list, then the tuple item assignment raises the TypeError. See these

[issue11570] Lib/test/test_distutils.py tries to mix 32 and 64 bits object files, doesn't obey LDFLAGS

2011-03-16 Thread Jesús Cea Avión
New submission from Jesús Cea Avión j...@jcea.es: Example of faulting build: http://www.python.org/dev/buildbot/all/builders/AMD64%20OpenIndiana%203.1/builds/297 Problem: test_distutils.py tests the generation of shared libraries. It correctly compile the .c to .o as 64 bits, but when linking

[issue11562] += on list inside a tuple raises TypeError but succeeds anyway

2011-03-16 Thread SilentGhost
Changes by SilentGhost ghost@gmail.com: -- title: += on list inside a tuple raises TypeError but succeds anyway - += on list inside a tuple raises TypeError but succeeds anyway ___ Python tracker rep...@bugs.python.org

[issue11569] multiprocessing/darwin: sysctl(8) mislocation

2011-03-16 Thread Steffen Daode Nurpmeso
Steffen Daode Nurpmeso sdao...@googlemail.com added the comment: Maybe i should have used 'hg anno' first ... next time i will. This new patch always uses an absolute path. I have not looked into os.popen() yet, but i do put trust in that it makes a difference :) The reason was nonetheless:

[issue11569] multiprocessing/darwin: sysctl(8) mislocation

2011-03-16 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: The patch looks fine. I'd prefer the second patch as this always uses an absolute path (I've ran into numerous problems in the past with scripts that assumed that the commands they looked for where on $PATH and were the system version

[issue11371] Localization of error messages in getopt

2011-03-16 Thread Filip Gruszczyński
Filip Gruszczyński grusz...@gmail.com added the comment: Bump! Hi Eric, there was no negative feedback for two weeks. How about commiting the patch? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11371

[issue11569] multiprocessing/darwin: sysctl(8) mislocation

2011-03-16 Thread Jesse Noller
Jesse Noller jnol...@gmail.com added the comment: Ronald - if you're OK w/ patch 2, please commit! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11569 ___

[issue10812] Add some posix functions

2011-03-16 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: v6 was created against an unknown mercurial repository (most likely code.python.org). It actually doesn't apply cleanly anymore so it would be best to regenerate it it (or go on with any v7 that may result out of the review). --

[issue11452] test_trace not symlink install clean

2011-03-16 Thread Steffen Daode Nurpmeso
Steffen Daode Nurpmeso sdao...@googlemail.com added the comment: Signore Melotti, i'm making you nosy because you're the one which committed to this file last (db7385). I've tried a bit to write a patch, but my simple os.path.realpath() solution didn't work. I've got no idea of the test

[issue11452] test_trace not symlink install clean

2011-03-16 Thread Steffen Daode Nurpmeso
Changes by Steffen Daode Nurpmeso sdao...@googlemail.com: -- nosy: -sdaoden ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11452 ___ ___

[issue11569] multiprocessing/darwin: sysctl(8) mislocation

2011-03-16 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset c394f2d42ff8 by Ronald Oussoren in branch '3.1': Issue #11569: use absolute path to the sysctl command in multiprocessing to http://hg.python.org/cpython/rev/c394f2d42ff8 New changeset b8f280d0cdbf by Ronald Oussoren in branch

[issue11569] multiprocessing/darwin: sysctl(8) mislocation

2011-03-16 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: Thanks for the patch. I've committed it to 2.7 as well. -- resolution: - fixed stage: - committed/rejected status: open - closed type: - behavior versions: +Python 2.7 ___ Python tracker

[issue858809] Use directories from configure rather than hardcoded

2011-03-16 Thread Andy Buckley
Changes by Andy Buckley a...@insectnation.org: -- nosy: +andybuckley ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue858809 ___ ___ Python-bugs-list

[issue1294959] Problems with /usr/lib64 builds.

2011-03-16 Thread Andy Buckley
Changes by Andy Buckley a...@insectnation.org: -- nosy: +andybuckley ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1294959 ___ ___

[issue11243] email/message.py str conversion

2011-03-16 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Steffen, these look like different kinds of errors than the one you reported in this ticket. If they are, could you open a new issue? Either way, simple reproducers would be the most helpful. --

[issue5154] OSX broken poll testing doesn't work

2011-03-16 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: I propose to close this as won't fix. The reason: poll on OSX does work, but fairly limited in the kinds of file descriptors it works with. The HAVE_BROKEN_POLL test is meant to detect poll implementation that don't even manage to

[issue11570] Lib/test/test_distutils.py tries to mix 32 and 64 bits object files, doesn't obey LDFLAGS

2011-03-16 Thread Jesús Cea Avión
Jesús Cea Avión j...@jcea.es added the comment: This patch is hacky, but 3.1 is in maintenance mode. This patch should be safe. It only touch SunOS compilation. It passes the testsuite, and it should allow 64 bit compilation of extension packages. This patch is not needed in 3.2 and 3.x. It

[issue11564] pickle not 64-bit ready

2011-03-16 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: On Tue, Mar 15, 2011 at 7:05 PM, Antoine Pitrou rep...@bugs.python.org wrote: .. - (bugfix) raise a proper exception when an object too large for handling by pickle is given What would be the proper exception here?

[issue9384] Tkinter windows pop under the terminal in OSX

2011-03-16 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: This is not a bug in python, but is generic platform behavior (as Ned noted). I'll therefore close this issue as won't fix. -- resolution: - wont fix status: open - closed ___ Python tracker

[issue9384] Tkinter windows pop under the terminal in OSX

2011-03-16 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: On Wed, Mar 16, 2011 at 10:18 AM, Ronald Oussoren rep...@bugs.python.org wrote: .. This is not a bug in python, but is generic platform behavior (as Ned noted). Maybe not a bug in tkinter proper, but certainly an

[issue11459] Python select.select does not correctly report read readyness

2011-03-16 Thread Ross Lagerwall
Ross Lagerwall rosslagerw...@gmail.com added the comment: to get that behavior, change the =1 default to =io.DEFAULT_BUFFER_SIZE in ross's patch. The problem is, it doesn't seem like you can import and use io.DEFAULT_BUFFER_SIZE from inside os.py. Python fails to start. You can import

[issue9384] Tkinter windows pop under the terminal in OSX

2011-03-16 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: Maybe. It is definitely something that will have to be determined for every case separately and is not something that should be worked around in Tkinter itself. -- ___ Python tracker

[issue9047] Python 2.7rc2 includes -isysroot twice on each gcc command line

2011-03-16 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: This is no longer a problem on any machine I have access to, I'm therefore closing this issue. Please reopen if you still have problems on your machine, if you do so include detailed information about: OSX release, system architecture

[issue11571] Turtle window pops under the terminal on OSX

2011-03-16 Thread Alexander Belopolsky
New submission from Alexander Belopolsky belopol...@users.sourceforge.net: If you have a large enough terminal window and run $ python -m turtle on OSX, you will see nothing because turtle screen pops under the terminal. Ned Deily suggested in msg130421 that this can be fixed by setting

[issue11571] Turtle window pops under the terminal on OSX

2011-03-16 Thread Alexander Belopolsky
Changes by Alexander Belopolsky belopol...@users.sourceforge.net: -- dependencies: +Tkinter windows pop under the terminal in OSX ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11571 ___

[issue9384] Tkinter windows pop under the terminal in OSX

2011-03-16 Thread Alexander Belopolsky
Changes by Alexander Belopolsky belopol...@users.sourceforge.net: -- superseder: - Turtle window pops under the terminal on OSX ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9384 ___

[issue9384] Tkinter windows pop under the terminal in OSX

2011-03-16 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: On Wed, Mar 16, 2011 at 10:42 AM, Ronald Oussoren rep...@bugs.python.org wrote:  It is definitely something that will have to be determined for every case separately and is not something that should be worked around in

[issue11243] email/message.py str conversion

2011-03-16 Thread Steffen Daode Nurpmeso
Steffen Daode Nurpmeso sdao...@googlemail.com added the comment: On Wed, Mar 16, 2011 at 01:58:40PM +, R. David Murray wrote: Steffen, these look like different kinds of errors than the one you reported in this ticket. If they are, could you open a new issue? Either way, simple

[issue11243] email/message.py str conversion

2011-03-16 Thread Steffen Daode Nurpmeso
Steffen Daode Nurpmeso sdao...@googlemail.com added the comment: Sorry, i've forgot the test ;) -- Added file: http://bugs.python.org/file21241/11243-test.1.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11243

[issue11571] Turtle window pops under the terminal on OSX

2011-03-16 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: The attached patch forces the window to the front by first making the window a topmost window and then resetting that flag. Could you test if this does want you'd like it to? (The patch is for 3.3, will backport upto 2.7 when the

[issue11133] inspect.getattr_static code execution

2011-03-16 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset 382cb3386d57 by Benjamin Peterson in branch '3.2': correct patch ack (#11133) http://hg.python.org/cpython/rev/382cb3386d57 -- ___ Python tracker rep...@bugs.python.org

[issue11562] += on list inside a tuple raises TypeError but succeeds anyway

2011-03-16 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: As Daniel noted, this behaviour is in accordance with the language definition. It's obscure and surprising behaviour, but it isn't wrong. -- nosy: +ncoghlan resolution: - invalid stage: test needed - committed/rejected status: open -

[issue7013] Httplib read routine is not tolerant to not well-formed chunked http responses.

2011-03-16 Thread Florent Xicluna
Changes by Florent Xicluna florent.xicl...@gmail.com: -- nosy: +flox ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7013 ___ ___ Python-bugs-list

[issue11320] Usage of API method Py_SetPath causes errors in Py_Initialize() (Posix ony))

2011-03-16 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: Note that this will be fixed for 3.3, as siteconfig will be updated to use static data (generated during the build process) rather than relying on build artifacts being available at runtime. However, virtualenv (et al) will still need to

[issue11133] inspect.getattr_static code execution

2011-03-16 Thread Michael Foord
Michael Foord mich...@voidspace.org.uk added the comment: Thanks Daniel (and sorry Andreas). Benjamin Peterson has fixed this. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11133 ___

[issue8916] Move PEP 362 (function signature objects) into inspect

2011-03-16 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- assignee: - brett.cannon stage: - needs patch versions: +Python 3.3 -Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8916 ___

[issue11571] Turtle window pops under the terminal on OSX

2011-03-16 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: On Wed, Mar 16, 2011 at 11:26 AM, Ronald Oussoren rep...@bugs.python.org wrote: .. The attached patch forces the window to the front by first making the window a topmost window and then resetting that flag. Could you

[issue11445] python.exe on OS X shared-llbrary build erroneously linked to MacPorts python library

2011-03-16 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: The attached patch fixes the issue by moveing LDFLAGS after BLDLIBRARY in the linking step. I'm not committing this yet though as this will affect all platforms that use Makefiles to build, and I'm not sure if this change save for all

[issue11572] bring Lib/copy.py to 100% coverage

2011-03-16 Thread Brandon Craig Rhodes
New submission from Brandon Craig Rhodes bran...@rhodesmill.org: The attached patch will bring Lib/copy.py to 100% test coverage. A bug in coverage results in its only reporting 99% at the moment; see coverage issue #122 on bitbucket:

[issue11513] Infinite recursion around raising an exception in tarfile

2011-03-16 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: This fix reveals a second bug. Without this fix, a non-existent file raises an IOError with an appropriate error message, but with the chained exception. After this fix, it raises an error that says 'not a gzip file', which while

[issue11320] Usage of API method Py_SetPath causes errors in Py_Initialize() (Posix ony))

2011-03-16 Thread Sridhar Ratnakumar
Sridhar Ratnakumar sridh...@activestate.com added the comment: [pitrou] Can you explain why this is a problem in Python? Can't lib/python3.2/config-3.2m/Makefile simply be provided by virtualenv (by copying it, I guess)? Yes, I believe virtualenv already does that (or symlinks to it).

[issue11513] chained exception/incorrect exception from tarfile.open on a non-existent file

2011-03-16 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Note that the code in question was changed to the form with the bugs in 3.2, so this fix does not need to be backported to 3.1. The test could be, though. -- components: +Library (Lib) -Interpreter Core title: Infinite recursion

[issue11572] bring Lib/copy.py to 100% coverage

2011-03-16 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: 1. I prefer that we don't have pragma statements sprinkled over the stdlib. 2. You can use assertIs() instead of assertTrue(x is y) (Feel free to change the lot) 3. Along the way you could also change those raise support.TestFailed over

[issue11572] bring Lib/copy.py to 100% coverage

2011-03-16 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: A bug in coverage results in its only reporting 99% at the moment It was concluded during discussion of issue2506 that this is not a bug. At least not a bug in coverage or the trace module. At most this is a peephole

[issue11560] Expand test coverage in shutil

2011-03-16 Thread Nick Coghlan
Changes by Nick Coghlan ncogh...@gmail.com: -- assignee: - ncoghlan nosy: +ncoghlan ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11560 ___ ___

[issue11572] bring Lib/copy.py to 100% coverage

2011-03-16 Thread Nick Coghlan
Changes by Nick Coghlan ncogh...@gmail.com: -- assignee: - ncoghlan nosy: +ncoghlan ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11572 ___ ___

[issue11572] bring Lib/copy.py to 100% coverage

2011-03-16 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: Alexander: the coverage problem in this case has to do with it incorrectly handling an else: clause on a loop (it doesn't adjust the expected target for an empty sequence to be the body of the else clause) Benjamin: the pragma question is

[issue11572] bring Lib/copy.py to 100% coverage

2011-03-16 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: 2011/3/16 Nick Coghlan rep...@bugs.python.org: Nick Coghlan ncogh...@gmail.com added the comment: Alexander: the coverage problem in this case has to do with it incorrectly handling an else: clause on a loop (it doesn't adjust the

[issue11573] Improve Unicode Documentation with Known Caveats

2011-03-16 Thread Armin Ronacher
New submission from Armin Ronacher armin.ronac...@active-4.com: The documentation should explain some of the common problems with Unicode on Python 3. * locale's affect the text default encoding * SSH clients can set the locale on a remote server * filesystem encoding is set by the SSH

[issue11548] Passing format= to unpack_archive fails

2011-03-16 Thread Nick Coghlan
Changes by Nick Coghlan ncogh...@gmail.com: -- assignee: - ncoghlan nosy: +ncoghlan ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11548 ___ ___

[issue11574] Unicode Fallback Encoding on Python 3.3

2011-03-16 Thread Armin Ronacher
New submission from Armin Ronacher armin.ronac...@active-4.com: Right now Python happily falls back to ASCII if it can not parse your LC_CTYPE or something similar happens. Instead of falling back to ASCII it would be better if it falls back to UTF-8. Alternatively it should at least give a

[issue11574] Unicode Fallback Encoding on Python 3.3

2011-03-16 Thread Armin Ronacher
Changes by Armin Ronacher armin.ronac...@active-4.com: -- assignee: - loewis nosy: +loewis ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11574 ___

[issue11575] addresses.txt file leaks into search engines

2011-03-16 Thread Skip Montanaro
New submission from Skip Montanaro s...@pobox.com: The python.org postmaster received this email today: From: Tom Pinckney thomaspinckn...@gmail.com To: postmas...@python.org Subject: public email addresses Date: Wed, 16 Mar 2011 13:03:21 -0400 X-Spambayes-Classification:

[issue5870] subprocess.DEVNULL

2011-03-16 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset eaf93e156dff by Ross Lagerwall in branch 'default': Issue #5870: Add subprocess.DEVNULL constant. http://hg.python.org/cpython/rev/eaf93e156dff -- nosy: +python-dev ___ Python tracker

[issue5870] subprocess.DEVNULL

2011-03-16 Thread Ross Lagerwall
Changes by Ross Lagerwall rosslagerw...@gmail.com: -- assignee: gregory.p.smith - rosslagerwall resolution: - accepted stage: needs patch - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org

[issue1559549] ImportError needs attributes for module and file name

2011-03-16 Thread Brett Cannon
Brett Cannon br...@python.org added the comment: At the PyCon 2011 sprint we discussed this issue and Nick, myself, and some other people agreed that using a keyword-only argument for passing in the module name is probably a better solution. While it won't be backwards-compatible

[issue502085] pickle problems (with Boost.Python)

2011-03-16 Thread Brandon Craig Rhodes
Brandon Craig Rhodes bran...@rhodesmill.org added the comment: Benjamin, I would like some way to know when our tests achieve 100% coverage because otherwise I will keep coming back to this module to add more tests and have to re-discover code that is not CPython relevant. But for now I have

[issue502085] pickle problems (with Boost.Python)

2011-03-16 Thread Brandon Craig Rhodes
Changes by Brandon Craig Rhodes bran...@rhodesmill.org: Removed file: http://bugs.python.org/file21245/test_copy2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue502085 ___

[issue11570] Lib/test/test_distutils.py tries to mix 32 and 64 bits object files, doesn't obey LDFLAGS

2011-03-16 Thread Jesús Cea Avión
Jesús Cea Avión j...@jcea.es added the comment: Benjamin, could you possibly accept this for 3.1?. It solves a buildbot issue that cold mask othe problems. It seems pretty trivial and safe. If you approve, I will commit the patch myself. Thanks. -- assignee: - jcea nosy:

[issue502085] pickle problems (with Boost.Python)

2011-03-16 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- Removed message: http://bugs.python.org/msg131148 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue502085 ___

[issue11548] Passing format= to unpack_archive fails

2011-03-16 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset d1619747c17d by Nick Coghlan in branch '3.2': Close #11548: Correctly handle format argument in shutil.unpack_archive http://hg.python.org/cpython/rev/d1619747c17d New changeset e376d04539bb by Nick Coghlan in branch 'default':

[issue11572] bring Lib/copy.py to 100% coverage

2011-03-16 Thread Brandon Craig Rhodes
Brandon Craig Rhodes bran...@rhodesmill.org added the comment: Benjamin, thanks for the pointers! The attached patch now uses assertIs() and assertIsNot(), and calls self.fail() instead of using the exception from support. In the future I would like some way to determine when test coverage is

[issue11548] Passing format= to unpack_archive fails

2011-03-16 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- type: crash - behavior versions: +Python 3.2, Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11548 ___

[issue11560] Expand test coverage in shutil

2011-03-16 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset b313b05221a9 by Nick Coghlan in branch '3.2': Close #11560: Improve test coverage of shutil http://hg.python.org/cpython/rev/b313b05221a9 New changeset 5b61334bb776 by Nick Coghlan in branch 'default': Merge fix for #11560 from 3.2

[issue6210] Exception Chaining missing method for suppressing context

2011-03-16 Thread Armin Ronacher
Changes by Armin Ronacher armin.ronac...@active-4.com: -- nosy: +aronacher ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6210 ___ ___

[issue11557] Increase coverage in logging module

2011-03-16 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- nosy: +vinay.sajip ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11557 ___ ___

[issue1559549] ImportError needs attributes for module and file name

2011-03-16 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: +1 for providing a way to autogenerate the message. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1559549 ___

[issue11570] Lib/test/test_distutils.py tries to mix 32 and 64 bits object files, doesn't obey LDFLAGS

2011-03-16 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: That should be okay. 3.1 is still open for normal bugfixes. 2011/3/16 Jesús Cea Avión rep...@bugs.python.org: Jesús Cea Avión j...@jcea.es added the comment: Benjamin, could you possibly accept this for 3.1?. It solves a buildbot

[issue11576] timedelta subtraction glitch on big timedelta values

2011-03-16 Thread Enrico Zini
New submission from Enrico Zini enr...@enricozini.org: Hello, I was testing edge case behaviour of some code of mine and stumbled into this unexpected domain error from timedelta: from datetime import * timedelta(9, 86399, 99) - timedelta(9, 86399, 98)

[issue11576] timedelta subtraction glitch on big timedelta values

2011-03-16 Thread SilentGhost
SilentGhost ghost@gmail.com added the comment: To emphasize that it's only days parameter that is overflowing here is another case: timedelta(9, 1, 1) - timedelta(9, 0, 0) datetime.timedelta(0, 1, 1) timedelta(9, 1, 1) - timedelta(9, 1, 0) Traceback (most

[issue11576] timedelta subtraction glitch on big timedelta values

2011-03-16 Thread SilentGhost
SilentGhost ghost@gmail.com added the comment: What happens is the second value is negated (__neg__) which causes it to become less than timedelta.min and that is causing OverflowError. -- components: +Library (Lib) nosy: +belopolsky ___ Python

[issue11088] IDLE on OS X with Cocoa Tk 8.5 can hang waiting on input / raw_input

2011-03-16 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: The same fix also works with 2.7. The attached patch is basically the same patch, but the special casing for OSX is impacts other platforms even less than before. -- Added file:

[issue11577] testcase for exception binhex.Error

2011-03-16 Thread Arkady Koplyarov
New submission from Arkady Koplyarov akoplya...@rim.com: Testcase for exception binhex.Error to increase test coverage. -- components: Library (Lib), Tests files: testcase_for_binhex_module.patch keywords: patch messages: 131159 nosy: arkady.koplyarov priority: normal severity: normal

[issue11577] testcase for exception binhex.Error

2011-03-16 Thread Brian Curtin
Changes by Brian Curtin br...@python.org: -- nosy: +brian.curtin ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11577 ___ ___ Python-bugs-list

[issue11577] testcase for exception binhex.Error

2011-03-16 Thread Nick Coghlan
Changes by Nick Coghlan ncogh...@gmail.com: -- nosy: +ncoghlan ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11577 ___ ___ Python-bugs-list

[issue11557] Increase coverage in logging module

2011-03-16 Thread Natalia B. Bidart
Natalia B. Bidart nataliabid...@gmail.com added the comment: Attaching a patch that increases test coverage for logging/__init__.py by 12%. There are still a lot more to do, but this pacth is big enough. -- keywords: +patch Added file:

[issue11570] Lib/test/test_distutils.py tries to mix 32 and 64 bits object files, doesn't obey LDFLAGS

2011-03-16 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset d108a7dff2a0 by Jesus Cea in branch '3.1': Close Issue 11570: Lib/test/test_distutils.py tries to mix 32 and 64 bits object files, doesn't obey LDFLAGS http://hg.python.org/cpython/rev/d108a7dff2a0 -- nosy: +python-dev

[issue6210] Exception Chaining missing method for suppressing context

2011-03-16 Thread Matthew Barnett
Matthew Barnett pyt...@mrabarnett.plus.com added the comment: I've been looking through the list of current keywords and the best syntax I could come up with for suppressing the context is: try: x / y except ZeroDivisionError as e: raise as Exception( 'Invalid value for

[issue11577] testcase for exception binhex.Error

2011-03-16 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: unittest provides a utility to help with testing that correct exceptions are raised: http://docs.python.org/dev/library/unittest#unittest.TestCase.assertRaises -- ___ Python tracker

[issue11055] OS X IDLE 3.2 Save As menu accelerator opens two Save windows

2011-03-16 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: The double execution is definitely caused by having multiple event, one of which is a real keyboard event and the other one is a ghost one. I'm seeing calls to save_as with 2 events: the first is a ghost event, with type 35 and '??' as

[issue11055] OS X IDLE 3.2 Save As menu accelerator opens two Save windows

2011-03-16 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: It's getting weirder by the minute. Not only do we get multiple events, we also get additional keybindings we never asked for. *Cmd+Ctrl+S also works as save as *Cmd+Shift+S gives two save as events (as was already known) --

[issue11549] Rewrite peephole to work on AST

2011-03-16 Thread Eugene Toder
Eugene Toder elto...@gmail.com added the comment: Any comments on the code so far or suggestions on how we should move forward? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11549 ___

[issue9298] binary email attachment issue with base64 encoding

2011-03-16 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset 062d09d7bf94 by R David Murray in branch '3.1': #9298: restore proper folding of base64 encoded bodies. http://hg.python.org/cpython/rev/062d09d7bf94 New changeset c34320d9095e by R David Murray in branch '3.2': Merge #9298 fix.

  1   2   >