[issue38237] Expose meaningful keyword arguments for pow()

2020-03-25 Thread Ammar Askar
Change by Ammar Askar : -- pull_requests: +18531 pull_request: https://github.com/python/cpython/pull/19171 ___ Python tracker ___

[issue40043] RegExp Conditional Construct (?(id/name)yes-pattern|no-pattern) Problem

2020-03-25 Thread Leon Hampton
Leon Hampton added the comment: Matthew Barnett & SilentGhost, Thank you for your prompt responses. (Really prompt. Amazing!) SilentGhost, Regarding your response, I used re.search, not re.match. When I used re.match, the regex failed. When I used re.search, it matched. Here are my tests.

[issue38250] enum.Flag should be more set-like

2020-03-25 Thread Vedran Čačić
Vedran Čačić added the comment: 1. +0 _if_ the implementation is easy to explain. If backward compatibility is an issue, we can always add a property: for flag in flags.set: (though set might imply unorderedness:) 2. -1. Guido said long ago that all lens should be O(1). (Of course, if you do

[issue40012] Avoid Python 2 documentation to appear in Web search results

2020-03-25 Thread Ammar Askar
Ammar Askar added the comment: Instead of noindex maybe the 3.x documentation can be marked as the canonical one: https://support.google.com/webmasters/answer/139066 This should still allow the old docs to be crawled but emphasize the latest docs on the website: > Google Search result

[issue39943] Meta: Clean up various issues in C internals

2020-03-25 Thread Inada Naoki
Inada Naoki added the comment: New changeset 62d21c9d900664b2ca30c2d7edd80b6628abdf62 by Andy Lester in branch 'master': bpo-39943: Properly const the pointers in dictkeys_get_index (GH-19170) https://github.com/python/cpython/commit/62d21c9d900664b2ca30c2d7edd80b6628abdf62 --

[issue39943] Meta: Clean up various issues in C internals

2020-03-25 Thread Andy Lester
Change by Andy Lester : -- pull_requests: +18530 pull_request: https://github.com/python/cpython/pull/19170 ___ Python tracker ___

[issue40065] py39: remove deprecation note for xml.etree.cElementTree

2020-03-25 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue40072] Win7/Python3.8/asyncio IPv6 UDP Server raise OSError when recved any packet

2020-03-25 Thread honglei jiang
honglei jiang added the comment: It works under asyncio.WindowsSelectorEventLoopPolicy(), but failed under Python3.8 default policy. -- ___ Python tracker ___

[issue40067] Improve error messages for multiple star expressions in assignment

2020-03-25 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset cb6534e1a8833b3f20bd88f52cf62a003426e855 by Furkan Önder in branch 'master': bpo-40067: Improve error messages for multiple star expressions in assignments (GH-19168)

[issue40067] Improve error messages for multiple star expressions in assignment

2020-03-25 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Thanks for the quick fix, Furkan! :) -- nosy: +pablogsal resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue40072] Win7/Python3.8/asyncio IPv6 UDP Server raise OSError when recved packet

2020-03-25 Thread honglei jiang
Change by honglei jiang : -- title: IPUDP Echo Server raise OSError when recved packet -> Win7/Python3.8/asyncio IPv6 UDP Server raise OSError when recved packet ___ Python tracker

[issue40072] Win7/Python3.8/asyncio IPv6 UDP Server raise OSError when recved any packet

2020-03-25 Thread honglei jiang
Change by honglei jiang : -- title: Win7/Python3.8/asyncio IPv6 UDP Server raise OSError when recved packet -> Win7/Python3.8/asyncio IPv6 UDP Server raise OSError when recved any packet ___ Python tracker

[issue40072] IPUDP Echo Server raise OSError when recved packet

2020-03-25 Thread honglei jiang
Change by honglei jiang : -- title: UDP Echo Server raise OSError when recved packet -> IPUDP Echo Server raise OSError when recved packet ___ Python tracker ___

