[issue40442] Spurious warning emitted during fork() can deadlock a multi-threaded process

2020-04-30 Thread Ionel Cristian Mărieș
Change by Ionel Cristian Mărieș : -- nosy: +ionelmc ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue40360] Deprecate lib2to3 (and 2to3) for future removal

2020-04-30 Thread Miro Hrončok
Miro Hrončok added the comment: Coul you please add a what's new entry for this change? -- nosy: +hroncok ___ Python tracker ___ ___

[issue40360] Deprecate lib2to3 (and 2to3) for future removal

2020-04-30 Thread Miro Hrončok
Miro Hrončok added the comment: I don't understand why there is a PendingDeprecationWarning and not a DeprecationWarning. See https://discuss.python.org/t/pendingdeprecationwarning-is-really-useful/1038/4 and issue36404 -- ___ Python tracker

[issue40437] add string.snake function

2020-04-30 Thread jeffolsi10
jeffolsi10 added the comment: I can respect that. So you may close this request. -- ___ Python tracker ___ ___ Python-bugs-list mai

[issue40437] add string.snake function

2020-04-30 Thread Eric V. Smith
Eric V. Smith added the comment: Thanks for the suggestion and the discussion. I'll close the issue. -- resolution: -> rejected stage: -> resolved status: open -> closed ___ Python tracker

[issue29587] Generator/coroutine 'throw' discards exc_info state, which is bad

2020-04-30 Thread Chris Jerdonek
Change by Chris Jerdonek : -- keywords: +patch pull_requests: +19131 stage: -> patch review pull_request: https://github.com/python/cpython/pull/19811 ___ Python tracker ___ _

[issue29587] Generator/coroutine 'throw' discards exc_info state, which is bad

2020-04-30 Thread Chris Jerdonek
Chris Jerdonek added the comment: I made a naive attempt at addressing this issue here: https://github.com/python/cpython/pull/19811 The code has diverged significantly since Nathaniel first linked to a specific line above. However, what I came up with is simple, and seems to work. But I cou

[issue40443] Remove unused imports in the stdlib (April 2020 edition)

2020-04-30 Thread STINNER Victor
STINNER Victor added the comment: New changeset 90549676e063c2c818cfc14213d3adb7edcc2bd5 by Victor Stinner in branch 'master': bpo-40443: Remove unused imports in the stdlib (GH-19803) https://github.com/python/cpython/commit/90549676e063c2c818cfc14213d3adb7edcc2bd5 --

[issue40443] Remove unused imports in the stdlib (April 2020 edition)

2020-04-30 Thread STINNER Victor
STINNER Victor added the comment: New changeset e488e300f5c01289c10906c2e53a8e43d6de32d8 by Victor Stinner in branch 'master': bpo-40443: Remove unused imports in distutils (GH-19802) https://github.com/python/cpython/commit/e488e300f5c01289c10906c2e53a8e43d6de32d8 -- _

[issue40256] Python 3.8 Not Launching on Bootcamp Windows 10.

2020-04-30 Thread Ronald Oussoren
Ronald Oussoren added the comment: AFAIK Windows 10 in Bootcamp is just the regular Windows 10. Bootcamp (or technically "Bootcamp Assistent") creates a partition for the installation of W10 and adds some drivers for Apple hardware. See als: https://support.apple.com/en-us/HT201468

[issue40448] ensurepip uses cache directory

2020-04-30 Thread Krzysztof Konopko
New submission from Krzysztof Konopko : ensurepip optionally installs or upgrades 'pip' and 'setuptools' using the version of those modules bundled with Python. The internal PIP installation routine by default temporarily uses its cache, if it exists. This is undesirable as Python builds and

[issue40448] ensurepip uses cache directory

2020-04-30 Thread Krzysztof Konopko
Change by Krzysztof Konopko : -- keywords: +patch pull_requests: +19132 stage: -> patch review pull_request: https://github.com/python/cpython/pull/19812 ___ Python tracker __

