[issue44817] os.path.realpath fails with WinError 161

2021-08-02 Thread Michael Förderer
Change by Michael Förderer : -- keywords: +patch pull_requests: +26081 stage: -> patch review pull_request: https://github.com/python/cpython/pull/27574 ___ Python tracker ___

[issue44817] os.path.realpath fails with WinError 161

2021-08-02 Thread Michael Förderer
New submission from Michael Förderer : Using os.path.realpath(...) in the MVFS of Clearcase SCM (virtual file system) in Windows 10 a exception occures: X:\my_view\tools\python\3_8>python.exe Python 3.8.5 (tags/v3.8.5:580fbb0, Jul 20 2020, 15:57:54) [MSC v.1924 64 bit (AMD64)] on win32 Type

[issue39091] _PyErr_CreateException() must check that the result is an exception (CPython Segfault in 5 lines of code)

2021-08-02 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 83ca46b7784b7357d82ec47b33295e09ed7380cb by Noah in branch 'main': closes bpo-39091: Fix segfault when Exception constructor returns non-exception for gen.throw. (#17658)

[issue39091] _PyErr_CreateException() must check that the result is an exception (CPython Segfault in 5 lines of code)

2021-08-02 Thread miss-islington
Change by miss-islington : -- pull_requests: +26080 pull_request: https://github.com/python/cpython/pull/27573 ___ Python tracker ___

[issue39091] _PyErr_CreateException() must check that the result is an exception (CPython Segfault in 5 lines of code)

2021-08-02 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 4.0 -> 5.0 pull_requests: +26079 pull_request: https://github.com/python/cpython/pull/27572 ___ Python tracker

[issue44808] test_inspect fails in refleak mode

2021-08-02 Thread Andrei Kulakov
Andrei Kulakov added the comment: Please disregard my last comment, I think I found a good way to fix it, the PR is up here: https://github.com/python/cpython/pull/27571/files -- ___ Python tracker

[issue44808] test_inspect fails in refleak mode

2021-08-02 Thread Andrei Kulakov
Change by Andrei Kulakov : -- pull_requests: +26078 pull_request: https://github.com/python/cpython/pull/27571 ___ Python tracker ___

[issue43498] "dictionary changed size during iteration" error in _ExecutorManagerThread

2021-08-02 Thread Dennis Sweeney
Dennis Sweeney added the comment: It was mentioned in bpo-40327 that although copy() makes the situation much better, it doesn't solve the problem entirely, since the memory allocation of the copy() call can release the GIL. I don't know enough to know whether it would be worth it to add

[issue44816] Folded constants do not trace correctly.

2021-08-02 Thread Brandt Bucher
New submission from Brandt Bucher : PEP 626 says that "all expressions and parts of expressions are considered to be executable code" for the purposes of tracing. However, folding constants at compile-time can lose or change tracing events. For example, these expressions (which can't be

[issue28973] [doc] The fact that multiprocess.Queue uses serialization should be documented.

2021-08-02 Thread Irit Katriel
Irit Katriel added the comment: There is a note mentioning pickle in this section: https://docs.python.org/3/library/multiprocessing.html#pipes-and-queues It starts with "When an object is put on a queue, the object is pickled and..." A comment about the object ids can be added there.

[issue22039] PyObject_SetAttr doesn't mention value = NULL

2021-08-02 Thread Irit Katriel
Irit Katriel added the comment: This behaviour is documented as deprecated all the way back to 2.7. Should we repurpose the issue to removing it? Otherwise it can be closed. https://docs.python.org/2.7/c-api/object.html#c.PyObject_SetAttr -- nosy: +iritkatriel resolution: ->

[issue18255] CPython setup.py problems

2021-08-02 Thread Irit Katriel
Irit Katriel added the comment: Is this still relevant now that distutils is deprecated? -- nosy: +iritkatriel ___ Python tracker ___

[issue33003] [doc] urllib: Document parse_http_list

2021-08-02 Thread Irit Katriel
Change by Irit Katriel : -- title: urllib: Document parse_http_list -> [doc] urllib: Document parse_http_list versions: +Python 3.10, Python 3.11, Python 3.9 -Python 2.7, Python 3.4, Python 3.5, Python 3.6, Python 3.7, Python 3.8 ___ Python

[issue33008] urllib.request.parse_http_list incorrectly strips backslashes

2021-08-02 Thread Irit Katriel
Change by Irit Katriel : -- type: -> behavior versions: +Python 3.10, Python 3.11, Python 3.9 -Python 2.7, Python 3.4, Python 3.5, Python 3.6, Python 3.7, Python 3.8 ___ Python tracker

[issue16580] [doc] Add examples to int.to_bytes and int.from_bytes

2021-08-02 Thread Irit Katriel
Change by Irit Katriel : -- title: Add examples to int.to_bytes and int.from_bytes -> [doc] Add examples to int.to_bytes and int.from_bytes versions: +Python 3.10, Python 3.11, Python 3.9 -Python 2.7, Python 3.2, Python 3.3, Python 3.4 ___ Python

[issue2824] zipfile to handle duplicate files in archive

2021-08-02 Thread Irit Katriel
Change by Irit Katriel : -- versions: +Python 3.10, Python 3.11, Python 3.9 -Python 2.6, Python 2.7, Python 3.2 ___ Python tracker ___

[issue34782] Pdb raises exception when code is executed in a mapping that does not define `__contains__`

2021-08-02 Thread Irit Katriel
Change by Irit Katriel : -- nosy: +iritkatriel nosy_count: 4.0 -> 5.0 pull_requests: +26077 pull_request: https://github.com/python/cpython/pull/27570 ___ Python tracker ___

[issue34782] Pdb raises exception when code is executed in a mapping that does not define `__contains__`

2021-08-02 Thread Irit Katriel
Change by Irit Katriel : -- title: Pdb crashes when code is executed in a mapping that does not define `__contains__` -> Pdb raises exception when code is executed in a mapping that does not define `__contains__` versions: +Python 3.10, Python 3.11, Python 3.9 -Python 3.7, Python 3.8

[issue44815] asyncio.gather no DeprecationWarning if task are passed

2021-08-02 Thread Sam Bull
Change by Sam Bull : -- pull_requests: +26076 pull_request: https://github.com/python/cpython/pull/27569 ___ Python tracker ___ ___

[issue43498] "dictionary changed size during iteration" error in _ExecutorManagerThread

2021-08-02 Thread Thomas Petazzoni
Thomas Petazzoni added the comment: For the record: we're seeing this issue ~50 times a day on our build infrastructure. -- ___ Python tracker ___

[issue43498] "dictionary changed size during iteration" error in _ExecutorManagerThread

2021-08-02 Thread Thomas Petazzoni
Thomas Petazzoni added the comment: I can confirm we are seeing the same issue when building Python 3.9 in the context of Buildroot. See http://autobuild.buildroot.net/results/ae6/ae6c4ab292589a4e4442dfb0a1286349a9bf4d29/build-end.log for an example build result. This happens since we have

[issue42698] Deadlock in pysqlite_connection_dealloc()

2021-08-02 Thread hydroflask
hydroflask added the comment: >> The major problem is that I don't exactly know how to provoke SQLite to >> acquire an internal lock. > IIRC, you can provoke the internal SQLite lock simply by using transaction > control: BEGIN (lock) => COMMIT / ROLLBACK (unlock). Ah okay, so the sequence

[issue42698] Deadlock in pysqlite_connection_dealloc()

2021-08-02 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: > In production the error was happening after 30 minutes of so. Great, thanks. > The major problem is that I don't exactly know how to provoke SQLite to > acquire an internal lock. IIRC, you can provoke the internal SQLite lock simply by using

[issue42698] Deadlock in pysqlite_connection_dealloc()

2021-08-02 Thread hydroflask
hydroflask added the comment: You did the right thing in terms of editing the code. I was not able to get a deadlock with this code which I think should be representative of the error. In production the error was happening after 30 minutes of so. The major problem is that I don't exactly

[issue42698] Deadlock in pysqlite_connection_dealloc()

2021-08-02 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: Thanks! I had to comment out the reg_func() call (it is not defined in test.py, and I don't know what it's supposed to do), and change "with lock.shared_context():" to "with lock:", but I'm unable get a deadlock. I've tried with Python 3.8 though 3.11

[issue44814] python 3.9.6 installation installs 0 modules

2021-08-02 Thread Dennis Sweeney
Dennis Sweeney added the comment: Are you still able to `import heapq` or `import sys`? `requests` and `filetype` are not part of the Python standard library, and must be installed separately. You can check out the tutorial here: https://packaging.python.org/tutorials/installing-packages/

[issue44792] Improve syntax errors for invalid if expressions

2021-08-02 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 567176249ea95c074eb80199aaf19f3a55aa3954 by Miss Islington (bot) in branch '3.10': bpo-44792: Improve syntax errors for if expressions (GH-27506) (GH-27565)

[issue44792] Improve syntax errors for invalid if expressions

2021-08-02 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue44814] python 3.9.6 installation installs 0 modules

2021-08-02 Thread Zachary Ware
Zachary Ware added the comment: Posting just an image link makes this look like spam. Please copy and paste text showing your problem into a message instead. -- nosy: +zach.ware ___ Python tracker

[issue44808] test_inspect fails in refleak mode

2021-08-02 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- priority: release blocker -> ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue44815] asyncio.gather no DeprecationWarning if task are passed

