[issue42839] SourceFileLoader does not (fully) accept path-like objects

2021-09-07 Thread Petr Viktorin
Petr Viktorin added the comment: I just filed the slightly more general bpo-45127. -- nosy: +petr.viktorin ___ Python tracker ___

[issue34262] Asyncio test fails under Win 7

2021-09-07 Thread Irit Katriel
Irit Katriel added the comment: Changing type since the crash was fixed under issue23919. There remains (possibly) the failure of test_sendfile_close_peer_in_the_middle_of_receiving. -- nosy: +iritkatriel type: crash -> behavior ___ Python

[issue35270] Cmd.complete does not handle cmd=None

2021-09-07 Thread Irit Katriel
Irit Katriel added the comment: Changing type since crash is typically used for a segfault rather than an exception. -- nosy: +iritkatriel type: crash -> behavior ___ Python tracker

[issue45128] test_multiprocessing fails sporadically on the release artifacts

2021-09-07 Thread Nikita Sobolev
Nikita Sobolev added the comment: Related issues: - https://bugs.python.org/issue45042 - https://bugs.python.org/issue45052 -- nosy: +sobolevn ___ Python tracker ___

[issue45129] Remove deprecated reuse_address parameter from create_datagram_endpoint()

2021-09-07 Thread Hugo van Kemenade
New submission from Hugo van Kemenade : The reuse_address parameter was deprecated in Python 3.9 by bpo-37228. It can be removed in Python 3.11. PR to follow. -- components: asyncio messages: 401290 nosy: asvetlov, hugovk, yselivanov priority: normal severity: normal status: open

[issue45121] Calling super().__init__ in subclasses of typing.Protocol raises RecursionError

2021-09-07 Thread Ken Jin
Change by Ken Jin : -- priority: normal -> critical title: Regression in 3.9.7 with typing.Protocol -> Calling super().__init__ in subclasses of typing.Protocol raises RecursionError versions: +Python 3.10, Python 3.11 ___ Python tracker

[issue45035] sysconfig's posix_home scheme has different platlib value to distutils's unix_home

2021-09-07 Thread Diego Ramirez
Change by Diego Ramirez : -- nosy: +DiddiLeija ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45121] Regression in 3.9.7 with typing.Protocol

2021-09-07 Thread Yurii Karabas
Change by Yurii Karabas <1998uri...@gmail.com>: -- keywords: +patch nosy: +uriyyo nosy_count: 3.0 -> 4.0 pull_requests: +26630 stage: -> patch review pull_request: https://github.com/python/cpython/pull/28206 ___ Python tracker

[issue45042] Many multiprocessing tests are silently skipped since 3.9

2021-09-07 Thread Nikita Sobolev
Change by Nikita Sobolev : -- pull_requests: +26631 pull_request: https://github.com/python/cpython/pull/28182 ___ Python tracker ___

[issue45128] test_multiprocessing fails sporadically on the release artifacts

2021-09-07 Thread Pablo Galindo Salgado
New submission from Pablo Galindo Salgado : While testing the release artifacts I encountered this failure: test test_multiprocessing_fork failed -- Traceback (most recent call last): File "/tmp/tmpu30qfjpr/installation/lib/python3.10/unittest/mock.py", line 1239, in _dot_lookup return

[issue45052] WithProcessesTestSharedMemory.test_shared_memory_basics fails on Windows

2021-09-07 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Opened https://bugs.python.org/issue45128 -- ___ Python tracker ___ ___ Python-bugs-list

[issue39570] Python 3.7.3 Crash on msilib actions

2021-09-07 Thread Irit Katriel
Irit Katriel added the comment: I personally don't feel like downloading a binary from b.p.o and opening it on my machine. Can you provide more information about the issue? For instance, what do you mean by crash? Do you have any stack trace or other output? What is the value in the

[issue45127] Code objects can contain unmarshallable objects

2021-09-07 Thread Filipe Laíns
Change by Filipe Laíns : -- nosy: +FFY00 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue44991] [sqlite3] cleanup callbacks (GIL handling, naming, ...)

2021-09-07 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- pull_requests: +26634 pull_request: https://github.com/python/cpython/pull/28209 ___ Python tracker ___

[issue41489] HTMLParser : HTMLParser.error creating multiple errors.