[issue40072] UDP Echo Server raise OSError when recved packet

2020-03-25 Thread honglei jiang
Change by honglei jiang : Added file: https://bugs.python.org/file49001/udp_ipv6_client.py ___ Python tracker ___ ___ Python-bugs-list

[issue40072] UDP Echo Server raise OSError when recved packet

2020-03-25 Thread honglei jiang
New submission from honglei jiang : Env: Win7/Python3.8.2 x64/ Output: Starting UDP server Traceback (most recent call last): File "d:\ProgramData\Python38\lib\asyncio\proactor_events.py", line 548, in _loop_reading res = fut.result() File

[issue40071] test__xxsubinterpreters leaked [1, 1, 1] references: test_ids_global()

2020-03-25 Thread STINNER Victor
STINNER Victor added the comment: The folowing test is enough to reproduce the leak: def test_ids_global(self): interp1 = interpreters.create() script, rpipe = _captured_script("pass") interpreters.run_string(interp1, script) rpipe.close() interp2

[issue1635741] Py_Finalize() doesn't clear all Python objects at exit

2020-03-25 Thread STINNER Victor
STINNER Victor added the comment: > bpo-1635741: Port _functools module to multiphase initialization (PEP 489) > (GH-19151) > https://github.com/python/cpython/commit/7dd549eb08939e1927fba818116f5202e76f8d73 This change introduced a regression: bpo-40071 "test__xxsubinterpreters leaked [1,

[issue40071] test__xxsubinterpreters leaked [1, 1, 1] references: test_ids_global()

2020-03-25 Thread Paulo Henrique Silva
Change by Paulo Henrique Silva : -- keywords: +patch nosy: +phsilva nosy_count: 1.0 -> 2.0 pull_requests: +18529 stage: -> patch review pull_request: https://github.com/python/cpython/pull/19151 ___ Python tracker

[issue40071] test__xxsubinterpreters leaked [1, 1, 1] references: test_ids_global()

2020-03-25 Thread STINNER Victor
New submission from STINNER Victor : $ ./python -m test -R 3:3 test__xxsubinterpreters -m test_ids_global 0:00:00 load avg: 0.80 Run tests sequentially 0:00:00 load avg: 0.80 [1/1] test__xxsubinterpreters beginning 6 repetitions 123456 .. test__xxsubinterpreters leaked [1, 1, 1] references,

[issue37434] Segfault in typeobject.c at _PyObject_GC_UNTRACK(type)

2020-03-25 Thread STINNER Victor
STINNER Victor added the comment: I'm unable to reproduce the crash on Fedora 31. A crash during a garbage collection usually means that there is a corrupted object somewhere, and suddenly, we discover the inconsistent. The crash can be far from where the inconsistency was created. You may

[issue21983] segfault in ctypes.cast

2020-03-25 Thread STINNER Victor
STINNER Victor added the comment: > Still needs a backport to 2.7 No longer needed, I close the issue. -- nosy: +vstinner resolution: -> fixed stage: backport needed -> resolved status: open -> closed ___ Python tracker

[issue38044] unittest causing segfaults with string malloc in c++ module

2020-03-25 Thread STINNER Victor
STINNER Victor added the comment: The issue looks like a bug in third party code, rather than a bug in Python itself. You can try to set PYTHONMALLOC=debug environment variable, it might help to detect a memory corruption. I strongly advice you to test a debug build of Python. Since Python

[issue31521] segfault in PyBytes_AsString

2020-03-25 Thread STINNER Victor
STINNER Victor added the comment: That's very likely a crash in third party project. Since no reproducer was provided that the last message of the reporter was 3 years ago, I close the issue. -- nosy: +vstinner resolution: -> out of date stage: -> resolved status: open -> closed

[issue39091] _PyErr_CreateException() must check that the result is an exception (CPython Segfault in 5 lines of code)

