[issue31234] Make support.threading_cleanup() stricter

2017-09-14 Thread STINNER Victor
STINNER Victor added the comment: New changeset b9b69003d91c6ea94b890ce24ed25686d30f1428 by Victor Stinner in branch 'master': bpo-31234: Add support.join_thread() helper (#3587) https://github.com/python/cpython/commit/b9b69003d91c6ea94b890ce24ed25686d30f1428 --

[issue31480] IDLE: disable ZzDummy, revise tests to match

2017-09-14 Thread Terry J. Reedy
New submission from Terry J. Reedy: When the zzdummy example-test extension was added as part of #27099, it was enabled in config-extensions.def in order to make tests pass as they were. This was not intended to be permanent as it adds a menu item that changes the current file and a user-modi

[issue31234] Make support.threading_cleanup() stricter

2017-09-14 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +3580 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue30860] Consolidate stateful C globals under a single struct.

2017-09-14 Thread STINNER Victor
STINNER Victor added the comment: New changeset ccb3c7654cc3d031fb93bf443a6ef9cfb11f6b43 by Victor Stinner in branch 'master': bpo-30860: Fix deadcode in obmalloc.c (#3499) https://github.com/python/cpython/commit/ccb3c7654cc3d031fb93bf443a6ef9cfb11f6b43 -- __

[issue31128] Allow pydoc to run with an arbitrary hostname

2017-09-14 Thread Éric Araujo
Éric Araujo added the comment: New changeset 6a396c9807b1674a24e240731f18e20de97117a5 by Éric Araujo (Feanil Patel) in branch 'master': bpo-31128: Allow pydoc to bind to arbitrary hostnames (#3011) https://github.com/python/cpython/commit/6a396c9807b1674a24e240731f18e20de97117a5 -- no

[issue31128] Allow pydoc to run with an arbitrary hostname

2017-09-14 Thread Éric Araujo
Éric Araujo added the comment: Merged, thanks! -- assignee: docs@python -> merwok resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue23508] Document & unittest the subprocess.getstatusoutput() status value

2017-09-14 Thread Gregory P. Smith
Gregory P. Smith added the comment: documentation updates as part of issue22635. -- assignee: -> gregory.p.smith components: +Documentation resolution: -> fixed stage: -> resolved status: open -> closed superseder: -> subprocess.getstatusoutput changed behavior in 3.4 (maybe 3.3.4?)

[issue31480] IDLE: disable ZzDummy, revise tests to match

2017-09-14 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- keywords: +patch pull_requests: +3581 stage: test needed -> patch review ___ Python tracker ___ ___ Py

[issue30085] Discourage operator.__dunder__ functions

2017-09-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: Raymond, may someone else merge this? I will add a blurb. -- assignee: rhettinger -> ___ Python tracker ___ _

[issue31458] Broken link to Misc/NEWS in What's New page

2017-09-14 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: Reopening since @merwok has some concern that Misc/NEWS.d is just a big directory with a lot of rst files. reference https://github.com/python/cpython/pull/3555#pullrequestreview-62899457 -- resolution: fixed -> stage: resolved -> status: closed ->

[issue31480] IDLE: disable ZzDummy, revise tests to match

2017-09-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset d384a81f557dab0b142bfcc9850bc68df46496ef by Terry Jan Reedy in branch 'master': bpo-31480: IDLE - fix tests to pass with zzdummy extension disabled. (#3590) https://github.com/python/cpython/commit/d384a81f557dab0b142bfcc9850bc68df46496ef --

[issue31480] IDLE: disable ZzDummy, revise tests to match

2017-09-14 Thread Roundup Robot
Changes by Roundup Robot : -- pull_requests: +3582 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue31479] Always reset the signal alarm in tests

2017-09-14 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Maybe add a context manager? Some pattern is repeated multiple times. -- hgrepos: +373 ___ Python tracker ___ ___

[issue31455] ElementTree.XMLParser() mishandles exceptions

2017-09-14 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 49caab46f687eb201898fb6c2c40d47bdcb0e58b by Serhiy Storchaka (Miss Islington (bot)) in branch '3.6': [3.6] bpo-31455: Fix an assertion failure in ElementTree.XMLParser(). (GH-3545) (#3585) https://github.com/python/cpython/commit/49caab46f687eb

[issue30780] IDLE: configdialog - add tests for ConfigDialog GUI.

2017-09-14 Thread Cheryl Sabella
Changes by Cheryl Sabella : -- pull_requests: +3583 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue28411] Eliminate PyInterpreterState.modules.

2017-09-14 Thread Eric Snow
Changes by Eric Snow : -- pull_requests: +3584 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue30780] IDLE: configdialog - add tests for ConfigDialog GUI.

