[issue45521] obmalloc radix tree typo in code

2021-10-18 Thread Neil Schemenauer
Change by Neil Schemenauer : -- keywords: +patch pull_requests: +27322 pull_request: https://github.com/python/cpython/pull/29051 ___ Python tracker ___

[issue45521] obmalloc radix tree typo in code

2021-10-18 Thread Inada Naoki
Inada Naoki added the comment: When I am trying to understand this issue, I see this segfault. https://gist.github.com/methane/1b83e2abc6739017e0490c5f70a27b52 I am not sure this segfault is caused by this issue or not. If this is unrelated, I will create another issue. --

[issue45521] obmalloc radix tree typo in code

2021-10-18 Thread Neil Schemenauer
New submission from Neil Schemenauer : There is a typo in the radix tree obmalloc code, spotted by Inada Naoki. -#define MAP_TOP_MASK (MAP_BOT_LENGTH - 1) +#define MAP_TOP_MASK (MAP_TOP_LENGTH - 1) This should be fixed both in the main branch and in 3.10.x. -- assignee: methane

[issue45501] [idea] Successfully creating a venv could print a message.

2021-10-18 Thread Steven D'Aprano
Steven D'Aprano added the comment: This may be an example of the problem: https://discuss.python.org/t/why-does-venv-not-work-on-my-windows-system/11167 The poster there hasn't responded yet, so it isn't clear what is the actual issue is. But it looks suspiciously like a failure to realise

[issue45475] gzip fails to read a gzipped file (ValueError: readline of closed file)

2021-10-18 Thread Inada Naoki
Change by Inada Naoki : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue45427] importlib.readers.MultiplexedPath

2021-10-18 Thread David Rajaratnam
David Rajaratnam added the comment: Hi Jason, Thanks for the extra pointers. My initial intention in explaining my use-case was to find out whether treating an externally embedded interpreter's files as `importlib.resources` is the correct use of this library. However, you're right that

[issue45475] gzip fails to read a gzipped file (ValueError: readline of closed file)

2021-10-18 Thread miss-islington
miss-islington added the comment: New changeset 97ce855ca8ce437070424b43f5b41158685ac140 by Miss Islington (bot) in branch '3.10': bpo-45475: Revert `__iter__` optimization for GzipFile, BZ2File, and LZMAFile. (GH-29016)

[issue30082] hide command prompt when using subprocess.Popen with shell=False on Windows

2021-10-18 Thread Eryk Sun
Eryk Sun added the comment: I was intending force_no_window as an alternative to adding force_hide, since CREATE_NO_WINDOW only affects console applications. Maybe a better name is force_hide_console. -- ___ Python tracker

[issue45475] gzip fails to read a gzipped file (ValueError: readline of closed file)

2021-10-18 Thread Inada Naoki
Inada Naoki added the comment: New changeset 0a4c82ddd34a3578684b45b76f49cd289a08740b by Inada Naoki in branch 'main': bpo-45475: Revert `__iter__` optimization for GzipFile, BZ2File, and LZMAFile. (GH-29016) https://github.com/python/cpython/commit/0a4c82ddd34a3578684b45b76f49cd289a08740b

[issue45475] gzip fails to read a gzipped file (ValueError: readline of closed file)

2021-10-18 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 3.0 -> 4.0 pull_requests: +27321 pull_request: https://github.com/python/cpython/pull/29050 ___ Python tracker

[issue45452] Support crash tolerance feature for gdbm module

2021-10-18 Thread Dong-hee Na
Dong-hee Na added the comment: Wow, long discussion than I expected, I wish that you don't feel uncomfortable with my opinion first :) > The main concern is that it is not clear how to use this feature, and if it > is not clear IMHO, this feature is similar usage level with

[issue30082] hide command prompt when using subprocess.Popen with shell=False on Windows

2021-10-18 Thread swgmma
swgmma added the comment: I implemented your first suggestion for `force_hide`. Should we add your `force_no_window` suggestion as well? -- ___ Python tracker ___

[issue33277] Deprecate __loader__, __package__, __file__, and __cached__ on modules

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

[issue45520] Frozen dataclass deep copy doesn't work with __slots__

2021-10-18 Thread Josh Rosenberg
Josh Rosenberg added the comment: When I define this with the new-in-3.10 slots=True argument to dataclass rather than manually defining __slots__ it works just fine. Looks like the pickle format changes rather dramatically to accommodate it. >>> @dataclass(frozen=True, slots=True) ...

