[issue40028] Math module method to find prime factors for non-negative int n

2020-05-14 Thread Christian Heimes
Christian Heimes added the comment: > I don't think the interface needs much bikeshedding, as long as the > implementer chooses something reasonable. Bikeshedding works more like "build it and they will come". It's going to happen especially when the interface looks easy. -- __

[issue40411] frozen collection.Counter

2020-05-14 Thread paul rubin
paul rubin added the comment: Note: PEP 603 may essentially take care of this, if it is accepted. -- ___ Python tracker ___ ___ Pyt

[issue40237] Test code coverage (C) job of Travis CI fails on test_distutils which creates _configtest.gcno file

2020-05-14 Thread hai shi
hai shi added the comment: > It seems like there is coverage on both C and Python code. Great, MAYBE we can use this coverage result to improve our testcases. -- ___ Python tracker _

[issue40246] Different error messages for same error - invalid string prefixes

2020-05-14 Thread Guido van Rossum
Guido van Rossum added the comment: We should run the tests with the old parser in at least one build. -- ___ Python tracker ___ __

[issue40548] Always run GitHub action jobs, even on documentation-only jobs

2020-05-14 Thread miss-islington
miss-islington added the comment: New changeset 6ad51a1fd6715d8266a43a4a89d496cf0615aace by Miss Islington (bot) in branch '3.7': [3.8] bpo-40548: GitHub Action workflow: skip jobs on doc only PRs (GH-20100) https://github.com/python/cpython/commit/6ad51a1fd6715d8266a43a4a89d496cf0615aace -

[issue40630] tracemalloc: allow resetting peak memory metric without touching other traces

2020-05-14 Thread Huon Wilson
Change by Huon Wilson : -- keywords: +patch pull_requests: +19409 stage: -> patch review pull_request: https://github.com/python/cpython/pull/20102 ___ Python tracker ___

[issue40548] Always run GitHub action jobs, even on documentation-only jobs

2020-05-14 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 2.0 -> 3.0 pull_requests: +19408 pull_request: https://github.com/python/cpython/pull/20101 ___ Python tracker _

[issue40548] Always run GitHub action jobs, even on documentation-only jobs

2020-05-14 Thread STINNER Victor
STINNER Victor added the comment: New changeset 07bd5cf3d9551ae84100e6400836163fcd507f07 by Victor Stinner in branch '3.8': [3.8] bpo-40548: GitHub Action workflow: skip jobs on doc only PRs (GH-20100) https://github.com/python/cpython/commit/07bd5cf3d9551ae84100e6400836163fcd507f07 ---

[issue40548] Always run GitHub action jobs, even on documentation-only jobs

2020-05-14 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +19407 pull_request: https://github.com/python/cpython/pull/20100 ___ Python tracker ___ __

[issue40192] time.thread_time isn't outputting in nanoseconds in AIX

2020-05-14 Thread STINNER Victor
STINNER Victor added the comment: Which implementation is currently used on AIX? What's the output of the following command? $ ./python Python 3.9.0a6+ (heads/master:4a12d12186, May 15 2020, 04:55:17) >>> import time; time.get_clock_info('thread_time') namespace(adjustable=False, implementa

[issue40246] Different error messages for same error - invalid string prefixes

2020-05-14 Thread STINNER Victor
STINNER Victor added the comment: The error can be seen on the new cool AMD64 Arch Linux VintageParser 3.x, vintage is the new cool: https://buildbot.python.org/all/#builders/648/builds/185 -- ___ Python tracker

[issue40246] Different error messages for same error - invalid string prefixes

2020-05-14 Thread STINNER Victor
STINNER Victor added the comment: The following change broke test_fstring when using the old parser. I reopen the issue. commit 846d8b28ab9bb6197ee81372820311c0abe509c0 (refs/bisect/bad) Author: Lysandros Nikolaou Date: Mon May 4 14:32:18 2020 +0300 bpo-40246: Revert reporting of inva

[issue40492] -m cProfile -o f.pstats with a script that does chdir() writes to the changed directory and not `.`

2020-05-14 Thread Anthony Sottile
Anthony Sottile added the comment: @serhiy: this was pretty straightfowrard to fix as you suspected -- would you be able to review it? -- ___ Python tracker ___ _