[issue40256] Python 3.8 Not Launching on Bootcamp Windows 10.

2020-04-30 Thread Yusuf Mumtaz
Yusuf Mumtaz added the comment: Hello, so when I type in python -m tkinter, nothing appears. -- resolution: -> wont fix ___ Python tracker ___ ___

[issue40358] pathlib's relative_to should behave like os.path.relpath

2020-04-30 Thread Domenico Ragusa
Change by Domenico Ragusa : -- pull_requests: +19133 pull_request: https://github.com/python/cpython/pull/19813 ___ Python tracker ___ _

[issue40449] multi-line f-string, syntaxerror points to wrong line

2020-04-30 Thread Gerrit Holl
New submission from Gerrit Holl : When there is a syntax error in a multi-line f-string, the arrow in the reported syntax error points to the wrong line: $ cat mwe.py s = ("apricot " "pineapple" f"shallot{") $ python mwe.py File "mwe.py", line 1 s = ("apricot " ^ Synt

[issue40358] pathlib's relative_to should behave like os.path.relpath

2020-04-30 Thread Sanyam Khurana
Change by Sanyam Khurana : -- nosy: +CuriousLearner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue40256] Python 3.8 Not Launching on Bootcamp Windows 10.

2020-04-30 Thread Ronald Oussoren
Ronald Oussoren added the comment: How did you install Python? Does "python" work as a command (should give you an interactive shell)? Does "python -m test" work? This runs the testsuite. -- ___ Python tracker

[issue40256] Python 3.8 Not Launching on Bootcamp Windows 10.

2020-04-30 Thread Yusuf Mumtaz
Yusuf Mumtaz added the comment: Hello, I installed python of their own website. No interactive command shell appears and python -m test also does not work. -- ___ Python tracker

[issue40450] wrong

2020-04-30 Thread wei gu
Change by wei gu : -- nosy: wei gu priority: normal severity: normal status: open title: wrong ___ Python tracker ___ ___ Python-bug

[issue40450] a=[1,2,3] a=a.extend([4]) after running these two lines of code a is None,but it show be [1,2,3,4]

2020-04-30 Thread wei gu
Change by wei gu : -- components: +Interpreter Core resolution: -> wont fix title: wrong -> a=[1,2,3] a=a.extend([4]) after running these two lines of code a is None,but it show be [1,2,3,4] type: -> behavior versions: +Python 3.5, Python 3.6, Python 3.7, Python 3.8, Python 3.9 Added

[issue40450] a=[1,2,3] a=a.extend([4]) after running these two lines of code a is None,but it should be [1,2,3,4]

2020-04-30 Thread wei gu
Change by wei gu : -- title: a=[1,2,3] a=a.extend([4]) after running these two lines of code a is None,but it show be [1,2,3,4] -> a=[1,2,3] a=a.extend([4]) after running these two lines of code a is None,but it should be [1,2,3,4] ___ Python tracke

[issue40450] a=[1,2,3] a=a.extend([4]) after running these two lines of code a is None,but it should be [1,2,3,4]

2020-04-30 Thread Eric V. Smith
New submission from Eric V. Smith : list.extend modifies the list in place. Like most mutating methods in python, it does not return the thing being modified. Everything is working correctly, and it's documented this way. -- nosy: +eric.smith resolution: wont fix -> not a bug stage:

[issue40256] Python 3.8 Not Launching on Bootcamp Windows 10.

2020-04-30 Thread Ronald Oussoren
Ronald Oussoren added the comment: Do you get an error message when you start a command shell and type "python"? -- ___ Python tracker ___

[issue32494] interface to gdbm_count

2020-04-30 Thread Dong-hee Na
Change by Dong-hee Na : -- nosy: +corona10 nosy_count: 2.0 -> 3.0 pull_requests: +19134 pull_request: https://github.com/python/cpython/pull/19814 ___ Python tracker ___ __

[issue40256] Python 3.8 Not Launching on Bootcamp Windows 10.

