[issue43888] GitHub Actions CI/CD `Coverage` job is broken on master

2021-04-27 Thread Ammar Askar
Change by Ammar Askar : -- pull_requests: +24370 pull_request: https://github.com/python/cpython/pull/25679 ___ Python tracker ___

[issue43901] Lazy-create an empty annotations dict in all unannotated user classes and modules

2021-04-27 Thread Jelle Zijlstra
Jelle Zijlstra added the comment: For what it's worth, I checked grep.app and found only one usage of del on __annotations__, in a test suite: https://github.com/go-python/gpython/blob/master/py/tests/function.py#L82. Changing its behavior seems very low risk. -- nosy: +Jelle

[issue37892] IDLE Shell: isolate user code input

2021-04-27 Thread Terry J. Reedy
Change by Terry J. Reedy : -- keywords: +patch pull_requests: +24369 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/25678 ___ Python tracker

[issue37751] In codecs, function 'normalizestring' should convert both spaces and hyphens to underscores.

2021-04-27 Thread Inada Naoki
Inada Naoki added the comment: New changeset cf9d65c5af7905d9e9945a297dbbf15d3bcace15 by Miss Islington (bot) in branch '3.9': bpo-37751: Update `codecs.register()` doc. (GH-25643) https://github.com/python/cpython/commit/cf9d65c5af7905d9e9945a297dbbf15d3bcace15 --

[issue43963] test_interpreters has side effects on test_signal

2021-04-27 Thread STINNER Victor
STINNER Victor added the comment: New changeset a5e6e6df7d1d498576bab26deaddc288a7bd by Victor Stinner in branch 'master': bpo-43963: Add _signal module state (GH-25676) https://github.com/python/cpython/commit/a5e6e6df7d1d498576bab26deaddc288a7bd --

[issue37751] In codecs, function 'normalizestring' should convert both spaces and hyphens to underscores.

2021-04-27 Thread Inada Naoki
Inada Naoki added the comment: New changeset 5c84bb506aaca01f5f750116d8f7a41d41f8124d by Inada Naoki in branch 'master': bpo-37751: Update `codecs.register()` doc. (GH-25643) https://github.com/python/cpython/commit/5c84bb506aaca01f5f750116d8f7a41d41f8124d --

[issue37751] In codecs, function 'normalizestring' should convert both spaces and hyphens to underscores.

2021-04-27 Thread miss-islington
Change by miss-islington : -- pull_requests: +24368 pull_request: https://github.com/python/cpython/pull/25677 ___ Python tracker ___

[issue43963] test_interpreters has side effects on test_signal

2021-04-27 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +24367 pull_request: https://github.com/python/cpython/pull/25676 ___ Python tracker ___

[issue43939] Deadlock in logging

2021-04-27 Thread Raymond Hettinger
Raymond Hettinger added the comment: > I'm kind of puzzled on that fact that context manager solves it. It "solves" the problem because of the happenstance rather than because of language guarantees. The current implementation of the with-statement in CPython is to generate a SETUP_WITH

[issue43901] Lazy-create an empty annotations dict in all unannotated user classes and modules

2021-04-27 Thread Larry Hastings
Larry Hastings added the comment: I think the PR is in good shape. If anybody has the time for a review, I'd appreciate it! -- ___ Python tracker ___

[issue43961] [Windows] test_logging.test_namer_rotator_inheritance() logs a logging error

2021-04-27 Thread Steve Dower
Steve Dower added the comment: What does os.rename do on Linux? Does it just overwrite existing files by default? -- ___ Python tracker ___

[issue43955] Windows: Running the Python test suite sequentially is interrupted by (Pdb) prompt

2021-04-27 Thread Steve Dower
Change by Steve Dower : -- keywords: +patch pull_requests: +24366 stage: -> patch review pull_request: https://github.com/python/cpython/pull/25675 ___ Python tracker ___

[issue43963] test_interpreters has side effects on test_signal

2021-04-27 Thread STINNER Victor
Change by STINNER Victor : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue43963] test_interpreters has side effects on test_signal