[issue35673] Loader for namespace packages

2021-10-18 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: Since the documentation problem reported here has since been fixed, and really all that's left is to expose NamespaceLoader publicly and register it with the abc, this is technically a new feature so it can't be backported. Thus, targeting only 3.11.

[issue35673] Loader for namespace packages

2021-10-18 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: First crack at a PR for this issue. -- keywords: +needs review -patch ___ Python tracker ___

[issue35673] Loader for namespace packages

2021-10-18 Thread Barry A. Warsaw
Change by Barry A. Warsaw : -- keywords: +patch pull_requests: +27320 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29049 ___ Python tracker ___

[issue45020] Freeze all modules imported during startup.

2021-10-18 Thread Guido van Rossum
Guido van Rossum added the comment: Is gh-28940 only for UNIX? I built on Windows with default options (PCbuild\build.bat) and it looks like the frozen modules are used by default even though I am running in the source directory. (I put a printf() call in unmarshal_frozen_code().) I also

[issue30570] issubclass segfaults on objects with weird __getattr__

2021-10-18 Thread Dennis Sweeney
Change by Dennis Sweeney : -- pull_requests: +27319 pull_request: https://github.com/python/cpython/pull/29048 ___ Python tracker ___

[issue45516] Add protocol description to the Traversable and TraversableResources documentation

2021-10-18 Thread Filipe Laíns
Change by Filipe Laíns : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed type: -> enhancement ___ Python tracker ___

[issue45520] Frozen dataclass deep copy doesn't work with __slots__

2021-10-18 Thread Filipe Laíns
Change by Filipe Laíns : -- nosy: +eric.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45516] Add protocol description to the Traversable and TraversableResources documentation

2021-10-18 Thread Jason R. Coombs
Jason R. Coombs added the comment: New changeset c0295675305f6896e4ba7496441cc470d7edca89 by Filipe Laíns in branch 'main': bpo-45516: use documentation links in TraversableResources' description (GH-29045) https://github.com/python/cpython/commit/c0295675305f6896e4ba7496441cc470d7edca89

[issue45449] Document that collections.abc types are subscriptable

2021-10-18 Thread Filipe Laíns
Change by Filipe Laíns : -- keywords: +patch pull_requests: +27318 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29047 ___ Python tracker ___

[issue45518] Invalid example for typing

2021-10-18 Thread Logan Jones
Logan Jones added the comment: Hi Bozhi. The syntax that you're referencing was added in 3.9. So if you're trying the syntax in earlier versions of Python, it won't work. The standard collections were added in PEP 585 (https://www.python.org/dev/peps/pep-0585/) I think the reason the

[issue42174] shutil.get_terminal_size() returns 0 when run in a pty

2021-10-18 Thread Filipe Laíns
Change by Filipe Laíns : -- keywords: +patch pull_requests: +27317 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29046 ___ Python tracker ___

[issue45516] Add protocol description to the Traversable and TraversableResources documentation

2021-10-18 Thread Filipe Laíns
Change by Filipe Laíns : -- pull_requests: +27316 pull_request: https://github.com/python/cpython/pull/29045 ___ Python tracker ___

[issue45516] Add protocol description to the Traversable and TraversableResources documentation

2021-10-18 Thread Filipe Laíns
Filipe Laíns added the comment: Actually, since TraversableResources is simply implementing ResourceReader, the protocol is documented. We could reference ResourceReader in the docstring though. -- ___ Python tracker

[issue10071] Should not release GIL while running RegEnumValue

2021-10-18 Thread Zachary Ware
Zachary Ware added the comment: With Steve's opposition and the fact that we've gotten along for 11 years since this issue was opened without it (and also without further reports of issues), I'm going to go ahead and close the issue. -- resolution: -> rejected stage: patch review

[issue35134] Add a new Include/cpython/ subdirectory for the "CPython API" with implementation details

2021-10-18 Thread STINNER Victor
STINNER Victor added the comment: New changeset 5f09bb021a2862ba89c3ecb53e7e6e95a9e07e1d by Victor Stinner in branch 'main': bpo-35134: Add Include/cpython/longobject.h (GH-29044) https://github.com/python/cpython/commit/5f09bb021a2862ba89c3ecb53e7e6e95a9e07e1d --

[issue45336] Issue with xml.tree.ElementTree.write

