[issue42369] Reading ZipFile not thread-safe

2020-11-17 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- nosy: +serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https

[issue42384] Inconsistent sys.path between python and pdb

2020-11-17 Thread Andrey Bienkowski
Andrey Bienkowski added the comment: After reading Lib/pdb.py:main I believe I can fix both by changing a single line. -- ___ Python tracker ___ _

[issue40897] Inheriting from class that defines __new__ causes inspect.signature to always return (*args, **kwargs) for constructor

2020-11-17 Thread hongweipeng
Change by hongweipeng : -- keywords: +patch nosy: +hongweipeng nosy_count: 6.0 -> 7.0 pull_requests: +5 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23336 ___ Python tracker __

[issue42385] Should enum.auto's behavior be adjusted for StrEnum to return the enum name?

2020-11-17 Thread Antony Lee
New submission from Antony Lee : Currently, enum.auto doesn't work with the new (Py3.10) StrEnum: `class E(enum.StrEnum): a = enum.auto()` results in `TypeError: 1 is not a string`. I would guess that the most reasonable behavior for auto() in a StrEnum would be to return the name itself, as

[issue39584] multiprocessing.shared_memory: MacOS crashes by running attached Python code

2020-11-17 Thread Christian Heimes
Christian Heimes added the comment: I'm strong -1 on any kind of arbitrary memory limit. Python is used on all sorts of hardware from RPi to super computers. 1 TB sounds like a lot, but it really is not. These days you can buy workstation computers with more than 1 TB RAM. I would be ok wit

[issue42385] Should enum.auto's behavior be adjusted for StrEnum to return the enum name?

2020-11-17 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +barry, eli.bendersky, ethan.furman ___ Python tracker ___ ___ Python-bugs-list mailin

[issue41861] Convert sqlite3 to heap types (PEP 384)

2020-11-17 Thread Erlend Egeberg Aasland
Change by Erlend Egeberg Aasland : -- title: Convert sqlite3 to PEP 384 -> Convert sqlite3 to heap types (PEP 384) type: -> resource usage versions: +Python 3.10 ___ Python tracker __

[issue41861] Convert sqlite3 to heap types (PEP 384)

2020-11-17 Thread Erlend Egeberg Aasland
Change by Erlend Egeberg Aasland : -- pull_requests: +6 pull_request: https://github.com/python/cpython/pull/23337 ___ Python tracker ___ __

[issue39584] multiprocessing.shared_memory: MacOS crashes by running attached Python code

2020-11-17 Thread Ronald Oussoren
Ronald Oussoren added the comment: Having thought about this a little more: I agree, we shouldn’t hard code a limit. I’m not against working around misfeatures, but in this case that’s hard to do: Even if we’d limit the size of a single shared memory segment the user can create a number of t

[issue39584] multiprocessing.shared_memory: MacOS crashes by running attached Python code

2020-11-17 Thread Ronald Oussoren
Ronald Oussoren added the comment: I’ve filed an issue with Apple about this: FB8903019 -- ___ Python tracker ___ ___ Python-bugs-li

[issue42383] Pdb does not correclty restart the target if it changes the current directory

2020-11-17 Thread Andrey Bienkowski
Change by Andrey Bienkowski : -- keywords: +patch pull_requests: +7 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23338 ___ Python tracker __

[issue42384] Inconsistent sys.path between python and pdb

2020-11-17 Thread Andrey Bienkowski
Change by Andrey Bienkowski : -- keywords: +patch pull_requests: +8 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23338 ___ Python tracker __

[issue42386] Update icons for macOS 11

2020-11-17 Thread Forrest Jiang
New submission from Forrest Jiang <17jian...@gmail.com>: macOS Big Sur has updated default folder, file, drive icons, as well as introduced new guidelines for app icons: https://developer.apple.com/design/human-interface-guidelines/macos/icons-and-images/app-icon/ The current icons on macOS s

