[issue45020] Freeze all modules imported during startup.

2021-09-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 369bf949ccbb689cd4638b29b4c0c12db79b927c by Terry Jan Reedy in branch 'main': bpo-45020: Don't test IDLE with frozen module. (GH-28344) https://github.com/python/cpython/commit/369bf949ccbb689cd4638b29b4c0c12db79b927c -- _

[issue45020] Freeze all modules imported during startup.

2021-09-15 Thread miss-islington
Change by miss-islington : -- pull_requests: +26759 pull_request: https://github.com/python/cpython/pull/28346 ___ Python tracker ___ __

[issue45020] Freeze all modules imported during startup.

2021-09-15 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 15.0 -> 16.0 pull_requests: +26758 pull_request: https://github.com/python/cpython/pull/28345 ___ Python tracker ___

[issue45193] IDLE Show completions pop-up not working on Ubuntu Linux

2021-09-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 1afc7b3219b24c951bb4e6b7e1ead904228de074 by Terry Jan Reedy in branch 'main': bpo-45193: Restore IDLE completion boxes on Ubuntu (GH-28343) https://github.com/python/cpython/commit/1afc7b3219b24c951bb4e6b7e1ead904228de074 -- _

[issue45193] IDLE Show completions pop-up not working on Ubuntu Linux

2021-09-15 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 5.0 -> 6.0 pull_requests: +26760 pull_request: https://github.com/python/cpython/pull/28347 ___ Python tracker _

[issue45193] IDLE Show completions pop-up not working on Ubuntu Linux

2021-09-15 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +26761 pull_request: https://github.com/python/cpython/pull/28348 ___ Python tracker ___ __

[issue45020] Freeze all modules imported during startup.

2021-09-15 Thread miss-islington
miss-islington added the comment: New changeset 8a9396cf1d9e1ce558841095e1ce0d3c23b7a8aa by Miss Islington (bot) in branch '3.10': bpo-45020: Don't test IDLE with frozen module. (GH-28344) https://github.com/python/cpython/commit/8a9396cf1d9e1ce558841095e1ce0d3c23b7a8aa --

[issue45020] Freeze all modules imported during startup.

2021-09-15 Thread miss-islington
miss-islington added the comment: New changeset f71b86e0ae194613d235086755c6a44266978be1 by Miss Islington (bot) in branch '3.9': bpo-45020: Don't test IDLE with frozen module. (GH-28344) https://github.com/python/cpython/commit/f71b86e0ae194613d235086755c6a44266978be1 -- _

[issue45193] IDLE Show completions pop-up not working on Ubuntu Linux

2021-09-15 Thread miss-islington
miss-islington added the comment: New changeset 0c64569ac7066a97e4482c6d6e4d780806692ae5 by Miss Islington (bot) in branch '3.10': bpo-45193: Restore IDLE completion boxes on Ubuntu (GH-28343) https://github.com/python/cpython/commit/0c64569ac7066a97e4482c6d6e4d780806692ae5 --

[issue45189] Drop the "list_frozen" command from _test_embed.

2021-09-15 Thread STINNER Victor
STINNER Victor added the comment: I found a new _imp._frozen_module_names() function: $ ./python Python 3.11.0a0 (heads/main:1afc7b3219, Sep 15 2021, 10:22:28) [GCC >>> import _imp; _imp._frozen_module_names() ['_frozen_importlib', '_frozen_importlib_external', 'zipimport'] --

[issue45152] Prepare for splitting LOAD_CONST into several opcodes

2021-09-15 Thread Irit Katriel
Irit Katriel added the comment: New changeset 40d2ac92f9a28a486156dafdbb613016bb1f6b98 by Irit Katriel in branch 'main': bpo-45152: refactor the dis module to make handling of hasconst opcodes more generic (GH-28258) https://github.com/python/cpython/commit/40d2ac92f9a28a486156dafdbb613016bb

[issue40746] test_gdb failing on 32-bit armv7l when built with GCC -Og (fail on Raspbian on 3.9, regression from 3.8)

2021-09-15 Thread STINNER Victor
STINNER Victor added the comment: test_gdb now pass on ARM Raspbian 3.x. I'm not sure why test_gdb fails on 3.10 but pass on 3.x. For me, it looks more like a gcc or gdb issue, rather than a Python bug. ARM Raspbian 3.10: https://buildbot.python.org/all/#/builders/685/builds/76 test.pythoni

[issue40746] test_gdb failing on 32-bit armv7l when built with GCC -Og: Cannot access memory at address 0xfffffedc

2021-09-15 Thread STINNER Victor
Change by STINNER Victor : -- title: test_gdb failing on 32-bit armv7l when built with GCC -Og (fail on Raspbian on 3.9, regression from 3.8) -> test_gdb failing on 32-bit armv7l when built with GCC -Og: Cannot access memory at address 0xfedc ___

[issue45152] Prepare for splitting LOAD_CONST into several opcodes

2021-09-15 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue44022] CVE-2021-3737: urllib http client possible infinite loop on a 100 Continue response