2021-04-27 Thread STINNER Victor
STINNER Victor added the comment: New changeset a09766deab5aff549f40f27080895e148af922ed by Victor Stinner in branch 'master': bpo-43963: Fix import _signal in subinterpreters (GH-25674) https://github.com/python/cpython/commit/a09766deab5aff549f40f27080895e148af922ed --

[issue43955] Windows: Running the Python test suite sequentially is interrupted by (Pdb) prompt

2021-04-27 Thread STINNER Victor
STINNER Victor added the comment: FYI I used the following patch to debug this issue: diff --git a/Lib/unittest/case.py b/Lib/unittest/case.py index 872f121127..ee2e1ff77f 100644 --- a/Lib/unittest/case.py +++ b/Lib/unittest/case.py @@ -546,6 +546,8 @@ def _callSetUp(self):

[issue41713] _signal module leak: test_interpreters leaked [1424, 1422, 1424] references

2021-04-27 Thread STINNER Victor
STINNER Victor added the comment: > bpo-41713: Port _signal module to multi-phase init (GH-23355) This change caused a regression: bpo-43963. -- ___ Python tracker ___

[issue43963] test_interpreters has side effects on test_signal

2021-04-27 Thread STINNER Victor
STINNER Victor added the comment: This issue is a follow-up of bpo-41713: commit 7f9b25a21ab95f8cf8d663396993766307be475c Author: Victor Stinner Date: Tue Nov 17 23:28:25 2020 +0100 bpo-41713: Port _signal module to multi-phase init (GH-23355) Port the _signal extension

[issue43963] test_interpreters has side effects on test_signal

2021-04-27 Thread STINNER Victor
STINNER Victor added the comment: See also bpo-43955: "Windows: Running the Python test suite sequentially is interrupted by (Pdb) prompt". -- ___ Python tracker ___

[issue43955] Windows: Running the Python test suite sequentially is interrupted by (Pdb) prompt

2021-04-27 Thread STINNER Victor
STINNER Victor added the comment: Running these 3 tests is enough to reproduce the issue: --- vstinner@DESKTOP-DK7VBIL C:\vstinner\python\master>python -m test test_interpreters test_pdb test_threading Running Debug|x64 interpreter... 0:00:00 Run tests sequentially 0:00:00

[issue43963] test_interpreters has side effects on test_signal

2021-04-27 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +24365 stage: -> patch review pull_request: https://github.com/python/cpython/pull/25674 ___ Python tracker ___

[issue43955] Windows: Running the Python test suite sequentially is interrupted by (Pdb) prompt

2021-04-27 Thread STINNER Victor
STINNER Victor added the comment: See also bpo-43963: "test_interpreters has side effects on test_signal". -- ___ Python tracker ___

[issue43963] test_interpreters has side effects on test_signal

2021-04-27 Thread STINNER Victor
STINNER Victor added the comment: See also bpo-43962: "test_interpreters: when TestInterpreterAttrs.test_id_type() is run alone, it fails with an assertion error". -- ___ Python tracker

[issue43963] test_interpreters has side effects on test_signal

2021-04-27 Thread STINNER Victor
New submission from STINNER Victor : vstinner@DESKTOP-DK7VBIL C:\vstinner\python\master>type bisect3 test.test_signal.RaiseSignalTest.test_handler test.test_interpreters.TestInterpreterAttrs.test_main_id test.test_interpreters.TestInterpreterClose.test_from_sibling vstinner@DESKTOP-DK7VBIL

[issue43960] test_pdb fails when only some tests are run

2021-04-27 Thread Irit Katriel
Irit Katriel added the comment: I scanned the file and I think this was the only test where this was missing. test_pdb_continue_in_bottomframe doesn't have a reset, but it doesn't expect a specific breakpoint number, it does: Breakpoint ... at

[issue43962] test_interpreters: when TestInterpreterAttrs.test_id_type() is run alone, it fails with an assertion error