2021-09-07 Thread Irit Katriel
Irit Katriel added the comment: The code was changed and now instead of calling self.error() it raises an exception: raise AssertionError( 'unknown status keyword %r in marked section' % rawdata[i+3:j]) So match not being initialised is no longer a problem. -- resolution: ->

[issue45130] shlex.join() does not accept pathlib.Path objects

2021-09-07 Thread Richard
New submission from Richard : When one of the items in the iterable passed to shlex.join() is a pathlib.Path object, it throws an exception saying it must be str or bytes. I believe it should accept Path objects just like other parts of the standard library such as subprocess.run() already

[issue45104] Error in __new__ docs

2021-09-07 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset b1f2fe777e1fe133d33cd1e714b8aa0f81fed1cc by Miss Islington (bot) in branch '3.9': bpo-45104: Clarify when __init__ is called (GH-28210) (GH-28212) https://github.com/python/cpython/commit/b1f2fe777e1fe133d33cd1e714b8aa0f81fed1cc --

[issue45104] Error in __new__ docs

2021-09-07 Thread Łukasz Langa
Łukasz Langa added the comment: Thanks for the patch, Raymond! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue38820] Make Python compatible with OpenSSL 3.0.0

2021-09-07 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +26629 pull_request: https://github.com/python/cpython/pull/28205 ___ Python tracker ___

[issue45035] sysconfig's posix_home scheme has different platlib value to distutils's unix_home

2021-09-07 Thread Petr Viktorin
Petr Viktorin added the comment: (Sorry for the extra `and`; I hit Submit too soon) -- ___ Python tracker ___ ___ Python-bugs-list

[issue45127] Code objects can contain unmarshallable objects

2021-09-07 Thread Petr Viktorin
Petr Viktorin added the comment: How to fix this? I guess: * co_filename should be converted to an actual str, or reject subclasses with an exception * for co_consts, the [marshal docs] could be updated to add code objects to "containers". The [code docs] already say co_consts "is a tuple

[issue45104] Error in __new__ docs

2021-09-07 Thread Raymond Hettinger
Change by Raymond Hettinger : -- keywords: +patch pull_requests: +26635 stage: -> patch review pull_request: https://github.com/python/cpython/pull/28210 ___ Python tracker

[issue45118] regrtest no longer lists "re-run tests" in the second summary

2021-09-07 Thread miss-islington
Change by miss-islington : -- pull_requests: +26640 pull_request: https://github.com/python/cpython/pull/28215 ___ Python tracker ___

[issue45118] regrtest no longer lists "re-run tests" in the second summary

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

[issue45118] regrtest no longer lists "re-run tests" in the second summary

2021-09-07 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset c4ea45d7d2c02674db2fdb96c7eee89324d2dc64 by Victor Stinner in branch 'main': bpo-45118: Fix regrtest second summary for re-run tests (GH-28183) https://github.com/python/cpython/commit/c4ea45d7d2c02674db2fdb96c7eee89324d2dc64 -- nosy:

[issue45104] Error in __new__ docs

2021-09-07 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 5a42a49477cd601d67d81483f9589258dccb14b1 by Miss Islington (bot) in branch '3.8': bpo-45104: Clarify when __init__ is called (GH-28210) (GH-28213) https://github.com/python/cpython/commit/5a42a49477cd601d67d81483f9589258dccb14b1 --

[issue45035] sysconfig's posix_home scheme has different platlib value to distutils's unix_home

2021-09-07 Thread Petr Viktorin
Petr Viktorin added the comment: AFAICS: this is a bug, but in deprecated code. Not worth fixing in 3.11, and definitely not worth fixing in a RC, and . People should stop using distutils, and those who can't won't be happy with changes to it. Consider that existing distutils issues on bpo

[issue44348] test_exceptions.ExceptionTests.test_recursion_in_except_handler stack overflow on Windows debug builds

2021-09-07 Thread STINNER Victor
STINNER Victor added the comment: New changeset fb305092a5d7894b41f122c1a1117b3abf4c567e by Victor Stinner in branch 'main': bpo-44348: BaseException deallocator uses trashcan (GH-28190) https://github.com/python/cpython/commit/fb305092a5d7894b41f122c1a1117b3abf4c567e --

[issue45052] WithProcessesTestSharedMemory.test_shared_memory_basics fails on Windows

2021-09-07 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I'm planning to revert PR 28185 because this is blocking the release -- ___ Python tracker ___

[issue45122] Remove PyCode_New and PyCode_NewWithPosOnlyArgs