[issue40612] Make traceback module's formatting of SyntaxError more similar to system formatting

2020-05-14 Thread miss-islington
miss-islington added the comment: New changeset 15bc9ab301d73f20bff47a12ef05326feb40f797 by Guido van Rossum in branch 'master': bpo-40612: Fix SyntaxError edge cases in traceback formatting (GH-20072) https://github.com/python/cpython/commit/15bc9ab301d73f20bff47a12ef05326feb40f797 ---

[issue40630] tracemalloc: allow resetting peak memory metric without touching other traces

2020-05-14 Thread Huon Wilson
New submission from Huon Wilson : Per https://mail.python.org/archives/list/python-id...@python.org/thread/QDWI37A4TJXOYUKULGPY2GKD7IG2JNDC/ , it would be helpful to have a function that resets the peak memory usage of the tracemalloc module, without changing all the traces. This allows for

[issue40548] Always run GitHub action jobs, even on documentation-only jobs

2020-05-14 Thread STINNER Victor
STINNER Victor added the comment: New changeset 6a78589b6b22878491a4b042bb8b3161e1d120f6 by Filipe Laíns in branch 'master': bpo-40548: github actions: pass the changes check on no source changes (GH-20097) https://github.com/python/cpython/commit/6a78589b6b22878491a4b042bb8b3161e1d120f6 --

[issue40512] [subinterpreters] Meta issue: per-interpreter GIL

2020-05-14 Thread STINNER Victor
STINNER Victor added the comment: I created a new "Subinterpreters" component in the bug tracker. It may help to better track all issues related to subinterpreters. -- ___ Python tracker ___

[issue40601] [C API] Hide static types from the limited C API

2020-05-14 Thread STINNER Victor
Change by STINNER Victor : -- components: +Subinterpreters ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue33607] [subinterpreters] Explicitly track object ownership (and allocator).

2020-05-14 Thread STINNER Victor
STINNER Victor added the comment: I see two options: * Add a field to PyObject, but only in a special debug mode. Maybe not even in Py_DEBUG (since I managed to make Py_DEBUG ABI-compatible with the release mode!) * Add an hash table mapping an object to its interpreter. The hash table woul

[issue36876] [subinterpreters] Global C variables are a problem

2020-05-14 Thread David Bolen
Change by David Bolen : -- nosy: -db3l ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.o

[issue40234] [subinterpreters] Disallow daemon threads in subinterpreters optionally

2020-05-14 Thread STINNER Victor
STINNER Victor added the comment: Issue title: "[subinterpreters] Disallow daemon threads in subinterpreters optionally" This issue is basically addressed by bpo-40453: daemon threads continue to be allowed by default when using Py_NewInterpreter(), but it's possible to opt-in for "isolated

[issue38872] Document exec symbol for codeop.compile_command

2020-05-14 Thread Joannah Nanjekye
Joannah Nanjekye added the comment: New changeset eb5ce324f724a59c51d7a76d1dd49b550cdf386b by Miss Islington (bot) in branch '3.8': bpo-38872: Document exec symbol for codeop.compile_command (GH-20047) (GH-20098) https://github.com/python/cpython/commit/eb5ce324f724a59c51d7a76d1dd49b550cdf386

[issue36876] [subinterpreters] Global C variables are a problem

2020-05-14 Thread STINNER Victor
STINNER Victor added the comment: More and more C extensions are converted to multiphase initialization API (PEP 489) and their global variables are moved into a new module state. bpo-39465 will make _Py_IDENTIFIER compatible with subinterpreters. See also bpo-40521 for caches like free list

[issue40513] [subinterpreters] Move _PyRuntimeState.ceval to PyInterpreterState

2020-05-14 Thread STINNER Victor
STINNER Victor added the comment: Well, the remaining field which should be moved is the GIL lock itself. It will likely be the last thing to do in bpo-40512. I consider that the work is done in this issue and so I close it. -- resolution: -> fixed stage: patch review -> resolved st

[issue40512] [subinterpreters] Meta issue: per-interpreter GIL