[issue42386] Update icons for macOS 11

2020-11-17 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch nosy: +python-dev nosy_count: 3.0 -> 4.0 pull_requests: +9 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23339 ___ Python tracker _

[issue42387] Pdb should restore the execution environment before reexecuting the target

2020-11-17 Thread Andrey Bienkowski
New submission from Andrey Bienkowski : When the target exits, pdb automatically restarts it. If the target changed something before exiting the changes will remain unless pdb explicitly undoes them. While working on #42383 I had an idea: it would be useful if pdb reverted the changes the tar

[issue42287] Use Py_NewRef & Py_XNewRef where applicable

2020-11-17 Thread STINNER Victor
STINNER Victor added the comment: > Didn't know that. Well if that's the case, then obviously there is no reason > to work specifically on this conversion. If people want to use Py_NewRef(), I suggest to do while modifying the code for another reason. But not propose PRs just to use Py_NewRe

[issue40939] Remove the old parser

2020-11-17 Thread STINNER Victor
STINNER Victor added the comment: We should check of the 3 mentioned projects (mod_wsgi, kdevelop-python, unbound) use the removed functions to suggest a similar replacement. I understood that there is no drop-in replacement. unbound does not use to get the parsed Python code as CST, but use

[issue41625] Add splice() to the os module

2020-11-17 Thread STINNER Victor
STINNER Victor added the comment: > .. availability:: Linux kernel >= 2.6.17 or glibc >= 2.5 Do you mean "Linux kernel >= 2.6.17 and glibc >= 2.5" ? > .. data:: SPLICE_F_MOVE Maybe also add ".. versionadded:: 3.10" on these constants. -- ___

[issue41861] Convert sqlite3 to heap types (PEP 384)

2020-11-17 Thread STINNER Victor
STINNER Victor added the comment: Is it done? Can we close the issue? -- ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue41861] Convert sqlite3 to heap types (PEP 384)

2020-11-17 Thread STINNER Victor
STINNER Victor added the comment: New changeset 2ffba2a1027909e1dd697bf8ec2a03fba7618020 by Erlend Egeberg Aasland in branch 'master': bpo-41861, _sqlite3 : Add NEWS entry and rename variables (GH-23337) https://github.com/python/cpython/commit/2ffba2a1027909e1dd697bf8ec2a03fba7618020 -

[issue41861] Convert sqlite3 to heap types (PEP 384)

2020-11-17 Thread hai shi
Change by hai shi : -- nosy: +shihai1991 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.

[issue41861] Convert sqlite3 to heap types (PEP 384)

2020-11-17 Thread Erlend Egeberg Aasland
Erlend Egeberg Aasland added the comment: Yes, all sqlite3 types are converted to heap types. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker __

[issue40939] Remove the old parser