2021-04-27 Thread STINNER Victor
Change by STINNER Victor : -- title: test_interpreters: when test_id_type() is run alone, it fails with an assertion error -> test_interpreters: when TestInterpreterAttrs.test_id_type() is run alone, it fails with an assertion error ___ Python

[issue43962] test_interpreters: when test_id_type() is run alone, it fails with an assertion error

2021-04-27 Thread STINNER Victor
New submission from STINNER Victor : Example on Linux. $ ./python -m test test_interpreters -m test.test_interpreters.TestInterpreterAttrs.test_id_type 0:00:00 load avg: 1.20 Run tests sequentially 0:00:00 load avg: 1.20 [1/1] test_interpreters python: Python/pystate.c:561:

[issue43960] test_pdb fails when only some tests are run

2021-04-27 Thread Irit Katriel
Change by Irit Katriel : -- keywords: +patch pull_requests: +24364 stage: -> patch review pull_request: https://github.com/python/cpython/pull/25673 ___ Python tracker ___

[issue43960] test_pdb fails when only some tests are run

2021-04-27 Thread Irit Katriel
Irit Katriel added the comment: I have a fix, I'll make a PR in a bit. The issue here is the breakpoint number: Breakpoint 1 at https://github.com/python/cpython/pull/21989/files So I will make this test use it. -- nosy: +iritkatriel ___ Python

[issue43955] Windows: Running the Python test suite sequentially is interrupted by (Pdb) prompt

2021-04-27 Thread STINNER Victor
Change by STINNER Victor : -- title: Test Failures on Windows 10 -> Windows: Running the Python test suite sequentially is interrupted by (Pdb) prompt ___ Python tracker ___

[issue43954] Possible missing word on unittest doc

2021-04-27 Thread Inada Naoki
Inada Naoki added the comment: namespace package support is broken since Python 3.7. See https://bugs.python.org/issue23882#msg387549 We can not use namespace package even if top level directory is specified. -- ___ Python tracker

[issue26629] Need an ability to build standard DLLs with distutils

2021-04-27 Thread Irit Katriel
Irit Katriel added the comment: distutils is deprecated and python 2.7 is past EOL. -- nosy: +iritkatriel resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker

[issue43954] Possible missing word on unittest doc

2021-04-27 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch nosy: +ZackerySpytz nosy_count: 4.0 -> 5.0 pull_requests: +24363 stage: -> patch review pull_request: https://github.com/python/cpython/pull/25672 ___ Python tracker

[issue25817] modsupport: 'countformat' does not handle strings without bracket levels correctly

2021-04-27 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue43955] Test Failures on Windows 10

2021-04-27 Thread Guido van Rossum
Guido van Rossum added the comment: Doesn't the pdb prompt use the builtin input()? -- ___ Python tracker ___ ___ Python-bugs-list

[issue43955] Test Failures on Windows 10

2021-04-27 Thread STINNER Victor
STINNER Victor added the comment: Oh. I also got this surprising (Pdb) prompt when running "python -m test" on Windows. The prompt doesn't display any output, I only get the prompt display (...) 0:34:05 load avg: 1.06 [300/426/2] test_select 0:34:08 load avg: 1.03 [301/426/2] test_selectors

[issue43955] Test Failures on Windows 10

2021-04-27 Thread STINNER Victor
STINNER Victor added the comment: For test_logging test_namer_rotator_inheritance() error: I created bpo-43961 "[Windows] test_logging.test_namer_rotator_inheritance() logs a logging error". It doesn't like like an error and it only happens on Windows. --

[issue43961] [Windows] test_logging.test_namer_rotator_inheritance() logs a logging error

2021-04-27 Thread STINNER Victor
Change by STINNER Victor : -- components: +Windows nosy: +paul.moore, steve.dower, tim.golden, zach.ware title: test_logging.test_namer_rotator_inheritance() logs a logging error -> [Windows] test_logging.test_namer_rotator_inheritance() logs a logging error

[issue43961] test_logging.test_namer_rotator_inheritance() logs a logging error