2020-05-14 Thread STINNER Victor
STINNER Victor added the comment: I marked bpo-36877 "[subinterpreters][meta] Move fields from _PyRuntimeState to PyInterpreterState" as a duplicate of this issue. -- ___ Python tracker

[issue36877] [subinterpreters][meta] Move fields from _PyRuntimeState to PyInterpreterState.

2020-05-14 Thread STINNER Victor
STINNER Victor added the comment: I mark this issue as a duplicate of bpo-40512. -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> [subinterpreters] Meta issue: per-interpreter GIL ___ Python tracker

[issue4202] [subinterpreters] Multiple interpreters and readline module hook functions.

2020-05-14 Thread STINNER Victor
STINNER Victor added the comment: See also bpo-15751: [subinterpreters] Make the PyGILState API compatible with subinterpreters. -- nosy: +vstinner ___ Python tracker ___

[issue15751] [subinterpreters] Make the PyGILState API compatible with subinterpreters

2020-05-14 Thread STINNER Victor
STINNER Victor added the comment: See also bpo-4202: [subinterpreters] Multiple interpreters and readline module hook functions. -- ___ Python tracker ___ ___

[issue15751] [subinterpreters] Make the PyGILState API compatible with subinterpreters

2020-05-14 Thread STINNER Victor
STINNER Victor added the comment: I marked bpo-10915 as a duplicate of this issue. See also bpo-1021318: "PyThreadState_Next not thread safe". -- components: +C API title: [subinterpreters] Support subinterpreters in the GIL state API -> [subinterpreters] Make the PyGILState API comp

[issue10915] [subinterpreters] Make the PyGILState API compatible with multiple interpreters

2020-05-14 Thread STINNER Victor
STINNER Victor added the comment: I marked this issue as a duplicate of bpo-15751. -- resolution: -> duplicate stage: needs patch -> resolved status: open -> closed superseder: -> [subinterpreters] Support subinterpreters in the GIL state API ___

[issue32604] [subinterpreters] PEP 554 implementation: add interpreters module

2020-05-14 Thread STINNER Victor
Change by STINNER Victor : -- title: [subinterpreters] Expose the subinterpreters C-API in Python for testing use. -> [subinterpreters] PEP 554 implementation: add interpreters module ___ Python tracker

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

2020-05-14 Thread STINNER Victor
STINNER Victor added the comment: I marked bpo-39881 as a duplicate of this issue. It has two open PRs: * PR 18817 * PR 19985 I changed their title to use bpo-32604. -- ___ Python tracker _

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

2020-05-14 Thread Joannah Nanjekye
Change by Joannah Nanjekye : -- pull_requests: +19406 pull_request: https://github.com/python/cpython/pull/19985 ___ Python tracker ___

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

2020-05-14 Thread Joannah Nanjekye
Change by Joannah Nanjekye : -- nosy: +nanjekyejoannah nosy_count: 12.0 -> 13.0 pull_requests: +19405 pull_request: https://github.com/python/cpython/pull/18817 ___ Python tracker

[issue39881] [subinterpreters] Multiple Interpreters in the Stdlib (PEP 554) - High-level Implementation

2020-05-14 Thread STINNER Victor
STINNER Victor added the comment: I mark this issue as a duplicate of bpo-32604. Please change the bpo number of your PRs: use bpo-32604. -- resolution: -> duplicate stage: patch review -> resolved status: open -> closed superseder: -> [subinterpreters] Expose the subinterpreters C-

[issue38872] Document exec symbol for codeop.compile_command