2021-10-18 Thread Andrei Kulakov
Change by Andrei Kulakov : -- type: performance -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45336] Issue with xml.tree.ElementTree.write

2021-10-18 Thread Andrei Kulakov
Andrei Kulakov added the comment: Ed: something looks a bit odd with the call to `write()` that you used: > rte_ecu_tree.write(rtexmlFile, encoding="UTF-8", xml_declaration="True", > default_namespace="None" method="xml",short_empty_elements="True" ) Note that default val for

[issue35673] Loader for namespace packages

2021-10-18 Thread Barry A. Warsaw
Change by Barry A. Warsaw : -- versions: +Python 3.10, Python 3.11, Python 3.9 -Python 3.6, Python 3.7, Python 3.8 ___ Python tracker ___

[issue19459] Python does not support the GEORGIAN-PS charset

2021-10-18 Thread STINNER Victor
STINNER Victor added the comment: Python uses UTF-8 if the locale is not supported: $ LANG=xxx python3.9 -c "import sys; print(sys.flags.utf8_mode)" 1 On Fedora 34, the locale is still supported, and Python 3.11 still fails: vstinner@apu$ LANG=ka_GE.georgianps locale LANG=ka_GE.georgianps

[issue35673] Loader for namespace packages

2021-10-18 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: I'm going to take a look at this during the Python core sprint. -- assignee: -> barry ___ Python tracker ___

[issue35134] Add a new Include/cpython/ subdirectory for the "CPython API" with implementation details

2021-10-18 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +27315 pull_request: https://github.com/python/cpython/pull/29044 ___ Python tracker ___

[issue35134] Add a new Include/cpython/ subdirectory for the "CPython API" with implementation details

2021-10-18 Thread STINNER Victor
STINNER Victor added the comment: New changeset aad88d33d9db0a93e480f0234292b948890dfc2a by Victor Stinner in branch 'main': bpo-35134: Split warnings.h and weakrefobject.h (GH-29042) https://github.com/python/cpython/commit/aad88d33d9db0a93e480f0234292b948890dfc2a --

[issue38354] Fix for bug 30378 regressed SysLogHandler by making it resolve addresses at initialization instead of in `.emit()`

2021-10-18 Thread Irit Katriel
Irit Katriel added the comment: Reproduced on 3.11. Changing type because crash typically refers to segfault or hang in the interpreter rather than a valid exception. -- nosy: +iritkatriel type: crash -> behavior versions: +Python 3.10, Python 3.11 -Python 3.7, Python 3.8

[issue38031] FileIO.__init__ aborts when opener returns bad fd

2021-10-18 Thread Irit Katriel
Irit Katriel added the comment: Reproduced on 3.11. -- nosy: +iritkatriel versions: +Python 3.10, Python 3.11 -Python 3.7, Python 3.8 ___ Python tracker ___

[issue45520] Frozen dataclass deep copy doesn't work with __slots__

2021-10-18 Thread Christina Gorbenko
New submission from Christina Gorbenko : If you define a frozen dataclass with slots and deep copy it, an error will occur. If you run the same code and remove the slots, the error will not occur. I assume this behavior is not intentional? Apologies if I'm submitting this wrong, this is the

[issue31165] list_slice() crashes if the list is mutated indirectly by PyList_New()

2021-10-18 Thread Irit Katriel
Irit Katriel added the comment: Reproduced on 3.11. -- nosy: +iritkatriel title: list_slice() does crash if the list is mutated indirectly by PyList_New() -> list_slice() crashes if the list is mutated indirectly by PyList_New() versions: +Python 3.10, Python 3.11, Python 3.9

[issue31573] PyStructSequence_New() doesn't validate its input type (crashes in os.wait3() and os.wait4() in case of a bad resource.struct_rusage)

2021-10-18 Thread Irit Katriel
Irit Katriel added the comment: Reproduced on 3.11. -- nosy: +iritkatriel versions: +Python 3.10, Python 3.11, Python 3.9 -Python 3.7 ___ Python tracker ___

[issue39098] OSError: handle closed, ProcessPoolExecutor shutdown(wait=False)

2021-10-18 Thread Irit Katriel
Irit Katriel added the comment: 3.7 and 3.8 are no longer receiving bugfixes. Changing type because crash typically refers to segfaults and hangs, not exceptions. -- nosy: +iritkatriel resolution: -> fixed stage: -> resolved status: open -> closed type: crash -> behavior versions:

