[issue24913] deque.index() overruns deque boundary

2015-09-03 Thread Brett Cannon
Brett Cannon added the comment: OK, that should cover 3.5.0 and then null merge through 3.5 and default. I thus consider my favour to Larry done and Raymond now owes me one. -- ___ Python tracker _

[issue24992] collections.OrderedDict constructor (odict_new) doesn't handle PyDict_New() failure

2015-09-03 Thread Eric Snow
Eric Snow added the comment: Thanks for taking care of this, Victor (and Serhiy). :) -- stage: -> resolved type: -> behavior ___ Python tracker ___

[issue24996] IDLE: debugger local/global vars should not be editable

2015-09-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: That makes sense, given that a string or list could be indefinitely long. -- ___ Python tracker ___

[issue21192] Idle: Print filename when running a file from editor

2015-09-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: https://bitbucket.org/larry/cpython350/pull-requests/12/issue-21192-change-run-back-to-restart/diff -- ___ Python tracker ___ __

[issue21192] Idle: Print filename when running a file from editor

2015-09-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: On 9/3/2015 4:31 AM, Larry Hastings wrote: > Terry, if you want this pulled in to Python 3.5.0, you'll need to create a > pull request on Bitbucket. Instructions are here: > > https://mail.python.org/pipermail/python-dev/2015-August/141167.html I don't rememb

[issue24991] Define instance mutability explicitly on type objects

2015-09-03 Thread Eric Snow
Eric Snow added the comment: Yeah, this definitely relates to the project I'm working on. -- ___ Python tracker ___ ___ Python-bugs-li

[issue17582] xml.etree.ElementTree does not preserve whitespaces in attributes

2015-09-03 Thread Duane Griffin
Duane Griffin added the comment: Here is a patch with a unit test for the new escaping functionality. I believe it covers all the new cases. Additional code is not required for cElementTree as the serialisation code is all Python. -- nosy: +duaneg Added file: http://bugs.python.org/fil

[issue18540] imaplib.IMAP4() ends with "Name or service not known" on Fedora 18

2015-09-03 Thread Milan Oberkirch
Milan Oberkirch added the comment: I shouldn't criticize my own patches if I want to have them committed: Here comes the final and perfect patch for this issue ;) (I only rephrased the comment for the test to make the intuition clear.) -- Added file: http://bugs.python.org/file40347/ima

[issue24857] mock: Crash on comparing call_args with long strings

2015-09-03 Thread A Kaptur
A Kaptur added the comment: It looks like there's a related bug in call_args around __ne__: >>> m = Mock() >>> m(1,2) >>> m.call_args call(1, 2) >>> m.call_args == call(1,2) True >>> m.call_args != call(1,2) True Any reason not to define __ne__ as not __eq__? Otherwise it looks like you fall

[issue24857] mock: Crash on comparing call_args with long strings

2015-09-03 Thread A Kaptur
A Kaptur added the comment: Here's a simple patch + test for the original bug. I'll file the __ne__ question separately. -- keywords: +patch stage: needs patch -> patch review Added file: http://bugs.python.org/file40348/issue24857.patch ___ Python t

[issue24989] scan_eol() Buffer Over-read

2015-09-03 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: https://bitbucket.org/larry/cpython350/pull-requests/13/issue-24989/diff -- ___ Python tracker ___ ___

[issue24986] It should be possible to build successfully without external libraries

2015-09-03 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2bc91f1f2b34 by Zachary Ware in branch '2.7': Issue #24986: Allow building Python without external libraries on Windows https://hg.python.org/cpython/rev/2bc91f1f2b34 New changeset 301c36746e42 by Zachary Ware in branch '3.5': Issue #24986: Allow bu

[issue24986] It should be possible to build successfully without external libraries

2015-09-03 Thread Zachary Ware
Zachary Ware added the comment: The committed versions are slightly different, I had bad logic in adding _socket to ExtensionModules (if IncludeExternals was false while IncludeSSL was true, _socket wasn't added). build.bat also uses the property names instead of its own internal names so as

[issue21192] Idle: Print filename when running a file from editor

2015-09-03 Thread Larry Hastings
Larry Hastings added the comment: Pull request accepted, please forward-merge. Thanks! > There is something odd about the size of your clone. My cpython > clone is 928 MB on disk with 30300 files, while the clone of my fork > of your repository is 1.59 GB for 14500 files. I have no idea why.

[issue24997] mock.call_args compares as equal and not equal

2015-09-03 Thread A Kaptur
New submission from A Kaptur: mock.call_args can be both equal to and not equal to another object: >>> m = Mock() >>> m(1,2) >>> m.call_args call(1, 2) >>> m.call_args == call(1,2) True >>> m.call_args != call(1,2) True This appears to be a recent regression - it repros on trunk, but not on 3.

[issue24998] docs: subprocess.Popen example has extra/invalid parameter

2015-09-03 Thread Paul Clarke
New submission from Paul Clarke: in "subprocess" module documentation has a section for "replacing older functions with subprocess", specifically 17.1.4.5 "replacing os.popen", which includes the example on "return code handling", specifically this line: -- process = Popen("cmd", 'w', shell=Tru

[issue24989] scan_eol() Buffer Over-read

2015-09-03 Thread Larry Hastings
Larry Hastings added the comment: Pull request accepted. Please forward-merge. Thanks! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker __

[issue24989] scan_eol() Buffer Over-read

2015-09-03 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2b6ce7e9595c by Serhiy Storchaka in branch '3.5': Issue #24989: Fixed buffer overread in BytesIO.readline() if a position is https://hg.python.org/cpython/rev/2b6ce7e9595c -- ___ Python tracker

[issue24986] It should be possible to build successfully without external libraries

2015-09-03 Thread Roundup Robot
Roundup Robot added the comment: New changeset 252d4760f28b by Zachary Ware in branch '2.7': Issue #24986: Save some bandwidth from svn.python.org https://hg.python.org/cpython/rev/252d4760f28b New changeset 4e7ce0b10eea by Zachary Ware in branch '3.5': Issue #24986: Save some bandwidth from svn

[issue24998] docs: subprocess.Popen example has extra/invalid parameter

2015-09-03 Thread eryksun
Changes by eryksun : -- keywords: +easy priority: normal -> low versions: +Python 3.4, Python 3.5, Python 3.6 ___ Python tracker ___ _

[issue24635] test_typing is flaky

2015-09-03 Thread STINNER Victor
STINNER Victor added the comment: Is there any progress on this issue? It's still failing randomly: http://buildbot.python.org/all/builders/x86%20Ubuntu%20Shared%203.5/builds/221/steps/test/logs/stdio -- ___ Python tracker

<    1   2