2021-09-07 Thread Guido van Rossum
Guido van Rossum added the comment: Da-woods, can you take care of that? -- ___ Python tracker ___ ___ Python-bugs-list mailing

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

2021-09-07 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: Quoting Petr from PR 28133: Without the ability to tell SQLite to abort on trace failure, I doubt we can do much better than the current behavior. Getting an exception and having the data inserted seems quite irregular. Closing this issue as won't

[issue45121] Regression in 3.9.7 with typing.Protocol

2021-09-07 Thread Eric V. Smith
Eric V. Smith added the comment: Sorry I didn't notice your reference to issue 45081. -- ___ Python tracker ___ ___

[issue44869] MacOS Monterrey malloc issue

2021-09-07 Thread Ned Deily
Ned Deily added the comment: The crash report you provide shows a crash in libstdc++ which is normally not called directly by the Python interpreter or standard library modules on macOS but appears to be being called by libopenblas as provided by the copy of numpy in use. Suggest you follow

[issue25963] strptime not parsing some timezones

2021-09-07 Thread Andrei Kulakov
Andrei Kulakov added the comment: I'm closing this as fixed, the note in datetime docs is here: https://docs.python.org/3.9/library/datetime.html (search for 'only accepts', - note 6) -- nosy: +kj resolution: -> fixed stage: -> resolved status: open -> closed versions: +Python 3.9

[issue45104] Error in __new__ docs

2021-09-07 Thread miss-islington
miss-islington added the comment: New changeset ef704137770b2e98da7880c828aaf921f0b45337 by Miss Islington (bot) in branch '3.10': bpo-45104: Clarify when __init__ is called (GH-28210) https://github.com/python/cpython/commit/ef704137770b2e98da7880c828aaf921f0b45337 --

[issue44348] test_exceptions.ExceptionTests.test_recursion_in_except_handler stack overflow on Windows debug builds

2021-09-07 Thread STINNER Victor
STINNER Victor added the comment: Even if Python 3.9 and 3.10 have the idea, I don't think that long exception chains are common enough to justify a backport. I prefer to leave the code as it it in stable branches, and see how things go with the change in the main branch. I close the issue.

[issue27658] python 3.5.2 built from source fails to install completely on Mac OS X 10.11.6. Crashes subsequently.

2021-09-07 Thread Irit Katriel
Irit Katriel added the comment: 3.5 is long out of maintenance. I suggest we close this and look into it if the problem is reported for a newer version. -- nosy: +iritkatriel resolution: -> third party status: open -> pending ___ Python tracker

[issue44964] Semantics of PyCode_Addr2Line() changed

2021-09-07 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +26633 pull_request: https://github.com/python/cpython/pull/28208 ___ Python tracker ___

[issue45127] Code objects can contain unmarshallable objects

2021-09-07 Thread Diego Ramirez
Change by Diego Ramirez : -- nosy: +DiddiLeija ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45104] Error in __new__ docs

2021-09-07 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 6.0 -> 7.0 pull_requests: +26636 pull_request: https://github.com/python/cpython/pull/28211 ___ Python tracker

[issue45104] Error in __new__ docs

2021-09-07 Thread miss-islington
Change by miss-islington : -- pull_requests: +26638 pull_request: https://github.com/python/cpython/pull/28213 ___ Python tracker ___

[issue45104] Error in __new__ docs

2021-09-07 Thread miss-islington
Change by miss-islington : -- pull_requests: +26637 pull_request: https://github.com/python/cpython/pull/28212 ___ Python tracker ___

[issue41489] HTMLParser : HTMLParser.error creating multiple errors.

2021-09-07 Thread Irit Katriel
Irit Katriel added the comment: Changing type because crash typically refers to segfault rather than an exception. -- nosy: +iritkatriel type: crash -> behavior ___ Python tracker

[issue25240] Stack overflow in reprlib causes a core dump

2021-09-07 Thread Irit Katriel
Irit Katriel added the comment: There was work on recursion in newer versions and several similar issues have been confirmed to be fixed. Since you didn't include a complete reproduction script, it's hard to know whether your case was fixed as well. I am therefore closing this, and request

[issue45127] Code objects can contain unmarshallable objects

2021-09-07 Thread Petr Viktorin
Change by Petr Viktorin : Added file: https://bugs.python.org/file50269/reproducer_compileall.py ___ Python tracker ___ ___

