[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

[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

[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

[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

[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)

[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 --

[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
Changes by Terry J. Reedy : -- pull_requests: +3585 ___ 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 ___

[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

[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 ___

[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)

[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

[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

[issue28411] Eliminate PyInterpreterState.modules.

2017-09-14 Thread Eric Snow
Changes by Eric Snow : -- pull_requests: +3584 ___ Python tracker ___ ___

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

2017-09-14 Thread Cheryl Sabella
Changes by Cheryl Sabella : -- pull_requests: +3583 ___ 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)

[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 ___

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

2017-09-14 Thread Roundup Robot
Changes by Roundup Robot : -- pull_requests: +3582 ___ Python tracker ___

[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

[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 ->

[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 ___

[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 ___

[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

[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

[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 --

[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 --

[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

[issue31234] Make support.threading_cleanup() stricter

2017-09-14 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +3580 ___ Python tracker ___ ___

[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 --

[issue31479] Always reset the signal alarm on unit tests

2017-09-14 Thread STINNER Victor
Changes by STINNER Victor : -- keywords: +patch pull_requests: +3579 stage: -> patch review ___ Python tracker ___

[issue31479] Always reset the signal alarm in tests

2017-09-14 Thread STINNER Victor
Changes by STINNER Victor : -- title: Always reset the signal alarm in tets -> Always reset the signal alarm in tests ___ Python tracker

[issue31479] Always reset the signal alarm in tets

2017-09-14 Thread STINNER Victor
Changes by STINNER Victor : -- title: Always reset the signal alarm on unit tests -> Always reset the signal alarm in tets ___ Python tracker

[issue31479] Always reset the signal alarm on unit tests

2017-09-14 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +serhiy.storchaka ___ Python tracker ___ ___

[issue31479] Always reset the signal alarm on unit tests

2017-09-14 Thread STINNER Victor
New submission from STINNER Victor: While fixing bpo-17085 on Python 2.7 (test_socket: cancel scheduled alarm on test failure), I noticed that not all unit tests currently always reset the signal alarm. I propose to always use the pattern "try/finally: signal.alarm(0)" to make sure that a

[issue30758] test_pydoc hangs sometimes on 3.6 and master branches on ARMv7 Ubuntu 3.6/3.x

2017-09-14 Thread STINNER Victor
STINNER Victor added the comment: Python 3.6 is impacted as well on the same buildbot slave, ARMv7 Ubuntu 3.6: http://buildbot.python.org/all/builders/ARMv7%20Ubuntu%203.6/builds/736/steps/test/logs/stdio -- title: test_pydoc hangs sometimes on 3.6 and master branches on ARMv7 Ubuntu

[issue31234] Make support.threading_cleanup() stricter

2017-09-14 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +3578 ___ Python tracker ___ ___

[issue31465] Allow _PyType_Lookup() to raise exceptions

2017-09-14 Thread Stefan Behnel
Stefan Behnel added the comment: I'm working on a PR for this, but after changing all usages and fixing up some error handling here and there, it results in an interpreter crash for me. I'll try to debug it during the next days. -- nosy: +pitrou, serhiy.storchaka

[issue31234] Make support.threading_cleanup() stricter

2017-09-14 Thread STINNER Victor
STINNER Victor added the comment: New changeset 167cbde50a88ec2a7d26b2cb9891d5e32bdfbfb5 by Victor Stinner in branch 'master': bpo-31234: Join threads in test_queue (#3586) https://github.com/python/cpython/commit/167cbde50a88ec2a7d26b2cb9891d5e32bdfbfb5 --

[issue28556] typing.py upgrades

2017-09-14 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 1658ec07577ef9696cea76fcf7fac2da18403ec5 by Łukasz Langa (Miss Islington (bot)) in branch '3.6': [3.6] bpo-28556: typing.get_type_hints: better globalns for classes and modules (GH-3582) (#3583)

[issue31234] Make support.threading_cleanup() stricter

2017-09-14 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +3577 ___ Python tracker ___ ___

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

2017-09-14 Thread Oren Milman
New submission from Oren Milman: The following code causes an assertion failure: class BadInt(int): def __abs__(self): return None import random random.seed(BadInt()) this is because random_seed() (in Modules/_randommodule.c) assumes that PyNumber_Absolute() returned an int, and

[issue11874] argparse assertion failure with brackets in metavars

2017-09-14 Thread wim glenn
Changes by wim glenn : -- versions: +Python 3.6, Python 3.7 ___ Python tracker ___ ___

[issue31234] Make support.threading_cleanup() stricter

2017-09-14 Thread STINNER Victor
STINNER Victor added the comment: New changeset b8c7be2c523b012e57915182543d06657161057f by Victor Stinner in branch 'master': bpo-31234: Join threads in test_threading (#3579) https://github.com/python/cpython/commit/b8c7be2c523b012e57915182543d06657161057f --

[issue31234] Make support.threading_cleanup() stricter

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

[issue31477] IDLE 'strip trailing whitespace' changes the value of multiline strings

2017-09-14 Thread Dan Snider
New submission from Dan Snider: This function is supposed to be purely cosmetic. It just cleans up the junk whitespace commonly left behind when coding. But it could cause a problem when someone expects some string they defined to stay the same value, and then use that function and all of a

[issue31455] ElementTree.XMLParser() mishandles exceptions

2017-09-14 Thread Roundup Robot
Changes by Roundup Robot : -- pull_requests: +3576 ___ Python tracker ___

[issue31455] ElementTree.XMLParser() mishandles exceptions

2017-09-14 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset c8d8e15bfc24abeeaaf3d8be9073276b0c011cdf by Serhiy Storchaka (scoder) in branch 'master': bpo-31455: Fix an assertion failure in ElementTree.XMLParser(). (#3545) https://github.com/python/cpython/commit/c8d8e15bfc24abeeaaf3d8be9073276b0c011cdf

[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: New changeset f135f62cfd1529cbb9326e53728a22afd05b6bc3 by Serhiy Storchaka (Miss Islington (bot)) in branch '3.6': [3.6] bpo-31471: Fix assertion failure in subprocess.Popen() on Windows, in case env has a bad keys() method. (GH-3580) (#3584)

[issue31454] Include "import as" in tutorial

2017-09-14 Thread R. David Murray
R. David Murray added the comment: Well, this is all volunteer work. Maybe someone else will feel like doing it :) -- ___ Python tracker ___

[issue31476] "Open Module..." Not Working in IDLE for Standard Library

2017-09-14 Thread Stephen Paul Chappell
New submission from Stephen Paul Chappell: Ever since Python 3.6.1, trying to open a Python-source library module in IDLE on Windows (10) has not worked properly since the installer has only been providing *.pyc files. Learning how to use Python has always been easy since it (1) has a great

[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: Is this bug reproducible in 2.7? -- versions: +Python 3.6 ___ Python tracker ___

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

2017-09-14 Thread Roundup Robot
Changes by Roundup Robot : -- pull_requests: +3575 ___ 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: New changeset 0b3a87ef54a0112b74e8a1d8c6f87d10db4239ab by Serhiy Storchaka (Oren Milman) in branch 'master': bpo-31471: Fix assertion failure in subprocess.Popen() on Windows, in case env has a bad keys() method. (#3580)

[issue31454] Include "import as" in tutorial

2017-09-14 Thread Steve Johnson
Steve Johnson added the comment: I don't know what a PR is, so I'll let you guys handle it if it is OK with you. > On Sep 14, 2017, at 11:47 AM, R. David Murray wrote: > > > R. David Murray added the comment: > > I agree that it would seem reasonable to add this to

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

2017-09-14 Thread Éric Araujo
Éric Araujo added the comment: > "Best practices" according to whom? Well at least two senior core developers :) See the rationale in #16049 when abc.ABC was first added (with Guido approving that inheritance is nicer for most people). -- ___

[issue28556] typing.py upgrades

2017-09-14 Thread Roundup Robot
Changes by Roundup Robot : -- pull_requests: +3574 ___ Python tracker ___

[issue28556] typing.py upgrades

2017-09-14 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset f350a268a7071ce7d7a5bb86a9b1229782d4963b by Łukasz Langa in branch 'master': bpo-28556: typing.get_type_hints: better globalns for classes and modules (#3582) https://github.com/python/cpython/commit/f350a268a7071ce7d7a5bb86a9b1229782d4963b

[issue31452] asyncio.gather does not cancel tasks if one fails

2017-09-14 Thread Yury Selivanov
Yury Selivanov added the comment: Andrew, looks like it. You can take a look if you want (I don't have time to work on this right now). -- ___ Python tracker

[issue31438] IDLE 3 crashes and quits when caret character typed

2017-09-14 Thread ALPER PAKSOY
ALPER PAKSOY added the comment: Problem has been solved after installation of ActiveTcl 8.5.18.0 from ActiveState's web site as per Terry’s recommendations and, then, reinstallation of Python 3.6.2 package from python.org. However, there were many (mis)steps per my ignorance and laziness in

[issue28411] Eliminate PyInterpreterState.modules.

2017-09-14 Thread Eric Snow
Eric Snow added the comment: New changeset d393c1b227f22fb9af66040b2b367c99a4d1fa9a by Eric Snow in branch 'master': bpo-28411: Isolate PyInterpreterState.modules (#3575) https://github.com/python/cpython/commit/d393c1b227f22fb9af66040b2b367c99a4d1fa9a --

[issue28556] typing.py upgrades

2017-09-14 Thread Łukasz Langa
Changes by Łukasz Langa : -- pull_requests: +3573 ___ Python tracker ___ ___

[issue31475] Bug in argparse - not supporting utf8

2017-09-14 Thread R. David Murray
R. David Murray added the comment: Note that as far as I know without a reproducer, it is confusing to me to talk about argparse supporting or not supporting utf8. It deals only with text strings, which are unicode. Or is this a 2.7 only bug report? (Although even there it would be a

[issue31457] LoggerAdapter objects cannot be nested

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

[issue31475] Bug in argparse - not supporting utf8

2017-09-14 Thread R. David Murray
R. David Murray added the comment: As I requested in the PR, please provide a way to reproduce the bug you are reporting. -- nosy: +r.david.murray ___ Python tracker

[issue31475] Bug in argparse - not supporting utf8

2017-09-14 Thread Ali Razmjoo
New submission from Ali Razmjoo: Regarding #3468 discussion, there is the same bug was in argparse (and optparse) which fixed in this PR. utf8 is not supported in argprase module #3478: https://github.com/python/cpython/pull/3577 current pr: https://github.com/python/cpython/pull/3577

[issue31454] Include "import as" in tutorial

2017-09-14 Thread R. David Murray
Changes by R. David Murray : -- versions: +Python 3.6, Python 3.7 ___ Python tracker ___

[issue31454] Include "import as" in tutorial

2017-09-14 Thread R. David Murray
R. David Murray added the comment: I agree that it would seem reasonable to add this to section 6.1 of the tutorial, since it mentions both import statement variants and the modules "global symbol table", which are the two concepts involved in import as. Would you like to propose a PR?

[issue31474] [2.7] Fix -Wnonnull and -Wint-in-bool-context warnings

2017-09-14 Thread Christian Heimes
Changes by Christian Heimes : -- versions: +Python 2.7 -Python 3.3 ___ Python tracker ___

[issue31474] [2.7] Fix -Wnonnull and -Wint-in-bool-context warnings

2017-09-14 Thread Christian Heimes
Changes by Christian Heimes : -- keywords: +patch pull_requests: +3571 stage: needs patch -> patch review ___ Python tracker ___

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

2017-09-14 Thread Oren Milman
Changes by Oren Milman : -- keywords: +patch pull_requests: +3570 stage: needs patch -> patch review ___ Python tracker ___

[issue31474] [2.7] Fix -Wnonnull and -Wint-in-bool-context warnings

2017-09-14 Thread Christian Heimes
New submission from Christian Heimes: GCC 7.1 shows a bunch onf warnings related to -Wnonnull and -Wint-in-bool-context when compiling Python 2.7: In file included from Include/Python.h:78:0, from Objects/listobject.c:3: Objects/listobject.c: In function ‘list_resize’:

[issue31473] PyMem_Raw* API in debug mode are not thread safe

2017-09-14 Thread Xiang Zhang
New submission from Xiang Zhang: PyMem_Raw* APIs should be thread safe. But in debug mode, they are not that simple and increment a global variable *serialno* and the incrementing action is not thread safe. -- components: Interpreter Core messages: 302187 nosy: haypo, xiang.zhang

[issue31452] asyncio.gather does not cancel tasks if one fails

2017-09-14 Thread Andrew Svetlov
Andrew Svetlov added the comment: Yuri, it looks like a serious bug. I expected `success_coro(5)` cancelling but see print out. -- components: +Library (Lib) stage: -> needs patch versions: +Python 3.7 ___ Python tracker

[issue31472] "Emulating callable objects" documentation misleading

2017-09-14 Thread Nathan Marrow
New submission from Nathan Marrow: The documentation for emulating callable objects with __call__ seems to imply only positional arguments are supported. For instance, it says __call__ is "object.__call__(self[, args…])" and describes: Called when the instance is “called” as a function; if

[issue31454] Include "import as" in documentation

2017-09-14 Thread Steve Johnson
Steve Johnson added the comment: My suggestion was to include this in the 2.7 tutorial, section 6 (modules) where the various syntax is described for import. Most of us don't dig into the reference until we are trying to find something specific. The tutorial is an excellent place to introduce

[issue31454] Include "import as" in documentation

2017-09-14 Thread Steve Johnson
Steve Johnson added the comment: In the 2.7 Tutorial, section 6, modules, where it describes the various syntax for using import. > On Sep 13, 2017, at 10:42 AM, R. David Murray wrote: > > > R. David Murray added the comment: > > Where do you find that it is not

[issue31457] LoggerAdapter objects cannot be nested

2017-09-14 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 20fa05d0223101b8e0005525b94a2eac892348de by Łukasz Langa (Miss Islington (bot)) in branch '3.6': [3.6] bpo-31457: Allow for nested LoggerAdapter objects (GH-3551) (#3576)

[issue31234] Make support.threading_cleanup() stricter

2017-09-14 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +3569 ___ Python tracker ___ ___

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

2017-09-14 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- stage: -> needs patch ___ Python tracker ___

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

2017-09-14 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +haypo, serhiy.storchaka ___ Python tracker ___

[issue31234] Make support.threading_cleanup() stricter

2017-09-14 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +3568 ___ Python tracker ___ ___

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

2017-09-14 Thread Oren Milman
New submission from Oren Milman: The following code causes an assertion failure on Windows: class BadEnv(dict): keys = None import subprocess import sys subprocess.Popen([sys.executable, "-c", "pass"], env=BadEnv()) this is because getenvironment() (in Modules/_winapi.c) calls

[issue31462] Remove trailing whitespaces

2017-09-14 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Usually we don't backport such kind of changes. And I afraid that cherry-picking would be with many conflicts, because many changes are in new code. The idlelib changes are more harmless, since they are in text files. --

[issue31470] Py_Initialize documentation wrong

2017-09-14 Thread Jim Jewett
New submission from Jim Jewett: Per https://docs.python.org/3/c-api/init.html#initializing-and-finalizing-the-interpreter Py_Initialize() "should be called before using any other Python/C API functions; with the exception of Py_SetProgramName(), Py_SetPythonHome() and Py_SetPath()." (1) I

[issue31234] Make support.threading_cleanup() stricter

2017-09-14 Thread STINNER Victor
STINNER Victor added the comment: New changeset 8dcf22f442320e4c1a5408e67b4c9002ad105f17 by Victor Stinner in branch 'master': bpo-31234: Join threads in test_hashlib (#3573) https://github.com/python/cpython/commit/8dcf22f442320e4c1a5408e67b4c9002ad105f17 --

[issue31234] Make support.threading_cleanup() stricter

2017-09-14 Thread STINNER Victor
STINNER Victor added the comment: New changeset 18e95b4176256f100429a806d0455406df98f984 by Victor Stinner in branch 'master': bpo-31234: Join threads in tests (#3572) https://github.com/python/cpython/commit/18e95b4176256f100429a806d0455406df98f984 --

[issue10496] Python startup should not require passwd entry

2017-09-14 Thread R. David Murray
R. David Murray added the comment: Unless I'm mistaken, this has come up again in issue 31469. -- nosy: +cinerar, r.david.murray ___ Python tracker ___

[issue31457] LoggerAdapter objects cannot be nested

2017-09-14 Thread Roundup Robot
Changes by Roundup Robot : -- pull_requests: +3567 ___ Python tracker ___

[issue31457] LoggerAdapter objects cannot be nested

2017-09-14 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 1bbd482bcf6ea36bfe488f868810ffe110238ae1 by Łukasz Langa in branch 'master': bpo-31457: Allow for nested LoggerAdapter objects (#3551) https://github.com/python/cpython/commit/1bbd482bcf6ea36bfe488f868810ffe110238ae1 --

[issue31469] Running inside docker container from non-root user

2017-09-14 Thread R. David Murray
Changes by R. David Murray : -- superseder: -> Python startup should not require passwd entry ___ Python tracker ___

[issue31469] Running inside docker container from non-root user

2017-09-14 Thread R. David Murray
R. David Murray added the comment: It sounds like docker is just broken (I would expect unix tools to work in a docker container). That however is beside the point. I believe this is a duplicate of issue 10496, but I don't know why it hasn't been fixed. -- nosy: +r.david.murray

[issue31462] Remove trailing whitespaces

2017-09-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: I plan to backport the idlelib changes. Do you prefer than I try to include other files (by using cherry-pick) or only do idlelib (probably much easier)? -- nosy: +terry.reedy ___ Python tracker

[issue28411] Eliminate PyInterpreterState.modules.

2017-09-14 Thread Eric Snow
Changes by Eric Snow : -- pull_requests: +3566 stage: needs patch -> patch review ___ Python tracker ___

[issue30809] IDLE parenmatch - highlighting options

2017-09-14 Thread Charles Wohlganger
Changes by Charles Wohlganger : -- pull_requests: -2554 ___ Python tracker ___

[issue30809] IDLE parenmatch - highlighting options

2017-09-14 Thread Charles Wohlganger
Changes by Charles Wohlganger : -- keywords: +patch pull_requests: +3565 stage: needs patch -> patch review ___ Python tracker

[issue31469] Running inside docker container from non-root user

2017-09-14 Thread Dmitriy
New submission from Dmitriy: When i try to run youtube-dl inside docker container from non root user i recieve this error: failed to import the site module traceback (most recent call last): file "/usr/lib/python3.6/site.py", line 544, in main() file "/usr/lib/python3.6/site.py", line 530,

[issue31234] Make support.threading_cleanup() stricter

2017-09-14 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +3564 ___ Python tracker ___ ___

[issue31234] Make support.threading_cleanup() stricter

2017-09-14 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +3562 ___ Python tracker ___ ___

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

2017-09-14 Thread Cheryl Sabella
Cheryl Sabella added the comment: Sorry I don't have any tests yet. I've added a few, but it's taking me forever to figure out the bindings for testing the `Double-Button-1` and `B1-Motion`. I actually have a test for `Double-Button-1` now, but still working on `B1-Motion`. --

  1   2   >