[issue45493] str() and repr() of enum different in Python 3.11 from Python <= 3.10

2021-10-18 Thread Ethan Furman
Ethan Furman added the comment: Enum was reverted at the last minute for 3.10. I would like to keep the changes in 3.11 so they get more exposure. I have asked the SC a few times for thoughts about PEP 663, including whether an information PEP needs formal approval, but still haven't heard

[issue45519] Minor docstring improvement in __contains__

2021-10-18 Thread Ivan Savov
Change by Ivan Savov : -- keywords: +patch pull_requests: +27314 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29043 ___ Python tracker ___

[issue31885] Cygwin: socket test suites hang indefinitely due to bug in Cygwin

2021-10-18 Thread Irit Katriel
Irit Katriel added the comment: Erik, is this still relevant, given the Cygwin bug was fixed 4 years ago? -- nosy: +iritkatriel ___ Python tracker ___

[issue45516] Add protocol description to the Traversable and TraversableResources documentation

2021-10-18 Thread Jason R. Coombs
New submission from Jason R. Coombs : New changeset 4d03de3329ed8daa9c1107b1aedbb0fa280bddb6 by Filipe Laíns in branch 'main': bpo-45516: add protocol description to the Traversable documentation (#29039) https://github.com/python/cpython/commit/4d03de3329ed8daa9c1107b1aedbb0fa280bddb6

[issue15727] PyType_FromSpecWithBases tp_new bugfix

2021-10-18 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> The danger of PyType_FromSpec() ___ Python tracker ___

[issue45493] str() and repr() of enum different in Python 3.11 from Python <= 3.10

2021-10-18 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: This doesn't seem right, given that PEP 663 has not been approved by the SC yet: 3.9.7 (default, Oct 13 2021, 06:45:31) [Clang 13.0.0 (clang-1300.0.29.3)] ABC.a ABC.b ABC.c ABC.a |main=|@presto[~/projects/python/cpython:1058]% python3.10 /tmp/foo.py

[issue34290] _ctypes PyCField_new doesn't do anything

2021-10-18 Thread Irit Katriel
Irit Katriel added the comment: What is the bug you are reporting? -- nosy: +iritkatriel type: crash -> ___ Python tracker ___

[issue45519] Minor docstring improvement in __contains__

2021-10-18 Thread Ivan Savov
New submission from Ivan Savov : Currently, ``` >>> help(list.__contains__) ``` returns ``` Help on wrapper_descriptor: __contains__(self, key, /) Return key in self. ``` Which is a conceptual circular reference, since `in` is implemented by `__contains__`. Changing the help string to

[issue31442] assertion failures on Windows in Python/traceback.c in case of a bad io.open

2021-10-18 Thread Irit Katriel
Irit Katriel added the comment: Reproduced on 3.11. -- nosy: +iritkatriel versions: +Python 3.10, Python 3.11, Python 3.9 -Python 3.7 ___ Python tracker ___

[issue33193] Cannot create a venv on Windows when directory path contains dollar character

2021-10-18 Thread Steve Dower
Steve Dower added the comment: Affects distutils, which is deprecated and won't be getting any more fixes. I've migrated it to https://github.com/pypa/distutils/issues/63 -- resolution: -> out of date stage: -> resolved status: open -> closed

[issue35134] Add a new Include/cpython/ subdirectory for the "CPython API" with implementation details

2021-10-18 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +27313 pull_request: https://github.com/python/cpython/pull/29042 ___ Python tracker ___

[issue33193] Cannot create a venv on Windows when directory path contains dollar character

2021-10-18 Thread Irit Katriel
Irit Katriel added the comment: Reproduced on 3.11. -- nosy: +iritkatriel versions: +Python 3.10, Python 3.11, Python 3.9 -Python 2.7, Python 3.6, Python 3.7, Python 3.8 ___ Python tracker

[issue42260] [C API] Add _PyInterpreterState_SetConfig(): reconfigure an interpreter

2021-10-18 Thread Steve Dower
Change by Steve Dower : -- nosy: +steve.dower nosy_count: 5.0 -> 6.0 pull_requests: +27312 pull_request: https://github.com/python/cpython/pull/29041 ___ Python tracker ___

[issue35883] Python startup fails with a fatal error if a command line argument contains an invalid Unicode character

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

[issue45518] Invalid example for typing

2021-10-18 Thread Bozhi You
New submission from Bozhi You : The first example snippet under https://docs.python.org/3/library/typing.html#type-aliases is invalid to run. ``` Traceback (most recent call last): File "main.py", line 1, in Vector = list[float] TypeError: 'type' object is not subscriptable ``` A

[issue43264] ListProxy with EventProxy in caused FileNotFoundError: [Errno 2] No such file or directory problem

2021-10-18 Thread Irit Katriel
Irit Katriel added the comment: Changing type as crash typically refers to segfault or hang and not exception. -- nosy: +iritkatriel type: crash -> behavior ___ Python tracker

[issue40720] accessing mmap of file that is overwritten causes bus error

2021-10-18 Thread Irit Katriel
Irit Katriel added the comment: Reproduced on 3.11. -- nosy: +iritkatriel versions: +Python 3.11 -Python 3.6, Python 3.7, Python 3.8 ___ Python tracker ___

[issue9334] argparse does not accept options taking arguments beginning with dash (regression from optparse)

2021-10-18 Thread Tom Karzes
Tom Karzes added the comment: Is there *still* no fix for this? I keep running into this bug. People sometimes say "oh, it's no problem, just use = to associate the option value with the option name". That is so sad. It's basically saying "it can't be made to work the way it should, so

[issue21736] Add __file__ attribute to frozen modules

2021-10-18 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: Weird. PR 28655 is merged on GH, but still shows open on this bpo ticket. -- ___ Python tracker ___

[issue37722] imaplib crashes when trying to read a letter from an imap server imaps.почта.рус

2021-10-18 Thread Barry A. Warsaw
Change by Barry A. Warsaw : -- nosy: -barry ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue44372] Can't install Python3.8, 3.9, 3.10 various errors including 0x80070643

