[issue1326113] Letting "build_ext --libraries" take more than one lib

2012-04-21 Thread Éric Araujo
Éric Araujo added the comment: Another instance of this is #1703178. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue1703178] link_objects in setup.cfg crashes build

2012-04-21 Thread Éric Araujo
Éric Araujo added the comment: The code in build_ext is missing a few ensure_string_list calls; it is a method that converts a string (from the setup.cfg file or command line) into a list, or if the attribute is already a list (if it was given in setup.py) then leave it alone. Recently I fix

[issue10731] UnicodeDecodeError in OS X tkinter when binding to

2012-04-21 Thread Ned Deily
Ned Deily added the comment: I've opened Tk Toolkit bug 3520202: https://sourceforge.net/tracker/?func=detail&aid=3520202&group_id=12997&atid=112997 -- ___ Python tracker ___ __

[issue10731] UnicodeDecodeError in OS X tkinter when binding to

2012-04-21 Thread Ned Deily
Ned Deily added the comment: It looks like the problem is that the current Cocoa Tcl/Tk 8.5.x returns an incorrect MouseWheel event. Using the supplied test program and breakpointing in PythonCmd (around Modules/_tkinter.c:2027 in default), I found that it is being called from Tcl for MouseW

[issue2193] Cookie Colon Name Bug

2012-04-21 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- resolution: -> fixed stage: test needed -> committed/rejected status: open -> closed ___ Python tracker ___ __

[issue2193] Cookie Colon Name Bug

2012-04-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset d3b0845a9253 by Senthil Kumaran in branch '3.2': issue2193 - Update 3.2 docs about legal characters allowed in Cookie name http://hg.python.org/cpython/rev/d3b0845a9253 New changeset 8cae3ee7f691 by Senthil Kumaran in branch 'default': issue2193 -

[issue14642] Fix imoprtlib.h build rule to not depend on hg

2012-04-21 Thread Brett Cannon
New submission from Brett Cannon : A shell or Python script should be used to verify that importlib.h actually needs to be rebuilt, and if so make sure that it's even possible (since it depends on a locally built ./python). -- components: Build messages: 158944 nosy: brett.cannon, geor

[issue2193] Cookie Colon Name Bug

2012-04-21 Thread Senthil Kumaran
Senthil Kumaran added the comment: I tested with apache to set ":" in names and then verified the behavior in browsers and it looks like it fine to allow ":" as legal character in cookie name ( though RFC originally does say that). My guess is previously it could have been thought that ":" mi

[issue2193] Cookie Colon Name Bug

2012-04-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset 57ec2e6cd70a by Senthil Kumaran in branch 'default': Fix Issue2193 - Allow ":" character in Cookie NAME values http://hg.python.org/cpython/rev/57ec2e6cd70a -- nosy: +python-dev ___ Python tracker

[issue13959] Re-implement parts of imp in pure Python

2012-04-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset 085cf1480cfe by Brett Cannon in branch 'default': Issue #13959: Re-implement imp.find_module() in Lib/imp.py. http://hg.python.org/cpython/rev/085cf1480cfe -- ___ Python tracker

[issue14637] test.test_import.PathsTests.test_UNC_path is failing

2012-04-21 Thread Brett Cannon
Brett Cannon added the comment: Thanks for catching that, Vinay! Buildbots say it worked. -- resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker ___

[issue13959] Re-implement parts of imp in pure Python

2012-04-21 Thread Eric Snow
Eric Snow added the comment: Yeah, I'm hoping to keep pressing those odds and ends forward. I have one lingering, oddball bug in find_module, but that patch is pretty much standing on its own. -- ___ Python tracker

[issue14639] Different behavior for urllib2 in Python 2.7

2012-04-21 Thread Senthil Kumaran
Senthil Kumaran added the comment: Could you give the proper POST FORM url which you were trying? I could try it in 2.6 and 2.7 and see if there is any difference. Nothing has changed that such low levels like the POST operations by sending of data. -- nosy: +orsenthil __

[issue14517] Recompilation of sources with Distutils

2012-04-21 Thread Éric Araujo
Éric Araujo added the comment: Is it #5372? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue10731] UnicodeDecodeError in OS X tkinter when binding to