2020-03-25 Thread STINNER Victor
Change by STINNER Victor : -- title: CPython Segfault in 5 lines of code -> _PyErr_CreateException() must check that the result is an exception (CPython Segfault in 5 lines of code) ___ Python tracker

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

2020-03-25 Thread STINNER Victor
STINNER Victor added the comment: See also bpo-37776: Test Py_Finalize() from a subinterpreter. -- ___ Python tracker ___ ___

[issue39939] PEP 616: Add str methods to remove prefix or suffix

2020-03-25 Thread STINNER Victor
STINNER Victor added the comment: Dennis Sweeney wrote https://www.python.org/dev/peps/pep-0616/ -- title: Add str methods to remove prefixes or suffixes -> PEP 616: Add str methods to remove prefix or suffix ___ Python tracker

[issue39853] Segmentation fault with urllib.request.urlopen and threads

2020-03-25 Thread STINNER Victor
STINNER Victor added the comment: If someone manages to reproduce the bug, please provide *at least* the Python traceback. You can use faulthandler to get it. It would also be very useful to get the C call stack using gdb (where command in gdb). In the meanwhile, I close the issue since

[issue39533] Use `statx(2)` system call on Linux for extended `os.stat` information

2020-03-25 Thread STINNER Victor
Change by STINNER Victor : -- components: +Library (Lib) nosy: +vstinner versions: +Python 3.9 ___ Python tracker ___ ___

[issue40063] Bug in 3rd party sybase database connector (Fatal python error:PyEval_RestoreThread NULL tstate)

2020-03-25 Thread STINNER Victor
STINNER Victor added the comment: I close the issue. It's a bug in a third-party project, not in Python itself. If you can reproduce the bug with a simple script which only uses the stdlib, please reopen the issue. -- resolution: -> third party stage: -> resolved status: open ->

[issue40069] Clear .lst files for AIX

2020-03-25 Thread STINNER Victor
STINNER Victor added the comment: What are these .lst files? What creates them? -- nosy: +vstinner ___ Python tracker ___ ___

[issue39665] Cryptic error message when creating types that don't include themselves in their MRO

2020-03-25 Thread ppperry
Change by ppperry : -- components: -Build versions: +Python 3.9 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue40070] GCC crashed on AMD64 RHEL7 LTO + PGO 3.7 (compiler bug)

2020-03-25 Thread STINNER Victor
New submission from STINNER Victor : GCC crashed on AMD64 RHEL7 LTO + PGO 3.7: https://buildbot.python.org/all/#/builders/190/builds/131 It crashed at the second stage of the PGO compilation (-fprofile-use). --- (...) gcc -pthread -c -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3

[issue40068] test_threading: ThreadJoinOnShutdown.test_reinit_tls_after_fork() crash with Python 3.8 on AIX

2020-03-25 Thread STINNER Victor
STINNER Victor added the comment: I worked around the logging crash. Then I got a second crash in _PyThreadState_DeleteExcept() called in the child process after a fork. PyThreadState_Clear() calls tstate->on_delete() which is release_sentinel() of Modules/_threadmodule.c. Problem: lock

[issue36273] test_thread leaks a core dump on PPC64 AIX 3.x

2020-03-25 Thread STINNER Victor
STINNER Victor added the comment: """ OK (skipped=1) Warning -- files was modified by test_threading Before: [] After: ['core'] """ That's maybe bpo-40068 "test_threading: ThreadJoinOnShutdown.test_reinit_tls_after_fork() crash with Python 3.8 on AIX". --

[issue40061] Possible refleak in _asynciomodule.c future_add_done_callback()

2020-03-25 Thread Kyle Stanley
Kyle Stanley added the comment: > When using the `test-with-buildbots` label in GH-19149 (which involved no C > changes), a failure occurred in test_asyncio for several of the refleak > buildbots. To clarify, the refleak failures occurred when i applied the label to the following commit:

