[issue10736] test_ttk_guionly fails on OS X using ActiveState Tcl 8.5.9 (Cocoa)

2011-06-28 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset 4a0b929b5c3d by Ned Deily in branch '2.7': Issue #10736: Fix test_ttk test_widgets failures with Cocoa Tk 8.5.9 http://hg.python.org/cpython/rev/4a0b929b5c3d New changeset 570cdef34066 by Ned Deily in branch '3.2': Issue #10736: Fix

[issue10736] test_ttk_guionly fails on OS X using ActiveState Tcl 8.5.9 (Cocoa)

2011-06-28 Thread Ned Deily
Changes by Ned Deily n...@acm.org: -- resolution: - fixed stage: - committed/rejected status: open - pending ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10736 ___

[issue8746] os.chflags() and os.lchflags() are not built when they should be be

2011-06-28 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset abfe28e7e5cd by Ned Deily in branch '2.7': Issue #8746: Correct faulty configure checks so that os.chflags() and http://hg.python.org/cpython/rev/abfe28e7e5cd New changeset 529e26aa4fa3 by Ned Deily in branch '3.2': Issue #8746:

[issue8746] os.chflags() and os.lchflags() are not built when they should be be

2011-06-28 Thread Ned Deily
Ned Deily n...@acm.org added the comment: Thanks for the additional tests, Garrett. I've applied them (modulo a fix). I've also applied the corrections to configure which should make os.chflags() and os.lchflags() reappear again in BSD and OS X builds where supported. I've also added and

[issue12425] gettext breaks on empty plural-forms value

2011-06-28 Thread Dirkjan Ochtman
New submission from Dirkjan Ochtman dirk...@ochtman.nl: See https://bugzilla.redhat.com/show_bug.cgi?id=692632 for more details and a proposed patch. -- components: Library (Lib) messages: 139347 nosy: djc priority: normal severity: normal status: open title: gettext breaks on empty

[issue1475523] gettext breaks on plural-forms header

2011-06-28 Thread Dirkjan Ochtman
Dirkjan Ochtman dirk...@ochtman.nl added the comment: Okay, I've filed issue12425. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1475523 ___

[issue12141] sysconfig.get_config_vars('srcdir') fails in specific cases

2011-06-28 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset c8ffa3891d5e by Ned Deily in branch '2.7': Issue #12141: Install a copy of template C module file so that http://hg.python.org/cpython/rev/c8ffa3891d5e New changeset de226a510b52 by Ned Deily in branch '3.2': Issue #12141: Install a

[issue12141] sysconfig.get_config_vars('srcdir') fails in specific cases

2011-06-28 Thread Ned Deily
Ned Deily n...@acm.org added the comment: Patches applied as described above for 3.3, 3.2.1, and 2.7.3. I'm setting the status of the issue to pending and, assuming there are no buildbot failures in the near future, I will close it unless anyone sees a reason not to. -- resolution: -

[issue12426] packaging.tests.test_command_install_dist.InstallTestCase failure

2011-06-28 Thread STINNER Victor
New submission from STINNER Victor victor.stin...@haypocalc.com: FAIL: test_user_site (packaging.tests.test_command_install_dist.InstallTestCase) -- Traceback (most recent call last): File

[issue12427] packaging register fails because POST data should be bytes

2011-06-28 Thread Vinay Sajip
New submission from Vinay Sajip vinay_sa...@yahoo.co.uk: vinay@eta-natty:~/projects/nemo$ pysetup3 run register running register Registering nemo to http://pypi.python.org/pypi Traceback (most recent call last): File /usr/local/bin/pysetup3, line 4, in module sys.exit(main()) File

[issue12428] functools test coverage

2011-06-28 Thread Brian Thorne
New submission from Brian Thorne hardb...@gmail.com: The test coverage for functools was down around ~60%, this is a patch to bring that up to ~98%. Made two changes to the Lib/functools.py file itself: 1) Moved the Python implementation of partial into Lib/functools.py from

[issue12406] msi.py needs updating for Python 3.3

2011-06-28 Thread Vinay Sajip
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment: and adding the two files added for packaging should do the trick Which two files would those be, exactly? In my branch I've changed to logic from parent.physical == distutils to parent.physical in (distutils, packaging) and this should

[issue12429] test_io.check_interrupted_write() sporadic failures on FreeBSD 6 on Python 2.7/3.2

2011-06-28 Thread STINNER Victor
New submission from STINNER Victor victor.stin...@haypocalc.com: test_io.check_interrupted_write() has two threads and a pipe: - reader (thread): read one byte from the pipe - writer (main thread): write 1 MB into the pipe An alarm (SIGALRM) is scheduled in one second. The writer blocks