2012-04-21 Thread Ned Deily
Ned Deily added the comment: The exception also occurs with Python 3.3 linked with Cocoa Tk 8.5. However, the it does not appear when Python 3.x is linked with Carbon Tk 8.4. -- components: +Tkinter stage: -> needs patch versions: +Python 3.3 ___

[issue14637] test.test_import.PathsTests.test_UNC_path is failing

2012-04-21 Thread Brett Cannon
Brett Cannon added the comment: Thanks for catching that, Vinay! Just waiting for the buildbots to verify my fix (which also included invalidating the cache which is why it was sporadic plus cleaning up sys.path properly). -- ___ Python tracker

[issue1521950] shlex.split() does not tokenize like the shell

2012-04-21 Thread R. David Murray
R. David Murray added the comment: I'd like to take a look at this (I wasn't aware of it before). I'll try to do that some time in the next 24 hours, and if I don't you shouldn't wait for me :) Did you address Dan's concern about 'old' possibly not matching the old behavior completely?

[issue14637] test.test_import.PathsTests.test_UNC_path is failing

2012-04-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0356103cde28 by Brett Cannon in branch 'default': Issue #14637: Fix the UNC import test under Windows to actually use http://hg.python.org/cpython/rev/0356103cde28 -- nosy: +python-dev ___ Python tracker

[issue1521950] shlex.split() does not tokenize like the shell

2012-04-21 Thread Vinay Sajip
Vinay Sajip added the comment: I've received no comments on the latest revision of my patch (incorporating comments on the previous version); is it OK to commit this? -- ___ Python tracker _

[issue13959] Re-implement parts of imp in pure Python

2012-04-21 Thread Brett Cannon
Brett Cannon added the comment: Time for a recap! I am personally not bothering with moving imp.get_tag() and imp.get_magic() to importlib._bootstrap as the amount of C code required to support the public C API is not worth it. If someone else once to do the work then by all means attach a p

[issue14632] Race condition in WatchedFileHandler leads to unhandled exception

2012-04-21 Thread Vinay Sajip
Changes by Vinay Sajip : -- assignee: -> vinay.sajip ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue13959] Re-implement parts of imp in pure Python

2012-04-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset b773a751c2e7 by Brett Cannon in branch 'default': Issue #13959: Re-implement imp.cache_from_source() in Lib/imp.py. http://hg.python.org/cpython/rev/b773a751c2e7 New changeset ea46ebba8a0f by Brett Cannon in branch 'default': Issue #13959: Re-imple

[issue14637] test.test_import.PathsTests.test_UNC_path is failing

2012-04-21 Thread Vinay Sajip
Vinay Sajip added the comment: I think that the line just before the __import__ call: sys.path.append(path) should say sys.path.append(unc) With this change, test_import passes for me (on the pythonv branch). -- nosy: +vinay.sajip ___ Python trac

[issue14634] Mock cannot autospec functions with keyword-only arguments.

2012-04-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset 6f478a4aa137 by Michael Foord in branch 'default': Closes issue 14634. unittest.mock.create_autospec now supports keyword only arguments. http://hg.python.org/cpython/rev/6f478a4aa137 -- nosy: +python-dev resolution: -> fixed stage: test

[issue14634] Mock cannot autospec functions with keyword-only arguments.

2012-04-21 Thread Michael Foord
Michael Foord added the comment: Hmmm... looks like formatargspec does support these features but they aren't documented. If it works out I'll update the docs for inspect.formatargspec too. -- ___ Python tracker

[issue14157] time.strptime without a year fails on Feb 29

2012-04-21 Thread Hynek Schlawack
Hynek Schlawack added the comment: I gave it a shot, doesn’t look like a hack to me, what do you think? -- keywords: +patch Added file: http://bugs.python.org/file25301/strptime-on-leap-years.diff ___ Python tracker

[issue14634] Mock cannot autospec functions with keyword-only arguments.

2012-04-21 Thread Michael Foord
Changes by Michael Foord : -- keywords: -easy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue14443] Distutils test failure

2012-04-21 Thread Nick Coghlan
Nick Coghlan added the comment: I'm wondering if there may be a deeper problem here: how certain are we that bdist_rpm isn't using the system Python to handle the byte compilation step? It would explain why the files are still being generated in the old locations. And, in practical terms, who

[issue14634] Mock cannot autospec functions with keyword-only arguments.