2021-08-02 Thread Sam Bull
Sam Bull added the comment: There is another issue with asyncio.sleep() too, if the passed argument is 0. This also tripped up the tests in aiohttp (though I've also used an explicit 0 in production code to yield back to the loop). -- ___ Python

[issue44782] LRU class given as example in OrderedDict docs not work on pop

2021-08-02 Thread miss-islington
miss-islington added the comment: New changeset c6e7c9860d5ac968c7a1073fdbfbd44e0e87f582 by Miss Islington (bot) in branch '3.10': bpo-44782: Improve OrderedDict recipe for LRU cache variants (GH-27536) https://github.com/python/cpython/commit/c6e7c9860d5ac968c7a1073fdbfbd44e0e87f582

[issue44782] LRU class given as example in OrderedDict docs not work on pop

2021-08-02 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset c50a672eebb16cf778d9a3b22b72d506c3f54ced by Miss Islington (bot) in branch '3.9': bpo-44782: Improve OrderedDict recipe for LRU cache variants (GH-27536) (GH-27567)

[issue44815] asyncio.gather no DeprecationWarning if task are passed

2021-08-02 Thread Sam Bull
Change by Sam Bull : -- keywords: +patch pull_requests: +26075 stage: -> patch review pull_request: https://github.com/python/cpython/pull/27568 ___ Python tracker ___

[issue44782] LRU class given as example in OrderedDict docs not work on pop

2021-08-02 Thread Raymond Hettinger
Change by Raymond Hettinger : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue44815] asyncio.gather no DeprecationWarning if task are passed

