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

2020-11-18 Thread Guido van Rossum
Guido van Rossum added the comment: We need to fix this to make __hash__ match __eq__. -- resolution: fixed -> stage: resolved -> needs patch status: closed -> open ___ Python tracker __

[issue42381] Allow unparenthesized walrus in set comprehensions

2020-11-18 Thread Lysandros Nikolaou
Change by Lysandros Nikolaou : -- pull_requests: +22274 pull_request: https://github.com/python/cpython/pull/23382 ___ Python tracker ___ __

[issue42085] Add dedicated slot for sending values

2020-11-18 Thread Yury Selivanov
Yury Selivanov added the comment: > Is anything left to do? I think we can close this now. -- ___ Python tracker ___ ___ Python-bu

[issue42085] Add dedicated slot for sending values

2020-11-18 Thread Yury Selivanov
Change by Yury Selivanov : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

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

2020-11-18 Thread Yury Selivanov
Yury Selivanov added the comment: > Despite the fact that asyncio.get_running_loop() never returns None but > raises RuntimeError (and maybe other tiny cleanups), It never raises when called from inside a coroutine. And I propose to do that. So it will never fail. -- _

[issue42381] Allow unparenthesized walrus in set comprehensions

2020-11-18 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 87c87b5bd6f6a5924b485398f353308410f9d8c1 by Pablo Galindo in branch '3.9': [3.9] bpo-42381: Allow walrus in set literals and set comprehensions (GH-23332) (GH-2) https://github.com/python/cpython/commit/87c87b5bd6f6a5924b485398f35330

[issue42381] Allow unparenthesized walrus in set comprehensions

2020-11-18 Thread miss-islington
miss-islington added the comment: New changeset a85fefe71b3bf56b1b3e72e752e0f962c3b0b487 by Lysandros Nikolaou in branch 'master': bpo-42381: Document walrus-related syntax changes in whatsnew (GH-23382) https://github.com/python/cpython/commit/a85fefe71b3bf56b1b3e72e752e0f962c3b0b487 -

[issue42381] Allow unparenthesized walrus in set comprehensions

2020-11-18 Thread Lysandros Nikolaou
Change by Lysandros Nikolaou : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

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

2020-11-18 Thread Yurii Karabas
Change by Yurii Karabas <1998uri...@gmail.com>: -- pull_requests: +22275 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/23383 ___ Python tracker __

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

2020-11-18 Thread Kyle Stanley
Kyle Stanley added the comment: Regarding the example _get_loop(): ``` def _get_loop(self): loop = asyncio.get_running_loop() if self._loop is None: self._loop = loop if loop is not self._loop: raise if not loop.is_running(): r

[issue42401] Plislit does not handle date timezone correctly

2020-11-18 Thread Jean-Charles BERTIN
New submission from Jean-Charles BERTIN : The plistlib library does not write dates correctly due to its timezone naive date management. For an example, see https://gist.github.com/jcbertin/fedc115ea8122bec9953aa11041294eb or file attached. -- components: Library (Lib), macOS files:

[issue42401] Plislit does not handle date timezone correctly

2020-11-18 Thread Jean-Charles BERTIN
Change by Jean-Charles BERTIN : -- keywords: +patch pull_requests: +22276 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23384 ___ Python tracker

[issue10399] AST Optimization: inlining of function calls

2020-11-18 Thread Paulo Henrique Silva
Change by Paulo Henrique Silva : -- nosy: +phsilva ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue42401] Plislit does not handle date timezone correctly

2020-11-18 Thread Jean-Charles BERTIN
Change by Jean-Charles BERTIN : -- components: -macOS ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue42202] Optimize function annotation

2020-11-18 Thread Inada Naoki
Change by Inada Naoki : -- nosy: +lukasz.langa ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

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

2020-11-18 Thread Ken Jin
Change by Ken Jin : -- pull_requests: +22278 pull_request: https://github.com/python/cpython/pull/23385 ___ Python tracker ___ ___ P

[issue42142] test_ttk timeout: FAIL tkinter ttk LabeledScale test_resize, and more

2020-11-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: > Would this not also stop a number of IDLE tests? (Terry?) Yes, at least half of them. It took years to get us to run gui tests with the X simulator mock. When we first added gui tests for IDLE in 2013, they (and the t/tk gui tests) were only run on Windo

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

2020-11-18 Thread Guido van Rossum
Guido van Rossum added the comment: New changeset 4687338d0ed46e1f5f5060536becf8a96496bae7 by kj in branch 'master': bpo-42345: Add whatsnew for typing.Literal in 3.10 (GH-23385) https://github.com/python/cpython/commit/4687338d0ed46e1f5f5060536becf8a96496bae7 -- ___

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

2020-11-18 Thread Ken Jin
Change by Ken Jin : -- pull_requests: +22279 pull_request: https://github.com/python/cpython/pull/23386 ___ Python tracker ___ ___ P

[issue27917] Choose platform triplets for android builds

2020-11-18 Thread pmp-p
Change by pmp-p : -- nosy: +pmpp ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mail

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

2020-11-18 Thread Andrew Svetlov
Andrew Svetlov added the comment: Perhaps Kyle is right, I had a misunderstanding with `get_running_loop()` vs `_get_running_loop()`. The last version seems good except for the rare chance of race condition. The safe code can look like: global_lock = threading.Lock() like GIL def _

[issue42375] subprocess DragonFlyBSD build update

2020-11-18 Thread miss-islington
New submission from miss-islington : New changeset 13b865f0e17c88b081c23f7f05cf91166d220a50 by David CARLIER in branch 'master': bpo-42375: subprocess DragonFlyBSD build update. (GH-23320) https://github.com/python/cpython/commit/13b865f0e17c88b081c23f7f05cf91166d220a50 -- nosy: +mis

[issue42375] subprocess DragonFlyBSD build update

2020-11-18 Thread miss-islington
Change by miss-islington : -- keywords: +patch pull_requests: +22280 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23388 ___ Python tracker ___ _

[issue42375] subprocess DragonFlyBSD build update

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

[issue1635741] Py_Finalize() doesn't clear all Python objects at exit

2020-11-18 Thread miss-islington
miss-islington added the comment: New changeset cc0cd43c0f96dac413e54855e9c77ec4b73bd2f8 by Christian Heimes in branch 'master': bpo-1635741: Port _random to multiphase initialization (GH-23359) https://github.com/python/cpython/commit/cc0cd43c0f96dac413e54855e9c77ec4b73bd2f8 -- __

[issue1635741] Py_Finalize() doesn't clear all Python objects at exit

2020-11-18 Thread miss-islington
miss-islington added the comment: New changeset fa2eee975dbf7d2728021ef9d97328bbe88351cf by Christian Heimes in branch 'master': bpo-1635741: Port grp and pwd to multiphase initialization (GH-23360) https://github.com/python/cpython/commit/fa2eee975dbf7d2728021ef9d97328bbe88351cf --

[issue42402] Termios module documentation is extremely lacking

2020-11-18 Thread Dan Merillat
New submission from Dan Merillat : "The interpretation of the flags and the speeds as well as the indexing in the cc array must be done using the symbolic constants defined in the |termios| module." (termios links to itself) These constants are not listed in the documentation and the termios

[issue42142] test_ttk timeout: FAIL tkinter ttk LabeledScale test_resize, and more

2020-11-18 Thread STINNER Victor
Change by STINNER Victor : -- nosy: -vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

<    1   2