[issue40068] test_threading: ThreadJoinOnShutdown.test_reinit_tls_after_fork() crash with Python 3.8 on AIX

2020-03-25 Thread STINNER Victor
STINNER Victor added the comment: Example of crash in master in a child process after os.fork(). The crash occurred in logging._releaseLock() called by logging._after_at_fork_child_reinit_locks(). Old issues about logging + fork * bpo-36533 (closed): logging regression with threading +

[issue40069] Clear .lst files for AIX

2020-03-25 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- nosy: +Michael.Felt ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40069] Clear .lst files for AIX

2020-03-25 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- keywords: +patch pull_requests: +18528 stage: -> patch review pull_request: https://github.com/python/cpython/pull/19169 ___ Python tracker ___

[issue40068] test_threading: ThreadJoinOnShutdown.test_reinit_tls_after_fork() crash with Python 3.8 on AIX

2020-03-25 Thread STINNER Victor
STINNER Victor added the comment: The master branch is also affected. -- versions: +Python 3.9 ___ Python tracker ___ ___

[issue40069] Clear .lst files for AIX

2020-03-25 Thread Batuhan Taskaya
New submission from Batuhan Taskaya : AIX files stay even if we run make clean on the directory, I think they should be cleared -- components: Build messages: 365026 nosy: BTaskaya, David.Edelsohn priority: normal severity: normal status: open title: Clear .lst files for AIX type:

[issue40068] test_threading: ThreadJoinOnShutdown.test_reinit_tls_after_fork() crash with Python 3.8 on AIX

2020-03-25 Thread STINNER Victor
New submission from STINNER Victor : https://buildbot.python.org/all/#/builders/73/builds/208 --- Warning -- files was modified by test_threading Before: [] After: ['core'] 1 test altered the execution environment: test_threading --- The bug can be reproduced with: $ ./configure

[issue19462] Add remove_argument() method to argparse.ArgumentParser

2020-03-25 Thread Raymond Hettinger
Change by Raymond Hettinger : -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue40016] Clarify flag case in `re` module docstring

2020-03-25 Thread Terry J. Reedy
Change by Terry J. Reedy : -- assignee: docs@python -> terry.reedy resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue37062] `AutoNumber` class in enum documentation: support *args in constructor

2020-03-25 Thread Ethan Furman
Change by Ethan Furman : -- versions: +Python 3.9 -Python 3.8 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37062] `AutoNumber` class in enum documentation: support *args in constructor

2020-03-25 Thread Ethan Furman
Change by Ethan Furman : -- assignee: docs@python -> ethan.furman ___ Python tracker ___ ___ Python-bugs-list mailing list

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

2020-03-25 Thread STINNER Victor
STINNER Victor added the comment: New failure: https://buildbot.python.org/all/#/builders/214/builds/512 test.pythoninfo says: datetime.datetime.now: 2020-03-25 18:59:08.424147 socket.hostname: 121-RELEASE-p2-amd64 /var/log/messages says: Mar 25 18:41:13 121-RELEASE-p2-amd64 kernel: pid

[issue40067] Improve error messages for multiple star expressions in assignment

2020-03-25 Thread Furkan Önder
Change by Furkan Önder : -- keywords: +patch pull_requests: +18527 stage: -> patch review pull_request: https://github.com/python/cpython/pull/19168 ___ Python tracker ___

[issue40067] Improve error messages for multiple star expressions in assignment

2020-03-25 Thread Furkan Önder
New submission from Furkan Önder : Hello everyone, >>> a,*b,*c,*d = range(4) File "", line 1 SyntaxError: two starred expressions in assignment >>> >>> a,*b,*c,*d,*e = range(5) File "", line 1 SyntaxError: two starred expressions in assignment >>> I think this error message is

[issue39947] Make the PyThreadState structure opaque (move it to the internal C API)