2021-09-15 Thread STINNER Victor
STINNER Victor added the comment: Matej Cepl: "Is there a CVE for this?" Yes, CVE-2021-3737 was assigned to this issue. * https://access.redhat.com/security/cve/CVE-2021-3737 * https://bugzilla.redhat.com/show_bug.cgi?id=1995162 -- nosy: +vstinner title: urllib http client possible i

[issue44022] CVE-2021-3737: urllib http client possible infinite loop on a 100 Continue response

2021-09-15 Thread STINNER Victor
STINNER Victor added the comment: I created https://python-security.readthedocs.io/vuln/urllib-100-continue-loop.html to track the issue. -- ___ Python tracker ___ _

[issue44022] CVE-2021-3737: urllib http client possible infinite loop on a 100 Continue response

2021-09-15 Thread STINNER Victor
STINNER Victor added the comment: I'm not sure why the fix in the main branch was not listed here: commit 47895e31b6f626bc6ce47d175fe9d43c1098909d Author: Gen Xu Date: Wed May 5 15:42:41 2021 -0700 bpo-44022: Fix http client infinite line reading (DoS) after a HTTP 100 Continue (GH-25

[issue45202] Add 'remove_barry_from_BDFL' future to revert effects of 'from __future__ import barry_as_FLUFL'

2021-09-15 Thread theeshallnotknowethme
New submission from theeshallnotknowethme : Add a flag named 'CO_FUTURE_REVOLT_AND_REMOVE_BARRY_FROM_BDFL' assigned to `0x200` that can be activated with 'from __future__ import remove_barry_from_BDFL'. Reverts the effects of 'from __future__ import barry_as_FLUFL' and adds the 'CO_FUTURE

[issue45202] Add 'remove_barry_from_BDFL' future to revert effects of 'from __future__ import barry_as_FLUFL'

2021-09-15 Thread theeshallnotknowethme
Change by theeshallnotknowethme : -- keywords: +patch pull_requests: +26762 stage: -> patch review pull_request: https://github.com/python/cpython/pull/28349 ___ Python tracker __

[issue21302] time.sleep (floatsleep()) should use clock_nanosleep() on Linux

2021-09-15 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +26764 pull_request: https://github.com/python/cpython/pull/28350 ___ Python tracker ___ __

[issue44786] test_check_c_globals "crashed" and then "FutureWarning: Possible nested set at position 12"

2021-09-15 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch nosy: +serhiy.storchaka nosy_count: 1.0 -> 2.0 pull_requests: +26765 stage: -> patch review pull_request: https://github.com/python/cpython/pull/28351 ___ Python tracker

[issue45202] Add 'remove_barry_from_BDFL' future to revert effects of 'from __future__ import barry_as_FLUFL'

2021-09-15 Thread theeshallnotknowethme
Change by theeshallnotknowethme : -- versions: +Python 3.10 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

[issue45202] Add 'remove_barry_from_BDFL' future to revert effects of 'from __future__ import barry_as_FLUFL'

2021-09-15 Thread theeshallnotknowethme
Change by theeshallnotknowethme : -- versions: -Python 3.10 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45203] Improve specialization stats for LOAD_METHOD and BINARY_SUBSCR

2021-09-15 Thread Mark Shannon
New submission from Mark Shannon : The stats for BINARY_SUBSCR and to a lesser amount LOAD_METHOD don't tell us much about what isn't being specialized. We should refine the stats to give us a better idea of what to optimize for. -- assignee: Mark.Shannon components: Interpreter Core