2021-08-02 Thread Sam Bull
New submission from Sam Bull : When calling asyncio.gather() a DeprecationWarning is only emitted if no tasks are passed (which is probably the exceptional case, rather than the standard one). This has resulted in us missing this deprecated argument in aiohttp until we received a bug report

[issue44814] python 3.9.6 installation installs 0 modules

2021-08-02 Thread nyizel
New submission from nyizel : https://nizel.is-inside.me/NEi7A4aM.png -- messages: 398793 nosy: trambell priority: normal severity: normal status: open title: python 3.9.6 installation installs 0 modules type: behavior versions: Python 3.9 ___ Python

[issue44782] LRU class given as example in OrderedDict docs not work on pop

2021-08-02 Thread miss-islington
Change by miss-islington : -- pull_requests: +26074 pull_request: https://github.com/python/cpython/pull/27567 ___ Python tracker ___

[issue44782] LRU class given as example in OrderedDict docs not work on pop

2021-08-02 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 6.0 -> 7.0 pull_requests: +26073 pull_request: https://github.com/python/cpython/pull/27566 ___ Python tracker

[issue44782] LRU class given as example in OrderedDict docs not work on pop

2021-08-02 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset 54f185b6d321a6354aef2b2886c766677f487ecb by Raymond Hettinger in branch 'main': bpo-44782: Improve OrderedDict recipe for LRU cache variants (GH-27536) https://github.com/python/cpython/commit/54f185b6d321a6354aef2b2886c766677f487ecb

[issue35183] os.path.splitext documentation needs typical example

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

[issue35183] os.path.splitext documentation needs typical example

2021-08-02 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 14cb669357bc30bdc235d1c32ee1b99be05ac9d8 by Miss Islington (bot) in branch '3.10': bpo-35183: Add typical examples to os.path.splitext docs (GH-27286) (GH-27563) https://github.com/python/cpython/commit/14cb669357bc30bdc235d1c32ee1b99be05ac9d8

