[issue6143] IDLE - clear and restart the shell window

2022-03-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: https://stackoverflow.com/questions/71290382/how-do-i-adjust-python-idle-shell-settings-so-that-the-next-line-of-code-i-type is from someone who, for whatever reason, likes having blank space in the shell below the input prompt. It is not clear whether deleti

[issue46888] SharedMemory.close() destroys memory

2022-03-01 Thread Ronny Rentner
Ronny Rentner added the comment: Thanks for your quick response. My bigger scope is real time audio and video processing where I use multiple processes that need to be synchronized. I use shared memory for that. As a small spin off, I've hacked together a dict that is using shared memory as

[issue43853] [sqlite3] Improve sqlite3_value_text() error handling

2022-03-01 Thread miss-islington
miss-islington added the comment: New changeset 3ea2a8f425d26e81d914c54d477e9d56eb27ac98 by Erlend Egeberg Aasland in branch '3.9': [3.9] bpo-43853: Expand test suite for SQLite UDF's (GH-27642) (GH-31030) (GH-31586) https://github.com/python/cpython/commit/3ea2a8f425d26e81d914c54d477e9d56eb

[issue46848] Use optimized string search function in mmap.find()

2022-03-01 Thread Dennis Sweeney
Dennis Sweeney added the comment: New changeset 6ddb09f35b922a3bbb59e408a3ca7636a6938468 by Dennis Sweeney in branch 'main': bpo-46848: Use stringlib/fastsearch in mmap (GH-31625) https://github.com/python/cpython/commit/6ddb09f35b922a3bbb59e408a3ca7636a6938468 -- _

[issue46848] Use optimized string search function in mmap.find()

2022-03-01 Thread Dennis Sweeney
Dennis Sweeney added the comment: Thanks for the report! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed type: -> performance ___ Python tracker _

[issue46195] Annotated and Optional get_type_hints buggy interaction

2022-03-01 Thread Jelle Zijlstra
Jelle Zijlstra added the comment: New changeset 20a1c8ee4bcb1c421b7cca1f3f5d6ad7ce30a9c9 by Nikita Sobolev in branch 'main': bpo-46195: Do not add `Optional` in `get_type_hints` (GH-30304) https://github.com/python/cpython/commit/20a1c8ee4bcb1c421b7cca1f3f5d6ad7ce30a9c9 -- nosy: +Je

[issue46195] Annotated and Optional get_type_hints buggy interaction

2022-03-01 Thread Jelle Zijlstra
Jelle Zijlstra added the comment: This is now fixed in 3.11, but we'll leave 3.10 and 3.9 alone. Thanks for your bug report! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue43853] [sqlite3] Improve sqlite3_value_text() error handling

2022-03-01 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue46896] add support for watching writes to selected dictionaries

2022-03-01 Thread Gregory P. Smith
Gregory P. Smith added the comment: At first quick glance, this makes sense and the API looks reasonable. Question: what happens on interpreter shutdown? Shutdown obviously finalized and clears out most all dicts. I guess the C callback simply gets called for each of these? That makes sens

[issue46888] SharedMemory.close() destroys memory

2022-03-01 Thread Eryk Sun
Eryk Sun added the comment: > The persistent mode sounds just like Python shared memory also works > on Linux (where I can have these /dev/shm/* files even after the > Python process ends) but I think on Windows, Python is not using > the persistent mode and thus the shared memory goes away,

<    1   2