[issue21302] time.sleep (floatsleep()) should use clock_nanosleep() on Linux

2021-09-15 Thread STINNER Victor
STINNER Victor added the comment: New changeset b49263b698993cad2b8aaddc55cdeaa678412b30 by Victor Stinner in branch 'main': bpo-21302: Add _PyTime_AsNanoseconds() (GH-28350) https://github.com/python/cpython/commit/b49263b698993cad2b8aaddc55cdeaa678412b30 -- __

[issue45195] test_readline: test_nonascii() failed on aarch64 RHEL8 Refleaks 3.x

2021-09-15 Thread STINNER Victor
STINNER Victor added the comment: New changeset 4ce55cceb2901c564962f724448a9ced00c8a738 by Miss Islington (bot) in branch '3.9': bpo-45195: Fix test_readline.test_nonascii() (GH-28329) (GH-28334) https://github.com/python/cpython/commit/4ce55cceb2901c564962f724448a9ced00c8a738 --

[issue45195] test_readline: test_nonascii() failed on aarch64 RHEL8 Refleaks 3.x

2021-09-15 Thread STINNER Victor
STINNER Victor added the comment: New changeset ececa53b7fc9c21d0c8153153e3c19da1d0a1e80 by Miss Islington (bot) in branch '3.10': bpo-45195: Fix test_readline.test_nonascii() (GH-28329) (GH-28333) https://github.com/python/cpython/commit/ececa53b7fc9c21d0c8153153e3c19da1d0a1e80 --

[issue45195] test_readline: test_nonascii() failed on aarch64 RHEL8 Refleaks 3.x

2021-09-15 Thread STINNER Victor
Change by STINNER Victor : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.10, Python 3.9 ___ Python tracker ___ ___

[issue45203] Improve specialization stats for LOAD_METHOD and BINARY_SUBSCR

2021-09-15 Thread Mark Shannon
Change by Mark Shannon : -- keywords: +patch pull_requests: +26766 stage: -> patch review pull_request: https://github.com/python/cpython/pull/28352 ___ Python tracker ___ ___

[issue45202] Add 'remove_barry_from_BDFL' future to revert effects of 'from __future__ import barry_as_FLUFL'

2021-09-15 Thread theeshallnotknowethme
Change by theeshallnotknowethme : -- components: +Interpreter Core, Parser nosy: +lys.nikolaou, pablogsal ___ Python tracker ___ ___

[issue44786] test_check_c_globals "crashed" and then "FutureWarning: Possible nested set at position 12"

2021-09-15 Thread STINNER Victor
STINNER Victor added the comment: The warning comes from this regex: Tools/c-analyzer/c_common/tables.py", line 236 _COLSPEC_RE = re.compile(textwrap.dedent(r''' ^ (?: [[] ( (?: [^\s\]] [^\]]* )? [^\s\]] ) # []] )? ( \w

[issue45202] Add 'remove_barry_from_BDFL' future to revert effects of 'from __future__ import barry_as_FLUFL'

2021-09-15 Thread STINNER Victor
STINNER Victor added the comment: 'from __future__ import barry_as_FLUFL' is an easter egg. I don't see the point of 'from __future__ import remove_barry_from_BDFL'. -- nosy: +barry, serhiy.storchaka, vstinner ___ Python tracker

[issue45202] Add 'remove_barry_from_BDFL' future to revert effects of 'from __future__ import barry_as_FLUFL'

2021-09-15 Thread theeshallnotknowethme
theeshallnotknowethme added the comment: Reverting the effects of 'from __future__ import barry_as_FLUFL' without exiting the compiler. -- ___ Python tracker ___

[issue43425] test_peg_generator.test_c_parser emits DeprecationWarning due to distutils

2021-09-15 Thread STINNER Victor
STINNER Victor added the comment: test_peg_generator still emits DeprecationWarning warnings. Example: vstinner@apu$ ./python -m test test_peg_generator -v == CPython 3.11.0a0 (heads/main:b49263b698, Sep 15 2021, 14:44:10) [GCC 11.2.1 20210728 (Red Hat 11.2.1-1)] == Linux-5.13.14-200.fc34.x86_

[issue45202] Add 'remove_barry_from_BDFL' future to revert effects of 'from __future__ import barry_as_FLUFL'

