[issue12181] SIGBUS error on OpenBSD (sparc64)

2011-07-08 Thread Charles-François Natali
Charles-François Natali neolo...@free.fr added the comment: @neologix: New try. Why did you remove your patch? Sorry, I completely forgot about this issue. Because it was incorrect (it would have fixed the SIGBUS, but would have produced incorrect results). IIRC, the problem is that those

[issue12502] 100% cpu usage when using asyncore with UNIX socket

2011-07-08 Thread Charles-François Natali
Charles-François Natali neolo...@free.fr added the comment: Looks good, the patch seems to fix the problem. Alright. Giampaolo, do you agree? Also, I noticed that test_asyncore currently only tests AF_INET sockets. I'm working a patch to add AF_UNIX (and maybe AF_INET6) tests. --

[issue12326] Linux 3: tests should avoid using sys.platform == 'linux2'

2011-07-08 Thread Charles-François Natali
Charles-François Natali neolo...@free.fr added the comment: @neologix: I don't understand why do you want to hurry, this issue will not be fixed in the next release (3.2.1, it's too late), and I don't think that the next release (3.3? or is it something before?) will come before few

[issue12502] 100% cpu usage when using asyncore with UNIX socket

2011-07-08 Thread Giampaolo Rodola'
Giampaolo Rodola' g.rod...@gmail.com added the comment: Sorry for delay. Yes, patch looks ok to me and some tests for AF_UNIX sockets would definitively be welcome. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12502

[issue11969] Can't launch multiproccessing.Process on methods

2011-07-08 Thread Petri Lehtinen
Changes by Petri Lehtinen pe...@digip.org: -- stage: test needed - needs patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11969 ___ ___

[issue1982] Feature: extend strftime to accept milliseconds

2011-07-08 Thread Ben
Ben magicbad...@gmail.com added the comment: Sorry to chime in on an old issue. Whilst it is good to have the ability to format the string up to microsecond precision, it would be better to be able to control the precision used. For instance, the ISO8601 specification states that there is no

[issue12504] packaging: fix uninstall and stop skipping its tests

2011-07-08 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Excellent! I will apply this. I looked through the rest of database.py and did not see any other generators that appeared to erroneously hold a file handle open. Me neither. Thanks for checking. In addition there is one generator function

[issue10117] Tools/scripts/reindent.py fails on non-UTF-8 encodings

2011-07-08 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Even with PYTHONIOENCODING? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10117 ___ ___

[issue8668] Packaging: add a 'develop' command

2011-07-08 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: Added file: http://bugs.python.org/file22614/b1b9da3b3d20.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8668 ___

[issue12279] Add build_distinfo command to packaging

2011-07-08 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: I forgot one thing: setuptools’ egg_info command does write a list of paths, so we can look at how it solved the problem with the RECORD and RESOURCES files. I was wrong: I just checked the output of egg_info, and it does not generate files

[issue12344] Add **kwargs to get_reinitialized_command

2011-07-08 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: I don’t know if you’ve seen the review I made (there is a bug with user names on the code review site, sometimes mail does not get sent). -- ___ Python tracker rep...@bugs.python.org

[issue11512] adding test suite for cgitb

2011-07-08 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Not sure this is related, but test_robotparser has started failing on one of the buildbots after this change: http://www.python.org/dev/buildbot/all/builders/AMD64%20Gentoo%20Wide%203.x/builds/2070 -- nosy: +pitrou

[issue12519] Call next version 3.3.0

2011-07-08 Thread Éric Araujo
New submission from Éric Araujo mer...@netwok.org: As discussed and agreed shortly before the 3.2 release, it’d be best to call the first 3.3 release 3.3.0. -- assignee: georg.brandl messages: 140025 nosy: eric.araujo, georg.brandl, terry.reedy priority: normal severity: normal status:

[issue12503] with statement error message is more confusing in Py2.7

2011-07-08 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Could AttributeError be improved to say something like this: AttributeError: type 'type' has no attribute '__enter__' -- nosy: +eric.araujo ___ Python tracker rep...@bugs.python.org

[issue12515] email modifies the message structure when the parsed email is invalid

2011-07-08 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- assignee: - r.david.murray components: +Library (Lib) -None stage: - needs patch title: The email package modifies the message structure (when the parsed email is invalid) - email modifies the message structure when the parsed email is

[issue12277] Missing comma in os.walk docs

2011-07-08 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: “pending” does not mean “soon to be fixed”, but “soon to be closed if nobody reacts”. In the future, we may have auto-closing of pending bugs. -- status: pending - open ___ Python tracker