[issue35183] os.path.splitext documentation needs typical example

2021-08-02 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset e0d599fa48032eb7b8d837f8412bbca72b6ad820 by Miss Islington (bot) in branch '3.9': bpo-35183: Add typical examples to os.path.splitext docs (GH-27286) (GH-27564) https://github.com/python/cpython/commit/e0d599fa48032eb7b8d837f8412bbca72b6ad820

[issue44812] [docs] Document PyMember_{Get/Set}One in C API reference

2021-08-02 Thread Łukasz Langa
Change by Łukasz Langa : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue44785] test_pickle issues "DeprecationWarning: The Tix Tk.."

2021-08-02 Thread Łukasz Langa
Change by Łukasz Langa : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.10, Python 3.9 ___ Python tracker ___

[issue44808] test_inspect fails in refleak mode

2021-08-02 Thread Andrei Kulakov
Andrei Kulakov added the comment: I've been looking into avoiding global modification of modules['__main__'], the options are: 1. remove the test and leave it at that 2. remove the test and open a new issue for re-adding a test ; and look for a way to do it safely 3. create a temp

[issue44806] Subclassing Protocol get different __init__

2021-08-02 Thread Łukasz Langa
Change by Łukasz Langa : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue44792] Improve syntax errors for invalid if expressions

2021-08-02 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 3.0 -> 4.0 pull_requests: +26072 pull_request: https://github.com/python/cpython/pull/27565 ___ Python tracker

[issue44792] Improve syntax errors for invalid if expressions

2021-08-02 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 28b6dc9dd5d1ce6f8aff7e06d4ef9afdc2bc8332 by Miguel Brito in branch 'main': bpo-44792: Improve syntax errors for if expressions (GH-27506) https://github.com/python/cpython/commit/28b6dc9dd5d1ce6f8aff7e06d4ef9afdc2bc8332 --

[issue44785] test_pickle issues "DeprecationWarning: The Tix Tk.."

2021-08-02 Thread miss-islington
miss-islington added the comment: New changeset aa7266854abc63524b4be40a3a83977b8ad166c6 by Miss Islington (bot) in branch '3.10': bpo-44785: Silence deprecation warnings in test_pickle (GH-27538) https://github.com/python/cpython/commit/aa7266854abc63524b4be40a3a83977b8ad166c6 --

[issue44806] Subclassing Protocol get different __init__

2021-08-02 Thread miss-islington
miss-islington added the comment: New changeset 2cc19a5463c804b2f39b94de896d55dcb57a364c by Miss Islington (bot) in branch '3.10': bpo-44806: Fix __init__ in subclasses of protocols (GH-27545) https://github.com/python/cpython/commit/2cc19a5463c804b2f39b94de896d55dcb57a364c --

[issue35183] os.path.splitext documentation needs typical example

2021-08-02 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 5.0 -> 6.0 pull_requests: +26070 pull_request: https://github.com/python/cpython/pull/27563 ___ Python tracker

[issue35183] os.path.splitext documentation needs typical example

2021-08-02 Thread miss-islington
Change by miss-islington : -- pull_requests: +26071 pull_request: https://github.com/python/cpython/pull/27564 ___ Python tracker ___

[issue35183] os.path.splitext documentation needs typical example

2021-08-02 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset aa0894b3792901adb91e5f6d049154b7bcb980ec by Jake Stockwin in branch 'main': bpo-35183: Add typical examples to os.path.splitext docs (GH-27286) https://github.com/python/cpython/commit/aa0894b3792901adb91e5f6d049154b7bcb980ec -- nosy:

[issue44809] Changelog missing removal of StrEnum etc.

2021-08-02 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: There was a revert of enum related changes in Python 3.10. Since the news file is generated I guess this is probably missed. -- nosy: +ethan.furman, xtreak ___ Python tracker

[issue44806] Subclassing Protocol get different __init__

2021-08-02 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 0f6a7739df0055b5c6abe2180f1be97ea4da87b7 by Miss Islington (bot) in branch '3.9': bpo-44806: Fix __init__ in subclasses of protocols (GH-27545) (GH-27559) https://github.com/python/cpython/commit/0f6a7739df0055b5c6abe2180f1be97ea4da87b7

[issue44785] test_pickle issues "DeprecationWarning: The Tix Tk.."