2020-03-25 Thread STINNER Victor
STINNER Victor added the comment: New changeset 5c3cda0d1a850a1a9b43892f48376b8876bd5863 by Victor Stinner in branch 'master': bpo-39947: Add PyThreadState_GetID() function (GH-19163) https://github.com/python/cpython/commit/5c3cda0d1a850a1a9b43892f48376b8876bd5863 --

[issue39947] Make the PyThreadState structure opaque (move it to the internal C API)

2020-03-25 Thread STINNER Victor
STINNER Victor added the comment: New changeset 0e427c6d159e86f17270770cd8dc37372e3c4004 by Victor Stinner in branch 'master': bpo-39947: Add _PyThreadState_GetDict() function (GH-19160) https://github.com/python/cpython/commit/0e427c6d159e86f17270770cd8dc37372e3c4004 --

[issue40058] Running test_datetime twice fails with: module 'datetime' has no attribute '_divide_and_round'

2020-03-25 Thread Georg Brandl
Georg Brandl added the comment: Sorry, it seems that was far too long ago for me to remember anything :) -- ___ Python tracker ___

[issue34443] enum error messages should use __qualname__

2020-03-25 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 9.0 -> 10.0 pull_requests: +18526 pull_request: https://github.com/python/cpython/pull/19166 ___ Python tracker

[issue34443] enum error messages should use __qualname__

2020-03-25 Thread Ethan Furman
Change by Ethan Furman : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed title: enum repr should use __qualname__ -> enum error messages should use __qualname__ ___ Python tracker

[issue40066] Enum._convert should change __repr__ and/or __str__ to use module name instead of class name

2020-03-25 Thread Ethan Furman
New submission from Ethan Furman : Serhiy had the idea of having Enum._convert also modify the __str__ and __repr__ of newly created enumerations to display the module name instead of the enumeration name (https://bugs.python.org/msg325007): --> socket.AF_UNIX ==> -->

[issue40058] Running test_datetime twice fails with: module 'datetime' has no attribute '_divide_and_round'

2020-03-25 Thread Paul Ganssle
Paul Ganssle added the comment: This isn't exactly "working as intended", but I believe it's a known problem with either `import_fresh_module` or `datetime`, as you can see from these comments:

[issue38250] enum.Flag should be more set-like

2020-03-25 Thread Ethan Furman
Change by Ethan Furman : -- assignee: -> ethan.furman nosy: +ethan.furman ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue1635741] Py_Finalize() doesn't clear all Python objects at exit

2020-03-25 Thread hai shi
hai shi added the comment: >Sorry for the noise, but I just wanted to say thanks to the people working on >this issue 13 years after I reported it. :) Far too many open-source projects >arbitrarily close bugs just because they don't have time to fix them and they >never get fixed, so I'm

[issue40065] py39: remove deprecation note for xml.etree.cElementTree

2020-03-25 Thread Fred Drake
New submission from Fred Drake : Since xml.etree.cElementTree does not exist in Python 3.9, the statement that it's deprecated should be removed from the documentation. -- assignee: docs@python components: Documentation keywords: easy messages: 365016 nosy: docs@python, fdrake

[issue40064] py38: document xml.etree.cElementTree will be removed in 3.9

2020-03-25 Thread Fred Drake
Change by Fred Drake : -- keywords: +easy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40064] py38: document xml.etree.cElementTree will be removed in 3.9

2020-03-25 Thread Fred Drake
Change by Fred Drake : -- assignee: docs@python components: Documentation nosy: docs@python, fdrake priority: normal severity: normal status: open title: py38: document xml.etree.cElementTree will be removed in 3.9 versions: Python 3.8 ___ Python

[issue40016] Clarify flag case in `re` module docstring

2020-03-25 Thread miss-islington
miss-islington added the comment: New changeset 0dad7486e7d7bc2e0f1b0a4f44d9c28064762be5 by Miss Islington (bot) in branch '3.7': bpo-40016: re docstring: Clarify relationship of inline and argument flags (GH-19078)