2021-10-18 Thread Irit Katriel
Irit Katriel added the comment: Closing as it's not clear what the issue is and there was no reply to follow-up questions. Please create a new issue if you can provide more information. -- nosy: +iritkatriel resolution: -> rejected stage: -> resolved status: open -> closed

[issue32966] Python 3.7.2 - 0x80070643 - Fatal Error during installation

2021-10-18 Thread Irit Katriel
Change by Irit Katriel : -- stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue45506] Out of source tree builds failing on main - test_importlib others unreliable

2021-10-18 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: FWIW, Greg's test case does not fail for me with 6a533a4238 -- nosy: +barry ___ Python tracker ___

[issue29941] Confusion between asserts and Py_DEBUG

2021-10-18 Thread Thomas Wouters
Change by Thomas Wouters : -- stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue34708] Odd crashes/freezes when sys.stdout.shell.console is typed

2021-10-18 Thread Irit Katriel
Change by Irit Katriel : -- versions: +Python 3.10, Python 3.11, Python 3.9 -Python 3.7, Python 3.8 ___ Python tracker ___ ___

[issue41560] pathlib.Path.glob fails on empty string

2021-10-18 Thread Irit Katriel
Irit Katriel added the comment: path.glob() returns a generator now, but the contents are still this exception: >>> from pathlib import Path >>> path = Path('./myfile.txt') >>> >>> path.glob('') >>> list(path.glob('')) Traceback (most recent call last): File "", line 1, in File

[issue34708] Odd crashes/freezes when sys.stdout.shell.console is typed

2021-10-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: Unfortunately, no. The standard stream replacements were renamed to StdOutputFile, etc, and slightly revised, but the buggy behavior remains. The worst is that shell restart does not completely restart the shell. It has to be closed instead. I would

[issue11702] dir on return value of msilib.OpenDatabase() crashes python

2021-10-18 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> duplicate stage: patch review -> resolved status: open -> closed superseder: -> Special method lookup fails on uninitialized types ___ Python tracker

[issue26906] Special method lookup fails on uninitialized types

2021-10-18 Thread Irit Katriel
Irit Katriel added the comment: All of the examples for python 3 are working now: >>> import array >>> it = iter(array.array('i')) >>> format(it) '' >>> format(iter([])) '' >>> import operator >>> operator.length_hint(iter("abc")) 03 -- nosy: +iritkatriel resolution: -> fixed stage:

[issue45506] Out of source tree builds failing on main - test_importlib others unreliable

2021-10-18 Thread Eric Snow
Eric Snow added the comment: The PR I put up should fix the problem. If it doesn't then I'll probably drop the checks in the second half of FrozenImporter._fix_module(). -- ___ Python tracker