2021-08-02 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 4817c1439519081d7bd9b396bb18b0f4124613be by Miss Islington (bot) in branch '3.9': bpo-44785: Silence deprecation warnings in test_pickle (GH-27538) (#27557) https://github.com/python/cpython/commit/4817c1439519081d7bd9b396bb18b0f4124613be

[issue44813] generate specialization stat names list into opcode.h

2021-08-02 Thread Irit Katriel
Change by Irit Katriel : -- keywords: +patch pull_requests: +26069 stage: -> patch review pull_request: https://github.com/python/cpython/pull/27562 ___ Python tracker ___

[issue44806] Subclassing Protocol get different __init__

2021-08-02 Thread Yurii Karabas
Change by Yurii Karabas <1998uri...@gmail.com>: -- pull_requests: +26068 pull_request: https://github.com/python/cpython/pull/27543 ___ Python tracker ___

[issue44812] [docs] Document PyMember_{Get/Set}One in C API reference

2021-08-02 Thread miss-islington
Change by miss-islington : -- pull_requests: +26067 pull_request: https://github.com/python/cpython/pull/27560 ___ Python tracker ___

[issue44812] [docs] Document PyMember_{Get/Set}One in C API reference

2021-08-02 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 3.0 -> 4.0 pull_requests: +26066 pull_request: https://github.com/python/cpython/pull/27561 ___ Python tracker

[issue44806] Subclassing Protocol get different __init__

2021-08-02 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 043cd60abed09edddc7185bcf7d039771acc734d by Serhiy Storchaka in branch 'main': bpo-44806: Fix __init__ in subclasses of protocols (GH-27545) https://github.com/python/cpython/commit/043cd60abed09edddc7185bcf7d039771acc734d -- nosy:

[issue44806] Subclassing Protocol get different __init__

2021-08-02 Thread miss-islington
Change by miss-islington : -- pull_requests: +26065 pull_request: https://github.com/python/cpython/pull/27559 ___ Python tracker ___

[issue44806] Subclassing Protocol get different __init__

2021-08-02 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 3.0 -> 4.0 pull_requests: +26064 pull_request: https://github.com/python/cpython/pull/27558 ___ Python tracker

[issue44813] generate specialization stat names list into opcode.h

2021-08-02 Thread Irit Katriel
New submission from Irit Katriel : The stat names are repeated in several places in the code, refactor to have this list appear only once in opcode.py. -- messages: 398779 nosy: iritkatriel priority: normal severity: normal status: open title: generate specialization stat names list

[issue44785] test_pickle issues "DeprecationWarning: The Tix Tk.."

2021-08-02 Thread miss-islington
Change by miss-islington : -- pull_requests: +26063 pull_request: https://github.com/python/cpython/pull/27557 ___ Python tracker ___

[issue44785] test_pickle issues "DeprecationWarning: The Tix Tk.."

2021-08-02 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 4.0 -> 5.0 pull_requests: +26062 pull_request: https://github.com/python/cpython/pull/27556 ___ Python tracker

[issue44785] test_pickle issues "DeprecationWarning: The Tix Tk.."

2021-08-02 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 36d952d228582b0ffc7a86c520d4ddbe8943d803 by Serhiy Storchaka in branch 'main': bpo-44785: Silence deprecation warnings in test_pickle (#27538) https://github.com/python/cpython/commit/36d952d228582b0ffc7a86c520d4ddbe8943d803 -- nosy:

[issue44812] [docs] Document PyMember_{Get/Set}One in C API reference

2021-08-02 Thread Ken Jin
Change by Ken Jin : -- keywords: +patch pull_requests: +26061 stage: -> patch review pull_request: https://github.com/python/cpython/pull/27555 ___ Python tracker ___

[issue44812] [docs] Document PyMember_{Get/Set}One in C API reference

2021-08-02 Thread Ken Jin
New submission from Ken Jin : I can't seem to find PyMember_GetOne or PyMember_SetOne in C API docs, yet they are in stable_abi.txt. Sending a PR shortly, please tell me if these were accidentally exposed and not supposed to be documented (I will close the PR if so). -- assignee:

[issue15870] PyType_FromSpec should take metaclass as an argument

2021-08-02 Thread Josh Haberman
Josh Haberman added the comment: > You can also call (PyObject_Call*) the metaclass with (name, bases, > namespace); But won't that just call my metaclass's tp_new? I'm trying to do this from my metaclass's tp_new, so I can customize the class creation process. Then Python code can use my

[issue44799] typing.get_type_hints() raises TypeError for a variable annotated by dataclasses.InitVar

2021-08-02 Thread Eric V. Smith
Change by Eric V. Smith : -- assignee: -> eric.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue44725] Expose specialization stats in python

2021-08-02 Thread Irit Katriel
Irit Katriel added the comment: Closing as the stats we added. I'll create a new issue for the refactor we discussed on the PR. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue44799] typing.get_type_hints() raises TypeError for a variable annotated by dataclasses.InitVar

2021-08-02 Thread Eric V. Smith
Change by Eric V. Smith : -- nosy: +eric.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34422] __name__ not available for classes in typing module