2020-11-17 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: > This code is non-trivial :-( Should we provide a *new* C function doing that? We could discuss adding a new C function, but IMHO that code is not especially horrible or unreadable. I agree it could be simpler, though. -- ___

[issue41625] Add splice() to the os module

2020-11-17 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: > Do you mean "Linux kernel >= 2.6.17 and glibc >= 2.5" ? My understanding is that glibc provides emulation for glibc >= 2.5 The section from the manpage says: The splice() system call first appeared in Linux 2.6.17; library support was

[issue41625] Add splice() to the os module

2020-11-17 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +22231 pull_request: https://github.com/python/cpython/pull/23340 ___ Python tracker ___ ___

[issue42388] subprocess.check_output(['echo', 'test'], text=True, input=None) fails

2020-11-17 Thread ThiefMaster
New submission from ThiefMaster : `subprocess.check_output(['echo', 'test'], text=True, input=None)` fails with `AttributeError: 'bytes' object has no attribute 'encode'` due to the function only checking for `universal_newlines` but not `text`: https://github.com/python/cpython/blob/2ffba2a1

[issue42382] No easy way to get the distribution which provided a importlib.metadata.EntryPoint

2020-11-17 Thread Jason R. Coombs
Jason R. Coombs added the comment: Pedro - thanks for the detailed report. Pull requests against importlib_metadata are easier to accept because they can be tested more easily, released more rapidly, and there's a straightforward way to port them to CPython. Regardless, I see you've proposed

[issue40956] Use Argument Clinic in sqlite3

2020-11-17 Thread Erlend Egeberg Aasland
Change by Erlend Egeberg Aasland : -- pull_requests: +22232 pull_request: https://github.com/python/cpython/pull/23341 ___ Python tracker ___ __

[issue17263] crash when tp_dealloc allows other threads

2020-11-17 Thread Irit Katriel
Irit Katriel added the comment: Is this a python 2-only issue? -- nosy: +iritkatriel ___ Python tracker ___ ___ Python-bugs-list ma

[issue42386] Update icons for macOS 11

2020-11-17 Thread Ronald Oussoren
Ronald Oussoren added the comment: I agree that the icons need a refresh, but: I'd also like to have icons in an editable from. The current icons were created by someone that donated the icons themselves and not their sources. This has made it impossible to update them (this redesign, but

[issue9538] Replace confusing pseudoname 'object' in special methods section.

2020-11-17 Thread Irit Katriel
Change by Irit Katriel : -- versions: +Python 3.10, Python 3.8, Python 3.9 -Python 3.3, Python 3.4 ___ Python tracker ___ ___ Python-

[issue42386] Update icons for macOS 11

2020-11-17 Thread Ronald Oussoren
Change by Ronald Oussoren : -- versions: -Python 3.6, Python 3.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue42323] [AIX] test_math: test_nextafter(float('nan'), 1.0) does not return a NaN on AIX

2020-11-17 Thread Michael Felt
Michael Felt added the comment: Yes, just probing, the version of gcc is irrelevant. What I do believe is important is that bot run 374, 375 and 376 passed - On AIX 7.1 TL4 SP8. The failure starting with 377 is an undefined variable. "./Modules/posixmodule.c", line 15146.53: 1506-045 (S) Un

[issue42382] No easy way to get the distribution which provided a importlib.metadata.EntryPoint

2020-11-17 Thread Pedro Algarvio
Pedro Algarvio added the comment: Guess I jumped too fast :) Will the changes in CPythom be included in `importlib_metadata`? -- ___ Python tracker ___ __

[issue41713] _signal module leak: test_interpreters leaked [1424, 1422, 1424] references

2020-11-17 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +22233 pull_request: https://github.com/python/cpython/pull/23342 ___ Python tracker ___ __

[issue40637] Allow users to disable builtin hash modules on compile time

2020-11-17 Thread Christian Heimes
Christian Heimes added the comment: New changeset 975022b77b0024ea1548f19d5f91aba5ba1eed59 by Christian Heimes in branch 'master': bpo-40637: Don't test builtin PBKDF2 without builtin hashes (GH-20980) https://github.com/python/cpython/commit/975022b77b0024ea1548f19d5f91aba5ba1eed59 ---

[issue40637] Allow users to disable builtin hash modules on compile time

2020-11-17 Thread miss-islington
Change by miss-islington : -- pull_requests: +22234 pull_request: https://github.com/python/cpython/pull/23343 ___ Python tracker ___ __

[issue42386] Update icons for macOS 11

2020-11-17 Thread Forrest Jiang
Forrest Jiang <17jian...@gmail.com> added the comment: I see, I'll add SVG files to the repo if I make any changes. -- ___ Python tracker ___ __

[issue40637] Allow users to disable builtin hash modules on compile time

2020-11-17 Thread miss-islington
miss-islington added the comment: New changeset 656d50f98d9aec5e5283f77adc38e91813273662 by Miss Islington (bot) in branch '3.9': bpo-40637: Don't test builtin PBKDF2 without builtin hashes (GH-20980) https://github.com/python/cpython/commit/656d50f98d9aec5e5283f77adc38e91813273662