[issue45127] Code objects can contain unmarshallable objects

2021-09-07 Thread Petr Viktorin
New submission from Petr Viktorin : The `replace` method of `code` allows setting e.g. * co_filename to a subclass of str * co_consts to an arbitrary tuple and possibly more weird cases. This makes code objects unmarshallable. One way to create such a code object is to call

[issue34846] Runtime failure with Failed to import site module

2021-09-07 Thread Irit Katriel
Irit Katriel added the comment: It doesn't look like there is enough information here to do anything about this, and there has been no response from the OP to follow-up questions. I think we need to close it. -- nosy: +iritkatriel status: open -> pending

[issue45127] Code objects can contain unmarshallable objects

2021-09-07 Thread Petr Viktorin
Petr Viktorin added the comment: See also bpo-42839 -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45129] Remove deprecated reuse_address parameter from create_datagram_endpoint()

2021-09-07 Thread Hugo van Kemenade
Change by Hugo van Kemenade : -- keywords: +patch pull_requests: +26632 stage: -> patch review pull_request: https://github.com/python/cpython/pull/28207 ___ Python tracker

[issue27658] python 3.5.2 built from source fails to install completely on Mac OS X 10.11.6. Crashes subsequently.

2021-09-07 Thread Ned Deily
Change by Ned Deily : -- stage: -> resolved status: pending -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue25769] Crash due to using weakref referent without acquiring a strong reference

2021-09-07 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> proxy_contains (weakref.proxy) can access an object with 0 refcount ___ Python tracker

[issue45121] Regression in 3.9.7 with typing.Protocol

2021-09-07 Thread Jelle Zijlstra
Change by Jelle Zijlstra : -- nosy: +Jelle Zijlstra, kj ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45119] test_signal.test_itimer_virtual() failed on AMD64 Fedora Rawhide 3.x: Linux kernel 5.15 regression

2021-09-07 Thread STINNER Victor
Change by STINNER Victor : -- title: test_signal.test_itimer_virtual() failed on AMD64 Fedora Rawhide 3.x -> test_signal.test_itimer_virtual() failed on AMD64 Fedora Rawhide 3.x: Linux kernel 5.15 regression ___ Python tracker

[issue45115] Windows: enable compiler optimizations when building Python in debug mode

2021-09-07 Thread STINNER Victor
STINNER Victor added the comment: Steve: > I strongly disagree. If CI needs to be faster, please just change the CI > configuration. If contributors have to wait a few minutes longer, they can > wait - they'll save that time in local compilations. > Local debugging absolutely relies on debug

[issue45035] sysconfig's posix_home scheme has different platlib value to distutils's unix_home

2021-09-07 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I'm doing the release of 3.10.0rc2 as we speak. Please, review this ASAP or otherwise this PR will not be backported to 3.10.0 and will have to wait to 3.10.1 as per the devguide. -- ___ Python tracker

[issue45094] Consider using __forceinline and __attribute__((always_inline)) on static inline functions (Py_INCREF, Py_TYPE) for debug builds

2021-09-07 Thread STINNER Victor
STINNER Victor added the comment: Using __forceinline didn't fix test_exceptions: see https://bugs.python.org/issue44348#msg401185 Since I created the issue to fix bpo-44348 and it doesn't work, I close the issue. Moreover, always inlining can have a negative impact on release builds.

[issue34498] Python 3.7 breaks on singledispatch_function.register(pseudo_type), which Python 3.6 accepted

2021-09-07 Thread Irit Katriel
Irit Katriel added the comment: Reproduced on 3.11. I've changed type because crash typically refers to segfault rather than an exception being raised. -- nosy: +iritkatriel type: crash -> behavior versions: +Python 3.10, Python 3.11, Python 3.9 -Python 3.7

[issue34498] Python 3.7+ break on singledispatch_function.register(pseudo_type), which Python 3.6 accepted

2021-09-07 Thread Irit Katriel
Change by Irit Katriel : -- title: Python 3.7 breaks on singledispatch_function.register(pseudo_type), which Python 3.6 accepted -> Python 3.7+ break on singledispatch_function.register(pseudo_type), which Python 3.6 accepted ___ Python tracker

[issue45104] Error in __new__ docs

2021-09-07 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset fa15df77f02ba4a66ba0b71989381a426038be01 by Raymond Hettinger in branch 'main': bpo-45104: Clarify when __init__ is called (GH-28210) https://github.com/python/cpython/commit/fa15df77f02ba4a66ba0b71989381a426038be01 -- nosy:

