[issue18096] bad library order returned by python-config.in

2014-10-01 Thread Roundup Robot
Roundup Robot added the comment: New changeset 6316475af62d by doko in branch '2.7': - Issue #18096: Fix library order returned by python-config. https://hg.python.org/cpython/rev/6316475af62d New changeset b826ba76d1ce by doko in branch '3.4': - Issue #18096: Fix library order returned by pytho

[issue17219] cross add Python's library directory when building python standard extensions

2014-10-01 Thread Roundup Robot
Roundup Robot added the comment: New changeset 222e0faa5fa9 by doko in branch '2.7': - Issue #17219: Add library build dir for Python extension cross-builds. https://hg.python.org/cpython/rev/222e0faa5fa9 New changeset c5f908c56fbd by doko in branch '3.4': - Issue #17219: Add library build dir f

[issue17799] settrace docs are wrong about "c_call" events

2014-10-01 Thread Mark Lawrence
Mark Lawrence added the comment: @Ned can you provide a patch for this? -- nosy: +BreamoreBoy type: -> behavior versions: +Python 3.4, Python 3.5 -Python 3.3 ___ Python tracker

[issue11646] 2to3: msvcrt.(get|put)ch -> (get|put)wch

2014-10-01 Thread Mark Lawrence
Mark Lawrence added the comment: The original function names are still listed and the wide versions have been added to the docs so this can be closed as "out of date". -- nosy: +BreamoreBoy ___ Python tracker

[issue22534] Possible Memory Leak with 'shelve'

2014-10-01 Thread TJ
TJ added the comment: Put it in the while loop. Same result. Memory usage grows about 1 GiB per minute. -- ___ Python tracker ___ ___

[issue18982] Add tests for CLI of the calendar module

2014-10-01 Thread Mark Lawrence
Mark Lawrence added the comment: Just a gentle reminder guys. -- nosy: +BreamoreBoy versions: +Python 3.5 -Python 3.3 ___ Python tracker ___ _

[issue22536] Missing filename in FileNotFoundError

2014-10-01 Thread Michel Charpentier
New submission from Michel Charpentier: FileNotFoundError should contain a 'filename' information, as per its specification. It's 'None' after a failure to execute a subprocess. -- assignee: ronaldoussoren components: Interpreter Core, Macintosh files: bug.py messages: 228147 nosy: cha

[issue19342] Improve grp module docstrings

2014-10-01 Thread Mark Lawrence
Mark Lawrence added the comment: The patch only changes six lines. At a quick glance it seems fine to me so can we have a formal review please. -- nosy: +BreamoreBoy ___ Python tracker ___

[issue19915] int.bit_at(n) - Accessing a single bit in O(1)

2014-10-01 Thread Martin Panter
Changes by Martin Panter : -- nosy: +vadmium ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue19622] Default buffering for input and output pipes in subprocess module

2014-10-01 Thread Martin Panter
Martin Panter added the comment: I agree that it is misleading to say it matches Python 2 behaviour, as I said in my original post. Do you think I should reopen this and get that bit removed from the documentation? I don’t see an easy way to make the behaviour consistent in all cases. My unde

[issue22523] [regression] Lib/ssl.py still references _ssl.sslwrap

2014-10-01 Thread Alex Gaynor
Alex Gaynor added the comment: Updated patch fixes a refcounting issue spotted by gutworth. -- Added file: http://bugs.python.org/file36775/issue22523.diff ___ Python tracker ___

[issue10109] itertools.product with infinite iterator cause MemoryError.

2014-10-01 Thread yegle
yegle added the comment: Found another example that shows horrible performance when using itertools.product: def gen(): l = [itertools.permutations(range(10)) for _ in range(10)] g = itertools.product(*l) for i in g: yield i A simple next() to this generator takes 16 seconds on my de

[issue22537] Failure building 2.7 docs on Windows

2014-10-01 Thread Terry J. Reedy
New submission from Terry J. Reedy: I was able to build docs of all versions with the old system. When 3.4 was changed to the new system, 'pip install sphinx' installed everything needed so that 'sphinx-build -bhtml . build/html' in .../Doc (Devguide 7.5.2) works for 3.4 (and 3.5). "PYTHON=

[issue22535] headerregistry.Address introduces extra quotes without addr_spec parameter

