[issue46588] fix typo in test_calltip.py

2022-02-03 Thread miss-islington
miss-islington added the comment: New changeset 663370aea5dcf9074455b45283e980c7bc353674 by Miss Islington (bot) in branch '3.9': bpo-46588: fix typo in test_calltip.py (GH-31119) https://github.com/python/cpython/commit/663370aea5dcf9074455b45283e980c7bc353674 --

[issue46615] Use-after-free by mutating set during set operations

2022-02-03 Thread Tim Peters
Tim Peters added the comment: Raised the priority back to normal. I agree with Dennis's observation that PyDict_Next is safe, provided it's used as intended: it returns borrowed references, but to things that absolutely are legitimate at the time. In the presence of mutations, *what* it retu

[issue46541] Replace _Py_IDENTIFIER() with statically initialized objects.

2022-02-03 Thread Eric Snow
Eric Snow added the comment: (thanks Victor: https://mail.python.org/archives/list/python-...@python.org/message/7RMLIJHUWVBZFV747TFEHOE6LNBVQSMM/) 3rd party use of _Py_IDENTIFIER(): * blender + https://github.com/blender/blender/blob/master/source/blender/python/intern/bpy_traceback.c#L

[issue46615] Use-after-free by mutating set during set operations

2022-02-03 Thread Dennis Sweeney
Change by Dennis Sweeney : -- keywords: +patch pull_requests: +29301 stage: -> patch review pull_request: https://github.com/python/cpython/pull/31120 ___ Python tracker ___ _

[issue46588] fix typo in test_calltip.py

2022-02-03 Thread miss-islington
Change by miss-islington : -- pull_requests: +29303 pull_request: https://github.com/python/cpython/pull/31122 ___ Python tracker ___ __

[issue46588] fix typo in test_calltip.py

2022-02-03 Thread miss-islington
miss-islington added the comment: New changeset 9ce0b00fb1172e743de985eda28e3335aa95014a by Miss Islington (bot) in branch '3.10': bpo-46588: fix typo in test_calltip.py (GH-31119) https://github.com/python/cpython/commit/9ce0b00fb1172e743de985eda28e3335aa95014a -- ___

[issue46627] Regex hangs indefinitely

2022-02-03 Thread Tim Peters
Tim Peters added the comment: Introducing some kind of optional timeout is too involved to just drop in without significant discussion and design effort first. If you want to pursue this, please bring it up on the python-ideas mailing list. My first take: it wouldn't really help, because nob

[issue46631] Implement a "strict" mode for getpass.getuser()

2022-02-03 Thread Eryk Sun
New submission from Eryk Sun : getpass.getuser() checks the environment variables LOGNAME (login name), USER, LNAME, and USERNAME, in that order. In Windows, LOGNAME, USER, and LNAME have no conventional usage. I think there should be a strict mode that restricts getuser() to check only USERN

[issue20039] Missing documentation for argparse.ArgumentTypeError

2022-02-03 Thread Yassir Karroum
Change by Yassir Karroum : -- keywords: +patch nosy: +ukarroum nosy_count: 6.0 -> 7.0 pull_requests: +29304 stage: -> patch review pull_request: https://github.com/python/cpython/pull/31125 ___ Python tracker __

[issue46200] Discourage logging f-strings due to security considerations

2022-02-03 Thread Arie Bovenberg
Arie Bovenberg added the comment: @rhettinger @tinchester I definitely see now that f-strings should have a place in logging. But do you agree that f-strings don't mix 100% safely with the current logger API? What are your thoughts on a safer set of logger functions (see my comments above,

[issue46066] Remove keyword args syntax for TypedDict definition

2022-02-03 Thread 97littleleaf11
Change by 97littleleaf11 <97littlelea...@gmail.com>: -- title: TypedDict alternative definition syntax with keyword args is confusing -> Remove keyword args syntax for TypedDict definition ___ Python tracker ___

[issue46066] Remove keyword args syntax for TypedDict definition

2022-02-03 Thread 97littleleaf11
Change by 97littleleaf11 <97littlelea...@gmail.com>: -- keywords: +patch pull_requests: +29305 stage: -> patch review pull_request: https://github.com/python/cpython/pull/31126 ___ Python tracker ___

<    1   2