[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

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

[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 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\]] ) # []] )? (

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

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

[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

[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

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

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

[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

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

[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

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

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

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

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

[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

[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

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

[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

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

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

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

[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

[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

[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

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

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

[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

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

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

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

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

[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

[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

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

[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

[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

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

[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

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

[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

[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

[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

[issue45167] deepcopy of GenericAlias with __deepcopy__ method is broken

2021-09-15 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 5dce51a8875d9639786741e962b3cb208596b096 by Serhiy Storchaka in branch 'main': bpo-45167: Fix deepcopying of GenericAlias (GH-28324) https://github.com/python/cpython/commit/5dce51a8875d9639786741e962b3cb208596b096 --

[issue45167] deepcopy of GenericAlias with __deepcopy__ method is broken

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

[issue45167] deepcopy of GenericAlias with __deepcopy__ method is broken

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

[issue45089] [sqlite3] the trace callback does not raise exceptions on error

2021-09-15 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 87f0ac8c1de83ac63447b9fe799dfb1657a5a9db by Miss Islington (bot) in branch '3.10': bpo-45089: Improve sqlite3 trace callback docs (GH-28238) (GH-28371) https://github.com/python/cpython/commit/87f0ac8c1de83ac63447b9fe799dfb1657a5a9db --

[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

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

[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

[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

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

[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

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

2021-09-15 Thread Steve Dower
Steve Dower added the comment: Should be able to, yeah. Though I didn't test that. -- ___ Python tracker ___ ___ Python-bugs-list

[issue45089] [sqlite3] the trace callback does not raise exceptions on error

2021-09-15 Thread Łukasz Langa
Łukasz Langa added the comment: Thanks, Erlend! ✨  ✨ -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45089] [sqlite3] the trace callback does not raise exceptions on error

2021-09-15 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 97802a8edb3f15aef9ecc1cac97c4c1b4ed3fdfc by Miss Islington (bot) in branch '3.9': bpo-45089: Improve sqlite3 trace callback docs (GH-28238) (GH-28372) https://github.com/python/cpython/commit/97802a8edb3f15aef9ecc1cac97c4c1b4ed3fdfc --

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

[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

[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

[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

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

2021-09-15 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 1c70efcbb57ab4eb65ca604b39606fceff6db4f5 by Miss Islington (bot) in branch '3.9': bpo-45207: Make test_gdb.test_pycfunction() quiet (GH-28355) (GH-28366) https://github.com/python/cpython/commit/1c70efcbb57ab4eb65ca604b39606fceff6db4f5

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

2021-09-15 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset bbaf5c27e659cf372c34a6fe7ca31a2f5cb20a50 by Miss Islington (bot) in branch '3.10': bpo-45207: Make test_gdb.test_pycfunction() quiet (GH-28355) (GH-28365) https://github.com/python/cpython/commit/bbaf5c27e659cf372c34a6fe7ca31a2f5cb20a50

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

[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

[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

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

2021-09-15 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 84a6061e29e9dc13909bdf6f541f48c2a4f1d410 by Victor Stinner in branch 'main': bpo-45207: Make test_gdb.test_pycfunction() quiet (GH-28355) https://github.com/python/cpython/commit/84a6061e29e9dc13909bdf6f541f48c2a4f1d410 -- nosy:

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

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

[issue34602] python3 resource.setrlimit strange behaviour under macOS

2021-09-15 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 2563dd2d0a1cf793afca328ae9e195b72bd2b391 by Łukasz Langa in branch '3.10': [3.10] bpo-34602: Quadruple stack size on macOS when compiling with UBSAN (GH-27309) (GH-28280)

[issue45089] [sqlite3] the trace callback does not raise exceptions on error

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

[issue45089] [sqlite3] the trace callback does not raise exceptions on error

2021-09-15 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 51056b40e711d84692d099ac8970077b33c7fafd by Erlend Egeberg Aasland in branch 'main': bpo-45089: Improve sqlite3 trace callback docs (GH-28238) https://github.com/python/cpython/commit/51056b40e711d84692d099ac8970077b33c7fafd -- nosy:

[issue45089] [sqlite3] the trace callback does not raise exceptions on error

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

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

2021-09-15 Thread miss-islington
miss-islington added the comment: New changeset a5bc0ffc520e09226f85d5fa8faaa83be0acee68 by Miss Islington (bot) in branch '3.10': bpo-45193: News for IDLE PR_28343 (GH-28348) https://github.com/python/cpython/commit/a5bc0ffc520e09226f85d5fa8faaa83be0acee68 --

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

[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
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +26775 stage: -> patch review pull_request: https://github.com/python/cpython/pull/28361 ___ Python tracker

[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

[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

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

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

2021-09-15 Thread Guido van Rossum
Guido van Rossum added the comment: I tried this: - remove the generated .h files - touched dictobject.c - touched dictobject.h After each step I tried to rebuild. Each case the compilation of frozen.c failed and then the build stopped, so apparently the .h files weren't generated early

[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 : -- pull_requests: +26787 pull_request: https://github.com/python/cpython/pull/28373 ___ Python tracker ___ ___

[issue42969] pthread_exit & PyThread_exit_thread from PyEval_RestoreThread etc. are harmful

2021-09-15 Thread Jeremy Maitin-Shepard
Jeremy Maitin-Shepard added the comment: Another possible resolution would to simply make threads that attempt to acquire the GIL after Python starts to finalize hang (i.e. sleep until the process exits). Since the GIL can never be acquired again, this is in some sense the simplest way to

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

2021-09-15 Thread Łukasz Langa
Łukasz Langa added the comment: Thanks, Victor! ✨  ✨ -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue45089] [sqlite3] the trace callback does not raise exceptions on error

2021-09-15 Thread Łukasz Langa
Change by Łukasz Langa : -- stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list

[issue45183] Unexpected exception with zip importer

2021-09-15 Thread Brett Cannon
Change by Brett Cannon : -- assignee: -> brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45187] Some tests in test_socket are not run

2021-09-15 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- dependencies: +Dangling threads in skipped tests in test_socket ___ Python tracker ___ ___

[issue45214] implement LOAD_NONE opcode

2021-09-15 Thread Irit Katriel
Change by Irit Katriel : -- assignee: iritkatriel components: Interpreter Core nosy: iritkatriel priority: normal severity: normal status: open title: implement LOAD_NONE opcode type: performance versions: Python 3.11 ___ Python tracker

[issue45167] deepcopy of GenericAlias with __deepcopy__ method is broken

2021-09-15 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset de4c9c0bdc9b62e68dacd0c4bac20d7f4c527511 by Miss Islington (bot) in branch '3.10': bpo-45167: Fix deepcopying of GenericAlias (GH-28324) (GH-28367) https://github.com/python/cpython/commit/de4c9c0bdc9b62e68dacd0c4bac20d7f4c527511 --

  1   2   >