[issue40016] Clarify flag case in `re` module docstring

2020-03-25 Thread miss-islington
miss-islington added the comment: New changeset 686d508c26fafb57dfe463c4f55b20013dad1441 by Miss Islington (bot) in branch '3.8': bpo-40016: re docstring: Clarify relationship of inline and argument flags (GH-19078)

[issue19698] Implement _imp.exec_builtin and exec_dynamic

2020-03-25 Thread Brett Cannon
Change by Brett Cannon : -- keywords: -patch resolution: -> fixed stage: patch review -> needs patch status: open -> closed ___ Python tracker ___

[issue19698] Implement _imp.exec_builtin and exec_dynamic

2020-03-25 Thread miss-islington
Change by miss-islington : -- pull_requests: +18525 pull_request: https://github.com/python/cpython/pull/19165 ___ Python tracker ___

[issue19698] Implement _imp.exec_builtin and exec_dynamic

2020-03-25 Thread Brett Cannon
Brett Cannon added the comment: New changeset 302e5a8f79514fd84bafbc44b7c97ec636302322 by Brett Cannon in branch 'master': bpo-19698: Document when importlib.machinery.FrozenImporter gained spec-related methods (GH-19158)

[issue19698] Implement _imp.exec_builtin and exec_dynamic

2020-03-25 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 6.0 -> 7.0 pull_requests: +18524 pull_request: https://github.com/python/cpython/pull/19164 ___ Python tracker

[issue40058] Running test_datetime twice fails with: module 'datetime' has no attribute '_divide_and_round'

2020-03-25 Thread hai shi
hai shi added the comment: add a pdb point in L11 of test_datetime.py 8 try: 9 pure_tests = import_fresh_module(TESTS, fresh=['datetime', '_strptime'], 10 blocked=['_datetime']) 11 import pdb;pdb.set_trace() 12 ->

[issue39947] Make the PyThreadState structure opaque (move it to the internal C API)

2020-03-25 Thread STINNER Victor
STINNER Victor added the comment: New changeset 3072338642156a5edfa2deef2557288fff73c22a by Victor Stinner in branch 'master': bpo-39947: Use PyThreadState_GetFrame() (GH-19159) https://github.com/python/cpython/commit/3072338642156a5edfa2deef2557288fff73c22a --

[issue39947] Make the PyThreadState structure opaque (move it to the internal C API)

2020-03-25 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +18520 pull_request: https://github.com/python/cpython/pull/19160 ___ Python tracker ___

[issue39947] Make the PyThreadState structure opaque (move it to the internal C API)

2020-03-25 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +18523 pull_request: https://github.com/python/cpython/pull/19163 ___ Python tracker ___

[issue40016] Clarify flag case in `re` module docstring

2020-03-25 Thread miss-islington
Change by miss-islington : -- pull_requests: +18522 pull_request: https://github.com/python/cpython/pull/19162 ___ Python tracker ___

[issue40016] Clarify flag case in `re` module docstring

2020-03-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 89a2209ae6fc5f39868621799730e16f931eb497 by Ram Rachum in branch 'master': bpo-40016: re docstring: Clarify relationship of inline and argument flags (#19078) https://github.com/python/cpython/commit/89a2209ae6fc5f39868621799730e16f931eb497

[issue40016] Clarify flag case in `re` module docstring

2020-03-25 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 5.0 -> 6.0 pull_requests: +18521 pull_request: https://github.com/python/cpython/pull/19161 ___ Python tracker

[issue39947] Make the PyThreadState structure opaque (move it to the internal C API)

2020-03-25 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +18519 pull_request: https://github.com/python/cpython/pull/19159 ___ Python tracker ___

[issue39882] Py_FatalError(): log automatically the function name

2020-03-25 Thread STINNER Victor
Change by STINNER Victor : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue39882] Py_FatalError(): log automatically the function name