[issue32881] pycapsule:PyObject * is NULL pointer

2021-09-07 Thread Irit Katriel
Irit Katriel added the comment: Python 2.7 is no longer maintained. If you are seeing this problem on a new version (>= 3.9), please create a new issue with full instructions how to reproduce it. -- nosy: +iritkatriel resolution: -> out of date stage: -> resolved status: open ->

[issue35084] binascii.Error: Incorrect padding

2021-09-07 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> third party stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue45012] DirEntry.stat method should release GIL

2021-09-07 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 9dc363ee7cf2eb6ff374fbf7bbeb0b333f4afb8f by Stanisław Skonieczny in branch 'main': bpo-45012: Release GIL around stat in os.scandir (GH-28085) https://github.com/python/cpython/commit/9dc363ee7cf2eb6ff374fbf7bbeb0b333f4afb8f -- nosy:

[issue45130] shlex.join() does not accept pathlib.Path objects

2021-09-07 Thread Richard
Richard added the comment: While it may be primarily intended to combine output from shlex.split() again, IMO it's useful for manually constructed command lines as well, for example displaying instructions to a user where a path may contain spaces and special characters and needs to be

[issue44987] Speed up unicode normalization of ASCII strings

2021-09-07 Thread STINNER Victor
STINNER Victor added the comment: Well, someone should write a PR for it. -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue43468] functools.cached_property incorrectly locks the entire descriptor on class instead of per-instance locking

2021-09-07 Thread Antoine Pitrou
Antoine Pitrou added the comment: In addition to _NOT_FOUND and _EXCEPTION_RAISED, you could have an additional sentinel value _CONCURRENTLY_COMPUTING. Then you don't need to maintain a separate self.updater mapping. -- nosy: +pitrou ___ Python

[issue38820] Make Python compatible with OpenSSL 3.0.0

2021-09-07 Thread Łukasz Langa
Change by Łukasz Langa : -- pull_requests: +26642 pull_request: https://github.com/python/cpython/pull/28217 ___ Python tracker ___

[issue41501] 0x80070643, can't install any version

2021-09-07 Thread Irit Katriel
Irit Katriel added the comment: Closing as there isn't enough information to do anything about this and there was not response from the OP to followup questions. -- nosy: +iritkatriel resolution: -> wont fix stage: -> resolved status: open -> closed

[issue27277] Test runner should try to increase stack size if it is too low

2021-09-07 Thread STINNER Victor
STINNER Victor added the comment: I just pushed a change to reduce the stack memory usage when deleting a chain of exceptions in bpo-44348. I consider that this issue is a duplicate. If it's not the case, please reopen the issue. commit fb305092a5d7894b41f122c1a1117b3abf4c567e

[issue44348] test_exceptions.ExceptionTests.test_recursion_in_except_handler stack overflow on Windows debug builds

2021-09-07 Thread STINNER Victor
STINNER Victor added the comment: I marked bpo-27277 as a duplicate of this issue. -- ___ Python tracker ___ ___ Python-bugs-list

[issue45118] regrtest no longer lists "re-run tests" in the second summary

2021-09-07 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 04c13c97eecdb66365782dbbf5e93ff5de267a61 by Miss Islington (bot) in branch '3.9': bpo-45118: Fix regrtest second summary for re-run tests (GH-28183) (GH-28215) https://github.com/python/cpython/commit/04c13c97eecdb66365782dbbf5e93ff5de267a61

[issue45132] Remove deprecated __getitem__ methods

2021-09-07 Thread Hugo van Kemenade
Change by Hugo van Kemenade : -- keywords: +patch pull_requests: +26647 stage: -> patch review pull_request: https://github.com/python/cpython/pull/28225 ___ Python tracker

[issue24888] FileNotFoundException raised by subprocess.call

2021-09-07 Thread miss-islington
miss-islington added the comment: New changeset 31be544721670516fa9700e088c022ff38b0c5fe by Miss Islington (bot) in branch '3.10': bpo-24888: Clarify subprocess.check_call propagates exceptions if unable to start process (GH-28018)

[issue24888] FileNotFoundException raised by subprocess.call

