[issue44793] Arguments ignored in substitution in typing.Callable

2021-08-02 Thread miss-islington
miss-islington added the comment: New changeset c8db292012dd84aab81eb3ed9146709696a3d290 by Miss Islington (bot) in branch '3.10': bpo-44793: Fix checking the number of arguments when subscribe a generic type with ParamSpec parameter. (GH-27515) https://github.com/python/cpython/commit/c8db2

[issue44793] Arguments ignored in substitution in typing.Callable

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

[issue44805] asyncio.StreamReader.read hangs for reused socket file descriptors when asyncio.StreamWriter.close() is not called

2021-08-02 Thread Nathan Collins
New submission from Nathan Collins : Problem === When using asyncio streams via (r,w) = asyncio.open_connection(sock=socket) with a already connected socket `socket`, if you call `socket.close()` but not `w.close()` when you're done, then when the OS later reuses the file descriptor o

[issue44805] asyncio.StreamReader.read hangs for reused socket file descriptors when asyncio.StreamWriter.close() is not called

2021-08-02 Thread Nathan Collins
Change by Nathan Collins : Added file: https://bugs.python.org/file50199/client.py ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue44186] TimedRotatingFileHandler overwrite log

2021-08-02 Thread Vinay Sajip
Vinay Sajip added the comment: OK, I get it now :-) See my comments on the PR - I think the renaming strategy might need rethinking in the presence of a "namer" routine being set. See bpo-43344, bpo-44753. This area (TimedRotatingFileHandler) is unfortunately not yet well tested, because yo

[issue43183] Asyncio can't close sockets properly on Linux cause CLOSE_WAIT

2021-08-02 Thread Nathan Collins
Nathan Collins added the comment: I created a new issue for my bug here: https://bugs.python.org/issue44805 -- ___ Python tracker ___ _

[issue44805] asyncio.StreamReader.read hangs for reused socket file descriptors when asyncio.StreamWriter.close() is not called

2021-08-02 Thread Nathan Collins
Nathan Collins added the comment: Oh, and I can't count: there are 16 = 4x4 possible combinations of socket closure modes for the client and server. The one I missed was Client='', Server=SA, where everything works because the client doesn't reuse file descriptors and the server closes its s

[issue44206] Add a version number to dict keys.

2021-08-02 Thread Mark Shannon
Mark Shannon added the comment: Pablo, There is another failure on that buildbot: test_inspect fails with ^^ File "/home/mark/repos/cpython/Lib/inspect.py", line 1154, in walktree classes.sort(key=attrgetter('__module__', '__name__'))

[issue44806] Subclassing Protocol get different __init__

2021-08-02 Thread Yurii Karabas
New submission from Yurii Karabas <1998uri...@gmail.com>: When we subclassing Protocol, we get a __init__ differing from default one but the protocol in question didn't define any __init__. More information can be found here - https://github.com/python/typing/issues/644 -- components:

[issue44806] Subclassing Protocol get different __init__

2021-08-02 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- nosy: +serhiy.storchaka versions: +Python 3.10, Python 3.9 ___ Python tracker ___ ___ Python-bugs-li

[issue44781] test_distutils emits deprecation warning about distutils

2021-08-02 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset a9134fa2ffb7e4684c980325dd5444afca596586 by Irit Katriel in branch 'main': bpo-44781: make distutils test suppress deprecation warning from import distutils (GH-27485) https://github.com/python/cpython/commit/a9134fa2ffb7e4684c980325dd5444afca5965

[issue44781] test_distutils emits deprecation warning about distutils

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

[issue44806] Subclassing Protocol get different __init__

2021-08-02 Thread Yurii Karabas
Change by Yurii Karabas <1998uri...@gmail.com>: -- keywords: +patch pull_requests: +26050 stage: -> patch review pull_request: https://github.com/python/cpython/pull/27541 ___ Python tracker

[issue44667] tokenize.py emits spurious NEWLINE if file ends on a comment without a newline

2021-08-02 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 33a4010198aad31346e46dafdda17e02f8349017 by Miss Islington (bot) in branch '3.10': bpo-44667: Treat correctly lines ending with comments and no newlines in the Python tokenizer (GH-27499) (GH-27500) https://github.com/python/cpython/commit/33a4010

[issue44667] tokenize.py emits spurious NEWLINE if file ends on a comment without a newline

2021-08-02 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 2d11797c81be3ae776e418a5ba507098356d357c by Miss Islington (bot) in branch '3.9': bpo-44667: Treat correctly lines ending with comments and no newlines in the Python tokenizer (GH-27499) (GH-27501) https://github.com/python/cpython/commit/2d11797c

[issue44206] Add a version number to dict keys.

2021-08-02 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: > Known issue or should I file a new issue? This issue is also present in 3.10. Can you open a different issue, please? -- ___ Python tracker ___

[issue42369] Reading ZipFile not thread-safe

2021-08-02 Thread Khaled K
Khaled K added the comment: Hi Thomas, I'm facing the same issue. Would you care to opensource your implementation. -- nosy: +khaledkoutini ___ Python tracker ___ ___

[issue44807] typing.Protocol silently overrides __init__ method of delivered class

2021-08-02 Thread Yurii Karabas
New submission from Yurii Karabas <1998uri...@gmail.com>: typing.Protocol silently overrides __init__ method of delivered class. I think it should be forbidden to define __init__ method at Protocol delivered class in case if cls is not Protocol. -- components: Library (Lib) messages:

[issue44781] test_distutils emits deprecation warning about distutils

2021-08-02 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 1bc83eb5c8040855de425c68fc9c5d3c5b48d38e by Miss Islington (bot) in branch '3.10': bpo-44781: make distutils test suppress deprecation warning from import distutils (GH-27485) (GH-27540) https://github.com/python/cpython/commit/1bc83eb5c8040855de4

