[issue31420] Reference leaks introduced by bpo-30860

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

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

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

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

2017-09-14 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: Proposed PR makes Parser/asdl_c.py not emitting trailing spaces for blank lines in Include/Python-ast.h. -- messages: 302149 nosy: benjamin.peterson, serhiy.storchaka priority: normal severity: normal stage: patch review status: open title: Remove t

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

2017-09-14 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- keywords: +patch pull_requests: +3558 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue31234] Make support.threading_cleanup() stricter

2017-09-14 Thread STINNER Victor
STINNER Victor added the comment: test_threading.test_foreign_thread() failed: http://buildbot.python.org/all/builders/AMD64%20FreeBSD%20CURRENT%20Debug%203.x/builds/879/steps/test/logs/stdio 0:08:53 load avg: 1.84 [286/405/1] test_threading failed (env changed) -- running: test_multiprocessin

[issue31234] Make support.threading_cleanup() stricter

2017-09-14 Thread STINNER Victor
STINNER Victor added the comment: 3 more warnings in test_threading on AMD64 FreeBSD 10.x Shared 3.x: http://buildbot.python.org/all/builders/AMD64%20FreeBSD%2010.x%20Shared%203.x/builds/886/steps/test/logs/stdio 0:03:45 load avg: 4.05 [246/405/1] test_thread failed (env changed) (...) test_nt_

[issue31234] Make support.threading_cleanup() stricter

2017-09-14 Thread STINNER Victor
STINNER Victor added the comment: http://buildbot.python.org/all/builders/AMD64%20FreeBSD%20CURRENT%20Non-Debug%203.x/builds/881/steps/test/logs/stdio 0:08:05 load avg: 1.58 [288/405/1] test_threading failed (env changed) -- running: test_multiprocessing_spawn (83 sec) (...) test_dummy_thread_a

[issue31420] Reference leaks introduced by bpo-30860