2020-04-30 Thread Yusuf Mumtaz
Yusuf Mumtaz added the comment: Nope, no error message just no response from the system. -- ___ Python tracker ___ ___ Python-bugs-

[issue32494] Use gdbm_count if possible

2020-04-30 Thread Dong-hee Na
Change by Dong-hee Na : -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/op

[issue40443] Remove unused imports in the stdlib (April 2020 edition)

2020-04-30 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +19135 pull_request: https://github.com/python/cpython/pull/19815 ___ Python tracker ___ __

[issue23937] IDLE: revise window size, placement startup options

2020-04-30 Thread E. Paine
Change by E. Paine : -- keywords: +patch nosy: +epaine nosy_count: 4.0 -> 5.0 pull_requests: +19136 stage: -> patch review pull_request: https://github.com/python/cpython/pull/19816 ___ Python tracker __

[issue23937] IDLE: revise window size, placement startup options

2020-04-30 Thread E. Paine
E. Paine added the comment: I have made a few simple changes to the configdialog.py, config-main.def & editor.py which adds a "Maximised" checkbutton to the general page (just above the existing entries). The default is for this to be false (based on the previous comments in this PEP), but i

[issue40451] Unexpected sys.getrefcount(foo) output

2020-04-30 Thread Cristian Martinez de Morentin
New submission from Cristian Martinez de Morentin : Hello, I have observed a strange behaviour regarding reference counting in Python 3.8.2 (Windows 64 bits). Perhaps, it could be linked to a memory leakage issue. In the following code, I would not expect an output of '137' for the reference

[issue39305] Merge nntplib._NNTPBase and nntplib.NNTP

2020-04-30 Thread Dong-hee Na
Change by Dong-hee Na : -- pull_requests: +19137 pull_request: https://github.com/python/cpython/pull/19817 ___ Python tracker ___ _

[issue40451] Unexpected sys.getrefcount(foo) output

2020-04-30 Thread Eric V. Smith
Eric V. Smith added the comment: aux is equal to 1. You're seeing the refcount of the number 1. -- nosy: +eric.smith resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker __

[issue40451] Unexpected sys.getrefcount(foo) output

2020-04-30 Thread Tim Peters
Tim Peters added the comment: "The 'aux' object" is simply the integer 1. The dict is irrelevant to the outcome, except that the dict owns one reference to 1. Do sys.getrefcount(1) all by itself and you'll see much the same. This isn't a bug, but neither is it a feature: it's undocumente

[issue23937] IDLE: revise window size, placement startup options

2020-04-30 Thread E. Paine
E. Paine added the comment: Sorry, two more things: 1: Can someone please check this behaves properly on MacOS (I have checked on Windows and Linux) 2: Is setting the checkbutton side to "TOP" correct, or is there a better way of achieving the same layout? -- ___

[issue40451] Unexpected sys.getrefcount(foo) output

2020-04-30 Thread Cristian Martinez de Morentin
Cristian Martinez de Morentin added the comment: OK, understood. Thank you for your support! -- ___ Python tracker ___ ___ Python-

[issue40334] PEP 617: new PEG-based parser

2020-04-30 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +19138 pull_request: https://github.com/python/cpython/pull/19818 ___ Python tracker ___ ___

[issue40442] Spurious warning emitted during fork() can deadlock a multi-threaded process

2020-04-30 Thread Bowie Chen
Change by Bowie Chen : -- nosy: +bowiechen ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue40452] IDLE preserve clipboard on closure (Windows)

2020-04-30 Thread E. Paine
New submission from E. Paine : Currently, on a Windows machine, the clipboard contents is lost when the root is closed. This, therefore requires you to keep the IDLE instance open until after the copy has been complete (particularly annoying when copying between different IDLE instances). The

[issue40452] IDLE preserve clipboard on closure (Windows)

2020-04-30 Thread E. Paine
Change by E. Paine : -- keywords: +patch pull_requests: +19139 stage: -> patch review pull_request: https://github.com/python/cpython/pull/19819 ___ Python tracker ___ ___