2012-04-21 Thread Michael Foord
Michael Foord added the comment: This is non-trivial to fix. Although inspect.getfullargspec can be used, which does support keyword only arguments, inspect.formatargspec *doesn't* support them. (mock.create_autospec uses these to rebuild a compatible signature for generated mocks.) The easi

[issue14443] Distutils test failure

2012-04-21 Thread Nick Coghlan
Nick Coghlan added the comment: This failure is also affecting the new RHEL-6 buildbot I'm attempting to bring online. Failure on trunk: http://www.python.org/dev/buildbot/all/builders/x86%20RHEL%206%203.x/builds/12/steps/test/logs/stdio Failure on 3.2: http://www.python.org/dev/buildbot/all/

[issue14636] Mock could check for exceptions in side effect list

2012-04-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset c310233b1d64 by Michael Foord in branch 'default': Closes issue 14636. mock objects raise exceptions from an iterable side_effect http://hg.python.org/cpython/rev/c310233b1d64 -- nosy: +python-dev resolution: -> fixed stage: needs patch ->

[issue7559] TestLoader.loadTestsFromName swallows import errors

2012-04-21 Thread Michael Foord
Michael Foord added the comment: My favoured fix is to catch the exception and generate a failing test that re-raises the *original exception* (with traceback) when run. That way a single failing module doesn't kill a whole test run (although it does mean later feedback about misspelt imports

[issue7559] TestLoader.loadTestsFromName swallows import errors

2012-04-21 Thread R. David Murray
R. David Murray added the comment: Does fix for issue 1559549 (and the fact that importlib is in) allow for a cleaner fix for this? I've been putting off dealing with this issue in the expectation that it would. To answer the question: the fixed API can go in 3.3. If we fix this in earlier

[issue14641] Minor fixes in sockets.rst

2012-04-21 Thread Dionysios Kalofonos
New submission from Dionysios Kalofonos : See attached file. -- assignee: docs@python components: Documentation files: sockets.diff keywords: patch messages: 158919 nosy: dk, docs@python priority: normal severity: normal status: open title: Minor fixes in sockets.rst versions: Python 2.7

[issue11477] Bug in code dispatching based on internal slots

2012-04-21 Thread Nick Coghlan
Nick Coghlan added the comment: Heh, rereading the issue comments, I noticed that my latest idea is quite similar to what Terry suggested last year, just using delegation to adjust the signatures appropriately rather than copying the function pointers directly over. -- _

[issue11477] Bug in code dispatching based on internal slots

2012-04-21 Thread Nick Coghlan
Nick Coghlan added the comment: And, back on topic... I've been pondering this problem and the approach I adopted in my branch and decided it's the *wrong* way to go about it. It takes an already complex piece of code and makes it even more complicated. A completely different approach that I

[issue14635] telnetlib uses select instead of poll - limited to FD_SETSIZE fds

2012-04-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Note that this probably affects other modules besides telnetlib, so it > might be interesting to find a way to factorize code (i.e. use poll() > if available or fallback to select()). asyncore might have been the answer. -- nosy: +pitrou __

[issue14632] Race condition in WatchedFileHandler leads to unhandled exception

2012-04-21 Thread Charles-François Natali
Charles-François Natali added the comment: Thanks for the report and patch. I'm making Vinay nosy, as he's the logging expert. A couple remarks: - it would be nice to add your testcase to the logging tests (Lib/test/test_logging.py) - I think you could probably save the whole fstat() result (

[issue14606] Memory leak subprocess on Windows

2012-04-21 Thread Charles-François Natali
Changes by Charles-François Natali : -- resolution: -> invalid stage: -> committed/rejected status: open -> closed ___ Python tracker ___ __

[issue14606] Memory leak subprocess on Windows

2012-04-21 Thread Roland
Roland added the comment: yes, thank you. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue14640] Typos in pyporting.rst

2012-04-21 Thread Dionysios Kalofonos
New submission from Dionysios Kalofonos : See attached file. -- assignee: docs@python components: Documentation files: pyporting.diff keywords: patch messages: 158913 nosy: dk, docs@python priority: normal severity: normal status: open title: Typos in pyporting.rst versions: Python 2.7,

[issue14638] pydoc error on instance of a custom class

2012-04-21 Thread Peter Otten
Peter Otten <__pete...@web.de> added the comment: Patch upload, second attempt. -- keywords: +patch nosy: +peter.otten Added file: http://bugs.python.org/file25298/render_doc.patch ___ Python tracker __