[issue12169] Factor out common code for d2 commands register, upload and upload_docs

2011-07-08 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset c2785ed52ed4 by Éric Araujo in branch 'default': Factor out code used by packaging commands for HTTP requests (#12169). http://hg.python.org/cpython/rev/c2785ed52ed4 -- nosy: +python-dev

[issue11512] adding test suite for cgitb

2011-07-08 Thread Robbie Clemons
Robbie Clemons robclem...@gmail.com added the comment: Pretty sure it has nothing to do with the new cgitb test. Apparently testPasswordProtectedSite (test.test_robotparser.NetworkTestCase) uses website http://mueblesmoraleda.com to run it's test and that site is currently down. On Fri, Jul 8,

[issue12169] Factor out common code for d2 commands register, upload and upload_docs

2011-07-08 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: I added a few blank lines, changed the error message when boundary is not bytes, moved test_encode_multipart to test_util.py and committed. Thanks again! -- resolution: - fixed stage: needs patch - committed/rejected status: open -

[issue4672] Distutils SWIG support blocks use of SWIG -outdir option

2011-07-08 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Lists are used because that’s what the UNIX exec call accepts, or the constructor of subprocess.Popen. About using %r in error messages, see also #11599. -- nosy: +eric.araujo ___ Python tracker

[issue11352] Update cgi module doc

2011-07-08 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- keywords: +needs review, patch nosy: +amaury.forgeotdarc, andyharrington, erob, flox, gagenellina, haypo, oopos, pebbe, r.david.murray, tcourbon, tobias, v+python priority: normal - high stage: - patch review title: Bug in cgi module doc -

[issue12504] packaging: fix uninstall and stop skipping its tests

2011-07-08 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset 2b9a0a091566 by Éric Araujo in branch 'default': Close file handles in a timely manner in packaging.database (#12504). http://hg.python.org/cpython/rev/2b9a0a091566 -- nosy: +python-dev

[issue12504] packaging: fix database to stop skipping uninstall tests on win32

2011-07-08 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Edited a bit and committed. Thanks again! -- resolution: - fixed stage: patch review - committed/rejected status: open - closed title: packaging: fix uninstall and stop skipping its tests - packaging: fix database to stop skipping

[issue12519] Call next version 3.3.0

2011-07-08 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: -- nosy: +jcea ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12519 ___ ___ Python-bugs-list mailing list

[issue12516] imghdr.what should take one argument

2011-07-08 Thread SilentGhost
SilentGhost ghost@gmail.com added the comment: This seems like a change suitable for 3.3 -- nosy: +SilentGhost versions: +Python 3.3 -Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12516

[issue12440] test_ssl.test_options() failure on Snow Leopard: can't clear options before OpenSSL 0.9.8m

2011-07-08 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset 52ed0c6bb461 by Antoine Pitrou in branch '3.2': Issue #12440: When testing whether some bits in SSLContext.options can be http://hg.python.org/cpython/rev/52ed0c6bb461 New changeset 4120cd8a86f4 by Antoine Pitrou in branch

[issue12440] test_ssl.test_options() failure on Snow Leopard: can't clear options before OpenSSL 0.9.8m

2011-07-08 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Should be fixed now. -- assignee: janssen - resolution: - fixed stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12440

[issue12440] test_ssl.test_options() failure on Snow Leopard: can't clear options before OpenSSL 0.9.8m

2011-07-08 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: That said, we will probably need to supply our own libssl for Python installers in the future as there are rumors that Apple has hinted it may no longer supply openssl in the future. What about their own Python? Will it come without an ssl

[issue12440] test_ssl.test_options() failure on Snow Leopard: can't clear options before OpenSSL 0.9.8m

2011-07-08 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- resolution: - fixed stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12440 ___

[issue12486] tokenize module should have a unicode API

2011-07-08 Thread Petri Lehtinen
Changes by Petri Lehtinen pe...@digip.org: -- nosy: +petri.lehtinen ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12486 ___ ___ Python-bugs-list

[issue12518] In string.Template it's impossible to transform delimiter in the derived class

2011-07-08 Thread SilentGhost
SilentGhost ghost@gmail.com added the comment: 3.1 is in security fixes-only mode -- nosy: +SilentGhost versions: +Python 3.2 -Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12518

[issue12517] Large file support on Windows: sizeof(off_t) is 32 bits

2011-07-08 Thread Ralf Schmitt
Changes by Ralf Schmitt python-b...@systemexit.de: -- nosy: +schmir ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12517 ___ ___ Python-bugs-list

[issue11512] adding test suite for cgitb

2011-07-08 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Pretty sure it has nothing to do with the new cgitb test. Apparently testPasswordProtectedSite (test.test_robotparser.NetworkTestCase) uses website http://mueblesmoraleda.com to run it's test and that site is currently down. Indeed. It's

[issue11863] Enforce PEP 11 - remove support for legacy systems

2011-07-08 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset 638039a4fef3 by Antoine Pitrou in branch 'default': Issue #11863: remove unused file Python/thread_wince.h http://hg.python.org/cpython/rev/638039a4fef3 -- nosy: +python-dev ___ Python

[issue8716] test_tk/test_tkk_guionly fails on OS X if run from buildbot slave daemon -- crashes Python

2011-07-08 Thread Ned Deily
Ned Deily n...@acm.org added the comment: I haven't seen any failures yet so let's close it. -- status: pending - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8716 ___

[issue11863] Enforce PEP 11 - remove support for legacy systems

2011-07-08 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset 0aa3f90f0830 by Antoine Pitrou in branch 'default': Issue #11863: Remove support for legacy systems deprecated in Python 3.2 http://hg.python.org/cpython/rev/0aa3f90f0830 -- ___ Python

[issue12520] spurious output in test_warnings

2011-07-08 Thread Antoine Pitrou
New submission from Antoine Pitrou pit...@free.fr: $ ./python -m test test_warnings [1/1] test_warnings test.test_warnings:553: UserWarning: test Also, I don't understand how test_filename_none is supposed to check for issue #12467 (it doesn't use a subprocess). -- assignee: haypo

[issue11863] Enforce PEP 11 - remove support for legacy systems

2011-07-08 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- resolution: - fixed stage: needs patch - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11863 ___

[issue12167] test_packaging reference leak

2011-07-08 Thread Vinay Sajip
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment: I can confirm what Andreas said - I just removed the two lines referencing the logger in BaseFix, and ran the regression tests - with no failures. So I, too, think those lines should go. -- nosy: +vinay.sajip

[issue12449] Add accelerator F to button Finish in all MSI installers made by bdist_msi

2011-07-08 Thread Thomas Holmes
Thomas Holmes tho...@devminded.com added the comment: bdist does not appear to be enabled in 3.3 development branch, is this correct? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12449

[issue12521] Mac OS 10.6 Tcl/Tk 8.5 - ActiveState Tcl/Tk 8.5

2011-07-08 Thread Alastair McCann
New submission from Alastair McCann alastair.mcc...@gmail.com: I am running Python 3.2 on Mac OSX 10.6.8 I have installed ActiveState Tcl/Tk 8.5. I installed Python first, and then Tcl/Tk. When I create a simple script, IDLE crashes every time I try to execute it. Any suggestions??

[issue12518] In string.Template it's impossible to transform delimiter in the derived class

2011-07-08 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: You are correct that this is a feature request as written. I think there is also a doc bug (the docs should probably mention that changing delimiter after class creation is a no-op). To add this feature the computation of the regex

[issue12344] Add **kwargs to get_reinitialized_command

2011-07-08 Thread Thomas Holmes
Thomas Holmes tho...@devminded.com added the comment: I have made a patch based on your suggestions made to higery, Éric. I have two questions: 1) In Distributions.get_reinitialized_command should the reinitialization of the subcommands also get passed the kwargs? Unfortunately my

[issue12344] Add **kwargs to get_reinitialized_command

2011-07-08 Thread Thomas Holmes
Changes by Thomas Holmes tho...@devminded.com: Added file: http://bugs.python.org/file22615/d863f392c094.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12344 ___

[issue12521] IDLE 3.2 crashes on Mac OS 10.6 with ActiveState Tcl/Tk 8.5

2011-07-08 Thread Ned Deily
Ned Deily n...@acm.org added the comment: We need more information to be able to assist you: 1. How do you launch IDLE? Are you clicking on an icon and, if so, which one, or are you entering a command from a terminal window or something else? 2. When IDLE starts up, what are the exact lines

[issue12486] tokenize module should have a unicode API

2011-07-08 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: Hmm. Python 3 code is unicode. Python reads program text as Unicode code points. The tokenize module purports to provide a lexical scanner for Python source code. But it seems not to do that. Instead it provides a scanner for Python code

[issue12510] IDLE get_the_calltip mishandles raw strings

2011-07-08 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: What platform? It sometimes makes a difference with tcl/tk and hence idle. -- nosy: +terry.reedy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12510