[issue40360] Deprecate lib2to3 (and 2to3) for future removal

2020-04-30 Thread Carl Meyer
Carl Meyer added the comment: > Coul you please add a what's new entry for this change? The committed change already included an entry in NEWS. Is a "What's New" entry something different? > I don't understand why there is a PendingDeprecationWarning and not a > DeprecationWarning. Purely

[issue40360] Deprecate lib2to3 (and 2to3) for future removal

2020-04-30 Thread Guido van Rossum
Guido van Rossum added the comment: A "What's New" entry would go into Doc/whatsnew/3.9.rst and is much more visible to users looking for exciting bits in the new release (the NEWS file is very large, see e.g. https://docs.python.org/3/whatsnew/changelog.html#changelog. The What's New doc t

[issue40256] Python 3.8 Not Launching on Bootcamp Windows 10.

2020-04-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: 'their website' == Apple's website? Homebrew's? Microsoft's? What about the Windows installer from python.org? -- ___ Python tracker ___ ___

[issue39837] Make Azure Pipelines optional on GitHub PRs

2020-04-30 Thread Brett Cannon
Brett Cannon added the comment: Done. You will need to check that miss-islington doesn't solely rely on required checks passing but instead all CI checks passing, otherwise this just turned off gating for PRs when auto-merging. And I'm going to say future requests for this sort of stuff shou

[issue40360] Deprecate lib2to3 (and 2to3) for future removal

2020-04-30 Thread Miro Hrončok
Miro Hrončok added the comment: > Getting rid of PendingDeprecationWarning seems like an orthogonal decision; > if it happens, this can trivially be upgraded to DeprecationWarning as part > of a removal sweep. My thought was that the decision was already made to do so. Hence adding new Pendi

[issue40408] GenericAlias does not support nested type variables

2020-04-30 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- assignee: -> serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40360] Deprecate lib2to3 (and 2to3) for future removal

2020-04-30 Thread Guido van Rossum
Guido van Rossum added the comment: IIRC PendingDeprecationError does not mean that the decision hasn't been made yet. It just means it's less urgent for folks to worry about. I believe we tend to change PendingDeprecationError to DeprecationError in the last release before something is remo

[issue40334] PEP 617: new PEG-based parser

2020-04-30 Thread Guido van Rossum
Guido van Rossum added the comment: New changeset c001c09e9059ba04bc088349cd87a1374dc0754f by Guido van Rossum in branch 'master': bpo-40334: Support type comments (GH-19780) https://github.com/python/cpython/commit/c001c09e9059ba04bc088349cd87a1374dc0754f -- __

[issue29587] Generator/coroutine 'throw' discards exc_info state, which is bad

2020-04-30 Thread Guido van Rossum
Guido van Rossum added the comment: New changeset 2514a632fb7d37be24c2059d0e286d35600f9795 by Chris Jerdonek in branch 'master': bpo-29587: Enable implicit exception chaining with gen.throw() (GH-19811) https://github.com/python/cpython/commit/2514a632fb7d37be24c2059d0e286d35600f9795 --

[issue29587] Generator/coroutine 'throw' discards exc_info state, which is bad

2020-04-30 Thread Guido van Rossum
Guido van Rossum added the comment: Example 1 is now fixed too by Chris Jerdonek's PR 19811. Thanks Chris! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker _

[issue23937] IDLE: revise window size, placement startup options

2020-04-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: I think we are at the point where the General tab needs to be split into 2 tabs, or else widened. On my Macbook, the bottom buttons are not visible. One of the constraints of any change is that .idlerc/config-main.cfg remain compatible with older releases.

[issue29587] Generator/coroutine 'throw' discards exc_info state, which is bad

2020-04-30 Thread Guido van Rossum
Guido van Rossum added the comment: Oh, no! Buildbot failures. Help?! -- ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue23937] IDLE: revise window size, placement startup options