[issue12429] test_io.check_interrupted_write() sporadic failures on FreeBSD 6 on Python 2.7/3.2

2011-06-28 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Patch to skip the test on FreeBSD 5, 6 and 7. I was unable to reproduce #11859 on my FreeBSD 8 VM, so I didn't add freebsd8. -- keywords: +patch Added file: http://bugs.python.org/file22506/test_io_skip_freebsd.patch

[issue12430] Pip fails to fetch from mirror if PyPi checksum times out

2011-06-28 Thread Seppo Yli-Olli
New submission from Seppo Yli-Olli seppo.ylio...@gmail.com: Checksums need to be mirrored as well, otherwise having mirrors is a waste of money because PyPi main server being slow ends up with whole download failing. If this is the wrong bug tracker, please advice me to the right one so this

[issue12430] Pip fails to fetch from mirror if PyPi checksum times out

2011-06-28 Thread Seppo Yli-Olli
Changes by Seppo Yli-Olli seppo.ylio...@gmail.com: -- type: - feature request ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12430 ___ ___

[issue12428] functools test coverage

2011-06-28 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: Raymond, do we care whether or not the pure Python version of functools.partial supports inheritance and instance testing? The constructor is technically documented as returning a partial object rather than a simple staticmethod instance with

[issue12428] functools test coverage

2011-06-28 Thread Raymond Hettinger
Raymond Hettinger raymond.hettin...@gmail.com added the comment: Raymond, do we care whether or not the pure Python version of functools.partial supports inheritance and instance testing? We don't care. The docs make very few guarantees beyond the core functionality. Everything else is an

[issue12430] Pip fails to fetch from mirror if PyPi checksum times out