2017-09-14 Thread Cheryl Sabella
Cheryl Sabella added the comment: I've submitted a PR for the tests that I added to complete coverage for Keys and Highlights and to add some GUI tests for the buttons. It's not everything that I wanted to do, but it ended up being more substantial than I realized. Here's the issue I was havi

[issue30860] Consolidate stateful C globals under a single struct.

2017-09-14 Thread Eric Snow
Changes by Eric Snow : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ Pyt

[issue31480] IDLE: disable ZzDummy, revise tests to match

2017-09-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 7b62416d86dce368470c5d1acbb55295a23d87f8 by Terry Jan Reedy (Miss Islington (bot)) in branch '3.6': [3.6] bpo-31480: IDLE - fix tests to pass with zzdummy extension disabled. (GH-3590) (#3591) https://github.com/python/cpython/commit/7b62416d86dc

[issue31480] IDLE: disable ZzDummy, revise tests to match

2017-09-14 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue31338] Use abort() for code we never expect to hit

2017-09-14 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: New changeset b2e5794870eb4728ddfaafc0f79a40299576434f by Barry Warsaw in branch 'master': bpo-31338 (#3374) https://github.com/python/cpython/commit/b2e5794870eb4728ddfaafc0f79a40299576434f -- ___ Python tracker

[issue31338] Use abort() for code we never expect to hit

2017-09-14 Thread Barry A. Warsaw
Changes by Barry A. Warsaw : -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bu

[issue31462] Remove trailing whitespaces

2017-09-14 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- pull_requests: +3585 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue31478] assertion failure in random.seed() in case the seed argument has a bad __abs__() method

2017-09-14 Thread Raymond Hettinger
Raymond Hettinger added the comment: It would make sense to verify that an actual int was returned and to raise a TypeError if it wasn't. Do you want to submit a PR (with a test case)? -- nosy: +rhettinger, serhiy.storchaka ___ Python tracker

[issue31462] Remove trailing whitespaces

2017-09-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 93d5f91fff5740b463980797a04f3d5f1d5f1a51 by Terry Jan Reedy in branch '3.6': [3.6] bpo-31462: IDLE - remove trailing whitespaces (GH-3564) (#3594) https://github.com/python/cpython/commit/93d5f91fff5740b463980797a04f3d5f1d5f1a51 --

[issue31464] Remove trailing spaces from Python-ast.h

2017-09-14 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 5d84cb368c0c3e475c25171c302068c4dfc3e396 by Benjamin Peterson (Serhiy Storchaka) in branch 'master': bpo-31464: asdl_c.py no longer emits trailing spaces in Python-ast.h. (#3568) https://github.com/python/cpython/commit/5d84cb368c0c3e475c25171c

[issue31471] assertion failure in subprocess.Popen() in case the env arg has a bad keys() method

2017-09-14 Thread Oren Milman
Oren Milman added the comment: in 2.7 getenvironment() is in PC/_subprocess.c, and it also calls PyMapping_Values() immediately after calling PyMapping_Keys(). however, _PyObject_FastCallDict() doesn't exist here. in case of an error in both PyMapping_Keys() and PyMapping_Values(), the error in

[issue31478] assertion failure in random.seed() in case the seed argument has a bad __abs__() method

2017-09-14 Thread Oren Milman
Oren Milman added the comment: sure. but what about the TypeError message? should it complain about the return value of abs(seed)? (the docs of random.seed don't mention abs().) -- ___ Python tracker _

[issue30096] Update examples in abc documentation to use abc.ABC

2017-09-14 Thread Vedran Čačić
Vedran Čačić added the comment: Well, actually, Raymond was proposing an alternative to Py2's special __metaclass__ attribute assignment syntax, which honestly _is_ an abomination (and the big part of reason why that was changed in Py3 to a keyword argument in a class definition). And Guido m

[issue31464] Remove trailing spaces from Python-ast.h

2017-09-14 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue31478] assertion failure in random.seed() in case the seed argument has a bad __abs__() method

2017-09-14 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: There are several ways of solving this issue: 1. Verify that an actual int was returned and raise a TypeError if it wasn't. 2. Verify that an actual int was returned and fall back to the hash if it wasn't. 3. Use int.__abs__() instead of abs(), the result w

[issue31471] assertion failure in subprocess.Popen() in case the env arg has a bad keys() method

2017-09-14 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Then I think it is worth to backport the fix to 2.7. -- versions: +Python 2.7 ___ Python tracker ___

[issue31471] assertion failure in subprocess.Popen() in case the env arg has a bad keys() method

2017-09-14 Thread Oren Milman
Oren Milman added the comment: OK. but there isn't an assertion failure to test in 2.7, so is adding a test still relevant? -- ___ Python tracker ___ ___

[issue31471] assertion failure in subprocess.Popen() in case the env arg has a bad keys() method

2017-09-14 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: It's on you. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

<    1   2