[issue42382] No easy way to get the distribution which provided a importlib.metadata.EntryPoint

2020-11-17 Thread Jason R. Coombs
Jason R. Coombs added the comment: Yes - I keep both in sync. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue17263] crash when tp_dealloc allows other threads

2020-11-17 Thread Charles-François Natali
Change by Charles-François Natali : -- nosy: -neologix ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue17816] Weak*Dictionary KeyErrors during callbacks

2020-11-17 Thread Irit Katriel
Irit Katriel added the comment: This was fixed in Python 3 and Python 2 is past its EOL. -- nosy: +iritkatriel resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker __

[issue42389] test_multiprocessing: @requires_hashdigest() prevents test discovery

2020-11-17 Thread Christian Heimes
New submission from Christian Heimes : The helper function "install_tests_in_module_dict" uses subclass checks to detect test cases in module globals: if issubclass(base, BaseTestCase): ... elif issubclass(base, unittest.TestCase): ... However @requires_hashdigest() re

[issue17808] No code example for Event object in threading module

2020-11-17 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> rejected stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bu

[issue41713] _signal module leak: test_interpreters leaked [1424, 1422, 1424] references

2020-11-17 Thread STINNER Victor
STINNER Victor added the comment: New changeset 296a796951032f678d063008f588ccc6958d0df1 by Victor Stinner in branch 'master': bpo-41713: Remove PyOS_InitInterrupts() function (GH-23342) https://github.com/python/cpython/commit/296a796951032f678d063008f588ccc6958d0df1 -- __

[issue42345] Equality of typing.Literal depends on the order of arguments

2020-11-17 Thread miss-islington
miss-islington added the comment: New changeset ac472b316cbb22ab8b750a474e991b46d1e92e15 by Yurii Karabas in branch '3.9': [3.9] bpo-42345: Fix three issues with typing.Literal parameters (GH-23294) (GH-23335) https://github.com/python/cpython/commit/ac472b316cbb22ab8b750a474e991b46d1e92e15

[issue17939] Misleading information about slice assignment in docs

2020-11-17 Thread Irit Katriel
Change by Irit Katriel : -- versions: +Python 3.10, Python 3.8, Python 3.9 -Python 3.3 ___ Python tracker ___ ___ Python-bugs-list m

[issue42390] Other Python implementations may not expose the module name in datetime type names

2020-11-17 Thread William Meehan
Change by William Meehan : -- components: Tests nosy: wmeehan priority: normal severity: normal status: open title: Other Python implementations may not expose the module name in datetime type names versions: Python 3.10, Python 3.7, Python 3.8, Python 3.9

[issue42390] Other Python implementations may not expose the module name in datetime type names

2020-11-17 Thread William Meehan
New submission from William Meehan : This just requires some changes to test_datetime and test_hash -- ___ Python tracker ___ ___ Py

[issue41713] _signal module leak: test_interpreters leaked [1424, 1422, 1424] references

2020-11-17 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +22236 pull_request: https://github.com/python/cpython/pull/23344 ___ Python tracker ___ __

[issue41686] C++ Embedded 'time.sleep()' is not working on Windows host due to 'Py_InitializeEx(0)'

2020-11-17 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +22235 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23344 ___ Python tracker ___ _

[issue42345] Equality of typing.Literal depends on the order of arguments

2020-11-17 Thread Guido van Rossum
Guido van Rossum added the comment: I recommend adding a whatsnew entry too. You can just add it to this issue. Interestingly you’ll probably need two separate ones, for 3.9 and 3.10. That would become two separate PRs for master, the 3.9 one to be backported. -- resolution: -> fixed

[issue42386] Update icons for macOS 11