[issue45506] Out of source tree builds failing on main - test_importlib others unreliable

2021-10-18 Thread Eric Snow
Change by Eric Snow : -- keywords: +patch pull_requests: +27311 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/29040 ___ Python tracker

[issue25934] ICC compiler: ICC treats denormal floating point numbers as 0.0

2021-10-18 Thread Zachary Ware
Zachary Ware added the comment: I no longer have access to ICC, and the ICC buildbots have been mothballed some years ago. Closing this as out of date; the issue might not be, but the information about it here probably is :) -- resolution: -> out of date stage: -> resolved

[issue34192] FunctionType.__new__ can generate functions that immediately crash

2021-10-18 Thread Dennis Sweeney
Dennis Sweeney added the comment: >From >https://github.com/python/cpython/blob/main/Lib/test/crashers/bogus_code_obj.py > : """ Broken bytecode objects can easily crash the interpreter. This is not going to be fixed. It is generally agreed that there is no point in writing a bytecode

[issue15251] new.code and new.function crashes Python iterpretter

2021-10-18 Thread Tal Einat
Tal Einat added the comment: I couldn't reproduce this on the latest main branch with an updated version of the code sample (see attached repro.py). I also couldn't get such a crash with some variations of this. I'm marking this as fixed for now. We can re-open this if anyone runs into an

[issue45517] TarFile.add skips files when tarfile name matches a directory

2021-10-18 Thread Ethan Furman
Change by Ethan Furman : -- nosy: +ethan.furman ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32629] PyImport_ImportModule occasionally cause access violation

2021-10-18 Thread Irit Katriel
Irit Katriel added the comment: This looks like you are accessing memory that has been corrupted, which can happen in any number of ways. I am closing this because there isn't enough information to do anything about it. If you can show us how to reproduce the crash, and it occurs on a

[issue45517] TarFile.add skips files when tarfile name matches a directory

2021-10-18 Thread Jesse Kinkead
New submission from Jesse Kinkead : tarfile.open has a "name" parameter that can be used to open a file for reading or writing in the local filesystem. The documentation is unclear what the purpose is if providing a "fileobj" parameter as well, but it has very surprising behavior when the

[issue26626] test_dbm_gnu

2021-10-18 Thread Zachary Ware
Zachary Ware added the comment: Judging by the error message ("Device or resource busy:"), it seems likely to me that NFS was the culprit here. The fact that the tests passed when run alone may point to an issue with the way tests were run as a group, but this has changed significantly

[issue33713] memoryview can set an exception in tp_clear

2021-10-18 Thread Irit Katriel
Change by Irit Katriel : -- versions: +Python 3.10, Python 3.11, Python 3.9 -Python 2.7, Python 3.6, Python 3.7, Python 3.8 ___ Python tracker ___

[issue34708] Odd crashes/freezes when sys.stdout.shell.console is typed

2021-10-18 Thread Irit Katriel
Irit Katriel added the comment: Terry, I don't see any PseudoOutputFile in the current codebase. Is this out of date? -- nosy: +iritkatriel ___ Python tracker ___

[issue19459] Python does not support the GEORGIAN-PS charset

2021-10-18 Thread Tal Einat
Tal Einat added the comment: With recent versions of Python (e.g. 3.9) this no longer causes a crash. Python apparently falls back to UTF-8, at least on my system: $ LANG=ka_GE.georgianps python3.9 Python 3.9.7 (default, Sep 9 2021, 23:20:13) [GCC 9.3.0] on linux Type "help", "copyright",

[issue11275] Linking to gcc's gomp causes crash later.

2021-10-18 Thread Irit Katriel
Irit Katriel added the comment: Please create a new issue if you see the problem on a current python version. -- nosy: +iritkatriel resolution: -> out of date stage: test needed -> resolved status: open -> closed ___ Python tracker

[issue45221] Linker flags starting with -h breaks setup.py (regression)

2021-10-18 Thread Andrei Kulakov
Andrei Kulakov added the comment: I agree re: 3.9, thanks Ned! -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue45516] Add protocol description to the Traversable and TraversableResources documentation

2021-10-18 Thread Filipe Laíns
Change by Filipe Laíns : -- keywords: +patch pull_requests: +27310 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29039 ___ Python tracker ___