2020-04-30 Thread E. Paine
E. Paine added the comment: > I think we are at the point where the General tab needs to be split into 2 > tabs, or else widened I definitely agree (possibly split into "Window" and "Editor/Shell"), but that would be a separate PEP wouldn't it (possibly one that needs to be pulled before th

[issue40453] Add PyConfig._isolated_interpreter: isolated subinterpreters

2020-04-30 Thread STINNER Victor
New submission from STINNER Victor : I propose to add PyConfig._isolated_interpreter configuration parameter to disallow threads, subprocesses and fork in a subinterpreter. _xxsubinterpreter.create() gets a new keyword-only isolated=True parameter to opt-in for not isolated mode, which is the

[issue40454] DEBUG kw to asyncio.run overrides DEBUG mode set elsewhere

2020-04-30 Thread Paul Martin
New submission from Paul Martin : According to the docs: " There are several ways to enable asyncio debug mode. Setting the PYTHONASYNCIODEBUG environment variable to 1. Using the -X dev Python command line option. Passing debug=True to asyncio.run(). Calling loop.set_debug(). " My understand

[issue37873] unittest: execute tests in parallel

2020-04-30 Thread Giampaolo Rodola'
Change by Giampaolo Rodola' : -- nosy: +giampaolo.rodola ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue40453] Add PyConfig._isolated_interpreter: isolated subinterpreters

2020-04-30 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +19140 stage: -> patch review pull_request: https://github.com/python/cpython/pull/19820 ___ Python tracker ___ _

[issue40256] Python 3.8 Not Launching on Bootcamp Windows 10.

2020-04-30 Thread Yusuf Mumtaz
Yusuf Mumtaz added the comment: Sorry , the python windows installer from python.org -- ___ Python tracker ___ ___ Python-bugs-list

[issue39837] Make Azure Pipelines optional on GitHub PRs

2020-04-30 Thread STINNER Victor
STINNER Victor added the comment: > Done. Thanks. > You will need to check that miss-islington doesn't solely rely on required > checks passing but instead all CI checks passing, otherwise this just turned > off gating for PRs when auto-merging. I have no idea how miss-islington check CIs.

[issue39321] AMD64 FreeBSD Non-Debug 3.x: out of swap space (test process killed by signal 9)

2020-04-30 Thread STINNER Victor
STINNER Victor added the comment: The worker still has the same issue: https://buildbot.python.org/all/#/builders/214/builds/674 0:19:08 load avg: 3.11 running: test_multiprocessing_forkserver (1 min 38 sec) *** Signal 9 Any update on this issue Koobs? --

[issue29587] Generator/coroutine 'throw' discards exc_info state, which is bad

2020-04-30 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +vstinner nosy_count: 6.0 -> 7.0 pull_requests: +19141 pull_request: https://github.com/python/cpython/pull/19821 ___ Python tracker ___ ___

[issue29587] Generator/coroutine 'throw' discards exc_info state, which is bad

2020-04-30 Thread STINNER Victor
STINNER Victor added the comment: New changeset 3c7f9db85095952821f9d106dd874f75662ce7ec by Victor Stinner in branch 'master': Revert "bpo-29587: Enable implicit exception chaining with gen.throw() (GH-19811)" (#19821) https://github.com/python/cpython/commit/3c7f9db85095952821f9d106dd874f75

[issue29587] Generator/coroutine 'throw' discards exc_info state, which is bad

2020-04-30 Thread STINNER Victor
STINNER Victor added the comment: > bpo-29587: Enable implicit exception chaining with gen.throw() (GH-19811) > https://github.com/python/cpython/commit/2514a632fb7d37be24c2059d0e286d35600f9795 Sorry, I had to revert this change since it broke like 41+ buildbots: https://pythondev.readthedocs.

[issue29587] Generator/coroutine 'throw' discards exc_info state, which is bad

2020-04-30 Thread Guido van Rossum
Change by Guido van Rossum : -- resolution: fixed -> status: closed -> open ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue40455] GCC 10 compiler warnings