2021-04-27 Thread STINNER Victor
STINNER Victor added the comment: Ah, I only see this output on Windows. On Linux, I don't see it. -- ___ Python tracker ___ ___

[issue43961] test_logging.test_namer_rotator_inheritance() logs a logging error

2021-04-27 Thread STINNER Victor
New submission from STINNER Victor : vstinner@DESKTOP-DK7VBIL C:\vstinner\python\master>python -m test test_logging -m test_namer_rotator_inheritance Running Debug|x64 interpreter... 0:00:00 Run tests sequentially 0:00:00 [1/1] test_logging --- Logging error --- Traceback (most recent call

[issue43955] Test Failures on Windows 10

2021-04-27 Thread STINNER Victor
STINNER Victor added the comment: > To make it more confusing, all 4 tests passed when I ran with `-j` (to force > parallel test execution) - but then test_compileall failed instead :-) bpo-37387 "test_compileall fails randomly on Windows when tests are run in parallel" about random

[issue43955] Test Failures on Windows 10

2021-04-27 Thread Tim Peters
Tim Peters added the comment: Shreyan Avigyan: > And the "(Pdb) continue (...) actually is manually entered by me. Victor Stinner: Do you mean that you modified the Python source code? Me: Doubt it. For me, with more words: the "(Pdb) " prompt appears all by itself, by magic, and the test

[issue43955] Test Failures on Windows 10

2021-04-27 Thread Steve Dower
Steve Dower added the comment: I think the test failures cascade, and some state is not being cleaned up. I'm trying to work through them now, but if someone else is as well, do say so and I'll find something else to do. -- ___ Python tracker

[issue43955] Test Failures on Windows 10

2021-04-27 Thread STINNER Victor
STINNER Victor added the comment: Shreyan Avigyan: > And the "(Pdb) continue (...) actually is manually entered by me. Do you mean that you modified the Python source code? Does the issue go away if you revert your change or if you test a newly installed Python? --

[issue43955] Test Failures on Windows 10

2021-04-27 Thread STINNER Victor
STINNER Victor added the comment: File "C:\github\cpython\lib\test\test_distutils.py", line 15, in import distutils.tests File "C:\github\cpython\lib\contextlib.py", line 140, in __exit__ next(self.gen) File "C:\github\cpython\lib\test\support\warnings_helper.py", line 179, in

[issue43960] test_pdb fails when only some tests are run

2021-04-27 Thread STINNER Victor
New submission from STINNER Victor : test_pdb fails with the following commands. I tested on Linux, same/similar failure on Windows. See also bpo-41914: "test_pdb fails". $ cat bisect test.test_pdb.PdbTestCase.test_run_module test.test_pdb.test_next_until_return_at_return_event

[issue8978] "tarfile.ReadError: file could not be opened successfully" if compiled without zlib

2021-04-27 Thread STINNER Victor
Change by STINNER Victor : -- nosy: -vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue19348] Building _testcapimodule as a builtin results in compile error

2021-04-27 Thread STINNER Victor
STINNER Victor added the comment: The C API was deeply reworked since 2013. This issue was reported in Python 2.7. I'm confident that it has been fixed in the meanwhile. -- resolution: out of date -> fixed stage: -> resolved status: pending -> closed

[issue43959] Improve documentation of PyContextVar C-API

2021-04-27 Thread Stefan Behnel
Change by Stefan Behnel : -- keywords: +patch pull_requests: +24362 stage: -> patch review pull_request: https://github.com/python/cpython/pull/25671 ___ Python tracker ___

[issue43939] Deadlock in logging

2021-04-27 Thread DaRoee
DaRoee added the comment: Ha! Already gave them my analysis, and stopped using that package since. While I certainly think this is not the trivial, basic usage, and that the pattern used for the lock is common (and part of some PEP if I remember correctly), I'm kind of puzzled on that fact

[issue43959] Improve documentation of PyContextVar C-API

2021-04-27 Thread Stefan Behnel
New submission from Stefan Behnel : The documentation of the PyContextVar C-API is unclear in a couple of places. - It's not clear whether PyContextVar_Get() always returns an owned reference also for default values or only if a value was found. - It's not explicit that "optional" actually