2020-05-14 Thread Joannah Nanjekye
Joannah Nanjekye added the comment: New changeset c1203b75ffe429b28cb2e2480deb0d0b8d3a941c by Miss Islington (bot) in branch '3.7': bpo-38872: Document exec symbol for codeop.compile_command (GH-20047) (#20099) https://github.com/python/cpython/commit/c1203b75ffe429b28cb2e2480deb0d0b8d3a941c

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

2020-05-14 Thread STINNER Victor
STINNER Victor added the comment: I marked bpo-30439 and bpo-31375 as duplicates of this issue. -- ___ Python tracker ___ ___ Pytho

[issue31375] [subinterpreters] Add the interpreters module to stdlib (PEP 554).

2020-05-14 Thread STINNER Victor
STINNER Victor added the comment: I mark this issue as a duplicate of bpo-32604. -- nosy: +vstinner resolution: -> duplicate stage: needs patch -> resolved status: open -> closed superseder: -> [subinterpreters] Expose the subinterpreters C-API in Python for testing use. __

[issue30439] [subinterpreters] Expose the subinterpreters C-API in the stdlib

2020-05-14 Thread STINNER Victor
STINNER Victor added the comment: I mark this issue as a duplicate of bpo-32604. -- nosy: +vstinner resolution: -> duplicate stage: patch review -> resolved status: open -> closed superseder: -> [subinterpreters] Expose the subinterpreters C-API in Python for testing use. _

[issue24554] [subinterpreters] GC should happen when a subinterpreter is destroyed

2020-05-14 Thread STINNER Victor
Change by STINNER Victor : -- components: +Subinterpreters -Interpreter Core title: GC should happen when a subinterpreter is destroyed -> [subinterpreters] GC should happen when a subinterpreter is destroyed ___ Python tracker

[issue6531] [subinterpreters] atexit_callfuncs() crashing within Py_Finalize() when using multiple interpreters.

2020-05-14 Thread STINNER Victor
Change by STINNER Victor : -- components: +Subinterpreters -Interpreter Core title: atexit_callfuncs() crashing within Py_Finalize() when using multiple interpreters. -> [subinterpreters] atexit_callfuncs() crashing within Py_Finalize() when using multiple interpreters. _

[issue24228] Interpreter triggers segmentation fault at the starting

2020-05-14 Thread STINNER Victor
STINNER Victor added the comment: No activity since 2015, it was a bug in Python 3.4. Please retry with Python 3.8.3. I close the issue. -- nosy: +vstinner resolution: third party -> out of date stage: -> resolved status: open -> closed ___ Python

[issue38872] Document exec symbol for codeop.compile_command

2020-05-14 Thread Joannah Nanjekye
Change by Joannah Nanjekye : -- stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list m

[issue4202] [subinterpreters] Multiple interpreters and readline module hook functions.

2020-05-14 Thread STINNER Victor
Change by STINNER Victor : -- components: +Subinterpreters -Interpreter Core title: Multiple interpreters and readline module hook functions. -> [subinterpreters] Multiple interpreters and readline module hook functions. ___ Python tracker

[issue26461] PyInterpreterState_Head(), PyThreadState_Next() etc can't be sanely used

2020-05-14 Thread STINNER Victor
STINNER Victor added the comment: Duplicate of bpo-1021318. -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> PyThreadState_Next not thread safe ___ Python tracker _

[issue1021318] PyThreadState_Next not thread safe

2020-05-14 Thread STINNER Victor
STINNER Victor added the comment: I marked bpo-26461 as a duplicate of this issue. -- ___ Python tracker ___ ___ Python-bugs-list

[issue31375] [subinterpreters] Add the interpreters module to stdlib (PEP 554).

2020-05-14 Thread STINNER Victor
Change by STINNER Victor : -- components: +Subinterpreters title: Add the interpreters module to stdlib (PEP 554). -> [subinterpreters] Add the interpreters module to stdlib (PEP 554). ___ Python tracker ___

[issue34346] dir() hangs interpreter

2020-05-14 Thread STINNER Victor
STINNER Victor added the comment: > Only present with 2.7 new-style classes. Old-style 2.7 did not exhibit this > behavior nor did 3.x. Python 2 is no longer supported, I close the issue as out of date. -- nosy: +vstinner resolution: -> out of date stage: -> resolved status: open -

[issue40334] PEP 617: new PEG-based parser

2020-05-14 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 16ab07063cb564c1937714bd39d6915172f005b5 by Pablo Galindo in branch 'master': bpo-40334: Correctly identify invalid target in assignment errors (GH-20076) https://github.com/python/cpython/commit/16ab07063cb564c1937714bd39d6915172f005b5

[issue34821] Crash after run Python interpreter from removed directory

2020-05-14 Thread STINNER Victor
STINNER Victor added the comment: I understood that the bug was fixed in Python 3.5. Python 3.4 and older are no longer supported, I close the issue. -- nosy: +vstinner resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tra

[issue28411] [subinterpreters] Eliminate PyInterpreterState.modules.

2020-05-14 Thread STINNER Victor
Change by STINNER Victor : -- components: +Subinterpreters -Interpreter Core title: Eliminate PyInterpreterState.modules. -> [subinterpreters] Eliminate PyInterpreterState.modules. ___ Python tracker ___

[issue35969] Interpreter crashes with "can't initialize init_sys_streams" when abc fails to import

2020-05-14 Thread STINNER Victor
STINNER Victor added the comment: > I agree with @p-ganssle, If exist some problem on initialize Python > interpreter it would be great if it return a non-zero status and avoid an > abort() Since Python 3.8 (PEP 587), Python no longer call abort() on initialization error. $ echo bug > abc.

[issue38872] Document exec symbol for codeop.compile_command

2020-05-14 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 5.0 -> 6.0 pull_requests: +19403 pull_request: https://github.com/python/cpython/pull/20098 ___ Python tracker _

[issue38872] Document exec symbol for codeop.compile_command

2020-05-14 Thread miss-islington
Change by miss-islington : -- pull_requests: +19404 pull_request: https://github.com/python/cpython/pull/20099 ___ Python tracker ___ __

[issue16826] Don't check for PYTHONCASEOK if interpreter started with -E

2020-05-14 Thread STINNER Victor
STINNER Victor added the comment: Issue fixed in bpo-38691: commit fc72ab6913f2b5337ae7fda711f2de846d38f479 Author: idomic Date: Mon Mar 9 07:57:53 2020 -0400 bpo-38691: importlib ignores PYTHONCASEOK if -E is used (GH-18627) The importlib module now ignores the PYTHONCASEOK

[issue38872] Document exec symbol for codeop.compile_command

2020-05-14 Thread Joannah Nanjekye
Joannah Nanjekye added the comment: New changeset 7ba1f75f3f02b4b50ac6d7e17d15e467afa36aac by Joannah Nanjekye in branch 'master': bpo-38872: Document exec symbol for codeop.compile_command (GH-20047) https://github.com/python/cpython/commit/7ba1f75f3f02b4b50ac6d7e17d15e467afa36aac

[issue37888] [subinterpreters] Confusing docs about state after calling Py_NewInterpreter()

2020-05-14 Thread STINNER Victor
Change by STINNER Victor : -- components: +Subinterpreters title: Sub-interpreters : Confusing docs about state after calling Py_NewInterpreter() -> [subinterpreters] Confusing docs about state after calling Py_NewInterpreter() ___ Python tracker

[issue38160] [subinterpreters] Add a "PyInterpreterState *" field to PyTypeObject.

2020-05-14 Thread STINNER Victor
Change by STINNER Victor : -- components: +Subinterpreters -Interpreter Core title: Add a "PyInterpreterState *" field to PyTypeObject. -> [subinterpreters] Add a "PyInterpreterState *" field to PyTypeObject. ___ Python tracker

[issue40028] Math module method to find prime factors for non-negative int n

2020-05-14 Thread paul rubin
paul rubin added the comment: I don't think the interface needs much bikeshedding, as long as the implementer chooses something reasonable. E.g. factor(30) gives the list [2,3,5]. Implementation is harder if you want to handle numbers of non-trivial size. Neal Koblitz's book "A Course in

[issue1332869] Fatal Python error: Interpreter not initialized

2020-05-14 Thread STINNER Victor
STINNER Victor added the comment: No activity since 2006, I close the issue as out of date. -- nosy: +vstinner resolution: -> out of date stage: test needed -> resolved status: open -> closed ___ Python tracker

[issue39958] Deadlock in _PyInterpreterState_DeleteExceptMain with HEAD_LOCK(runtime)

2020-05-14 Thread STINNER Victor
Change by STINNER Victor : -- components: +Subinterpreters ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue10915] [subinterpreters] Make the PyGILState API compatible with multiple interpreters