2020-03-25 Thread STINNER Victor
STINNER Victor added the comment: New changeset 87d3b9db4ade1aa100ee6f065082cb7e85b8992f by Victor Stinner in branch 'master': bpo-39882: Add _Py_FatalErrorFormat() function (GH-19157) https://github.com/python/cpython/commit/87d3b9db4ade1aa100ee6f065082cb7e85b8992f --

[issue40059] Provide a toml module in the standard library

2020-03-25 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +pradyunsg ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1635741] Py_Finalize() doesn't clear all Python objects at exit

2020-03-25 Thread B Sizer
B Sizer added the comment: Sorry for the noise, but I just wanted to say thanks to the people working on this issue 13 years after I reported it. :) Far too many open-source projects arbitrarily close bugs just because they don't have time to fix them and they never get fixed, so I'm glad

[issue19698] Implement _imp.exec_builtin and exec_dynamic

2020-03-25 Thread Brett Cannon
Change by Brett Cannon : -- keywords: +patch pull_requests: +18518 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/19158 ___ Python tracker

[issue39882] Py_FatalError(): log automatically the function name

2020-03-25 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +18517 pull_request: https://github.com/python/cpython/pull/19157 ___ Python tracker ___

[issue38353] Cleanup the path configuration implementation code (getpath.c)

2020-03-25 Thread STINNER Victor
Change by STINNER Victor : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue38691] importlib: PYTHONCASEOK should be ignored when using python3 -E

2020-03-25 Thread STINNER Victor
STINNER Victor added the comment: FYI importlib leak was fixed in bpo-40050 by: commit 83d46e0622d2efdf5f3bf8bf8904d0dcb55fc322 Author: Victor Stinner Date: Tue Mar 24 18:03:34 2020 +0100 bpo-40050: Fix importlib._bootstrap_external (GH-19135) Remove two unused imports:

[issue39984] Move pending calls from _PyRuntime to PyInterpreterState

2020-03-25 Thread STINNER Victor
STINNER Victor added the comment: I moved pending calls to PyInterpreterState. There are remaining issues with using pending calls in subinterpreters, but I propose to continue the discussion in bpo-37127. -- resolution: -> fixed stage: patch review -> resolved status: open ->

[issue40010] Inefficient signal handling in multithreaded applications

2020-03-25 Thread STINNER Victor
Change by STINNER Victor : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue40050] importlib: module.__spec__ leaks importlib namespaces (test_importlib leaked xxx references)

2020-03-25 Thread STINNER Victor
STINNER Victor added the comment: New changeset ace018ca47c03ca699603341b12781b5329d2eaa by Victor Stinner in branch 'master': bpo-40050: Rephrase NEWS entry (GH-19148) https://github.com/python/cpython/commit/ace018ca47c03ca699603341b12781b5329d2eaa --

[issue40063] Fatal python error:PyEval_RestoreThread NULL tstate

2020-03-25 Thread STINNER Victor
STINNER Victor added the comment: File "/generic_sybase_connector.py", line 175 in _do File "/generic_sybase_connector.py", line 155 in _safe_cursor_operation File "/generic_sybase_connector.py", line 184 in fetch_from_db File "/cva_sybase_connector.py", line 197 in

[issue40063] Fatal python error:PyEval_RestoreThread NULL tstate