2021-08-02 Thread Ken Jin
Ken Jin added the comment: Agree with Yurii. This is no longer an issue in 3.10 onwards. Thanks to Yurii for providing the fix in the other issue. -- nosy: +kj resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker

[issue44660] email.feedparser: support RFC 6532 section 3.5

2021-08-02 Thread Francis Johnson
Francis Johnson added the comment: As requested, I’ve started testing and writing changes for the generator and content manager. I’m assuming there is no rush since the scope is now widened. Will have some follow-on questions about the design. --

[issue44811] Change default signature algorithms for context in the ssl library

2021-08-02 Thread Anis Gandoura
Anis Gandoura added the comment: Hello, thank you for your message. The default signatures list is very different from what a usual Internet Browser (like Chrome or Firefox) displays. Here is an example: With Chrome I have: SHA256/ECDSA, RSA_PSS_SHA256, SHA256/RSA, SHA384/ECDSA,

[issue44206] Add a version number to dict keys.

2021-08-02 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Closing for now unless we see the error again -- resolution: -> fixed status: open -> closed ___ Python tracker ___

[issue44206] Add a version number to dict keys.

2021-08-02 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset e06ae75e16dbf46b6626b6a41b62391ea1fdb319 by Mark Shannon in branch 'main': bpo-44206: Make sure that dict-keys's version is set to zero when value is popped (GH-27542)

[issue44811] Change default signature algorithms for context in the ssl library

2021-08-02 Thread Christian Heimes
Christian Heimes added the comment: Thanks for your PR. Before we move forward, let's discuss reasoning and API design first. Why should a Python application be able to modify the signature algorithms? The default settings are safe and sane. Security properties should rather be set

[issue20703] RuntimeError caused by lazy imports in pdb

2021-08-02 Thread Irit Katriel
Irit Katriel added the comment: I think option 2 changes the current behaviour, because cmd.Cmd.cmdloop will import readline later, and the set_completer_delims() call would never happen even though readline is used. I'll update the patch to do option 1. --

[issue44808] test_inspect fails in refleak mode

2021-08-02 Thread miss-islington
miss-islington added the comment: New changeset a1eaa74d9dcd973ec278cefc22aac7f514faee4b by Miss Islington (bot) in branch '3.10': bpo-44808: Fix test_inspect in refleak mode (GH-27544) https://github.com/python/cpython/commit/a1eaa74d9dcd973ec278cefc22aac7f514faee4b --

[issue42035] [C API] PyType_GetSlot cannot get tp_name

2021-08-02 Thread hai shi
hai shi added the comment: > - for the qualified name you can use `PyObject_GetAttrString(t, > "__qualname__")` After PR-27551 merged, we can use PyType_GetQualName() to get type's `__qualname__`. -- ___ Python tracker

[issue34422] __name__ not available for classes in typing module

2021-08-02 Thread Yurii Karabas
Yurii Karabas <1998uri...@gmail.com> added the comment: I believe we can close this issue. It has been fixed in scope of this issue - https://bugs.python.org/issue44524 -- nosy: +uriyyo ___ Python tracker

[issue44799] typing.get_type_hints() raises TypeError for a variable annotated by dataclasses.InitVar

2021-08-02 Thread Yurii Karabas
Change by Yurii Karabas <1998uri...@gmail.com>: -- keywords: +patch nosy: +uriyyo nosy_count: 1.0 -> 2.0 pull_requests: +26060 stage: -> patch review pull_request: https://github.com/python/cpython/pull/27553 ___ Python tracker