2020-05-14 Thread STINNER Victor
Change by STINNER Victor : -- components: +Subinterpreters -Interpreter Core title: Make the PyGILState API compatible with multiple interpreters -> [subinterpreters] Make the PyGILState API compatible with multiple interpreters ___ Python tracker

[issue36877] [subinterpreters][meta] Move fields from _PyRuntimeState to PyInterpreterState.

2020-05-14 Thread STINNER Victor
Change by STINNER Victor : -- components: +Subinterpreters -Interpreter Core title: [meta] Move fields from _PyRuntimeState to PyInterpreterState. -> [subinterpreters][meta] Move fields from _PyRuntimeState to PyInterpreterState. ___ Python tracker

[issue38865] [subinterpreters] Can Py_Finalize() be called if the current interpreter is not the main interpreter?

2020-05-14 Thread STINNER Victor
Change by STINNER Victor : -- components: +Subinterpreters -Interpreter Core title: Can Py_Finalize() be called if the current interpreter is not the main interpreter? -> [subinterpreters] Can Py_Finalize() be called if the current interpreter is not the main interpreter? ___

[issue36479] [subinterpreters] Exit threads when interpreter is finalizing rather than runtime.

2020-05-14 Thread STINNER Victor
Change by STINNER Victor : -- components: +Subinterpreters title: Exit threads when interpreter is finalizing rather than runtime. -> [subinterpreters] Exit threads when interpreter is finalizing rather than runtime. ___ Python tracker