2021-09-15 Thread theeshallnotknowethme
theeshallnotknowethme added the comment: *interpreter. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue45204] test_peg_generator: test_soft_keyword() logs many messages into stdout

2021-09-15 Thread STINNER Victor
New submission from STINNER Victor : Example (not in verbose mode!): $ ./python -m test test_peg_generator -m test_soft_keyword 0:00:00 load avg: 4.54 Run tests sequentially 0:00:00 load avg: 4.54 [1/1] test_peg_generator start() ... (looking at 1.0: NAME:'number') expect('number') ... (look

[issue45205] test_compileall logs "Compiling ..." messages

2021-09-15 Thread STINNER Victor
New submission from STINNER Victor : The following 4 test_compileall tests logs "Compiling ..." messages: test_larger_than_32_bit_times (test.test_compileall.CompileallTestsWithSourceEpoch) ... Compiling '/tmp/tmp1k_q89f5/_test.py'... ok test_year_2038_mtime_compilation (test.test_compileall

[issue45206] test_contextlib_async logs "Task was destroyed but it is pending" messages

2021-09-15 Thread STINNER Victor
New submission from STINNER Victor : 3 tests of test_contextlib_async logs messages. I would prefer a quiet output. test_contextmanager_trap_second_yield (test.test_contextlib_async.AsyncContextManagerTestCase) ... Task was destroyed but it is pending! task: ()>> ok test_contextmanager_trap_

[issue45207] test_gdb logs "Function ... not defined" messages

2021-09-15 Thread STINNER Victor
New submission from STINNER Victor : test_gdb logs many messages. I would prefer a quiet output: 0:02:05 load avg: 11.65 [155/427] test_gdb passed (...) Function "meth_varargs" not defined. Function "meth_varargs" not defined. Function "meth_varargs" not defined. Function "meth_varargs" not def

[issue45021] concurrent.futures race condition

2021-09-15 Thread STINNER Victor
Change by STINNER Victor : -- title: Race condition in thread.py -> concurrent.futures race condition ___ Python tracker ___ ___ Pyt

[issue44724] multiprocessing: the Resource Tracker process is never reaped

2021-09-15 Thread STINNER Victor
Change by STINNER Victor : -- title: Resource Tracker is never reaped -> multiprocessing: the Resource Tracker process is never reaped ___ Python tracker ___ _

[issue45208] test_pdb: test_checkline_is_not_executable() logs messages

2021-09-15 Thread STINNER Victor
New submission from STINNER Victor : I would prefer a quiet test: test_checkline_is_not_executable (test.test_pdb.ChecklineTests) ... End of file *** Blank or comment *** Blank or comment *** Blank or comment *** Blank or comment *** Blank or comment End of file ok Current output:

[issue45209] multiprocessing tests log: UserWarning: resource_tracker: There appear to be 1 leaked shared_memory objects to clean up at shutdown

2021-09-15 Thread STINNER Victor
New submission from STINNER Victor : 0:03:25 load avg: 12.33 [250/427] test_multiprocessing_forkserver passed (...) /home/vstinner/python/main/Lib/multiprocessing/resource_tracker.py:224: UserWarning: resource_tracker: There appear to be 1 leaked shared_memory objects to clean up at shutdown

[issue45019] Freezing modules has manual steps but could be automated.

2021-09-15 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: The PR 28319 seems to have introduced a new deprecation warning in tests : 0:00:13 load avg: 2.82 [ 98/427] test_ctypes passed Hello world! /home/karthikeyan/stuff/python/cpython/Lib/ctypes/test/test_values.py:5: DeprecationWarning: the imp module

[issue45203] Improve specialization stats for LOAD_METHOD and BINARY_SUBSCR

2021-09-15 Thread Mark Shannon
Mark Shannon added the comment: New changeset 11cdf2a6702639571554cbf3f69f57d688564540 by Mark Shannon in branch 'main': bpo-45203: Cleanup stats gathering code for LOAD_METHOD (GH-28352) https://github.com/python/cpython/commit/11cdf2a6702639571554cbf3f69f57d688564540 -- _

[issue45202] Add 'remove_barry_from_BDFL' future to revert effects of 'from __future__ import barry_as_FLUFL'

2021-09-15 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: But why do you need to execute 'from __future__ import barry_as_FLUFL' in your interpreter at first place? Don't do this and you would not need to revert its effect. -- ___ Python tracker

[issue44786] test_check_c_globals "crashed" and then "FutureWarning: Possible nested set at position 12"

2021-09-15 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Yes, [[] looks as the start of a character set containing nested sets (e.g. "[[a-z]--[p-q]]"). This feature is supported by regex and can be added in future versions of re, breaking the code which contain such combinations. --

[issue44786] test_check_c_globals "crashed" and then "FutureWarning: Possible nested set at position 12"

2021-09-15 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 1a9ef5798525bbb39a16c8af5c435b97352ee027 by Serhiy Storchaka in branch 'main': bpo-44786: Fix a warning in RE in c-analyzer (GH-28351) https://github.com/python/cpython/commit/1a9ef5798525bbb39a16c8af5c435b97352ee027 --

[issue44786] test_check_c_globals "crashed" and then "FutureWarning: Possible nested set at position 12"

2021-09-15 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 4.0 -> 5.0 pull_requests: +26767 pull_request: https://github.com/python/cpython/pull/28353 ___ Python tracker _

[issue45202] Add 'remove_barry_from_BDFL' future to revert effects of 'from __future__ import barry_as_FLUFL'

2021-09-15 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: This bug made my day! :-D -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue45208] test_pdb: test_checkline_is_not_executable() logs messages

2021-09-15 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +26768 stage: -> patch review pull_request: https://github.com/python/cpython/pull/28354 ___ Python tracker ___ _

[issue45208] test_pdb: test_checkline_is_not_executable() logs messages

2021-09-15 Thread STINNER Victor
Change by STINNER Victor : -- versions: +Python 3.10, Python 3.9 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue45203] Improve specialization stats for LOAD_METHOD and BINARY_SUBSCR

2021-09-15 Thread STINNER Victor
STINNER Victor added the comment: load_method_fail_kind() added by commit 11cdf2a6702639571554cbf3f69f57d688564540 introduced a compiler (GCC) warning: Python/specialize.c: In function 'load_method_fail_kind': Python/specialize.c:878:1: warning: control reaches end of non-void function [-Wre

[issue45207] test_gdb logs "Function ... not defined" messages

2021-09-15 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +26769 stage: -> patch review pull_request: https://github.com/python/cpython/pull/28355 ___ Python tracker ___ _

[issue45207] test_gdb logs "Function ... not defined" messages

2021-09-15 Thread STINNER Victor
Change by STINNER Victor : -- versions: +Python 3.10, Python 3.9 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue45205] test_compileall logs "Compiling ..." messages

2021-09-15 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +26770 stage: -> patch review pull_request: https://github.com/python/cpython/pull/28356 ___ Python tracker ___ _

[issue45202] Add 'remove_barry_from_BDFL' future to revert effects of 'from __future__ import barry_as_FLUFL'

2021-09-15 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I think this adds too much complexity for an Easter egg. The compiler flags have been proven to be quite brittle (see past bugs regarding them) so I don't want to add new ones of we can avoid it -- ___ Pyth

[issue45128] test_multiprocessing fails sporadically on the release artifacts

2021-09-15 Thread Alexander Kanavin
Alexander Kanavin added the comment: I am seeing this one too in my yocto builds of 3.10rc2. What is bizarre is that the issue does not occur if the multiprocessing test is run in isolation: python3 -m test -v test_multiprocessing_fork but quite reliably does occur (three times in three diff

[issue45203] Improve specialization stats for LOAD_METHOD and BINARY_SUBSCR

2021-09-15 Thread Ken Jin
Change by Ken Jin : -- nosy: +kj nosy_count: 2.0 -> 3.0 pull_requests: +26771 pull_request: https://github.com/python/cpython/pull/28357 ___ Python tracker ___

[issue45186] Marshal output isn't completely deterministic.

2021-09-15 Thread Eric Snow
Eric Snow added the comment: New changeset cbeb81971057d6c382f45ecce92df2b204d4106a by Eric Snow in branch 'main': bpo-45020: Freeze some of the modules imported during startup. (gh-28335) https://github.com/python/cpython/commit/cbeb81971057d6c382f45ecce92df2b204d4106a --

[issue45020] Freeze all modules imported during startup.

2021-09-15 Thread Eric Snow
Eric Snow added the comment: New changeset cbeb81971057d6c382f45ecce92df2b204d4106a by Eric Snow in branch 'main': bpo-45020: Freeze some of the modules imported during startup. (gh-28335) https://github.com/python/cpython/commit/cbeb81971057d6c382f45ecce92df2b204d4106a --

[issue45188] De-couple the Windows builds from freezing modules.

2021-09-15 Thread Eric Snow
Eric Snow added the comment: New changeset cbeb81971057d6c382f45ecce92df2b204d4106a by Eric Snow in branch 'main': bpo-45020: Freeze some of the modules imported during startup. (gh-28335) https://github.com/python/cpython/commit/cbeb81971057d6c382f45ecce92df2b204d4106a --

[issue40746] test_gdb failing on 32-bit armv7l when built with GCC -Og: Cannot access memory at address 0xfffffedc

2021-09-15 Thread Gregory P. Smith
Gregory P. Smith added the comment: fwiw I updated my arm raspbian buildbot from raspbian Buster to raspbian Bullseye in the last few days. That could also explain the difference. More recent toolchain versions. -- ___ Python tracker

[issue40746] test_gdb failing on 32-bit armv7l when built with GCC -Og: Cannot access memory at address 0xfffffedc

2021-09-15 Thread Gregory P. Smith
Gregory P. Smith added the comment: although it looks like the 3.10 failure you linked to ran after that. so... the upgrade may not explain things. -- ___ Python tracker ___

[issue45198] __set_name__ documentation not clear about its usage with non-descriptor classes

2021-09-15 Thread Raymond Hettinger
Raymond Hettinger added the comment: You are correct that __set_name__ works for non-descriptor classes as well. The docs for it should be moved out of the "Implementing Descriptors" section. Also, it should have a non-descriptor example. -- assignee: docs@python -> rhettinger nosy:

[issue15870] PyType_FromSpec should take metaclass as an argument

2021-09-15 Thread Stephanie Gilbert
Change by Stephanie Gilbert : -- components: +2to3 (2.x to 3.x conversion tool), Argument Clinic, Build, C API, Cross-Build, Demos and Tools, Distutils, Documentation, Extension Modules, FreeBSD, IDLE, IO, Installation, Library (Lib), Parser, Regular Expressions, SSL, Subinterpreters

[issue44786] test_check_c_globals "crashed" and then "FutureWarning: Possible nested set at position 12"

2021-09-15 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 89966f59c2e1d0558f8126458acc7d7ae2a8fef5 by Miss Islington (bot) in branch '3.10': bpo-44786: Fix a warning in RE in c-analyzer (GH-28351) (GH-28353) https://github.com/python/cpython/commit/89966f59c2e1d0558f8126458acc7d7ae2a8fef5 -

[issue44786] test_check_c_globals "crashed" and then "FutureWarning: Possible nested set at position 12"

2021-09-15 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed type: -> behavior versions: +Python 3.10 ___ Python tracker ___ __

[issue45210] tp_dealloc docs should mention error indicator may be set

2021-09-15 Thread Edward Yang
New submission from Edward Yang : The fact that the error indicator may be set during tp_dealloc is somewhat well known (https://github.com/posborne/dbus-python/blob/fef4bccfc535c6c2819e3f15384600d7bc198bc5/_dbus_bindings/conn.c#L387) but it's not documented in the official manual. We should

[issue45128] test_multiprocessing fails sporadically on the release artifacts

2021-09-15 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: > but quite reliably does occur (three times in three different spots) if the > whole test suite is executed: The thing is that we are running the test suite constantly on CI and buildbots and non of them have seen this problem :( We should see if we

[issue45210] tp_dealloc docs should mention error indicator may be set

2021-09-15 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch nosy: +python-dev nosy_count: 2.0 -> 3.0 pull_requests: +26772 stage: -> patch review pull_request: https://github.com/python/cpython/pull/28358 ___ Python tracker _

[issue45185] test.test_ssl.TestEnumerations is not run

2021-09-15 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset d897579a80da3f4572d96501c41bec6cacb10d84 by Nikita Sobolev in branch 'main': bpo-45185: enables `TestEnumerations` in `test_ssl` (GH-28330) https://github.com/python/cpython/commit/d897579a80da3f4572d96501c41bec6cacb10d84 -- ___

[issue45185] test.test_ssl.TestEnumerations is not run

2021-09-15 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you Nikita! The test was added in issue38659 and was not backported, so it is 3.11 only issue. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: -Python 3.10, Python 3.9 __

[issue39355] The Python library will not compile with a C++2020 compiler because the code uses the reserved “module” keyword

2021-09-15 Thread Hasan
Change by Hasan : -- keywords: +patch pull_requests: +26773 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/28359 ___ Python tracker ___

[issue45202] Add 'remove_barry_from_BDFL' future to revert effects of 'from __future__ import barry_as_FLUFL'

2021-09-15 Thread Eric V. Smith
Eric V. Smith added the comment: I agree this should be rejected due to pointlessness and complexity. I'll give my usual advice: if you really want to see this happen, I suggest opening a discussion on the python-ideas mailing list. Then if there's consensus to go ahead, this issue can be re

[issue15870] PyType_FromSpec should take metaclass as an argument

2021-09-15 Thread Zachary Ware
Change by Zachary Ware : -- components: -2to3 (2.x to 3.x conversion tool), Argument Clinic, Build, C API, Cross-Build, Demos and Tools, Distutils, Documentation, Extension Modules, FreeBSD, IDLE, IO, Installation, Library (Lib), Parser, Regular Expressions, SSL, Subinterpreters, Te

[issue15870] PyType_FromSpec should take metaclass as an argument

2021-09-15 Thread Zachary Ware
Change by Zachary Ware : Removed file: https://bugs.python.org/file50281/MicrosoftOnlineServicesTerms(WW)(English)(February2021)(CR).docx ___ Python tracker ___ __

[issue45188] De-couple the Windows builds from freezing modules.

2021-09-15 Thread Steve Dower
Steve Dower added the comment: New changeset 09b4ad11f323f8702cde795e345b75e0fbb1a9a5 by Steve Dower in branch 'main': bpo-45188: Windows now regenerates frozen modules at the start of build instead of late (GH-28322) https://github.com/python/cpython/commit/09b4ad11f323f8702cde795e345b75e0f

[issue45211] Useful (expensive) information is discarded in getpath.c.

2021-09-15 Thread Eric Snow
New submission from Eric Snow : Currently we calculate a number of filesystem paths during runtime initialization in Modules/getpath.c (with the key goal of producing what will end up in sys.path). Some of those paths are preserved and some are not. In cases where the discarded data comes f

[issue45083] Need to use the exception class qualname when rendering exception (in C code)

2021-09-15 Thread Diego Ramirez
Change by Diego Ramirez : -- nosy: +DiddiLeija ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue45019] Freezing modules has manual steps but could be automated.

2021-09-15 Thread Eric Snow
Eric Snow added the comment: On Wed, Sep 15, 2021 at 7:51 AM Karthikeyan Singaravelan wrote: > The PR 28319 seems to have introduced a new deprecation warning in tests : I'll fix that. -- ___ Python tracker __

[issue45212] Dangling threads in skipped tests in test_socket

2021-09-15 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : Dangling threads are reported when run test_socket tests which raise SkipTest in setUp() in refleak mode. $ ./python -m test -R 3:3 test_socket -m testBCM 0:00:00 load avg: 2.53 Run tests sequentially 0:00:00 load avg: 2.53 [1/1] test_socket beginning 6 r

[issue45204] test_peg_generator: test_soft_keyword() logs many messages into stdout

2021-09-15 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch pull_requests: +26774 stage: -> patch review pull_request: https://github.com/python/cpython/pull/28360 ___ Python tracker __

[issue45212] Dangling threads in skipped tests in test_socket

2021-09-15 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +26775 stage: -> patch review pull_request: https://github.com/python/cpython/pull/28361 ___ Python tracker ___

[issue45083] Need to use the exception class qualname when rendering exception (in C code)

2021-09-15 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue45213] Frozen modules are looked up using a linear search.

2021-09-15 Thread Eric Snow
New submission from Eric Snow : When looking up a frozen modules, we loop over the array of frozen modules until we find a match (or don't). See find_frozen() in Python/import.c. The frozen importer sits right after the builtin importer and right before the file-based importer. This means

[issue45213] Frozen modules are looked up using a linear search.

2021-09-15 Thread Eric Snow
Eric Snow added the comment: Realistically, I doubt this will ever be a problem. The list of frozen modules is fairly small and the loop in the C code is a lightweight. So it isn't that big of a deal relative to the other costs involved in import. Even if the number of frozen modules grow

[issue45020] Freeze all modules imported during startup.

2021-09-15 Thread Eric Snow
Eric Snow added the comment: At this point the fundamental work is done. Here are some follow-up tasks to wrap up this issue: * freeze the remaining stdlib modules imported during startup (os, site, codecs, encodings.*) + blocked by bpo-45186 and bpo-45188 * default to "on" (except if ac

[issue45209] multiprocessing tests log: UserWarning: resource_tracker: There appear to be 1 leaked shared_memory objects to clean up at shutdown

2021-09-15 Thread Nikita Sobolev
Nikita Sobolev added the comment: I would like to work on this, if no one has started yet. -- nosy: +sobolevn ___ Python tracker ___ __

[issue45211] Useful (expensive) information is discarded in getpath.c.

2021-09-15 Thread Guido van Rossum
Guido van Rossum added the comment: Honestly I find it debatable whether we're doing anyone a favor by publishing the __file__ of the corresponding stdlib file for frozen modules. There will be situations where this points to the wrong file, and editing the file will not have an effect (unle

[issue45188] De-couple the Windows builds from freezing modules.

2021-09-15 Thread Guido van Rossum
Guido van Rossum added the comment: Is this now done? I.e. can we now drop the frozen .h files from the repo? -- nosy: +gvanrossum ___ Python tracker ___ _

[issue45019] Freezing modules has manual steps but could be automated.

2021-09-15 Thread Eric Snow
Change by Eric Snow : -- pull_requests: +26776 pull_request: https://github.com/python/cpython/pull/28362 ___ Python tracker ___ ___

[issue45186] Marshal output isn't completely deterministic.

2021-09-15 Thread Guido van Rossum
Guido van Rossum added the comment: I would propose that marshal internally make an extra pass over its input in order to determine which objects are referenced multiple times. This will speed up reading marshalled data (in addition to addressing the reproducibility issue with debug builds)

[issue45020] Freeze all modules imported during startup.

2021-09-15 Thread Guido van Rossum
Guido van Rossum added the comment: I would move "default to "on" (except if actually running out of the source tree)" to the "maybe" category. I left a few comments in other deps. I think we should start by turning this on by default in PGO builds. Separately, I encourage you to collect rel

[issue45204] test_peg_generator: test_soft_keyword() logs many messages into stdout

2021-09-15 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 764e6823a7632c2091db93da04c15900350ad524 by Pablo Galindo Salgado in branch 'main': bpo-45204: Reduce verbosity of test_peg_generator (GH-28360) https://github.com/python/cpython/commit/764e6823a7632c2091db93da04c15900350ad524 -- nosy: +l

[issue45208] test_pdb: test_checkline_is_not_executable() logs messages

2021-09-15 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 2.0 -> 3.0 pull_requests: +26777 pull_request: https://github.com/python/cpython/pull/28363 ___ Python tracker _

[issue45208] test_pdb: test_checkline_is_not_executable() logs messages

2021-09-15 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset e08e491a6ceea8ca105612df10147418c4e105b8 by Victor Stinner in branch 'main': bpo-45208: Make test_pdb.test_checkline_is_not_executable() quiet (GH-28354) https://github.com/python/cpython/commit/e08e491a6ceea8ca105612df10147418c4e105b8 --

[issue45205] test_compileall logs "Compiling ..." messages

2021-09-15 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 2.0 -> 3.0 pull_requests: +26778 pull_request: https://github.com/python/cpython/pull/28364 ___ Python tracker _

[issue45205] test_compileall logs "Compiling ..." messages

2021-09-15 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset cc057ff5227b3a4ded637caa7ba51b67b06abaaa by Victor Stinner in branch 'main': bpo-45205: Make test_compileall quiet (GH-28356) https://github.com/python/cpython/commit/cc057ff5227b3a4ded637caa7ba51b67b06abaaa -- nosy: +lukasz.langa __

[issue45207] test_gdb logs "Function ... not defined" messages

2021-09-15 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 2.0 -> 3.0 pull_requests: +26779 pull_request: https://github.com/python/cpython/pull/28365 ___ Python tracker _

  1   2   >