2020-04-30 Thread STINNER Victor
New submission from STINNER Victor : GCC 10.0.1 on PPC64LE Fedora Rawhide LTO 3.x buildbot: https://buildbot.python.org/all/#/builders/351/builds/406 Objects/longobject.c: In function ‘_PyLong_Frexp’: Objects/longobject.c:2928:33: warning: ‘x_digits[0]’ may be used uninitialized in this functio

[issue1635741] Py_Finalize() doesn't clear all Python objects at exit

2020-04-30 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +19142 pull_request: https://github.com/python/cpython/pull/19822 ___ Python tracker ___

[issue29587] Generator/coroutine 'throw' discards exc_info state, which is bad

2020-04-30 Thread STINNER Victor
STINNER Victor added the comment: > Sorry, I had to revert this change since it broke like 41+ buildbots: (...) If someone wants to investigate, you can find examples of failed buildbot builds at: https://github.com/python/cpython/pull/19811 -- __

[issue29587] Generator/coroutine 'throw' discards exc_info state, which is bad

2020-04-30 Thread Chris Jerdonek
Chris Jerdonek added the comment: > Oh, no! Buildbot failures. Help?! Yes, I'm sorry. There's something not so simple going on that I haven't yet reproduced locally. Will reply on the tracker. -- ___ Python tracker

[issue29587] Generator/coroutine 'throw' discards exc_info state, which is bad

2020-04-30 Thread Chris Jerdonek
Change by Chris Jerdonek : -- pull_requests: +19143 stage: resolved -> patch review pull_request: https://github.com/python/cpython/pull/19823 ___ Python tracker ___ __

[issue40453] Add PyConfig._isolated_interpreter: isolated subinterpreters

2020-04-30 Thread Barry A. Warsaw
Change by Barry A. Warsaw : -- nosy: +barry ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue40455] GCC 10 compiler warnings

2020-04-30 Thread Andy Lester
Change by Andy Lester : -- nosy: +petdance ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue29587] Generator/coroutine 'throw' discards exc_info state, which is bad

2020-04-30 Thread Ned Deily
Ned Deily added the comment: Whatever the resolution of this is, it seems to me that this sort of behavior change should not be introduced at this stage of 3.7.x's life. Whether it should go into 3.8.x should be Łukasz's call once the final change is in master and has stabilized. --

[issue29587] Generator/coroutine 'throw' discards exc_info state, which is bad

2020-04-30 Thread Yury Selivanov
Yury Selivanov added the comment: IMO this is a 3.9 fix. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40456] py_compile.main(): undefined name 'quiet'

2020-04-30 Thread STINNER Victor
New submission from STINNER Victor : pyflakes found 3 errors: Lib/py_compile.py:200:20 undefined name 'quiet' Lib/py_compile.py:204:20 undefined name 'quiet' Lib/py_compile.py:213:20 undefined name 'quiet' It seems like the code was introduced by PR 12976: commit 2e33ecd7c9b0cac3efc6fcbdd4547

[issue22640] Add silent mode for py_compile

2020-04-30 Thread STINNER Victor
STINNER Victor added the comment: It seems like this change introduced a regression in main(): see https://bugs.python.org/issue40456 -- nosy: +vstinner ___ Python tracker __

[issue40456] Complete adding silent mode for py_compile

2020-04-30 Thread Éric Araujo
Change by Éric Araujo : -- stage: -> patch review title: py_compile.main(): undefined name 'quiet' -> Complete adding silent mode for py_compile type: -> behavior ___ Python tracker

[issue40456] Complete adding silent mode for py_compile

2020-04-30 Thread Gregory Shevchenko
Change by Gregory Shevchenko : -- keywords: +patch nosy: +Gregory Shevchenko nosy_count: 2.0 -> 3.0 pull_requests: +19144 pull_request: https://github.com/python/cpython/pull/17134 ___ Python tracker

[issue29587] Generator/coroutine 'throw' discards exc_info state, which is bad