[issue39881] [subinterpreters] Multiple Interpreters in the Stdlib (PEP 554) - High-level Implementation

2020-05-14 Thread STINNER Victor
Change by STINNER Victor : -- components: +Subinterpreters -Interpreter Core title: Multiple Interpreters in the Stdlib (PEP 554) - High-level Implementation -> [subinterpreters] Multiple Interpreters in the Stdlib (PEP 554) - High-level Implementation ___

[issue40572] [subinterpreters] Support basic asynchronous cross-interpreter operations.

2020-05-14 Thread STINNER Victor
Change by STINNER Victor : -- components: +Subinterpreters title: Support basic asynchronous cross-interpreter operations. -> [subinterpreters] Support basic asynchronous cross-interpreter operations. ___ Python tracker

[issue40412] [subinterpreters] inittab_copy not set to NULL after free, can lead to crashes when running multiple interpreters in a single process

2020-05-14 Thread STINNER Victor
Change by STINNER Victor : -- components: +Subinterpreters title: inittab_copy not set to NULL after free, can lead to crashes when running multiple interpreters in a single process -> [subinterpreters] inittab_copy not set to NULL after free, can lead to crashes when running multipl

[issue40288] [subinterpreters] atexit module should not be loaded more than once per interpreter

2020-05-14 Thread STINNER Victor
Change by STINNER Victor : -- components: +Subinterpreters -Library (Lib) title: atexit module should not be loaded more than once per interpreter -> [subinterpreters] atexit module should not be loaded more than once per interpreter ___ Python tra

[issue33607] [subinterpreters] Explicitly track object ownership (and allocator).

2020-05-14 Thread STINNER Victor
Change by STINNER Victor : -- components: +Subinterpreters ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue39511] [subinterpreters] Per-interpreter singletons (None, True, False, etc.)

2020-05-14 Thread STINNER Victor
Change by STINNER Victor : -- components: +Subinterpreters -Interpreter Core ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue15751] [subinterpreters] Support subinterpreters in the GIL state API

2020-05-14 Thread STINNER Victor
STINNER Victor added the comment: See also bpo-40512: [subinterpreters] Meta issue: per-interpreter GIL. -- ___ Python tracker ___

[issue30439] [subinterpreters] Expose the subinterpreters C-API in the stdlib

2020-05-14 Thread STINNER Victor
Change by STINNER Victor : -- components: +Subinterpreters -Library (Lib) title: Expose the subinterpreters C-API in the stdlib. -> [subinterpreters] Expose the subinterpreters C-API in the stdlib ___ Python tracker

[issue24553] [subinterpreters] Improve test coverage for subinterpreters

2020-05-14 Thread STINNER Victor
Change by STINNER Victor : -- components: +Subinterpreters title: improve test coverage for subinterpreters -> [subinterpreters] Improve test coverage for subinterpreters ___ Python tracker _