2011-06-28 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: Hello, The PyPI bug tracker is over here (you can find the link on the front page of http://pypi.python.org/pypi): http://sourceforge.net/tracker/?group_id=66150atid=513503 That said, having checksums come from the master server

[issue12431] urllib2.Request.get_full_url() broken in newer versions of Python

2011-06-28 Thread Jon Siddle
New submission from Jon Siddle j...@corefiling.co.uk: Issue8280 fixed an issue where the fragment was being sent to the server (and returned by get_selector). Unfortunately the fix means that the full URL stored in the Request no longer includes the fragment either. This is in contradiction

[issue12425] gettext breaks on empty plural-forms value

2011-06-28 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12425 ___

[issue12432] remove a bunch of unused imports in Lib

2011-06-28 Thread Vincent Legoll
New submission from Vincent Legoll vincent.leg...@gmail.com: Using pylint I found some unused imports in Lib. I filtered the most obvious ones by hand to produce the attached patch. Should I submit individual patches, one for each file, so as to ease review ? -- components: Library

[issue12432] remove a bunch of unused imports in Lib

2011-06-28 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset 8c17e898e0e8 by Benjamin Peterson in branch 'default': remove unused imports (closes #12432) http://hg.python.org/cpython/rev/8c17e898e0e8 -- nosy: +python-dev resolution: - fixed stage: - committed/rejected status: open -

[issue12433] make clean doesn't clean up static libraries on 2.x

2011-06-28 Thread Garrett Cooper
New submission from Garrett Cooper yaneg...@gmail.com: Running 'make clean' leaves libpython*.a behind. The attached patch removes it when make clean is run. This was resolved on py3k, not trunk; the attached patch matches what was done on py3k. -- components: Build files:

[issue12433] make clean doesn't clean up static libraries on 2.x

2011-06-28 Thread Ned Deily
Ned Deily n...@acm.org added the comment: A similar fix was applied and released in both 2.6.6 and 2.7.1. -- nosy: +ned.deily resolution: - out of date stage: - committed/rejected status: open - closed type: compile error - ___ Python tracker

[issue12431] urllib2.Request.get_full_url() broken in newer versions of Python

2011-06-28 Thread Ned Deily
Changes by Ned Deily n...@acm.org: -- nosy: +orsenthil ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12431 ___ ___ Python-bugs-list mailing list

[issue12433] make clean doesn't clean up static libraries on 2.x

2011-06-28 Thread Garrett Cooper
Garrett Cooper yaneg...@gmail.com added the comment: Is svn not being updated anymore (in lieu of hg)? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12433 ___

[issue12432] remove a bunch of unused imports in Lib

2011-06-28 Thread Vincent Legoll
Vincent Legoll vincent.leg...@gmail.com added the comment: Looking through http://hg.python.org/cpython/rev/8c17e898e0e8 I see that the glob.py hunk has been applied reversed. The changeset 68349:55bea11d892e removing it is 3 monthes old... Looks like I missed a svn-hg migration on my side,

[issue12433] make clean doesn't clean up static libraries on 2.x

2011-06-28 Thread Ned Deily
Ned Deily n...@acm.org added the comment: No, the svn repos for python itself (at svn.python.org) are frozen as of the hg transition and are for historical reference only. See http://docs.python.org/devguide/ for more info on current practices. --

[issue12432] remove a bunch of unused imports in Lib

2011-06-28 Thread Vincent Legoll
Vincent Legoll vincent.leg...@gmail.com added the comment: This one reverts glob.py to the previous state -- Added file: http://bugs.python.org/file22510/reremove-sys-import-from-glob.patch ___ Python tracker rep...@bugs.python.org

[issue12431] urllib2.Request.get_full_url() broken in newer versions of Python

2011-06-28 Thread Santoso Wijaya
Santoso Wijaya santoso.wij...@gmail.com added the comment: This has been fixed with issue #11703, latest version of Python 2.7 does not exhibit this behaviour anymore: Python 2.7.2 (default, Jun 12 2011, 14:24:46) [MSC v.1500 64 bit (AMD64)] on win 32 Type help, copyright, credits or license

[issue12407] test_subinterps fails on Windows

2011-06-28 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: I don't really understand why you need this. Under normal setups, the test is already properly skipped under Windows, since there's no rule to build the Modules/_testembed with MSVC. Or are you talking about another kind of setup? Cygwin? mingw?

[issue12352] multiprocessing.Value() hangs

2011-06-28 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Nice work! I also think heap_gc_deadlock_lockless.diff is good, except for Victor's reservation: is it deliberate that you reversed the following two statements in _free_pending_blocks(), compared to the code in free()? +

[issue12380] bytearray methods center, ljust, rjust don't accept a bytearray as the fill character

2011-06-28 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: I do agree it is a nuisance that it doesn't work with bytearray instances. After all, these methods are supposed to be homogeneous, and they are when called on a str or bytes object. -- assignee: docs@python - stage: committed/rejected

[issue12380] bytearray methods center, ljust, rjust don't accept a bytearray as the fill character

2011-06-28 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- components: -Documentation ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12380 ___ ___

[issue12434] Strengthen 2.7 io types warning

2011-06-28 Thread Terry J. Reedy
New submission from Terry J. Reedy tjre...@udel.edu: Trying 3.2 code with 2.7, I got this (greatly simplified): from __future__ import print_function from io import StringIO print('hello world', file=StringIO()) Traceback... TypeError: string argument expected, got 'str' (StringIO.StringIO

[issue12147] smtplib.send_message does not implement corectly rfc 2822

2011-06-28 Thread Nicolas Estibals
Nicolas Estibals nicolas.estib...@gmail.com added the comment: Sorry for the late, my week-end was more busy than expected. Here is the corrected version of the patch. -- Added file: http://bugs.python.org/file22511/send_message_rfc2822_v2.patch ___

[issue12423] signal handler doesn't handle SIGABRT from os.abort

2011-06-28 Thread Kamil Kisiel
Kamil Kisiel ka...@kamilkisiel.net added the comment: The application is interfacing with a C library that uses abort() to signal fatal errors (horrible, I know..). Instead of core dumping I would like to be able to handle these errors at the Python level and do something else. It's starting

[issue12417] Inappropriate copyright on profile files

2011-06-28 Thread Barry A. Warsaw
Barry A. Warsaw ba...@python.org added the comment: I think we should apply this to earlier applicable versions too. I would accept this change for Python 2.6. -- nosy: +barry ___ Python tracker rep...@bugs.python.org

[issue12423] signal handler doesn't handle SIGABRT from os.abort

2011-06-28 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Be aware that programs which use signal.signal() to register a handler for SIGABRT will behave differently. I don't understand this sentence. I think that this sentence should be removed, and another should maybe be added. E.g.

[issue12435] Input function does not strip trailing '\r' from string input

2011-06-28 Thread Brian Hare
New submission from Brian Hare ha...@umkc.edu: In Windows, using python 3.2, the built-input function does not strip the trailing '\r' from the string input: Python 3.2 (r32:88445, Feb 20 2011, 21:29:02) [MSC v.1500 32 bit (Intel)] on win32 Type help, copyright, credits or license for more

[issue12435] Input function does not strip trailing '\r' from string input

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

[issue12435] Input function does not strip trailing '\r' from string input

2011-06-28 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: Already fixed with issue11272, which will be included in 3.2.1 and 3.3. -- nosy: +amaury.forgeotdarc resolution: - out of date status: open - closed superseder: - input() has trailing carriage return on windows

[issue12436] Provide reference to detailed installation instructions

2011-06-28 Thread Nick Coghlan
New submission from Nick Coghlan ncogh...@gmail.com: The Boston Python Workshop folks have some detailed step-by-step instructions on getting Python up and running ([1]). Given that this can be a pain point for new users (primarily on Windows), it may be good to reference these instructions

[issue12437] _ctypes.dlopen does not include errno in OSError

2011-06-28 Thread Matt Joiner
New submission from Matt Joiner anacro...@gmail.com: _ctypes.dlopen is not including the errno when it raises OSError. This occurs when attempting to load a library that doesn't exist, the error string given is clearly generated from an ENOENT. joiner@dbssyd800:~$ python3 dlopen_raise.py None

[issue10736] test_ttk_guionly fails on OS X using ActiveState Tcl 8.5.9 (Cocoa)

2011-06-28 Thread Ned Deily
Ned Deily n...@acm.org added the comment: No obvious buildbot problems so far so I'm going to close this as fixed. Thanks for the patch, Ronald. -- status: pending - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10736

[issue8746] os.chflags() and os.lchflags() are not built when they should be be

2011-06-28 Thread Ned Deily
Changes by Ned Deily n...@acm.org: -- status: pending - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8746 ___ ___ Python-bugs-list mailing

[issue12141] sysconfig.get_config_vars('srcdir') fails in specific cases

2011-06-28 Thread Ned Deily
Changes by Ned Deily n...@acm.org: -- status: pending - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12141 ___ ___ Python-bugs-list

[issue12172] IDLE crashes when I use F5 to run

2011-06-28 Thread Ned Deily
Ned Deily n...@acm.org added the comment: Since there's been no response and I believe the problem should not occur with a properly installed Python 3.2 and ActiveState Tcl 8.5 as described here (http://www.python.org/download/mac/tcltk/), I'm going to close this issue. Please reopen if the

[issue12438] getpass error on idle

2011-06-28 Thread João Bernardo
New submission from João Bernardo jbv...@gmail.com: The getpass function is raising an error when first used on idle (Python 3.2 and 2.7.1) The next time it'll work as expected (it echoes the data, but idle is just for testing purposes so no problems here) from getpass import getpass p =

[issue12379] build outside source fail in head

2011-06-28 Thread Ned Deily
Ned Deily n...@acm.org added the comment: Fixed by Benjamin in f8f1d5691ae8. -- nosy: +ned.deily resolution: - fixed stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12379

[issue12437] _ctypes.dlopen does not include errno in OSError

2011-06-28 Thread Santoso Wijaya
Santoso Wijaya santoso.wij...@gmail.com added the comment: On Windows: try: ... ctypes.CDLL('somelib') ... except OSError as exc: ... print repr(exc) ... print exc.errno ... WindowsError(126, 'The specified module could not be found') 22 -- nosy: +santa4nt

[issue12361] Memory Leak in File Logging

2011-06-28 Thread Jacob Perkins
Jacob Perkins jap...@gmail.com added the comment: Sorry about this. Turns out the flattening of memory usage was a temporary coincidence, and I eventually tracked the bug down to an old version of MySQLdb. -- resolution: - invalid status: pending - closed

[issue12417] Inappropriate copyright on profile files

2011-06-28 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset 02150e60636b by Benjamin Peterson in branch '2.6': update profile license (closes #12417) http://hg.python.org/cpython/rev/02150e60636b New changeset 633597815463 by Benjamin Peterson in branch '3.1': update profile license (closes

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

2011-06-28 Thread Ned Deily
Ned Deily n...@acm.org added the comment: While I am a little concerned about applying these fixes, it is clear that the previous behavior was broken and the initial set of patches as applied did not improve matters. The only risk I can see is that there is a slight chance that there *might*

[issue10403] Use member consistently

2011-06-28 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: So I'm -1 on using attributes to denote methods. It will actively confuse non-expert users. If you want to ditch members, please consider using the more explicit phrase attributes and methods. -- nosy: +pitrou

[issue10403] Use member consistently

2011-06-28 Thread Senthil Kumaran
Senthil Kumaran sent...@uthcode.com added the comment: Yes, I agree with you. Good Suggestion. Thanks! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10403 ___

[issue12407] test_subinterps fails on Windows

2011-06-28 Thread Cesare Di Mauro
Cesare Di Mauro cesare.di.ma...@gmail.com added the comment: Unfortunately this test isn't skip on normal setup (using VisualStudio 2008 Express). I've updated the clone just a few minutes ago, rebuilt Python (in Debug mode), and that's what happened: D:\CPythonPCbuild\python_d.exe