[issue20152] Derby #15: Convert 50 sites to Argument Clinic across 9 files

2014-10-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset f7ab0884467e by Brett Cannon in branch 'default': Issue #20152: Port the array module to Argument Clinic. https://hg.python.org/cpython/rev/f7ab0884467e -- ___ Python tracker

[issue20152] Derby #15: Convert 50 sites to Argument Clinic across 9 files

2014-10-10 Thread Brett Cannon
Brett Cannon added the comment: Only ones left are: - fcntl - cmath Both no longer apply cleanly. -- ___ Python tracker ___ ___ Pyth

[issue22606] Inconsistency between Python 2 and PyPy regarding future imports

2014-10-10 Thread Claudiu Popa
New submission from Claudiu Popa: Hi, The following code gives similar errors for both PyPy and Python 2 when called, but totally different AST objects. Given the following code, PyPy says that `print(4)` is an _ast.Print, while Python 2 believes that it is an _ast.Expr (which wraps a Call).

[issue22603] Fix a typo in the contextlib docs

2014-10-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset 50bedeffec2f by Terry Jan Reedy in branch '3.4': Issue 22603: add Francisco Fernández Castaño to ACKS. https://hg.python.org/cpython/rev/50bedeffec2f -- ___ Python tracker

[issue22603] Fix a typo in the contextlib docs

2014-10-10 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue15414] os.path.join behavior on Windows (ntpath.join) is not well documented

2014-10-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset 05274a517b37 by Zachary Ware in branch '2.7': Issue #15414: Clean and correct the os.path.join docs. https://hg.python.org/cpython/rev/05274a517b37 New changeset c9c6082d4f9b by Zachary Ware in branch '3.4': Issue #15414: Clean and correct the os.pa

[issue15414] os.path.join behavior on Windows (ntpath.join) is not well documented

2014-10-10 Thread Zachary Ware
Zachary Ware added the comment: Committed, with better line wrapping. Thank you Dave Sawyer for the initial patch, and RDM for the review. -- ___ Python tracker ___

[issue22604] assertion error in complex division

2014-10-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0c8f45caf697 by Antoine Pitrou in branch '3.4': Issue #22604: Fix assertion error in debug mode when dividing a complex number by (nan+0j). https://hg.python.org/cpython/rev/0c8f45caf697 New changeset af0104aed5b1 by Antoine Pitrou in branch 'defau

[issue22604] assertion error in complex division

2014-10-10 Thread Antoine Pitrou
Antoine Pitrou added the comment: Ok, I've committed the patch. Let's just see if the buildbots behave. -- ___ Python tracker ___ ___

[issue22604] assertion error in complex division

2014-10-10 Thread Antoine Pitrou
Antoine Pitrou added the comment: They seem to have behaved! Congratulations, buildbots! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker __

[issue22351] NNTP constructor exception leaves socket for garbage collector

2014-10-10 Thread Rishi
Rishi added the comment: patch updated based on comments. -- Added file: http://bugs.python.org/file36873/issue22351_2.patch ___ Python tracker ___ __

[issue5804] Add an 'offset' argument to zlib.decompress

2014-10-10 Thread R. David Murray
R. David Murray added the comment: Moving this from commit review back to no selection, since there doesn't yet seem to be an agreement on an API. -- nosy: +r.david.murray stage: commit review -> versions: +Python 3.5 -Python 3.2 ___ Python tracker

[issue21986] Idle: disable pickleability of user code objects

2014-10-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset 90c62e1f3658 by Terry Jan Reedy in branch '3.4': Issue #21986: Idle now matches interpreter in not pickling user code objects. https://hg.python.org/cpython/rev/90c62e1f3658 New changeset cb94764bf8be by Terry Jan Reedy in branch 'default': Merge wi

[issue14537] "Fatal Python error: Cannot recover from stack overflow." with SymPy test suite

2014-10-10 Thread R. David Murray
R. David Murray added the comment: This code fragment doesn't seem to exist any more. Since there's no test case, I'm going to close this. I presume it is no longer a problem for SymPy, since there's been no followup. -- nosy: +brett.cannon, r.david.murray resolution: -> out of date

[issue21986] Idle: disable pickleability of user code objects

2014-10-10 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- assignee: -> terry.reedy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue21986] Idle: disable pickleability of user code objects

2014-10-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: Code objects get wrapped in 3 tuple layers before being 'pickled', so a private dispatch is the easiet solution. Since copyreg.dispatch_table has only two items to copy, I pushed a version of the first patch. Since private dispatch tables are new in 3.3 and

[issue14537] "Fatal Python error: Cannot recover from stack overflow." with SymPy test suite

2014-10-10 Thread Aaron Meurer
Aaron Meurer added the comment: The OP describes how to get the original code. Anyway, the issue was definitely fixed. -- ___ Python tracker ___