[issue36225] [subinterpreters] Lingering subinterpreters should be implicitly cleared on shutdown

2020-05-14 Thread STINNER Victor
Change by STINNER Victor : -- components: +Subinterpreters title: Lingering subinterpreters should be implicitly cleared on shutdown -> [subinterpreters] Lingering subinterpreters should be implicitly cleared on shutdown ___ Python tracker

[issue15751] [subinterpreters] Support subinterpreters in the GIL state API

2020-05-14 Thread STINNER Victor
Change by STINNER Victor : -- components: +Subinterpreters title: Support subinterpreters in the GIL state API -> [subinterpreters] Support subinterpreters in the GIL state API ___ Python tracker ___

[issue37776] [subinterpreters] Test Py_Finalize() from a subinterpreter

2020-05-14 Thread STINNER Victor
Change by STINNER Victor : -- components: +Subinterpreters title: Test Py_Finalize() from a subinterpreter -> [subinterpreters] Test Py_Finalize() from a subinterpreter ___ Python tracker ___

[issue37292] [subinterpreters] _xxsubinterpreters: Can't unpickle objects defined in __main__

2020-05-14 Thread STINNER Victor
Change by STINNER Victor : -- components: +Subinterpreters title: _xxsubinterpreters: Can't unpickle objects defined in __main__ -> [subinterpreters] _xxsubinterpreters: Can't unpickle objects defined in __main__ ___ Python tracker

[issue40390] [subinterpreters] Implement _xxsubinterpreters.channel_send_wait()

2020-05-14 Thread STINNER Victor
Change by STINNER Victor : -- components: +Subinterpreters -Library (Lib) title: Implement _xxsubinterpreters.channel_send_wait(). -> [subinterpreters] Implement _xxsubinterpreters.channel_send_wait() ___ Python tracker

[issue40231] [subinterpreters] Fix pending calls in subinterpreters

2020-05-14 Thread STINNER Victor
Change by STINNER Victor : -- components: +Subinterpreters -Interpreter Core title: Fix pending calls in subinterpreters -> [subinterpreters] Fix pending calls in subinterpreters ___ Python tracker _

[issue40234] [subinterpreters] Disallow daemon threads in subinterpreters optionally

2020-05-14 Thread STINNER Victor
Change by STINNER Victor : -- components: +Subinterpreters -Interpreter Core title: Disallow daemon threads in subinterpreters optionally. -> [subinterpreters] Disallow daemon threads in subinterpreters optionally ___ Python tracker

[issue40453] [subinterpreters] Add PyConfig._isolated_interpreter: isolated subinterpreters

2020-05-14 Thread STINNER Victor
Change by STINNER Victor : -- components: +Subinterpreters -Interpreter Core title: Add PyConfig._isolated_interpreter: isolated subinterpreters -> [subinterpreters] Add PyConfig._isolated_interpreter: isolated subinterpreters ___ Python tracker

[issue37224] [subinterpreters] test__xxsubinterpreters fails randomly

2020-05-14 Thread STINNER Victor
Change by STINNER Victor : -- components: +Subinterpreters title: test__xxsubinterpreters fails randomly -> [subinterpreters] test__xxsubinterpreters fails randomly ___ Python tracker ___

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

2020-05-14 Thread STINNER Victor
Change by STINNER Victor : -- components: +Subinterpreters title: Expose the subinterpreters C-API in Python for testing use. -> [subinterpreters] Expose the subinterpreters C-API in Python for testing use. ___ Python tracker

[issue39465] [subinterpreters] Design a subinterpreter friendly alternative to _Py_IDENTIFIER

2020-05-14 Thread STINNER Victor
Change by STINNER Victor : -- components: +Subinterpreters title: Design a subinterpreter friendly alternative to _Py_IDENTIFIER -> [subinterpreters] Design a subinterpreter friendly alternative to _Py_IDENTIFIER ___ Python tracker

[issue36854] GC operates out of global runtime state.

2020-05-14 Thread STINNER Victor
Change by STINNER Victor : -- components: +Subinterpreters -Interpreter Core ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue38858] new_interpreter() should reuse more Py_InitializeFromConfig() code