2020-11-17 Thread Forrest Jiang
Forrest Jiang <17jian...@gmail.com> added the comment: On another note, beginning with Big Sur, document icons can be system-generated: https://developer.apple.com/news/?id=5i6jlf4d -- ___ Python tracker ___

[issue42202] Optimize function annotation

2020-11-17 Thread Mark Shannon
Mark Shannon added the comment: For top level functions (functions created once) this isn't going to make any real difference. There might be a small speedup for function creation, but it isn't going to be measurable. For nested functions with annotations, where many functions are created fr

[issue42264] Deprecate or remove sqlite3.OptimizedUnicode

2020-11-17 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset a1f401a58b213e400fbd8f0fa8dc5260a2389dab by Erlend Egeberg Aasland in branch 'master': bpo-42264: Deprecate sqlite3.OptimizedUnicode (GH-23163) https://github.com/python/cpython/commit/a1f401a58b213e400fbd8f0fa8dc5260a2389dab -- nosy

[issue42390] Other Python implementations may not expose the module name in datetime type names

2020-11-17 Thread William Meehan
Change by William Meehan : -- keywords: +patch pull_requests: +22237 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23345 ___ Python tracker ___ _

[issue42202] Optimize function annotation

2020-11-17 Thread Yurii Karabas
Yurii Karabas <1998uri...@gmail.com> added the comment: I have just implemented `co_annotations` field for `CodeObject`. I wrote a simple benchmark to measure the time required to import black module (I took black because it contains a log of annotations). Benchmark simply run `python -m timei

[issue42385] Should enum.auto's behavior be adjusted for StrEnum to return the enum name?

2020-11-17 Thread Ethan Furman
Ethan Furman added the comment: A good idea. Since the Python opinion of enum members is that they be upper-cased, and every magic string constant I have seen is lower-case, `StrEnum._generate_next_value_` should lower case the name. Users can substitute their own `_gnv_` for different beh

[issue42264] Deprecate or remove sqlite3.OptimizedUnicode

2020-11-17 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue42202] Optimize function annotation

2020-11-17 Thread Jakub Stasiak
Jakub Stasiak added the comment: Yurii, I don't believe that benchmark measures what you need to measure (once imported module is kept imported forever until unloaded, so successive imports are no-ops). See how the side effects of importing bbb only happen once: % cat bbb.py import time t

[issue23023] ./Modules/ld_so_aix not found on AIX during test_distutils

2020-11-17 Thread Kevin
Kevin added the comment: Is this issue still relevant? I can't find any current buildbot errors on AIX for this test. -- nosy: +kadler ___ Python tracker ___

[issue41713] _signal module leak: test_interpreters leaked [1424, 1422, 1424] references

2020-11-17 Thread STINNER Victor
STINNER Victor added the comment: New changeset 0ae323b87f1bed64a7fa70f5a41a5800aca032cc by Victor Stinner in branch 'master': bpo-41686: Always create the SIGINT event on Windows (GH-23344) https://github.com/python/cpython/commit/0ae323b87f1bed64a7fa70f5a41a5800aca032cc -- __

[issue41686] C++ Embedded 'time.sleep()' is not working on Windows host due to 'Py_InitializeEx(0)'

2020-11-17 Thread STINNER Victor
STINNER Victor added the comment: New changeset 0ae323b87f1bed64a7fa70f5a41a5800aca032cc by Victor Stinner in branch 'master': bpo-41686: Always create the SIGINT event on Windows (GH-23344) https://github.com/python/cpython/commit/0ae323b87f1bed64a7fa70f5a41a5800aca032cc -- __

[issue41686] C++ Embedded 'time.sleep()' is not working on Windows host due to 'Py_InitializeEx(0)'

2020-11-17 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +22238 pull_request: https://github.com/python/cpython/pull/23346 ___ Python tracker ___ __

[issue41686] C++ Embedded 'time.sleep()' is not working on Windows host due to 'Py_InitializeEx(0)'

2020-11-17 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +22239 pull_request: https://github.com/python/cpython/pull/23347 ___ Python tracker ___ __

[issue41713] _signal module leak: test_interpreters leaked [1424, 1422, 1424] references

2020-11-17 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +22240 pull_request: https://github.com/python/cpython/pull/23347 ___ Python tracker ___ __

[issue13875] Improve description of cmd module

2020-11-17 Thread Irit Katriel
Change by Irit Katriel : -- versions: +Python 3.10, Python 3.8, Python 3.9 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue41625] Add splice() to the os module

2020-11-17 Thread STINNER Victor
STINNER Victor added the comment: I reopen the issue. This issue broke Python compilation on AIX. https://buildbot.python.org/all/#/builders/302/builds/377 configure: "checking for splice... yes" "./Modules/posixmodule.c", line 15146.53: 1506-045 (S) Undeclared identifier SPLICE_F_MOVE. "./

[issue42323] [AIX] test_math: test_nextafter(float('nan'), 1.0) does not return a NaN on AIX

2020-11-17 Thread STINNER Victor
STINNER Victor added the comment: > "./Modules/posixmodule.c", line 15146.53: 1506-045 (S) Undeclared identifier > SPLICE_F_MOVE. This is unrelated: https://bugs.python.org/issue41625#msg381259 Please continue the discussion this SPLICE there. -- ___

[issue41625] Add splice() to the os module

2020-11-17 Thread STINNER Victor
STINNER Victor added the comment: > The splice() system call first appeared in Linux 2.6.17; > library support was added to glibc in version 2.5. There is no emulation. It's just a function which wraps the syscall: https://sourceware.org/git/?p=glibc.git;a=blob;f=sysdeps/unix/sysv/linux/splic

[issue42323] [AIX] test_math: test_nextafter(float('nan'), 1.0) does not return a NaN on AIX

2020-11-17 Thread Mark Dickinson
Mark Dickinson added the comment: [Victor] > How can we fix the buildbot? Add #ifdef in mathmodule.c to implement the > special cases, but only on AIX? Skip the test? I'm not super-keen on using #ifdefs to implement the special-case handling _just_ for AIX: that opens the door to a labyrint

[issue42391] Clarify documentation of TestCase.assertIs

2020-11-17 Thread Ram Rachum
New submission from Ram Rachum : Writing the patch now. -- assignee: docs@python components: Documentation messages: 381263 nosy: cool-RR, docs@python priority: normal severity: normal status: open title: Clarify documentation of TestCase.assertIs type: enhancement versions: Python 3.10

[issue42391] Clarify documentation of TestCase.assertIs

2020-11-17 Thread Ram Rachum
Change by Ram Rachum : -- keywords: +patch pull_requests: +22241 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23348 ___ Python tracker ___ _

[issue42202] Optimize function annotation

2020-11-17 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: If you want to measure import time, use python -m timeit -s "from sys import modules; modules_copy = modules.copy()" "import black; modules.clear(); modules.update(modules_copy)" But I would be surprised to see significant difference in this case. What

[issue41686] C++ Embedded 'time.sleep()' is not working on Windows host due to 'Py_InitializeEx(0)'

2020-11-17 Thread STINNER Victor
STINNER Victor added the comment: New changeset cda23be092f4a72e4f335cf182f11e7bd7fd98eb by Victor Stinner in branch 'master': bpo-41686: Refactor signal_exec() (GH-23346) https://github.com/python/cpython/commit/cda23be092f4a72e4f335cf182f11e7bd7fd98eb -- _

[issue41686] C++ Embedded 'time.sleep()' is not working on Windows host due to 'Py_InitializeEx(0)'

2020-11-17 Thread STINNER Victor
STINNER Victor added the comment: New changeset 05a5d697f4f097f37c5c1e2ed0e2338a33c3fb6a by Victor Stinner in branch '3.9': bpo-41686: Always create the SIGINT event on Windows (GH-23344) (GH-23347) https://github.com/python/cpython/commit/05a5d697f4f097f37c5c1e2ed0e2338a33c3fb6a --

[issue41713] _signal module leak: test_interpreters leaked [1424, 1422, 1424] references

2020-11-17 Thread STINNER Victor
STINNER Victor added the comment: New changeset 05a5d697f4f097f37c5c1e2ed0e2338a33c3fb6a by Victor Stinner in branch '3.9': bpo-41686: Always create the SIGINT event on Windows (GH-23344) (GH-23347) https://github.com/python/cpython/commit/05a5d697f4f097f37c5c1e2ed0e2338a33c3fb6a --

[issue41686] C++ Embedded 'time.sleep()' is not working on Windows host due to 'Py_InitializeEx(0)'

2020-11-17 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +22242 pull_request: https://github.com/python/cpython/pull/23349 ___ Python tracker ___ __

[issue41713] _signal module leak: test_interpreters leaked [1424, 1422, 1424] references

2020-11-17 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +22243 pull_request: https://github.com/python/cpython/pull/23349 ___ Python tracker ___ __

[issue41625] Add splice() to the os module

2020-11-17 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset fa96608513b6eafe48777f1a5504134939dcbebc by Pablo Galindo in branch 'master': bpo-41625: Add versionadded to os.splice() constants (GH-23340) https://github.com/python/cpython/commit/fa96608513b6eafe48777f1a5504134939dcbebc --

[issue41625] Add splice() to the os module

2020-11-17 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +22244 stage: resolved -> patch review pull_request: https://github.com/python/cpython/pull/23350 ___ Python tracker ___ ___

[issue41625] Add splice() to the os module

2020-11-17 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +22245 pull_request: https://github.com/python/cpython/pull/23351 ___ Python tracker ___ ___

[issue42390] Other Python implementations may not expose the module name in datetime type names

2020-11-17 Thread Paul Ganssle
Paul Ganssle added the comment: Is this an actual problem for another implementation of Python? Is there some reason to think that we intended the repr of a `datetime` object to be implementation-defined? -- nosy: +p-ganssle ___ Python tracker

[issue42094] isoformat() / fromisoformat() for datetime.timedelta

2020-11-17 Thread Paul Ganssle
Change by Paul Ganssle : -- nosy: +p-ganssle ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue17854] symmetric difference operation applicable to more than two sets

2020-11-17 Thread Irit Katriel
Irit Katriel added the comment: I agree that the doc is fine as it is. If there will be no objections/suggestions in the next couple of weeks I will close this issue. -- nosy: +iritkatriel status: open -> pending ___ Python tracker

[issue42390] Other Python implementations may not expose the module name in datetime type names

2020-11-17 Thread William Meehan
William Meehan added the comment: For Python implementations that change the underlying object structure, it's not necessarily possible to recreate the `tp_name` that would be exposed in CPython. The `datetime` ends up in `__module__`, while only the type name ends up in `__name__`. There's

[issue42202] Optimize function annotation

2020-11-17 Thread Yurii Karabas
Yurii Karabas <1998uri...@gmail.com> added the comment: I have run tests with different types of function declaration. A function declaration with annotations is more than 2 times faster with the co_annotatins feature. If function doesn't have annotations time almost same as without co_annot

[issue42094] isoformat() / fromisoformat() for datetime.timedelta

2020-11-17 Thread Paul Ganssle
Paul Ganssle added the comment: This is probably more feasible than the proposal in bpo-41254 since it's a well-defined spec (mostly — it includes an optional alternative format and the number of digits allowed is defined "by agreement", thus defeating the purpose of using a spec in the first

[issue42390] Other Python implementations may not expose the module name in datetime type names

2020-11-17 Thread Paul Ganssle
Paul Ganssle added the comment: What is an example of another Python implementation that has this property? Is there a concrete issue open somewhere that this is solving? I am not unsympathetic to the idea of accommodating other implementations of Python, but this is very abstract and I thin

[issue42392] remove the 'loop' parameter from __init__ in all classes in asyncio.locks

2020-11-17 Thread Yury Selivanov
New submission from Yury Selivanov : asyncio.Lock and other primitives should no longer accept the `loop` parameter. They should also stop storing the current loop in the `self._loop` attribute. Instead, they should use `get_running_loop()` whenever they need to access the loop. -- c

[issue42392] remove the 'loop' parameter from __init__ in all classes in asyncio.locks

2020-11-17 Thread Yury Selivanov
Yury Selivanov added the comment: (or alternatively they can cache the running `loop`, but the first loop lookup should be performed with `asyncio.get_running_loop()`) -- ___ Python tracker

[issue42392] remove the 'loop' parameter from __init__ in all classes in asyncio.locks

2020-11-17 Thread Yury Selivanov
Yury Selivanov added the comment: Kyle, lmk if you want to work on this. -- nosy: +aeros ___ Python tracker ___ ___ Python-bugs-lis

[issue12545] os.lseek() and FileIO.seek() does not support offset larger than 2^63-1

2020-11-17 Thread Irit Katriel
Change by Irit Katriel : -- versions: +Python 3.10, Python 3.9 -Python 3.4 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue15004] add weakref support to types.SimpleNamespace

2020-11-17 Thread Irit Katriel
Change by Irit Katriel : -- versions: +Python 3.10, Python 3.9 -Python 3.4 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue42392] remove the 'loop' parameter from __init__ in all classes in asyncio.locks

2020-11-17 Thread Andrew Svetlov
Andrew Svetlov added the comment: This was on my to-do list but I very much appreciate if somebody champions this issue. I should finish sslproto PR first. -- ___ Python tracker

[issue42349] Compiler front-end produces a broken CFG

2020-11-17 Thread Mark Shannon
Mark Shannon added the comment: New changeset 266b462238bddec0213effad3650f19c56511e9f by Mark Shannon in branch 'master': bpo-42349: Compiler clean up. More yak-shaving for PEP 626. (GH-23267) https://github.com/python/cpython/commit/266b462238bddec0213effad3650f19c56511e9f -- ___

[issue39934] Fatal Python error "XXX block stack overflow" when exception stacks >10

2020-11-17 Thread Mark Shannon
Mark Shannon added the comment: New changeset 48a9c0eb2a3304ea64d1b32fdf9db853d5d8c429 by Irit Katriel in branch '3.9': [3.9] bpo-39934: Account for control blocks in 'except' in compiler. (GH-22395) (GH-23303) https://github.com/python/cpython/commit/48a9c0eb2a3304ea64d1b32fdf9db853d5d8c429

[issue41625] Add splice() to the os module

2020-11-17 Thread miss-islington
miss-islington added the comment: New changeset e59958f8b6815f51f6c33b6a613cf8467ca18a11 by Pablo Galindo in branch 'master': bpo-41625: Specify that Linux >= 2.6.17 *and* glibc >= 2.5 are requir… (GH-23351) https://github.com/python/cpython/commit/e59958f8b6815f51f6c33b6a613cf8467ca18a11 -

[issue41625] Add splice() to the os module

2020-11-17 Thread miss-islington
miss-islington added the comment: New changeset 2a9eddf070f72060f62db1856a0af2e08729a46c by Pablo Galindo in branch 'master': bpo-41625: Add a guard for Linux for splice() constants in the os module (GH-23350) https://github.com/python/cpython/commit/2a9eddf070f72060f62db1856a0af2e08729a46c

[issue18122] RuntimeError: not holding the import lock

2020-11-17 Thread Irit Katriel
Irit Katriel added the comment: Closing as this is a python-2 only issue. -- nosy: +iritkatriel resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker _

  1   2   >