[issue44206] Add a version number to dict keys.

2021-08-02 Thread Mark Shannon
Change by Mark Shannon : -- pull_requests: +26051 stage: resolved -> patch review pull_request: https://github.com/python/cpython/pull/27542 ___ Python tracker ___

[issue44808] test_inspect fails in refleak mode

2021-08-02 Thread Pablo Galindo Salgado
New submission from Pablo Galindo Salgado : >From https://bugs.python.org/issue44206 : File "/home/mark/repos/cpython/Lib/inspect.py", line 1154, in walktree classes.sort(key=attrgetter('__module__', '__name__')) ^^ TypeError: '<' no

[issue44808] test_inspect fails in refleak mode

2021-08-02 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I'm bisecting -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue44808] test_inspect fails in refleak mode

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

[issue44206] Add a version number to dict keys.

2021-08-02 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Opened https://bugs.python.org/issue44808 -- stage: patch review -> resolved ___ Python tracker ___ __

[issue44808] test_inspect fails in refleak mode

2021-08-02 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: f468ede4a2b7ab5c72ae85ab04cb56904300cd23 is the first bad commit commit f468ede4a2b7ab5c72ae85ab04cb56904300cd23 Author: Miss Islington (bot) <31488909+miss-isling...@users.noreply.github.com> Date: Fri Jul 30 10:46:42 2021 -0700 bpo-44648: Fix er

[issue44808] test_inspect fails in refleak mode

2021-08-02 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- nosy: +lukasz.langa ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue44807] typing.Protocol silently overrides __init__ method of delivered class

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

[issue44648] Inspect.getsource raises wrong error on classes in interactive session

2021-08-02 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Unfortunately, this PR has broken test_inspect when executed with -R, see: https://bugs.python.org/issue44808 -- nosy: +pablogsal ___ Python tracker

[issue44808] test_inspect fails in refleak mode

2021-08-02 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: The reason buildbots have not catched this is because the re-run login seems to not detect the problem on the second run: ./python.exe -m test test_inspect -j 1 -u all -W --slowest --fail-env-changed --timeout=11700 -R 3:3 -u-cpu -w WARNING: Disable

[issue44808] test_inspect fails in refleak mode

2021-08-02 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Check for instance the logs in https://buildbot.python.org/all/#/builders/679/builds/92/steps/5/logs/stdio -- ___ Python tracker ___

[issue44781] test_distutils emits deprecation warning about distutils

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

[issue15870] PyType_FromSpec should take metaclass as an argument

2021-08-02 Thread Petr Viktorin
Petr Viktorin added the comment: > 2. Use eval from C to create the class with a metaclass, eg. > class Foo(metaclass=MessageMeta) You can also call (PyObject_Call*) the metaclass with (name, bases, namespace); this should produce a class. Or not: >>> class Foo(metaclass=print):

[issue44808] test_inspect fails in refleak mode

2021-08-02 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: >From f468ede4a2b7ab5c72ae85ab04cb56904300cd23: This code looks quite dangerous: class TestGetsourceInteractive(unittest.TestCase): def tearDown(self): mod.ParrotDroppings.__module__ = mod sys.modules['__main__'] = self.main That i

[issue44808] test_inspect fails in refleak mode

2021-08-02 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Ah, the problem is that: mod.ParrotDroppings.__module__ = mod is wrong: `__module__` must be a string, not a module object -- ___ Python tracker ___

[issue44808] test_inspect fails in refleak mode

2021-08-02 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch pull_requests: +26053 stage: -> patch review pull_request: https://github.com/python/cpython/pull/27544 ___ Python tracker __

[issue44808] test_inspect fails in refleak mode

2021-08-02 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: PR 27544 just addresses the main problem, but I still have concerns about the test affecting sys.modules directly, making it dangerous to run in parallel. -- ___ Python tracker

[issue44808] test_inspect fails in refleak mode

2021-08-02 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: With PR 27544: ❯ ./python.exe -m test test_inspect -R : 0:00:00 load avg: 2.91 Run tests sequentially 0:00:00 load avg: 2.91 [1/1] test_inspect beginning 9 repetitions 123456789 . == Tests result: SUCCESS == 1 test OK. Total duration: 13.7 sec

[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 ___

[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 "",

[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 -- _

[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 /usr/local/

[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: +andre

[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 mention

[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 ( https://github.com/python/cpython/blob/414dcb1

[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 -- message

[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 ___ _

[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 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 _

[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 ___ ___ P

[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: https://mail.p

[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 ___ ___

[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

[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

[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 __

[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

[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 -- ___

[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. -- _

[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 system-w

[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) https://github.com/python/cpython/commit/e06ae75e16dbf46b6626b6a41b62

[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 ___ _

[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, RSA_PSS_SH

[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. -- ___

[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

[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: https://mail.p

[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 : -- assignee: -> eric.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[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

[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: doc

[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 ___

[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: +luk

[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 miss-islington
Change by miss-islington : -- pull_requests: +26063 pull_request: https://github.com/python/cpython/pull/27557 ___ 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 in

[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 _

[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 Ł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: +lukas

[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 _

[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 ___ __

[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 ___ _

[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 ___ ___

[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 ---

[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 -

[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

[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: +lu

[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 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 _

[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 --

[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 --

[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 -- nosy:

[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 _

[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 ___ ___ P

[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 scrip

[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 ___ __

[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 ___ ___ P

[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 ---

[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: Thanks, Jake! ✨ 🍰 ✨ -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ 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 --

[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 miss-islington
Change by miss-islington : -- pull_requests: +26074 pull_request: https://github.com/python/cpython/pull/27567 ___ Python tracker ___ __

  1   2   >