2020-05-14 Thread STINNER Victor
Change by STINNER Victor : -- components: +Subinterpreters ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue36876] [subinterpreters] Global C variables are a problem

2020-05-14 Thread STINNER Victor
Change by STINNER Victor : -- components: +Subinterpreters -Interpreter Core title: Global C variables are a problem. -> [subinterpreters] Global C variables are a problem ___ Python tracker

[issue39984] Move pending calls from _PyRuntime to PyInterpreterState

2020-05-14 Thread STINNER Victor
Change by STINNER Victor : -- components: +Subinterpreters -Interpreter Core ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue36737] Warnings operate out of global runtime state.

2020-05-14 Thread STINNER Victor
Change by STINNER Victor : -- components: +Subinterpreters -Interpreter Core ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue40522] [subinterpreters] Get the current Python interpreter state from Thread Local Storage (autoTSSkey)

2020-05-14 Thread STINNER Victor
Change by STINNER Victor : -- components: +Subinterpreters -Interpreter Core title: Subinterpreters: get the current Python interpreter state from Thread Local Storage (autoTSSkey) -> [subinterpreters] Get the current Python interpreter state from Thread Local Storage (autoTSSkey) __

[issue40533] [subinterpreters] Don't share Python objects between interpreters

2020-05-14 Thread STINNER Victor
Change by STINNER Victor : -- components: +Subinterpreters -Interpreter Core title: Subinterpreters: don't share Python objects between interpreters -> [subinterpreters] Don't share Python objects between interpreters ___ Python tracker

[issue40513] [subinterpreters] Move _PyRuntimeState.ceval to PyInterpreterState

2020-05-14 Thread STINNER Victor
Change by STINNER Victor : -- components: +Subinterpreters -Interpreter Core title: Move _PyRuntimeState.ceval to PyInterpreterState -> [subinterpreters] Move _PyRuntimeState.ceval to PyInterpreterState ___ Python tracker

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2020-05-14 Thread STINNER Victor
Change by STINNER Victor : -- components: +Subinterpreters -Interpreter Core title: Make tuple, dict, frame free lists, unicode interned strings, unicode latin1 singletons per-interpreter -> [subinterpreters] Make free lists and unicode caches per-interpreter

[issue40512] [subinterpreters] Meta issue: per-interpreter GIL

2020-05-14 Thread STINNER Victor
Change by STINNER Victor : -- components: +Subinterpreters -Interpreter Core title: Meta issue: per-interpreter GIL -> [subinterpreters] Meta issue: per-interpreter GIL ___ Python tracker ___

[issue40514] [subinterpreters] Add --experimental-isolated-subinterpreters build option

2020-05-14 Thread STINNER Victor
Change by STINNER Victor : -- components: +Subinterpreters title: Add --experimental-isolated-subinterpreters build option -> [subinterpreters] Add --experimental-isolated-subinterpreters build option ___ Python tracker

[issue40028] Math module method to find prime factors for non-negative int n

2020-05-14 Thread STINNER Victor
STINNER Victor added the comment: I suggest to implement this idea on PyPI first and only later propose it for inclusion in the stdlib (as a new module, or into an existing module). Bikeshedding on names, debate on the appropriate trade-off between correctness and speed, how many functions?,

[issue40548] Always run GitHub action jobs, even on documentation-only jobs

2020-05-14 Thread Filipe Laíns
Change by Filipe Laíns : -- pull_requests: +19402 pull_request: https://github.com/python/cpython/pull/20097 ___ Python tracker ___ _

[issue25920] PyOS_AfterFork should reset socketmodule's lock

2020-05-14 Thread STINNER Victor
STINNER Victor added the comment: > (I wrote some more details here: > https://emptysqua.re/blog/getaddrinfo-deadlock/ ) On macOS, Python is only affected if "MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_5". Is it still the case in 2020? Copy/paste of socketmodule.c: /* On systems o

[issue6721] Locks in the standard library should be sanitized on fork

2020-05-14 Thread STINNER Victor
STINNER Victor added the comment: See also bpo-25920: PyOS_AfterFork should reset socketmodule's lock. -- ___ Python tracker ___ ___

  1   2   >