[issue42957] os.readlink produces wrong result on windows

2021-04-27 Thread Steve Dower
Change by Steve Dower : -- pull_requests: -24360 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43957] [Enum] update __contains__ to return True for valid values

2021-04-27 Thread Ethan Furman
Ethan Furman added the comment: New changeset 6bd9288b805c765ec2433f66aa4d82e05767325f by Ethan Furman in branch 'master': bpo-43957: [Enum] Deprecate ``TypeError`` from containment checks. (GH-25670) https://github.com/python/cpython/commit/6bd9288b805c765ec2433f66aa4d82e05767325f

[issue43957] [Enum] update __contains__ to return True for valid values

2021-04-27 Thread Ethan Furman
Change by Ethan Furman : -- keywords: +patch pull_requests: +24361 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/25670 ___ Python tracker

[issue42957] os.readlink produces wrong result on windows

2021-04-27 Thread Ethan Furman
Change by Ethan Furman : -- pull_requests: +24360 pull_request: https://github.com/python/cpython/pull/25670 ___ Python tracker ___

[issue42957] os.readlink produces wrong result on windows

2021-04-27 Thread Steve Dower
Change by Steve Dower : -- pull_requests: -24359 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43492] Upgrade to SQLite 3.35.5 in macOS and Windows

2021-04-27 Thread Steve Dower
Steve Dower added the comment: Thanks for the backports! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.8, Python 3.9 ___ Python tracker

[issue43492] Upgrade to SQLite 3.35.5 in macOS and Windows

2021-04-27 Thread Steve Dower
Steve Dower added the comment: New changeset 5cadcec5ecf6f95cc771e509ad98c3e3533b32bb by Erlend Egeberg Aasland in branch '3.9': [3.9] bpo-43492: Upgrade Windows installer to use SQLite 3.35.5 (GH-25641) https://github.com/python/cpython/commit/5cadcec5ecf6f95cc771e509ad98c3e3533b32bb

[issue43492] Upgrade to SQLite 3.35.5 in macOS and Windows

2021-04-27 Thread Steve Dower
Steve Dower added the comment: New changeset 7f7cfc41185b651be9cb4d2759c40c3abf738485 by Erlend Egeberg Aasland in branch '3.8': [3.8] bpo-43492: Upgrade Windows installer to use SQLite 3.35.5 (GH-25641) https://github.com/python/cpython/commit/7f7cfc41185b651be9cb4d2759c40c3abf738485

[issue42957] os.readlink produces wrong result on windows

2021-04-27 Thread Ethan Furman
Change by Ethan Furman : -- nosy: +ethan.furman nosy_count: 6.0 -> 7.0 pull_requests: +24359 pull_request: https://github.com/python/cpython/pull/25670 ___ Python tracker ___

[issue43958] Importlib.metadata docs claim PackagePath is a Path subclass

2021-04-27 Thread Paul Moore
Change by Paul Moore : -- keywords: +patch pull_requests: +24358 stage: -> patch review pull_request: https://github.com/python/cpython/pull/25669 ___ Python tracker ___

[issue43958] Importlib.metadata docs claim PackagePath is a Path subclass

2021-04-27 Thread Paul Moore
New submission from Paul Moore : The importlib.metadata documentation states that the PackagePath class is "a pathlib.Path derived object". This isn't true - it's a PurePath subclass, and in particular it does not have a resolve() method. In fact, it has an undocumented custom locate()

[issue43795] Implement PEP 652 -- Maintaining the Stable ABI

2021-04-27 Thread Petr Viktorin
Change by Petr Viktorin : -- pull_requests: +24357 pull_request: https://github.com/python/cpython/pull/25668 ___ Python tracker ___

[issue43957] [Enum] update __contains__ to return True for valid values