2021-09-07 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 2363910662cda4dcf574da68b4633b55e5fc0f9c by Miss Islington (bot) in branch '3.9': bpo-24888: Clarify subprocess.check_call propagates exceptions if unable to start process (GH-28018) (GH-28223)

[issue45130] shlex.join() does not accept pathlib.Path objects

2021-09-07 Thread Eric V. Smith
Eric V. Smith added the comment: I disagree. In my mind, there's no more reason for shlex.join() to take Path objects than there is for str.join() to take them, or for shlex.join() to convert int's to str's. I'd rather shlex.join() continue to raise an exception if passed something that's

[issue45116] Performance regression 3.10b1 and later on Windows

2021-09-07 Thread STINNER Victor
STINNER Victor added the comment: I don't understand if adding __forceinline on the mentioned static inline functions has an impact on the performance of a PGO build on Windows. -- ___ Python tracker

[issue43187] Dict creation in recursive function cause interpreter crashes.

2021-09-07 Thread Irit Katriel
Irit Katriel added the comment: On 3.9 I reproduce the segfault. On 3.11 on a mac I get RecursionError: maximum recursion depth exceeded while calling a Python object So it has been fixed in the meantime. -- nosy: +iritkatriel resolution: -> out of date stage: -> resolved

[issue39751] multiprocessing breaks when payload fails to unpickle

2021-09-07 Thread Irit Katriel
Irit Katriel added the comment: Changing type since crash typically means segfault and not an exception. -- nosy: +iritkatriel type: crash -> behavior ___ Python tracker ___

[issue45130] shlex.join() does not accept pathlib.Path objects

