[issue40463] csv.reader split error

2020-04-30 Thread SilentGhost
Change by SilentGhost : -- type: enhancement -> behavior versions: +Python 3.7, Python 3.8 -Python 3.6 ___ Python tracker ___ ___

[issue40463] csv.reader split error

2020-04-30 Thread wy7305e
New submission from wy7305e : #python 3.6 or python 3.8 csv.reader delimiter=',' quotechar='"' split this sentence: "A word of encouragement and explanation, of pity for my childish ignorance, of welcome home, of reassurance to me that it was home, might have made me dutiful to him in my

[issue40334] PEP 617: new PEG-based parser

2020-04-30 Thread Guido van Rossum
Guido van Rossum added the comment: New changeset 3e0a6f37dfdd595be737baae00ec0e036a912615 by Lysandros Nikolaou in branch 'master': bpo-40334: Add support for feature_version in new PEG parser (GH-19827) https://github.com/python/cpython/commit/3e0a6f37dfdd595be737baae00ec0e036a912615

[issue40334] PEP 617: new PEG-based parser

2020-04-30 Thread Guido van Rossum
Change by Guido van Rossum : -- pull_requests: +19150 pull_request: https://github.com/python/cpython/pull/19830 ___ Python tracker ___

[issue32604] Expose the subinterpreters C-API in Python for testing use.

2020-04-30 Thread Eric Snow
Change by Eric Snow : -- pull_requests: +19149 pull_request: https://github.com/python/cpython/pull/19829 ___ Python tracker ___

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

2020-04-30 Thread Kubilay Kocak
Kubilay Kocak added the comment: Provisioning new/additional swap to both of FreeBSD BB workers in the next few days. Apologies for the delay -- ___ Python tracker ___

[issue40334] PEP 617: new PEG-based parser

2020-04-30 Thread Guido van Rossum
Change by Guido van Rossum : -- pull_requests: +19148 pull_request: https://github.com/python/cpython/pull/19828 ___ Python tracker ___

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

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

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

2020-04-30 Thread STINNER Victor
STINNER Victor added the comment: Thanks for reviews! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue40275] test.support has way too many imports

2020-04-30 Thread STINNER Victor
STINNER Victor added the comment: New changeset 2935e65c36fab1989bbda19db72c035ea22b044b by Victor Stinner in branch 'master': bpo-40275: Fix name error in support.socket_helper (GH-19825) https://github.com/python/cpython/commit/2935e65c36fab1989bbda19db72c035ea22b044b --

[issue40334] PEP 617: new PEG-based parser

2020-04-30 Thread Lysandros Nikolaou
Change by Lysandros Nikolaou : -- pull_requests: +19147 pull_request: https://github.com/python/cpython/pull/19827 ___ Python tracker ___

[issue40455] GCC 10 compiler warnings

2020-04-30 Thread STINNER Victor
STINNER Victor added the comment: Andy Lester: > Did you add any options to the ./configure call for cpython? What were they? I reported warnings that I saw on a buildbot build. Extract of https://buildbot.python.org/all/#/builders/351/builds/406. configure step: ./configure --prefix

[issue40275] test.support has way too many imports

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

[issue40462] [easy] undefined name in Lib/test/mock_socket.py

2020-04-30 Thread STINNER Victor
STINNER Victor added the comment: Another one: Lib/unittest/test/test_program.py:191:40 undefined name 'hasInstallHandler' Code: def testBufferCatchFailfast(self): program = self.program for arg, attr in (('buffer', 'buffer'), ('failfast', 'failfast'),

[issue40334] PEP 617: new PEG-based parser

2020-04-30 Thread STINNER Victor
STINNER Victor added the comment: Warnings found by pyflakes: Lib/test/test_tools/test_c_analyzer/test_parser/test_declarations.py:115:31 undefined name 'lines' Lib/test/test_tools/test_c_analyzer/test_parser/test_declarations.py:116:25 undefined name 'lines'

[issue40462] [easy] undefined name in Lib/test/mock_socket.py

2020-04-30 Thread STINNER Victor
STINNER Victor added the comment: Another one: Lib/test/test_json/test_recursion.py:55:24 undefined name 'pyjson' Code: def test_defaultrecursion(self): class RecursiveJSONEncoder(self.json.JSONEncoder): recurse = False def default(self, o):

[issue40462] [easy] undefined name in Lib/test/mock_socket.py

2020-04-30 Thread STINNER Victor
STINNER Victor added the comment: Another one: Lib/test/test_frame.py:53:17 undefined name 'inner' I guess that self.inner() should be used instead of inner(). In practice, it's dead code, but fixing it would make pyflakes happier :-) -- ___

[issue40462] [easy] undefined name in Lib/test/mock_socket.py

2020-04-30 Thread STINNER Victor
New submission from STINNER Victor : pyflakes found the following issues in sendall(): Lib/test/mock_socket.py:95:21 undefined name 'data' Lib/test/mock_socket.py:96:28 undefined name 'data' Lib/test/mock_socket.py:97:20 undefined name 'data' Code: def sendall(self, buffer, flags=None):

[issue40460] [easy] undefined name in Lib/idlelib/zzdummy.py

2020-04-30 Thread STINNER Victor
New submission from STINNER Victor : pyflakes found the following issue: Lib/idlelib/zzdummy.py:31:33 undefined name 'ztest' Code: ztext = idleConf.GetOption('extensions', 'ZzDummy', 'z-text') (...) for line in range(1, text.index('end')): text.insert('%d.0', ztest)

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

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

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

[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

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

[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

[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

[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

[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

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

[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

[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

[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

[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

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

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

[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

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

[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

[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

[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

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

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

[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

[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

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

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

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

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

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

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

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

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

[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

[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

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

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

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

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

[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

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

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

[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

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

[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

[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

[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

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

[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

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

[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

[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

[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

[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

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

[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

[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

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

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

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

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

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

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

[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

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

[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

[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

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

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

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

[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 Ronald Oussoren
Ronald Oussoren added the comment: Do you get an error message when you start a command shell and type "python"? -- ___ Python tracker ___

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

[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

[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

  1   2   >