2017-09-14 Thread Eric Snow
Eric Snow added the comment: New changeset dae0276bb6bc7281d59fb0b8f1aab31634ee80dc by Eric Snow in branch 'master': bpo-30860: Fix a refleak. (#3567) https://github.com/python/cpython/commit/dae0276bb6bc7281d59fb0b8f1aab31634ee80dc -- ___ Python t

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

2017-09-14 Thread Eric Snow
Eric Snow added the comment: New changeset dae0276bb6bc7281d59fb0b8f1aab31634ee80dc by Eric Snow in branch 'master': bpo-30860: Fix a refleak. (#3567) https://github.com/python/cpython/commit/dae0276bb6bc7281d59fb0b8f1aab31634ee80dc -- ___ Python t

[issue31447] proc communicate not exiting on python subprocess timeout using PIPES

2017-09-14 Thread Eryk Sun
Eryk Sun added the comment: > Now I can read from the "R" pipes with 0 problems (getting the error > and output streams) The pipe handles are inherited by waitfor.exe, just as before. You'll find that reading to EOF will block just as it does when using subprocess.PIPE with communicate(). For

[issue31465] Allow _PyType_Lookup() to raise exceptions

2017-09-14 Thread Stefan Behnel
New submission from Stefan Behnel: Follow-up to issue 31336: The fact that _PyType_Lookup() does not propagate exceptions leaves some space for ambiguity. If, in a chain of MRO lookups, one would fail and a later one would succeed, is it correct to keep trying? What if the first failure actuall

[issue31336] Speed up _PyType_Lookup() for class creation

2017-09-14 Thread Stefan Behnel
Stefan Behnel added the comment: One more thing: the fact that the lookup does not propagate exceptions leaves some space for ambiguity. If, in a chain of MRO lookups, one would fail and a later one would succeed, is it correct to keep trying? What if the first failure actually failed to see a

[issue21537] functools.lru_cache does not cache exceptions

2017-09-14 Thread Sviatoslav Sydorenko
Sviatoslav Sydorenko added the comment: Hi, I've got similar need (caching exceptions). My use case is syscall, which is not going to result in something different regardless of the number of times it's called. But I'd like to be able to have exception already raised for me by lru_cache, so t

[issue31170] Update to expat 2.2.4 (expat: utf8_toUtf8 cannot properly handle exhausting buffer)

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

[issue31170] Update to expat 2.2.4 (expat: utf8_toUtf8 cannot properly handle exhausting buffer)

2017-09-14 Thread STINNER Victor
STINNER Victor added the comment: I wrote an non-regression test for the Python master branch using the test case attached to https://github.com/libexpat/libexpat/issues/115: PR 3570. -- ___ Python tracker __

[issue31392] Upgrade installers to OpenSSL 1.1.0f

2017-09-14 Thread Christian Heimes
Christian Heimes added the comment: Ned, can you take care of macOS? Victor noted that master still builds with 1.0.2k. -- assignee: christian.heimes -> ned.deily ___ Python tracker __

[issue31374] expat: warning: "_POSIX_C_SOURCE" redefined

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

[issue31392] Upgrade installers to OpenSSL 1.1.0f

2017-09-14 Thread STINNER Victor
STINNER Victor added the comment: FYI I wrote a script to get the version of all library copies embedded in CPython: https://github.com/haypo/misc/blob/master/cpython/external_versions.py This is how I noticed the OpenSSL version inconsistency. -- nosy: +haypo

[issue31466] No easy way to change float formatting when subclassing encoder.JSONEncoder

2017-09-14 Thread Quentin Peter
New submission from Quentin Peter: I want to output floats in ENG format. Working with distance in micrometers, it is a bit annoying to see: 2.5e-5 .0003 instead of 25e-6 300e-6 The solution I found was to redefine `iterencode` but that doesn't feel right. I would like to see something similar

[issue31466] No easy way to change float formatting when subclassing encoder.JSONEncoder

2017-09-14 Thread Quentin Peter
Changes by Quentin Peter : -- keywords: +patch pull_requests: +3561 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-li

[issue31234] Make support.threading_cleanup() stricter

2017-09-14 Thread STINNER Victor
STINNER Victor added the comment: Oh, test_concurrent_futures.test_exception_with_success() failed on Travis CI :-( https://ci.appveyor.com/project/python/cpython/build/3.7.0a0.6457 test_exception_with_success (test.test_concurrent_futures.FutureTests) ... Warning -- threading_cleanup() faile

[issue31467] cElementTree behaves differently compared to ElementTree

2017-09-14 Thread Ravikumar
New submission from Ravikumar: I have started learning python and I see below snippet fails. I do not understand how to fix the issue and assume this might be a bug in multiprocessing library. I use Python 2.7.12 My python snippet import xml.etree.ElementTree as ET# WORKS import xml.etr

[issue31467] cElementTree behaves differently compared to ElementTree

2017-09-14 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This error is from cPickle. >>> import xml.etree.cElementTree as ET >>> root = ET.XML('') >>> import pickle >>> pickle.dumps(root) Traceback (most recent call last): File "", line 1, in File "/usr/lib/python2.7/pickle.py", line 1380, in dumps Pickler(

[issue31467] cElementTree behaves differently compared to ElementTree

2017-09-14 Thread Ravikumar
Ravikumar added the comment: Thanks for the quick update. It helped us to understand the issue. We will check of how to proceed further in our implementation. / Ravi -- stage: -> resolved status: open -> closed ___ Python tracker

[issue31467] cElementTree behaves differently compared to ElementTree

2017-09-14 Thread Ravikumar
Ravikumar added the comment: Just now I have figured out that , in the documentation it was mentioned that cElementTree module is deprecated in Python 3.3 version. "The xml.etree.ElementTree module implements a simple and efficient API for parsing and creating XML data. Changed in version 3.

[issue31467] cElementTree behaves differently compared to ElementTree

2017-09-14 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Use ElementTree. In Python 3 ElementTree is accelerated and cElementTree is a deprecated alias of ElementTree. -- ___ Python tracker ___ ___

[issue31455] ElementTree.XMLParser() mishandles exceptions

2017-09-14 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I agree. While these issues are not totally independent (they changes the same code), my issue needs uncommon use of __new__ and __init__, while your issue can be exposed in normal cases. -- ___ Python tracker

[issue31468] os.path.samefile fails on windows network drive

2017-09-14 Thread Daniel Sauer
New submission from Daniel Sauer: On my Windows network drive os.path.samefile() seems to return True regardless of input paths. In my case this results in an error trying to save checkpoints of jupyter notebooks on this drive. I am using Windows 7, my working directory is located on a network

[issue31467] cElementTree behaves differently compared to ElementTree

2017-09-14 Thread Ravikumar
Changes by Ravikumar : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue31467] cElementTree behaves differently compared to ElementTree

2017-09-14 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> wont fix ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

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

[issue31234] Make support.threading_cleanup() stricter

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

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

[issue31234] Make support.threading_cleanup() stricter

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

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

[issue30809] IDLE parenmatch - highlighting options

2017-09-14 Thread Charles Wohlganger
Changes by Charles Wohlganger : -- pull_requests: -2554 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https

[issue28411] Eliminate PyInterpreterState.modules.

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

[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

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

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

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

[issue31457] LoggerAdapter objects cannot be nested

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

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

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

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

[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

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

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

[issue31234] Make support.threading_cleanup() stricter

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

[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 ___ ___ Python-bugs-list mailing list Unsubscribe:

[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 ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue31234] Make support.threading_cleanup() stricter

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

[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) https://github.com/python/cpython/commit/20fa05d0223101b8e0005525b94a2eac89234

[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 documented that you would e

[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

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

[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

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

[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’: Include/

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

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

[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 ___ ___ Python-bugs-list mailing list Unsubscri

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

[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 ___ ___ Python-bugs-list mailing list Unsubscrib

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

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

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

[issue28556] typing.py upgrades

2017-09-14 Thread Łukasz Langa
Changes by Łukasz Langa : -- pull_requests: +3573 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

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

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

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

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

[issue28556] typing.py upgrades

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

[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). -- ___ Pyth

[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 section 6.1 of the > tuto

[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) https://github.com/python/cpython/com

[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 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

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

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

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

[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) https://github.

[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

[issue31455] ElementTree.XMLParser() mishandles exceptions

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

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

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

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

[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 ___ ___ Python-bugs-list mailing list Unsubscribe: ht

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

[issue31234] Make support.threading_cleanup() stricter

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

[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) https://github.com/python/cpython/commit/1658ec07577e

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

[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
Changes by STINNER Victor : -- pull_requests: +3578 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

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

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

[issue31479] Always reset the signal alarm on unit tests

2017-09-14 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[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 : -- keywords: +patch pull_requests: +3579 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-l

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

  1   2   >