[issue44810] nturl2path: drive definition

2021-08-02 Thread Nick
Nick added the comment: For the visualization I created a PR with a possible fix. (The link is set into the corresponding field.) If everything is OK, I will perform all the required things like the CLA, news entry... -- ___ Python tracker

[issue44810] nturl2path: drive definition

2021-08-02 Thread Nick
Change by Nick : -- keywords: +patch pull_requests: +26058 stage: -> patch review pull_request: https://github.com/python/cpython/pull/27552 ___ Python tracker ___

[issue28356] [easy doc] Document os.rename() behavior on Windows when src and dst are on different filesystems

2021-08-02 Thread STINNER Victor
Change by STINNER Victor : -- nosy: -vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42035] [C API] PyType_GetSlot cannot get tp_name

2021-08-02 Thread hai shi
Change by hai shi : -- pull_requests: +26057 pull_request: https://github.com/python/cpython/pull/27551 ___ Python tracker ___ ___

[issue44811] Change default signature algorithms for context in the ssl library

2021-08-02 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch nosy: +python-dev nosy_count: 2.0 -> 3.0 pull_requests: +26056 stage: -> patch review pull_request: https://github.com/python/cpython/pull/27550 ___ Python tracker

[issue44808] test_inspect fails in refleak mode

2021-08-02 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 4.0 -> 5.0 pull_requests: +26055 pull_request: https://github.com/python/cpython/pull/27546 ___ Python tracker

[issue44811] Change default signature algorithms for context in the ssl library

2021-08-02 Thread Anis Gandoura
Change by Anis Gandoura : -- assignee: -> christian.heimes components: +SSL nosy: +christian.heimes versions: +Python 3.11 ___ Python tracker ___

[issue44811] Change default signature algorithms for context in the ssl library

2021-08-02 Thread Anis Gandoura
New submission from Anis Gandoura : Expose the OpenSSL function SSL_CTX_set1_sigalgs_list to allow the user to modify the supported signature algorithms for a given SSL Context. OpenSSL documentation: https://www.openssl.org/docs/man1.1.0/man3/SSL_CTX_set1_sigalgs_list.html --

[issue44810] nturl2path: drive definition

2021-08-02 Thread Nick
New submission from Nick : Due some problem in a third-party package the `url2path` function from `nturl2path` got `a/"https://b"` (without `, `a`,`b` are just masks ) as the first and only argument. In the function there is the following code (

[issue44809] Changelog missing removal of StrEnum etc.

2021-08-02 Thread Sebastian Rittau
New submission from Sebastian Rittau : It seems that at some point StrEnum and a few other members were added to Python 3.10. I think they were present in 3.10 beta 2, but it seems they were removed by beta 4. While the Changelog at https://docs.python.org/3.10/whatsnew/changelog.html

[issue44808] test_inspect fails in refleak mode

2021-08-02 Thread Andrei Kulakov
Andrei Kulakov added the comment: Pablo: thanks for investigating and fixing this, I will look for examples of changing or patching sys.modules in the testsuite to see how to avoid global effects. I think we can keep this issue open for the follow-up discussion / fix? -- nosy:

[issue39927] IDLE.app fails on macOS 10.15 if denied access to Documents

2021-08-02 Thread Van Warren
Van Warren added the comment: If you are running from a conda python library and don't want the weight of Jupyter for a quick python hack, add this to your .bashrc file (or equivalent shell startup) alias idle='python -m idlelib' This will bypass faulty default MacOS installs in

[issue44808] test_inspect fails in refleak mode

2021-08-02 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 626d397cc1612ea5eef153dd910834c2ee00ddbd by Pablo Galindo Salgado in branch 'main': bpo-44808: Fix test_inspect in refleak mode (GH-27544) https://github.com/python/cpython/commit/626d397cc1612ea5eef153dd910834c2ee00ddbd --

[issue44806] Subclassing Protocol get different __init__

2021-08-02 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: There is other related case: >>> from typing import * >>> class P(Protocol): pass ... >>> class B: ... def __init__(self): ... self.test = 'OK' ... >>> class D(P, B): ... pass ... >>> D().test Traceback (most recent call last): File "",

[issue44806] Subclassing Protocol get different __init__

2021-08-02 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +26054 pull_request: https://github.com/python/cpython/pull/27545 ___ Python tracker ___

  1   2   >