2021-09-07 Thread Richard
Richard added the comment: IMO comparing shlex.join() to str.join() is a mistake. Comparing it to subprocess.run() is more appropriate. What do you mean by "proposal"? subprocess.run() already converts Path arguments to str since Python 3.6 (though IIRC this was broken on Windows until 3.7

[issue45126] [sqlite3] cleanup and harden connection init

2021-09-07 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- keywords: +patch pull_requests: +26648 stage: -> patch review pull_request: https://github.com/python/cpython/pull/28227 ___ Python tracker

[issue44348] test_exceptions.ExceptionTests.test_recursion_in_except_handler stack overflow on Windows debug builds

2021-09-07 Thread STINNER Victor
STINNER Victor added the comment: I rejected my two other ideas to fix this issue: * bpo-45094: Consider using __forceinline and __attribute__((always_inline)) on static inline functions (Py_INCREF, Py_TYPE) for debug builds * bpo-45115: Windows: enable compiler optimizations when building

[issue34262] Asyncio test fails under Win 7

2021-09-07 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> [Windows] test_asyncio: Proactor test_sendfile_close_peer_in_the_middle_of_receiving failure ___ Python tracker

[issue30089] Automatic Unload of Dynamic Library Cause Segfault

2021-09-07 Thread Irit Katriel
Irit Katriel added the comment: Python 2.7 is no longer being maintained. If you are still seeing this problem on a current version (>= 3.9), please create a new issue. Ideally, please provide instructions how to reproduce the bug. It is hard to debug just from a description (particularly

[issue45012] DirEntry.stat method should release GIL

2021-09-07 Thread Łukasz Langa
Łukasz Langa added the comment: Dzięki za zgłoszenie i poprawkę, Stanisław! ✨  ✨ -- resolution: -> fixed stage: patch review -> resolved status: open -> closed type: behavior -> performance versions: -Python 3.10, Python 3.6, Python 3.7, Python 3.8, Python 3.9

[issue45131] `venv` → `ensurepip` may read local `setup.cfg` and fail mysteriously

2021-09-07 Thread Sean Kelly
New submission from Sean Kelly : Creating a new virtual environment with the `venv` module reads any local `setup.cfg` file that may be found; if such a file has garbage, the `venv` fails with a mysterious message. Reproduce: ``` $ date -u Tue Sep 7 18:12:27 UTC 2021 $ mkdir /tmp/demo $ cd

[issue45132] Remove deprecated __getitem__ methods

2021-09-07 Thread Hugo van Kemenade
New submission from Hugo van Kemenade : The __getitem__ methods of xml.dom.pulldom.DOMEventStream, wsgiref.util.FileWrapper and were deprecated in Python 3.8 by bpo-9372 / GH-8609. They can be removed in Python 3.11. -- components: Library (Lib) messages: 401322 nosy: hugovk

[issue43075] CVE-2021-3733: ReDoS in urllib.request

2021-09-07 Thread STINNER Victor
Change by STINNER Victor : -- title: ReDoS in urllib.request -> CVE-2021-3733: ReDoS in urllib.request ___ Python tracker ___ ___

[issue43075] CVE-2021-3733: ReDoS in urllib.request

2021-09-07 Thread STINNER Victor
STINNER Victor added the comment: I created https://python-security.readthedocs.io/vuln/urllib-basic-auth-regex2.html to track this vulnerability. -- ___ Python tracker ___

[issue45130] shlex.join() does not accept pathlib.Path objects

2021-09-07 Thread Eric V. Smith
Eric V. Smith added the comment: My point is that shlex.join() shouldn’t convert any arguments to strings, no matter their type. Just like str.join() doesn’t, and for the same reason. Within the last few years there was a discussion on making str.join() auto-convert it’s arguments to str,

[issue31419] Can not install python3.6.2 due to Error 0x80070643: Failed to install MSI package

2021-09-07 Thread Irit Katriel
Irit Katriel added the comment: Versions 3.5 and 3.6 are no longer being maintained. Are you seeing this problem with a newer version (>= 3.9)? -- nosy: +iritkatriel status: open -> pending ___ Python tracker

[issue23864] doc: issubclass without registration only works for "one-trick pony" collections ABCs.

2021-09-07 Thread Raymond Hettinger
Change by Raymond Hettinger : -- keywords: +patch nosy: +rhettinger nosy_count: 11.0 -> 12.0 pull_requests: +26644 stage: -> patch review pull_request: https://github.com/python/cpython/pull/28218 ___ Python tracker

[issue45024] Cannot extend collections ABCs with protocol

2021-09-07 Thread Raymond Hettinger
Change by Raymond Hettinger : -- keywords: +patch pull_requests: +26643 stage: -> patch review pull_request: https://github.com/python/cpython/pull/28218 ___ Python tracker

[issue35901] json.dumps infinite recurssion

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

[issue19346] Build fails when there are no shared extensions to be built

2021-09-07 Thread Irit Katriel
Change by Irit Katriel : -- resolution: remind -> duplicate stage: patch review -> resolved status: open -> closed superseder: -> Python’s setup.py raises a ValueError when self.extensions is empty ___ Python tracker

[issue45116] Performance regression 3.10b1 and later on Windows

2021-09-07 Thread neonene
neonene added the comment: @vstinner: __forceinline suggestion Since PR25244 (mentioned above), it seems link.exe has got to get stuck on python310.dll. Before the PR, it took 10x~ longer to link than without __forceinline function. I can confirm with _Py_DECREF() and _Py_XDECREF() and one

[issue24888] FileNotFoundException raised by subprocess.call

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

[issue32955] IDLE crashes when trying to save a file

2021-09-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thank you Irit. For any users who stumble on this issue: Drop down clicks in the dialog are handled by tk. Hence, this was not an IDLE issue, unlikely to be a tkinter issue, and most likely a bad tcl/tk version issue. Hence my first post. My response

[issue45022] Update libffi to 3.4.2

2021-09-07 Thread Steve Dower
Steve Dower added the comment: New changeset 4dc4300c686f543d504ab6fa9fe600eaf11bb695 by giovanniwijaya in branch 'main': bpo-45022: Fix libffi DLL name in Windows installer sources (GH-28203) https://github.com/python/cpython/commit/4dc4300c686f543d504ab6fa9fe600eaf11bb695 --

[issue38820] Make Python compatible with OpenSSL 3.0.0

2021-09-07 Thread miss-islington
Change by miss-islington : -- pull_requests: +26641 pull_request: https://github.com/python/cpython/pull/28216 ___ Python tracker ___

[issue38820] Make Python compatible with OpenSSL 3.0.0

2021-09-07 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset cc7c6801945c6a7373553b78bd899ce09681ec0a by Christian Heimes in branch 'main': bpo-38820: Test with OpenSSL 3.0.0 final (GH-28205) https://github.com/python/cpython/commit/cc7c6801945c6a7373553b78bd899ce09681ec0a --

[issue24888] FileNotFoundException raised by subprocess.call

2021-09-07 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 19a304ba990481f0381a5316096b6b3cf2dff381 by DonnaDia in branch 'main': bpo-24888: Clarify subprocess.check_call propagates exceptions if unable to start process (GH-28018)

  1   2   3   >