2021-04-27 Thread Ethan Furman
New submission from Ethan Furman : In 3.12 `__contains__` will check for both members and values: Color.RED in Color --> True 1 in Color --> True 'RED' in Color --> False Add DeprecationWarning for now. -- assignee: ethan.furman messages: 392122 nosy:

[issue43955] Test Failures on Windows 10

2021-04-27 Thread Guido van Rossum
Guido van Rossum added the comment: Yes, I also see that pdb prompt. I recommend looking at what different configurations are used by test.libregrtest.main() when no tests are passed on the command line. -- ___ Python tracker

[issue43955] Test Failures on Windows 10

2021-04-27 Thread Shreyan Avigyan
Shreyan Avigyan added the comment: Yes you're right. Running the failed tests individually does not trigger the errors. And the (Pdb) continue (Pdb) continue (Pdb) continue (Pdb) continue actually is manually entered by me. My tests also stop at that prompt but somehow entering these

[issue43955] Test Failures on Windows 10

2021-04-27 Thread Tim Peters
Tim Peters added the comment: I expect parallelism is a red herring: early in the test output attached to this report: 0:00:04 Run tests sequentially and there's no other evidence in the output that multiple tests are running simultaneously. Also on Win10, the 4 failing tests here pass

[issue43955] Test Failures on Windows 10

2021-04-27 Thread Guido van Rossum
Guido van Rossum added the comment: Can you submit a PR that fixes it? -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue43955] Test Failures on Windows 10

2021-04-27 Thread Shreyan Avigyan
Shreyan Avigyan added the comment: The test expects the but gets sigint_handler method of a pdb.Pdb instance instead. -- ___ Python tracker ___

[issue43563] Use dedicated opcodes to speed up calls/attribute lookups with super() as receiver

2021-04-27 Thread Vladimir Matveev
Vladimir Matveev added the comment: Apologies for the delay in reply: in more concrete numbers for IG codebase enabling this optimization resulted in 0.2% CPU win. -- ___ Python tracker

[issue43532] Add keyword-only fields to dataclasses

2021-04-27 Thread Eric V. Smith
Eric V. Smith added the comment: > Will this close https://bugs.python.org/issue36077 ? No, not directly, although I'm going to close that issue as "won't fix". But you can specify that the child class requires all params as kw_only. Continuing the example: >>> @dataclass(kw_only=True) ...

[issue43955] Test Failures on Windows 10

2021-04-27 Thread Shreyan Avigyan
Shreyan Avigyan added the comment: Pdb error source - https://github.com/python/cpython/blob/9aea31deddf7458be3546f72185740f3cd06687f/Lib/test/test_pdb.py#L1270 This is where the error in Pdb is originating from. -- ___ Python tracker

[issue43956] C-API: Incorrect default value for Py_SetProgramName

2021-04-27 Thread Jouke Witteveen
New submission from Jouke Witteveen : The default program name is hardcoded in Python/initconfig.c:config_init_program_name. It is "python" on Windows, and "python3" elsewhere. The documentation currently suggests that it is "python" everywhere. Additionally, the documentation currently

[issue43492] Upgrade to SQLite 3.35.5 in macOS and Windows

2021-04-27 Thread Erlend Egeberg Aasland
Change by Erlend Egeberg Aasland : -- pull_requests: +24355 pull_request: https://github.com/python/cpython/pull/25666 ___ Python tracker ___

[issue43492] Upgrade to SQLite 3.35.5 in macOS and Windows

2021-04-27 Thread Erlend Egeberg Aasland
Change by Erlend Egeberg Aasland : -- pull_requests: +24354 pull_request: https://github.com/python/cpython/pull/25665 ___ Python tracker ___

[issue43492] Upgrade to SQLite 3.35.5 in macOS and Windows

2021-04-27 Thread miss-islington
miss-islington added the comment: New changeset bf0736db455517412b0702b023dc71ed9de05d70 by Miss Islington (bot) in branch '3.9': [3.9] bpo-43492: Update macOS installer to use SQLite 3.35.5 (GH-25640) (GH-25662)

[issue8978] "tarfile.ReadError: file could not be opened successfully" if compiled without zlib