2020-03-25 Thread Amit Moghe
Amit Moghe added the comment: Hi , Please see below trace logger - Failed transaction. Statement: SELECT Col1, Col2, Col3 FROM TABLE where APPLICATION='TEST' ORDER BY UPDATE_TIME DESCFatal Python error: PyEval_RestoreThread: NULL tstate Current thread 0x7f3e435fe700 (most recent

[issue40063] Fatal python error:PyEval_RestoreThread NULL tstate

2020-03-25 Thread STINNER Victor
STINNER Victor added the comment: This issue looks like a bug in Flask or a C extension used by your application. You should try to debug it with gdb. Or at least try to get a Python traceback: https://pythondev.readthedocs.io/debug_tools.html#get-a-traceback-on-a-crash You should specify

[issue40063] Fatal python error:PyEval_RestoreThread NULL tstate

2020-03-25 Thread Amit Moghe
New submission from Amit Moghe : Hi Team, I am writting an application in python flask. I this when flask application is establishing Sybase DB connection through normal python SybaseConnector. In this process I am getting below error, could you please suggest on this ? Error :Fatal python

[issue40059] Provide a toml module in the standard library

2020-03-25 Thread Brett Cannon
Brett Cannon added the comment: The plan is to start discussing adding a TOML parser once the spec reaches 1.0 (which we will know about as one of the pip contributors also manages TOML). -- ___ Python tracker

[issue39352] Remove the formatter module, deprecated since Python 3.4

2020-03-25 Thread STINNER Victor
STINNER Victor added the comment: I'm no longer sure that it's a good idea to remove a module from the stdlib without providing a solution for the few people relying on it. I removed dummy_threading module in Python 3.9 and obviously it broke an application (bodhi):

[issue39541] distutils: Remove bdist_wininst (Windows .exe installers) in favor of bdist_wheel (.whl)

2020-03-25 Thread STINNER Victor
STINNER Victor added the comment: There is no clear consensus towards removing distutils bdist_wininst command. I close this PR for now, it's too late for Python 3.9 (feature freeze is coming soon). We can reconsider removing it once setuptools will be more ready for this removal.

[issue39873] Debug mode: check if objects are valid

2020-03-25 Thread STINNER Victor
STINNER Victor added the comment: This change was mostly an experimentation. But I'm not sure that it does solve any issue. The change is more intrusive than what I expected. I prefer to abandon PR 18803 and this issue. -- resolution: -> rejected stage: patch review -> resolved

[issue39503] [security][CVE-2020-8492] Denial of service in urllib.request.AbstractBasicAuthHandler

2020-03-25 Thread STINNER Victor
STINNER Victor added the comment: > Isn't this a duplicate of bpo-38826 ? Oh right. I marked it as a duplicate of this issue. -- ___ Python tracker ___

[issue38826] Regular Expression Denial of Service in urllib.request.AbstractBasicAuthHandler

2020-03-25 Thread STINNER Victor
STINNER Victor added the comment: This issue is a duplicate of bpo-39503 which has a PR. Thanks Ben Caller for the report, I credited you in my fix ;-) -- nosy: +vstinner resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> [security][CVE-2020-8492]

[issue40018] test_ssl fails with OpenSSL 1.1.1e

2020-03-25 Thread Charalampos Stratakis
Charalampos Stratakis added the comment: This behavior change is considered being reverted upstream. PR: https://github.com/openssl/openssl/pull/11400 -- ___ Python tracker

[issue40058] Running test_datetime twice fails with: module 'datetime' has no attribute '_divide_and_round'

2020-03-25 Thread hai shi
hai shi added the comment: `_divide_and_round()` would be deleted in https://github.com/python/cpython/blob/master/Lib/datetime.py#L2516. if it's removed L2516 of datetime.py, `test_name_cleanup()` would be failed.Looks like it's a planed behavior~ -- nosy: +shihai1991

[issue40058] Running test_datetime twice fails with: module 'datetime' has no attribute '_divide_and_round'

2020-03-25 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +belopolsky, p-ganssle ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue40058] Running test_datetime twice fails with: module 'datetime' has no attribute '_divide_and_round'

2020-03-25 Thread Dong-hee Na
Change by Dong-hee Na : -- nosy: +corona10 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36144] Dictionary union. (PEP 584)

2020-03-25 Thread Brandt Bucher
Brandt Bucher added the comment: And... that's it! Big thanks to everybody who had a part in making this happen. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

  1   2   >