2020-04-30 Thread Guido van Rossum
Guido van Rossum added the comment: Could it be running out of memory due to excessive chaining of tracebacks? (And yes, it's 3.9 only.) -- ___ Python tracker ___ ___

[issue40448] ensurepip uses cache directory

2020-04-30 Thread Ned Deily
Change by Ned Deily : -- nosy: +dstufft, ncoghlan, pradyunsg ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40457] Python fails to compile/load _ssl module if OpenSSL is compiled with no-tls1-method

2020-04-30 Thread Mitch Lindgren
New submission from Mitch Lindgren : I'm working on a project which uses OpenSSL 1.1.1g. For security and compliance reasons, it is built with SSL and TLS < 1.2 methods compiled out, using the following OpenSSL build options: no-ssl no-ssl3 no-tls1 no-tls1_1 no-ssl3-method no-tls1-method no-tl

[issue40188] Azure Pipelines jobs failing randomly with: Unable to connect to azure.archive.ubuntu.com

2020-04-30 Thread STINNER Victor
STINNER Victor added the comment: I didn't see the issue recently. Moreover, Brett asked me to report Azure issues to https://github.com/python/core-workflow/ instead. So I close this issue. -- resolution: -> out of date stage: -> resolved status: open -> closed __

[issue39072] Azure Pipelines: git clone failed with: OpenSSL SSL_read: Connection was reset

2020-04-30 Thread STINNER Victor
STINNER Victor added the comment: I didn't see the issue recently. Moreover, Brett asked me to report Azure issues to https://github.com/python/core-workflow/ instead. So I close this issue. -- resolution: -> out of date stage: -> resolved status: open -> closed __

[issue1635741] Py_Finalize() doesn't clear all Python objects at exit

2020-04-30 Thread STINNER Victor
STINNER Victor added the comment: New changeset b66c0ff8af0c1a4adc6908897b2d05afc78cc27e by Victor Stinner in branch 'master': bpo-1635741: Fix compiler warning in _stat.c (GH-19822) https://github.com/python/cpython/commit/b66c0ff8af0c1a4adc6908897b2d05afc78cc27e -- __

[issue40444] multiprocessing.Pool deadlocks with only print statements

2020-04-30 Thread Ned Deily
Change by Ned Deily : -- nosy: +davin, pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue40457] Python fails to compile/load _ssl module if OpenSSL is compiled with no-tls1-method

2020-04-30 Thread Mitch Lindgren
Mitch Lindgren added the comment: I'd be happy to work on a patch for this. I think the simplest approach would be to change this block starting on line 3087: if (proto_version == PY_SSL_VERSION_TLS1) ctx = SSL_CTX_new(TLSv1_method()); #if HAVE_TLSv1_2 else if (proto_version =

[issue40445] compileall.compile_dir docs aren't updated for bpo-38112

2020-04-30 Thread Ned Deily
Change by Ned Deily : -- nosy: +petr.viktorin ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue39837] Make Azure Pipelines optional on GitHub PRs

2020-04-30 Thread Steve Dower
Steve Dower added the comment: Bugs in Python should continue to be reported here. Requests to change the workflow should be discussed on one of the core-workflow groups (I think Discourse is the primary one now, right?). Once an action is agreed upon, it gets tracked on the core-workflow tr

[issue39837] Make Azure Pipelines optional on GitHub PRs

2020-04-30 Thread Steve Dower
Steve Dower added the comment: Oh, and Victor, you should probably email python-dev to let everyone know you requested this change and it's been made. Otherwise people may be surprised that it changed without any discussion or notification. This is especially important if we have to disable

[issue40254] pyspecific directives are not translatable

2020-04-30 Thread Ned Deily
Change by Ned Deily : -- nosy: +eric.araujo, ezio.melotti, mdk, willingc ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue39837] Make Azure Pipelines optional on GitHub PRs

2020-04-30 Thread STINNER Victor
STINNER Victor added the comment: > Let's just hope that Travis has stabilised compared to when we switched away > from it, and maybe they have enough capacity now to handle our busy periods. Can't we be more flexible depending on the stability on CIs over the last weeks? I mean making a CI