2021-04-27 Thread miss-islington
miss-islington added the comment: New changeset 9aea31deddf7458be3546f72185740f3cd06687f by Anthony Sottile in branch 'master': bpo-8978: improve tarfile.open error message when lzma / bz2 are missing (GH-24850)

[issue43492] Upgrade to SQLite 3.35.5 in macOS and Windows

2021-04-27 Thread miss-islington
miss-islington added the comment: New changeset e013d8df2c9b6ea5bc9ae92a10950157e6cb46d6 by Miss Islington (bot) in branch '3.8': bpo-43492: Update macOS installer to use SQLite 3.35.5 (GH-25640) https://github.com/python/cpython/commit/e013d8df2c9b6ea5bc9ae92a10950157e6cb46d6 --

[issue43955] Test Failures on Windows 10

2021-04-27 Thread Guido van Rossum
Guido van Rossum added the comment: I wonder if these four tests do something that affects all threads? The test driver module runs tests in parallel (if you ask it to run all or most tests, like the default). -- ___ Python tracker

[issue43947] lambdas stored with assignment expressions are unoptimized

2021-04-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: It was fixed in issue42282. -- nosy: +serhiy.storchaka resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Constant folding is skipped in named expressions ___ Python tracker

[issue19348] Building _testcapimodule as a builtin results in compile error

2021-04-27 Thread Irit Katriel
Irit Katriel added the comment: I think this was fixed by https://github.com/python/cpython/commit/5c75f37d473140f0e0b7d9bf3a8c08343447ded1 which added "#undef Py_BUILD_CORE_MODULE" to _testcapimodule.c. -- nosy: +iritkatriel resolution: -> out of date status: open -> pending

[issue43492] Upgrade to SQLite 3.35.5 in macOS and Windows

2021-04-27 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 10.0 -> 11.0 pull_requests: +24352 pull_request: https://github.com/python/cpython/pull/25662 ___ Python tracker

[issue43492] Upgrade to SQLite 3.35.5 in macOS and Windows

2021-04-27 Thread Ned Deily
Ned Deily added the comment: New changeset ce827816442613f982c356aa2f434c3c8a0c8917 by Erlend Egeberg Aasland in branch 'master': bpo-43492: Update macOS installer to use SQLite 3.35.5 (GH-25640) https://github.com/python/cpython/commit/ce827816442613f982c356aa2f434c3c8a0c8917 --

[issue43492] Upgrade to SQLite 3.35.5 in macOS and Windows

2021-04-27 Thread miss-islington
Change by miss-islington : -- pull_requests: +24353 pull_request: https://github.com/python/cpython/pull/25663 ___ Python tracker ___

[issue43955] Test Failures on Windows 10

2021-04-27 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- nosy: -pablogsal ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43908] array.array should remain immutable

2021-04-27 Thread Shreyan Avigyan
Shreyan Avigyan added the comment: See issue https://bugs.python.org/issue43955 for the test failures. -- ___ Python tracker ___

[issue43955] Test Failures on Windows 10

2021-04-27 Thread Christian Heimes
Change by Christian Heimes : -- nosy: -christian.heimes ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43955] Test Failures on Windows 10

2021-04-27 Thread Erlend Egeberg Aasland
Change by Erlend Egeberg Aasland : -- nosy: -erlendaasland ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43955] Test Failures on Windows 10

2021-04-27 Thread Shreyan Avigyan
New submission from Shreyan Avigyan : Recent test failures have been noticed on Windows 10. The full test log has been attached. The tests test_distutils, test_pdb, test_signal and test_threading require a little bit of attention since there seems to be some kind of error. --

[issue43908] array.array should remain immutable

2021-04-27 Thread Shreyan Avigyan
Shreyan Avigyan added the comment: Since, these changes and the test failures are not related to each other at all, I'm opening a new issue addressing the test failures only. I'm adding everyone in this issue's nosy to the new issue's nosy as well. --

[issue43492] Upgrade to SQLite 3.35.5 in macOS and Windows