2014-10-01 Thread R. David Murray
R. David Murray added the comment: That example is wrong, but that fact weighs heavily in favor of the idea that the "natural" way to write it is the way it is in the example. Since this part of the email api is still provisional, I propose we change the signature of Address to be: Address(

[issue22537] Failure building 2.7 docs on Windows

2014-10-01 Thread Ned Deily
Ned Deily added the comment: Your analysis is correct: you now do need to use a 2.7 sphinx to build 2.7 docs. It looks like you may be using a 3.4 version of pip. However you invoke python2.7, try "python -m pip install sphinx". -- nosy: +ned.deily __

[issue22538] turtledemo two_canvases reversion

2014-10-01 Thread Terry J. Reedy
New submission from Terry J. Reedy: The turtledemo two-canvases was fixed a couple of months ago but subsequent patches have returned its bad behavior. The first time selected, it runs but does not display the code. The second time, the code is displayed. Clicking start freezes the viewer b

[issue22523] [regression] Lib/ssl.py still references _ssl.sslwrap

2014-10-01 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1a36d4e8cf4e by Benjamin Peterson in branch '2.7': fix sslwrap_simple (closes #22523) https://hg.python.org/cpython/rev/1a36d4e8cf4e -- nosy: +python-dev resolution: -> fixed stage: -> resolved status: open -> closed _

[issue21971] Index and update turtledemo doc.

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

[issue21971] Index and update turtledemo doc.

2014-10-01 Thread Roundup Robot
Roundup Robot added the comment: New changeset 191c83f7c850 by Terry Jan Reedy in branch '3.4': Issue #21971: Index and update turtledemo doc. https://hg.python.org/cpython/rev/191c83f7c850 -- nosy: +python-dev ___ Python tracker

[issue21971] Index and update turtledemo doc.

2014-10-01 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- resolution: -> fixed stage: needs patch -> resolved status: open -> closed ___ Python tracker ___ ___

[issue12029] Catching virtual subclasses in except clauses

2014-10-01 Thread Antony Lee
Antony Lee added the comment: "it looks like all the avenues for arbitrary code execution while checking if an exception handler matches a thrown an exception are closed off." This seems to be directly contradicted by your previous sentence: "the except clause accepts any expressions producing

[issue12029] Catching virtual subclasses in except clauses

2014-10-01 Thread Guido van Rossum
Guido van Rossum added the comment: ISTM Nick meant that the exception that was raised can't cause arbitrary code execution. On Wednesday, October 1, 2014, Antony Lee wrote: > > Antony Lee added the comment: > > "it looks like all the avenues for arbitrary code execution while checking > if an

[issue22103] bdist_wininst does not run install script

2014-10-01 Thread Ned Deily
Changes by Ned Deily : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> PyCFunction_New no longer exposed by python DLL breaking bdist_wininst installers ___ Python tracker _

[issue22537] Failure building 2.7 docs on Windows

2014-10-01 Thread Georg Brandl
Georg Brandl added the comment: > you now do need You always did :) However, it should not be a problem to make the extensions 2.x and 3.x compatible in both branches. -- ___ Python tracker _

[issue22536] subprocess should include filename in FileNotFoundError exception

2014-10-01 Thread Ned Deily
Changes by Ned Deily : -- assignee: ronaldoussoren -> components: +Library (Lib) -Interpreter Core, Macintosh nosy: +gregory.p.smith title: Missing filename in FileNotFoundError -> subprocess should include filename in FileNotFoundError exception versions: +Python 3.5 -Python 3.4

[issue22537] Failure building 2.7 docs on Windows

2014-10-01 Thread Roundup Robot
Roundup Robot added the comment: New changeset fd2530294d50 by Georg Brandl in branch '2.7': Closes #22537: Make sphinx extensions compatible with Python 2 or 3, like in the 3.x branches https://hg.python.org/cpython/rev/fd2530294d50 -- nosy: +python-dev resolution: -> fixed stage: nee

[issue19342] Improve grp module docstrings

2014-10-01 Thread Georg Brandl
Georg Brandl added the comment: LGTM. -- nosy: +georg.brandl ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue19342] Improve grp module docstrings

2014-10-01 Thread Roundup Robot
Roundup Robot added the comment: New changeset e2b757baaef1 by Georg Brandl in branch '3.4': Closes #19342: improve docstrings in grp module. https://hg.python.org/cpython/rev/e2b757baaef1 -- nosy: +python-dev resolution: -> fixed stage: -> resolved status: open -> closed

[issue19342] Improve grp module docstrings

2014-10-01 Thread Roundup Robot
Roundup Robot added the comment: New changeset de0ca868d44f by Georg Brandl in branch '2.7': Closes #19342: improve docstrings in grp module. https://hg.python.org/cpython/rev/de0ca868d44f -- ___ Python tracker ___

[issue22528] Missing hint to source code

2014-10-01 Thread Roundup Robot
Roundup Robot added the comment: New changeset b51742cb1685 by Georg Brandl in branch '3.4': closes #22528: add source links to symtable and compileall https://hg.python.org/cpython/rev/b51742cb1685 New changeset 5144c7d0ef29 by Georg Brandl in branch '2.7': closes #22528: add source links to sy

[issue14573] json iterencode can not handle general iterators

2014-10-01 Thread Alfred Morgan
Alfred Morgan added the comment: Need a patch? Here you go. https://github.com/Zectbumo/cpython/compare/master How to use it: encoder = JSONEncoder(stream=True) This will iterencode() iterators as lists and file objects as strings and stream them when constructed with stream=True. -

[issue19915] int.bit_at(n) - Accessing a single bit in O(1)

2014-10-01 Thread anon
anon added the comment: Above I included a first attempt however I don't think my code is good and I couldn't figure out the case for negative integers. There's some discussion above about its inclusion. I like your x.bits suggestion actually, assuming x.bits returns an IntBitsView object wit

<    1   2