[issue14537] "Fatal Python error: Cannot recover from stack overflow." with SymPy test suite

2014-10-10 Thread Aaron Meurer
Aaron Meurer added the comment: Or do you mean the code in CPython doesn't exist any more? -- ___ Python tracker ___ ___ Python-bugs-l

[issue16728] Missing cross-reference in sequence glossary entry

2014-10-10 Thread R. David Murray
R. David Murray added the comment: Looks like this was left open for post-commit review, but since no one has objected (and it looks fine to me) I'm going to close it. -- nosy: +r.david.murray resolution: -> fixed stage: commit review -> resolved status: open -> closed ___

[issue14537] "Fatal Python error: Cannot recover from stack overflow." with SymPy test suite

2014-10-10 Thread R. David Murray
R. David Murray added the comment: Yes, it appears that the code does not exist in import.c any more. When I said "test case", I meant "unit test", sorry. -- ___ Python tracker

[issue1669539] Add os.path.isrelative() and improve ntpath.isabs()

2014-10-10 Thread Zachary Ware
Zachary Ware added the comment: To kick this along a bit, do the following testcases seem like the right behavior to others, based on Mark Hammond's roadmap in msg51983? If there's some agreement, I'll work on getting a modernized patch put together. # currently (3.4) assertTrue(ntpath.isabs(

[issue22605] memcpy(NULL, NULL, 0) in array_new()

2014-10-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset 4563fff4e099 by Benjamin Peterson in branch '3.4': prevent passing NULL to memcpy (closes #22605) https://hg.python.org/cpython/rev/4563fff4e099 New changeset 8165e44594c2 by Benjamin Peterson in branch 'default': merge 3.4 (closes #22605) https://h

[issue22559] [backport] ssl.MemoryBIO

2014-10-10 Thread Benjamin Peterson
Benjamin Peterson added the comment: Since this is such a new feature (not even released in 3.x), I don't think we should put it in 2.7.9. -- nosy: +benjamin.peterson ___ Python tracker ___

[issue21052] Consider dropping ImportWarning for empty sys.path_hooks and sys.meta_path

2014-10-10 Thread Berker Peksag
Changes by Berker Peksag : -- stage: test needed -> resolved ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue5305] imaplib should support international mailbox names

2014-10-10 Thread C Fraire
C Fraire added the comment: >> the twisted imap API is problematic for imaplib because twisted seems to >> expect its arguments to already be Python unicode. >Could you elaborate on this? As far as I can tell, it works fine: I wasn't addressing encode/decode specifically. Both twisted and Plo

[issue22489] .gitignore file

2014-10-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5f98d239db8c by Zachary Ware in branch 'default': Issue #22489: Update .gitignore to ignore Windows build output. https://hg.python.org/cpython/rev/5f98d239db8c -- nosy: +python-dev ___ Python tracker

[issue22489] .gitignore file

2014-10-10 Thread Zachary Ware
Zachary Ware added the comment: Fixed, with a few changes based on the .hgignore file. Thanks for the patch, Robert. -- assignee: -> zach.ware resolution: -> fixed stage: -> resolved status: open -> closed type: -> enhancement versions: +Python 3.5

[issue9949] os.path.realpath on Windows does not follow symbolic links

2014-10-10 Thread Zachary Ware
Zachary Ware added the comment: Daniel: It's taken two years, but I've reviewed your patch :). There are a few things that need to be addressed, but the basic change looks pretty good. If you're still interested in seeing this fixed, I look forward to reviewing an updated patch; otherwise, I

[issue22389] Add contextlib.redirect_stderr()

2014-10-10 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: ncoghlan -> rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue21907] Update Windows build batch scripts

2014-10-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset f592a4073672 by Zachary Ware in branch 'default': Issue #21907: Try to make the pre-Vista Windows buildbots happier. https://hg.python.org/cpython/rev/f592a4073672 -- ___ Python tracker

[issue17667] Windows: build with "build_pgo.bat -2" fails to optimize python.dll

2014-10-10 Thread Zachary Ware
Zachary Ware added the comment: I think I'd rather see a blacklist than a whitelist; it should be much shorter and can be passed to regrtest with the "-x" option within build_pgo.bat. Since we officially discourage PGO with VS 2008 and 2010 (due to compiler bugs) anyway, marking this as low pr

[issue22515] Implement partial order on Counter

2014-10-10 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: -> rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue22533] Counter with no keys does not compare equal to Counter with keys which zero value

2014-10-10 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: -> rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue22389] Add contextlib.redirect_stderr()

2014-10-10 Thread Berker Peksag
Berker Peksag added the comment: Good point. Patch updated. Thanks for the reviews! -- Added file: http://bugs.python.org/file36874/issue22389_v3.diff ___ Python tracker ___

<    1   2