[issue45221] Linker flags starting with -h breaks setup.py (regression)

2021-10-18 Thread Ned Deily
Ned Deily added the comment: Thanks for the report, @ux, and thanks for the PR, Andrei! I've backported the fix for release in 3.10.1 but I think it's pretty late in 3.9's release cycle and we've lived this long with the issue. -- resolution: -> fixed stage: patch review ->

[issue45516] Add protocol description to the Traversable and TraversableResources documentation

2021-10-18 Thread Filipe Laíns
Change by Filipe Laíns : -- assignee: docs@python components: Documentation nosy: FFY00, docs@python priority: normal severity: normal status: open title: Add protocol description to the Traversable and TraversableResources documentation ___ Python

[issue44210] Make importlib.metadata._meta.PackageMetadata public

2021-10-18 Thread Filipe Laíns
Change by Filipe Laíns : -- stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list

[issue25066] Better repr for multiprocessing.synchronize objects

2021-10-18 Thread Andrei Kulakov
Andrei Kulakov added the comment: Nihir: in synchronize.py, only Barrier inherits from threading.Barrier, as far as I can see. Other classes inherit from `object`. -- nosy: +andrei.avk ___ Python tracker

[issue45515] Add reference to zoneinfo in the datetime module documetnation

2021-10-18 Thread Paul Ganssle
Change by Paul Ganssle : -- keywords: +patch pull_requests: +27309 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29038 ___ Python tracker ___

[issue45221] Linker flags starting with -h breaks setup.py (regression)

2021-10-18 Thread miss-islington
miss-islington added the comment: New changeset b1949e0b58714724a3105cad3ad1b61384688da7 by Miss Islington (bot) in branch '3.10': [3.10] bpo-45221: Fix handling of LDFLAGS and CPPFLAGS options in setup.py (GH-29031) (GH-29037)

[issue37295] Possible optimizations for math.comb()

2021-10-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Microbenchmarks: $ ./python -m pyperf timeit -s 'from math import comb' '[comb(n, k) for n in range(63) for k in range(n+1)]' Mean +- std dev: 1.57 ms +- 0.07 ms -> 209 us +- 11 us: 7.53x faster $ ./python -m pyperf timeit -s 'from math import comb'

[issue45515] Add reference to zoneinfo in the datetime module documetnation

2021-10-18 Thread Paul Ganssle
New submission from Paul Ganssle : Right now the datetime documentation recommends using `dateutil.tz` for IANA time zones, but we should update this to point to `zoneinfo`. -- assignee: p-ganssle components: Documentation messages: 404207 nosy: p-ganssle priority: low severity:

[issue45221] Linker flags starting with -h breaks setup.py (regression)

2021-10-18 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 6.0 -> 7.0 pull_requests: +27308 pull_request: https://github.com/python/cpython/pull/29037 ___ Python tracker

[issue45514] Deprecate legacy functions from importlib.resources (importlib_resources 5.3)

2021-10-18 Thread Jason R. Coombs
Change by Jason R. Coombs : -- keywords: +patch pull_requests: +27307 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29036 ___ Python tracker ___

[issue45221] Linker flags starting with -h breaks setup.py (regression)

2021-10-18 Thread Ned Deily
Ned Deily added the comment: New changeset 6a533a423869e28d9086cf4d79029f59e9eec916 by andrei kulakov in branch 'main': bpo-45221: Fix handling of LDFLAGS and CPPFLAGS options in setup.py (GH-29031) https://github.com/python/cpython/commit/6a533a423869e28d9086cf4d79029f59e9eec916

[issue40379] multiprocessing's default start method of fork()-without-exec() is broken

2021-10-18 Thread wim glenn
Change by wim glenn : -- nosy: +wim.glenn ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45514] Deprecate legacy functions from importlib.resources (importlib_resources 5.3)

2021-10-18 Thread Jason R. Coombs
New submission from Jason R. Coombs : [importlib_resources 5.3](https://importlib-resources.readthedocs.io/en/latest/history.html#v5-3-0), deprecates the functions in _legacy. Let's introduce that deprecation in CPython also. In addition to merging the changes from importlib_resources, this

[issue24319] Crash during "make coverage-report"

2021-10-18 Thread Irit Katriel
Irit Katriel added the comment: 3.6 is no longer maintained. Is this still an issue on 3.9+? -- nosy: +iritkatriel status: open -> pending ___ Python tracker ___

  1   2   >