[issue39837] Make Azure Pipelines optional on GitHub PRs

2020-04-30 Thread Ned Deily
Ned Deily added the comment: > In the past, the macOS job was very reliable. I have no idea why it became so > flaky, but I don't have the bandwidth to investigate, moreover it seems like > some issues are internal to Azure Pipelines / GH Actions, and I don't have > access to these. FWIW, I

[issue39837] Make Azure Pipelines optional on GitHub PRs

2020-04-30 Thread STINNER Victor
STINNER Victor added the comment: Steve: > Requests to change the workflow should be discussed on one of the > core-workflow groups (I think Discourse is the primary one now, right?). Once > an action is agreed upon, it gets tracked on the core-workflow tracker. > That's how we decided to tu

[issue40458] test_attribute_name_interning crashes on APPX test

2020-04-30 Thread Steve Dower
New submission from Steve Dower : The Windows CI machines on Azure Pipelines run additional tests to check an "installed" layout and with the UWP entry point that's used for the Windows Store package. These tests have been failing intermittently (though regularly) with a stack overflow crash

[issue39837] Make Azure Pipelines optional on GitHub PRs

2020-04-30 Thread Steve Dower
Steve Dower added the comment: > FWIW, I took a quick look at it and, with nothing to go on in the way of > visible messages, the best guess I could come up with is that the test run > step is hitting a time out and that, in that case, no status is shown. Anyone > know if that is a reasonabl

[issue39837] Make Azure Pipelines optional on GitHub PRs

2020-04-30 Thread Steve Dower
Steve Dower added the comment: > I'm not sure of what you mean by "no discussion", this issue has many > comments. Let's say, no consensus. There were three votes cast in this discussion - yours (+1), mine (-1) and Brett's (I'll assume +0 because he made the change, despite saying he didn't

[issue39837] Make Azure Pipelines optional on GitHub PRs

2020-04-30 Thread STINNER Victor
STINNER Victor added the comment: I understood that such issue should be discussed in the Core Workflow category of Discourse, so I created: "Make one Windows CI job mandatory" https://discuss.python.org/t/make-one-windows-ci-job-mandatory/4047 I suggest to continue the discussion there. --

[issue39691] Allow passing Pathlike objects to io.open_code

2020-04-30 Thread Shantanu
Change by Shantanu : -- keywords: +patch nosy: +hauntsaninja nosy_count: 3.0 -> 4.0 pull_requests: +19145 stage: -> patch review pull_request: https://github.com/python/cpython/pull/19824 ___ Python tracker

[issue39837] Make Azure Pipelines optional on GitHub PRs

2020-04-30 Thread STINNER Victor
STINNER Victor added the comment: Me: > macOS was already non-voting (optional), no? Steve: > Only because you complained about it here :) That was PR 18818 Alright, I forgot about the whole history. Well, it's not my fault if macOS decided to fail :-) I did my part, I fixed os.getgrouplist

[issue40459] [easy] undefined names in platform.py

2020-04-30 Thread STINNER Victor
New submission from STINNER Victor : pyflakes found the two following issues in platform.py: Lib/platform.py:401:35 undefined name 'HKEY_LOCAL_MACHINE' Lib/platform.py:402:25 undefined name 'QueryValueEx' Line 353: with winreg.OpenKeyEx(winreg.HKEY_LOCAL_MACHINE, cvkey) as key:

[issue40455] GCC 10 compiler warnings

2020-04-30 Thread Andy Lester
Andy Lester added the comment: Did you add any options to the ./configure call for cpython? What were they? -- ___ Python tracker ___

[issue40461] execution of file with pictures doesn't work in command --onefile in pyinstaller

2020-04-30 Thread Hugo Benavides
New submission from Hugo Benavides : hi, I have a problem to crete an executable using the command pyinstaller at the time of use the helper --onefile I've created an executable using the next instruction: pyinstaller --windowed --add-data "Rute PC to my Folder\Imagen";"Imagen" Aplicacion_

  1   2   >