[issue24784] Build fails with --with-pydebug and --without-threads

2015-10-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3ab4f23ab983 by Victor Stinner in branch 'default': Close #24784: Fix compilation without thread support https://hg.python.org/cpython/rev/3ab4f23ab983 -- resolution: -> fixed stage: -> resolved status: open -> closed

[issue6259] ctypes pointer arithmetic

2015-10-11 Thread Chris Angelico
Chris Angelico added the comment: Fair enough. Still needs someone to update the patch though. -- ___ Python tracker ___

[issue25373] test.regrtest: -jN (with N != 1) + --slow + child error or interruption = TypeError

2015-10-11 Thread STINNER Victor
STINNER Victor added the comment: Python 2.7 is not affected by the bug (I'm unable to reproduce it on Python 2.7). Python 3.4 is near end-of-life and this bug looks like a corner case, I don't think that it's worth to fix it. I fixed the bug in Python 3.5 and 3.6. I added an unit test for

[issue25357] Add an optional newline parameter to binascii.b2a_base64() to not add a newline

2015-10-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset 463a09a3bfff by Victor Stinner in branch 'default': Issue #25357: Add an optional newline paramer to binascii.b2a_base64(). https://hg.python.org/cpython/rev/463a09a3bfff -- nosy: +python-dev ___ Python

[issue6259] ctypes pointer arithmetic

2015-10-11 Thread Berker Peksag
Berker Peksag added the comment: Thanks for triaging work, but an outdated patch is not an enough reason to close an issue. Also, the default value of "status" field is "open" at http://bugs.python.org/issue?@template=search=1 so closing an unresolved issue will make it harder to find for

[issue25373] test.regrtest: -jN (with N != 1) + --slow + child error or interruption = TypeError

2015-10-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset 746b98342943 by Victor Stinner in branch 'default': Close #25373: Fix regrtest --slow with interrupted test https://hg.python.org/cpython/rev/746b98342943 New changeset ef70e5373131 by Victor Stinner in branch '3.5': lose #25373: Fix regrtest

[issue25367] test_coroutines fails with --without-threads

2015-10-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset 493845d905c5 by Victor Stinner in branch '3.5': Close #25367: Fix test_coroutines() https://hg.python.org/cpython/rev/493845d905c5 -- resolution: -> fixed stage: -> resolved status: open -> closed ___

[issue24575] timemodule build fail - missing definitions for _Py_BEGIN_SUPPRESS_IPH and _Py_END_SUPPRESS_IPH

2015-10-11 Thread STINNER Victor
STINNER Victor added the comment: setup.py gets C flags from Makefile using the sysconfig module. You must have -DBUILD_CORE in Makefile. When I compiled Python using "./configure; make" the time module is build. How do you compile Python? "#define _Py_BEGIN_SUPPRESS_IPH" is already declared

[issue25375] Don't mention 2.2 in the 3.x docs

2015-10-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset a81b47fb5848 by Benjamin Peterson in branch '2.7': don't mention Python 2.2 (closes #25375) https://hg.python.org/cpython/rev/a81b47fb5848 New changeset 275d388ca1fc by Benjamin Peterson in branch '3.4': don't mention Python 2.2 (closes #25375)

[issue25368] test_eintr fails with --without-threads

2015-10-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset 42101b8f777c by Victor Stinner in branch 'default': Close #25368: Fix test_eintr when Python is compiled without thread support https://hg.python.org/cpython/rev/42101b8f777c -- nosy: +python-dev resolution: -> fixed stage: -> resolved

[issue24164] Support pickling objects with __new__ with keyword arguments with protocol 2+

2015-10-11 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___

[issue25367] test_coroutines fails with --without-threads

2015-10-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset d8737b841fcf by Victor Stinner in branch '3.5': Close #25367: Fix test_coroutines with no thread support https://hg.python.org/cpython/rev/d8737b841fcf New changeset d8002372e5df by Victor Stinner in branch 'default': Merge 3.5 (test_coroutines,

[issue24784] Build fails with --with-pydebug and --without-threads

2015-10-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset 20ef719b1cb9 by Victor Stinner in branch '3.5': Close #24784: Fix compilation without thread support https://hg.python.org/cpython/rev/20ef719b1cb9 -- ___ Python tracker

[issue25367] test_coroutines fails with --without-threads

2015-10-11 Thread STINNER Victor
STINNER Victor added the comment: I fixed the issue based on Guido's patch and Serhiy's suggestion. -- ___ Python tracker ___

[issue25357] Add an optional newline parameter to binascii.b2a_base64() to not add a newline

2015-10-11 Thread STINNER Victor
STINNER Victor added the comment: Thanks for reviews Serhiy & Martin. -- resolution: -> fixed status: open -> closed ___ Python tracker ___

[issue25368] test_eintr fails with --without-threads

2015-10-11 Thread STINNER Victor
STINNER Victor added the comment: It's now fixed, thanks. -- ___ Python tracker ___ ___ Python-bugs-list

[issue24784] Build fails with --with-pydebug and --without-threads

2015-10-11 Thread STINNER Victor
STINNER Victor added the comment: It's now fixed, thanks. -- ___ Python tracker ___ ___ Python-bugs-list

[issue25369] test_regrtest fails with --without-threads

2015-10-11 Thread STINNER Victor
STINNER Victor added the comment: It's now fixed, thanks. -- ___ Python tracker ___ ___ Python-bugs-list

[issue6259] ctypes pointer arithmetic

2015-10-11 Thread Chris Angelico
Chris Angelico added the comment: Nudging this as a forgotten patch. Is anyone at all interested in this, or should it be closed as not worth the hassle? The patch is ancient and doesn't apply to 3.6. Propose closing, to clean up the tracker. It can always be reopened if the patch is updated

[issue24164] Support pickling objects with __new__ with keyword arguments with protocol 2+

2015-10-11 Thread STINNER Victor
STINNER Victor added the comment: Buildbots failed. http://buildbot.python.org/all/builders/AMD64%20Debian%20root%203.x/builds/2807/steps/test/logs/stdio == FAIL: test_reduce (test.test_descr.PicklingTests)

[issue25369] test_regrtest fails with --without-threads

2015-10-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0d0d83b1c078 by Victor Stinner in branch 'default': Close #25369: Fix test_regrtest without thread support https://hg.python.org/cpython/rev/0d0d83b1c078 -- nosy: +python-dev resolution: -> fixed stage: -> resolved status: open -> closed

[issue25367] test_coroutines fails with --without-threads

2015-10-11 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis added the comment: == ERROR: test_asyncio_1 (test.test_coroutines.CoroAsyncIOCompatTest) -- Traceback (most recent call

[issue25373] test.regrtest: -jN (with N != 1) + --slow + child error or interruption = TypeError

2015-10-11 Thread STINNER Victor
STINNER Victor added the comment: Oh! I didn't see that you proposed a fix, sorry. I fixed the bug differently. IMHO it's easier to not add the test to test_times. -- ___ Python tracker

[issue25367] test_coroutines fails with --without-threads

2015-10-11 Thread STINNER Victor
STINNER Victor added the comment: > NameError: name 'asyncio' is not defined Oops :-( I also fixed this one, sorry. -- ___ Python tracker ___

[issue25375] Don't mention 2.2 in the 3.x docs

2015-10-11 Thread Chris Angelico
New submission from Chris Angelico: See: https://mail.python.org/pipermail/python-list/2015-October/697818.html Saying "In Python 2.2" is not helpful in the 3.x docs. Even in the 2.x docs, it's pretty safe to assume by now that everyone's on 2.2+. (At very least, "Since" would be better than

[issue22228] Adapt bash readline operate-and-get-next function

2015-10-11 Thread Chris Angelico
Chris Angelico added the comment: Any other interest in this? It'd be nice to get this in trunk and start being able to recommend it to people. -- ___ Python tracker

[issue24931] _asdict breaks when inheriting from a namedtuple

2015-10-11 Thread Larry Hastings
Larry Hastings added the comment: Why is this marked as a release blocker? It doesn't strike me as all that major. -- ___ Python tracker ___

[issue25188] regrtest.py improvement for Profile Guided Optimization builds

2015-10-11 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis added the comment: > New changeset 136ad559fa4f by Brett Cannon in branch '2.7': > Issue #25188: Add -P/--pgo to test.regrtest for PGO building. > https://hg.python.org/cpython/rev/136ad559fa4f > > +# required to permit running tests with

[issue25361] Is python-3-5-0.exe compiled with SSE2 instrutions? If so should we mention this?

2015-10-11 Thread Steve Dower
Steve Dower added the comment: Since we officially support platforms that don't require SSE, I'll disable those instructions for 3.5.1. As eryksun points out, this doesn't affect 64-bit builds, which are the standard for most performance critical uses anyway. -- assignee: docs@python

[issue24164] Support pickling objects with __new__ with keyword arguments with protocol 2+

2015-10-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset df33dbbef7bb by Serhiy Storchaka in branch 'default': Issue #24164: Fixed test_descr: __getnewargs_ex__ now is supported in protocols 2 and 3. https://hg.python.org/cpython/rev/df33dbbef7bb -- ___

[issue20289] Make cgi.FieldStorage a context manager

2015-10-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset 80501740ab84 by Serhiy Storchaka in branch '3.5': No longer skip tests for classes with __getnewargs_ex__. The copy module https://hg.python.org/cpython/rev/80501740ab84 New changeset 6f4dd9bc1f20 by Serhiy Storchaka in branch 'default': No longer

[issue25372] load_module() does not link submodule to parent package

2015-10-11 Thread R. David Murray
R. David Murray added the comment: Brett: Martin is calling pkgutil.find_loader, which is not marked as deprecated, and then calling load_module on the returned loader, which apparently does *almost* what he wants but not quite. Martin: maybe you should explain your use case in more detail.

[issue24164] Support pickling objects with __new__ with keyword arguments with protocol 2+

2015-10-11 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you Victor. Tests are fixed. I think the documentation needs to be updated. Here is a patch for pickle documentation. -- stage: resolved -> patch review Added file: http://bugs.python.org/file40751/pickle_new_ex_protocol_2_doc.patch

[issue25376] KeyboardInterrupt handling and traceback broken on Windows 10

2015-10-11 Thread Miikka Salminen
New submission from Miikka Salminen: Pressing Ctrl+C to raise a KeyboardInterrupt while waiting for user input in an input() call yields an incomplete traceback. The behaviour appears in a Python REPL session started by issuing "python" without quotes in a Windows cmd session: Python 3.5.0

[issue24931] _asdict breaks when inheriting from a namedtuple

2015-10-11 Thread Matthias Klose
Matthias Klose added the comment: now marked as regression, and lowered the priority. but how should regressions on release branches be marked else? -- keywords: +3.4regression, 3.5regression -patch priority: release blocker -> high ___ Python

[issue25376] KeyboardInterrupt handling and traceback broken on Windows 10

2015-10-11 Thread Miikka Salminen
Miikka Salminen added the comment: Did some more testing. KeyboardInterrupt traceback displays properly when pressing Ctrl+C during an infinite loop: Python 3.5.0 (v3.5.0:374f501f4567, Sep 13 2015, 02:27:37) [MSC v.1900 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license"

[issue25374] Deficiencies in type hint usage in Python standard libraries

2015-10-11 Thread R. David Murray
R. David Murray added the comment: You need to install the (currently externally maintained) type hints files from https://github.com/python/typeshed. I don't think a decision has been made about if/when these files will be incorporated into the distribution. -- nosy: +r.david.murray

[issue25376] KeyboardInterrupt handling and traceback broken on Windows 10

2015-10-11 Thread Miikka Salminen
Miikka Salminen added the comment: Just tried the same in an IDLE session, but it seems to display the KeyboardInterrupt correctly: Python 3.5.0 (v3.5.0:374f501f4567, Sep 13 2015, 02:27:37) [MSC v.1900 64 bit (AMD64)] on win32 Type "copyright", "credits" or "license()" for more information.

[issue25372] load_module() does not link submodule to parent package

2015-10-11 Thread Brett Cannon
Brett Cannon added the comment: This is entirely on purpose as you're not meant to call load_module() if you want to import code programmatically; that's what importlib.import_module() is for. The load_module() method -- which is kind of deprecated thanks to exec_module() -- is there purely

[issue22393] multiprocessing.Pool shouldn't hang forever if a worker process dies unexpectedly

2015-10-11 Thread Davin Potts
Changes by Davin Potts : -- nosy: +davin ___ Python tracker ___ ___

[issue25194] Opt-in motivations & affiliations page for core contributors

2015-10-11 Thread R. David Murray
R. David Murray added the comment: Since this is new, rather than just updating the devguide I'm posting my proposed entry here first in case there is feedback. One think I noticed in writing this is that the page is called "motivations", but because the instructions are to write the entry in

[issue25361] Is python-3-5-0.exe compiled with SSE2 instrutions? If so should we mention this?

2015-10-11 Thread Laura Creighton
Laura Creighton added the comment: Another 2 bits of data: I now know of 2 separate users from a Swedish teenager mailing list, whose machines (in each case 'my father's old laptop') didn't have SSE2. One youth was running XP but spent today successfully migrating to windows 7 with help

[issue25373] test.regrtest: -jN (with N != 1) + --slow + child error or interruption = TypeError

2015-10-11 Thread STINNER Victor
STINNER Victor added the comment: No idea. I don't think that --slow is heavily used in the wild. The current behaiour looks good to me. -- ___ Python tracker

[issue25361] Is python-3-5-0.exe compiled with SSE2 instrutions? If so should we mention this?

2015-10-11 Thread Steve Dower
Changes by Steve Dower : -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___

[issue25361] Is python-3-5-0.exe compiled with SSE2 instrutions? If so should we mention this?

2015-10-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset 15f6bbe944fa by Steve Dower in branch '3.5': Issue #25361: Disables use of SSE2 instructions in Windows 32-bit build https://hg.python.org/cpython/rev/15f6bbe944fa New changeset 3cf8c2930373 by Steve Dower in branch 'default': Issue #25361:

[issue25163] Windows installer in AllUsers mode presents wrong installation path

2015-10-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset 919b1dffa741 by Steve Dower in branch '3.5': Issue #25163: Display correct directory in installer when using non-default settings. https://hg.python.org/cpython/rev/919b1dffa741 New changeset 6f97c51b6dc5 by Steve Dower in branch 'default': Issue

[issue25163] Windows installer in AllUsers mode presents wrong installation path

2015-10-11 Thread Steve Dower
Changes by Steve Dower : -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___

[issue25378] Roundoff error on OS X

2015-10-11 Thread Michał Jan Warecki
New submission from Michał Jan Warecki: This should speak for itself: >>> 3*4.35 13.049 >>> The error is reproducible, and applies to all decimal numbers ending with \.[0-9]5, and \.[0-4] as well as \.[6-9], when multiplied by 3. Examples: >>> 3*4.1 12.299 >>> 3*4.4

[issue18769] argparse remove subparser

2015-10-11 Thread paul j3
Changes by paul j3 : -- nosy: +paul.j3 ___ Python tracker ___ ___ Python-bugs-list

[issue25378] Roundoff error on OS X

2015-10-11 Thread Michał Jan Warecki
Changes by Michał Jan Warecki : -- components: +Interpreter Core ___ Python tracker ___

[issue25378] Roundoff error on OS X

2015-10-11 Thread Ezio Melotti
Ezio Melotti added the comment: See https://docs.python.org/3/tutorial/floatingpoint.html -- nosy: +ezio.melotti resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker

[issue25122] test_eintr randomly fails on FreeBSD

2015-10-11 Thread STINNER Victor
STINNER Victor added the comment: We should remove it, but test_eintr still hangs randomly on freebsd. -- ___ Python tracker ___

[issue25320] unittest loader.py TypeError when code directory contains a socket

2015-10-11 Thread Robert Collins
Robert Collins added the comment: The fix is appropriate (we might want to think about symlinks in the future). I'd very much like a test for it (in Lib/unittest/test/test_discovery.py) and it should be applied to 3.5, master - older versions had this wrapped up in simpler code and won't fail

[issue25143] 3.5 install fails poorly on Windows XP

2015-10-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2316bc881eea by Steve Dower in branch '3.5': Issue #25143: Improves installer error messages for unsupported platforms. https://hg.python.org/cpython/rev/2316bc881eea New changeset 2c384ba13fdd by Steve Dower in branch 'default': Issue #25143:

[issue25143] 3.5 install fails poorly on Windows XP

2015-10-11 Thread Steve Dower
Steve Dower added the comment: Still need to validate the fix on WinXP, as I'm not 100% certain that enough UI will appear to show the user the error, but we will now bail right at the start and link to either help pages for installing updates (for Vista/7) or Python 3.4 (for pre-Vista).

[issue18769] argparse remove subparser

2015-10-11 Thread paul j3
paul j3 added the comment: Under what circumstances would this be useful? http://bugs.python.org/issue19462 asks for a 'remove_argument' method. That seems to be most useful if the argument is inherited from a parent parser. A subparsers argument could be inherited from a parent (I think),

[issue25125] "Edit with IDLE" does not work for shortcuts

2015-10-11 Thread Steve Dower
Steve Dower added the comment: Because of the way Open With works, we can't do this unless we start building an EXE to launch IDLE (Windows automatically picks up most of the details from the target executable, so it will show as "pythonw" if we do it without the launcher). Unassigning

[issue18590] Found text not always highlighted by Replace dialog on Windows

2015-10-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: #24972 fixes the immediate issue but the Find and Replace code are needlessly different in doing the same thing and redundant in double tagging found text, and there are some other glitches. I think a better fix will be to only use the found tag, but this

[issue25379] Changes in traceback broke existing code (Python 3.5)

2015-10-11 Thread Bert JW Regeer
New submission from Bert JW Regeer: One of the changes in Python 3.5's traceback functionality broke existing code compared to Python 3.4 by injecting an extra stack frame into the list when using traceback.extract_stack: What this looks like on Python 3.5:

[issue22179] Idle. Search dialog found text not highlited on Windows

2015-10-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am closing this because #24972 fixes the immediate issue. -- dependencies: -Found text not always highlighted by Replace dialog on Windows resolution: -> out of date stage: test needed -> resolved status: open -> closed

[issue22726] Idle: add help to config dialogs

2015-10-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset fd41b05b8227 by Terry Jan Reedy in branch '2.7': Issue #22726: Re-activate config dialog help button with some content about https://hg.python.org/cpython/rev/fd41b05b8227 New changeset 01f83efcc44b by Terry Jan Reedy in branch '3.4': Issue #22726:

[issue25379] Changes in traceback broke existing code (Python 3.5)

2015-10-11 Thread Berker Peksag
Berker Peksag added the comment: Thanks for the report! Yes, this is a duplicate of issue 25108. It would be great if you have time to test it with the current 3.5 branch. -- components: +Library (Lib) nosy: +berker.peksag resolution: -> duplicate stage: -> resolved status: open ->

[issue25379] Changes in traceback broke existing code (Python 3.5)

2015-10-11 Thread Bert JW Regeer
Bert JW Regeer added the comment: Looks like this is a dup of: https://bugs.python.org/issue25108 -- ___ Python tracker ___

[issue24782] Merge 'configure extensions' into main IDLE config dialog

2015-10-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: Do you have a patch to move the untabbed pane, as is, to preferences? If not, I will write one. -- versions: +Python 3.4 -Python 3.2 ___ Python tracker

[issue25254] Idle: debugger source line highlighting fails again

2015-10-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: No. Turning it on, I discovered why off is default. When it on, it sometimes does surprising things on IDLE. For instance, print('x') is (usually) a builtin and can not be stepped into. However, it calls sys.stdout.write('x'+'\n'). Under Idle, user

[issue25194] Opt-in motivations & affiliations page for core contributors

2015-10-11 Thread Nick Coghlan
Nick Coghlan added the comment: Additional feedback received off-list in response to the python-committers thread: * the current preamble is still overly legalistic and could stand to be toned down (e.g. finding a friendlier word than "disclose" in a couple of places) * the page doesn't

[issue22726] Idle: add help to config dialogs

2015-10-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: I rewrote the common section to explain what the button do. I did not modify the extensions dialog because I want to finish #24782. #22707 may add more. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python

[issue25194] Opt-in motivations & affiliations page for core contributors

2015-10-11 Thread Nick Coghlan
Nick Coghlan added the comment: That's a good point about the current "3rd party bio" instructions being counterproductive - my goal is to capture "Why do we consider core development a good use of our time?" moreso than "What have we done in the past?". So perhaps switching back to the first