2021-04-27 Thread Steve Dower
Steve Dower added the comment: New changeset bf0c7c0147b73738cac63eb27ef48430284ff121 by Erlend Egeberg Aasland in branch 'master': bpo-43492: Upgrade Windows installer to use SQLite 3.35.5 (GH-25641) https://github.com/python/cpython/commit/bf0c7c0147b73738cac63eb27ef48430284ff121

[issue43908] array.array should remain immutable

2021-04-27 Thread Shreyan Avigyan
Shreyan Avigyan added the comment: There are no errors in apply-to-all.diff because I've ran the tests both with and without the changes and both give me the same output. It's safe to proceed with apply-to-all.diff. The only problem is why are the tests failing at all? I ran the tests a few

[issue43946] unpickling a subclass of list fails when it implements its own extend method

2021-04-27 Thread Gregory P. Smith
Gregory P. Smith added the comment: Thanks, that makes sense. And it at least less ugly than the __new__ hack I was thinking of as a workaround. though similar in spirit. presumably self.append should get the same treatment for completeness given the PEP 307 text. I didn't notice a place

[issue43492] Upgrade to SQLite 3.35.5 in macOS and Windows

2021-04-27 Thread Erlend Egeberg Aasland
Erlend Egeberg Aasland added the comment: Thank you, Steve! -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue43908] array.array should remain immutable

2021-04-27 Thread Guido van Rossum
Guido van Rossum added the comment: I don't think I've ever successfully managed to complete the test on my Windows 10 box either (not even in "production" mode -- you seem to be using debug mode). I recommend using creating a new PR and having the CI machinery run the tests. It's more

[issue43766] Implement PEP 647 (User-Defined Type Guards) in typing.py

2021-04-27 Thread Ken Jin
Ken Jin added the comment: Guido, thanks so much for reviewing the docs for TypeGuard so thoroughly even with how busy you are. I hope you enjoy your upcoming vacation :). I'm closing this issue as all PRs have landed. Please don't hesitate to re-open this if you feel something's amiss.

[issue43864] [Windows] test_importlib logs: DeprecationWarning: WindowsRegistryFinder.find_module() is deprecated and slated for removal in Python 3.12; use find_spec() instead

2021-04-27 Thread Steve Dower
Change by Steve Dower : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue43864] [Windows] test_importlib logs: DeprecationWarning: WindowsRegistryFinder.find_module() is deprecated and slated for removal in Python 3.12; use find_spec() instead

2021-04-27 Thread Steve Dower
Steve Dower added the comment: New changeset e3bf179642a3445fb079454f382b93d0177f5012 by Shreyan Avigyan in branch 'master': bpo-43864: Silence deprecation warning in test_importlib.test_module_found and test_importlib.test_module_not_found (GH-25656)

[issue43766] Implement PEP 647 (User-Defined Type Guards) in typing.py

2021-04-27 Thread Guido van Rossum
Guido van Rossum added the comment: New changeset 99fdd782007db86f20aeb302b2ceaf79ce1ae2ba by Ken Jin in branch 'master': bpo-43766: Fix TypeGuard docs (#25660) https://github.com/python/cpython/commit/99fdd782007db86f20aeb302b2ceaf79ce1ae2ba --

[issue43492] Upgrade to SQLite 3.35.5 in macOS and Windows

2021-04-27 Thread Steve Dower
Steve Dower added the comment: I've pushed the new sources and retriggered the PR (a bit messily, because I tagged/labelled the wrong version number initially, but it's there now). So if it all passes then we're good from my POV. -- ___ Python

[issue43216] Removal of @asyncio.coroutine in Python 3.11

2021-04-27 Thread STINNER Victor
STINNER Victor added the comment: I suggest to wait for Python 3.11 to remove it. See the thread on python-dev: https://mail.python.org/archives/list/python-...@python.org/thread/PLSLFTJXY2JUIRGJARBER4SRUWDXX2AQ/ -- nosy: +vstinner title: Removal of @asyncio.coroutine in Python 3.10

  1   2   >