[issue41222] Undocumented behaviour change of POpen.stdout.readine with bufsize=0 or =1

2021-05-03 Thread Yann Dirson
Change by Yann Dirson : -- keywords: +patch pull_requests: +24542 stage: -> patch review pull_request: https://github.com/python/cpython/pull/25859 ___ Python tracker ___

[issue41222] POpen bufsize=0 ignored with universal_newlines=True

2021-05-03 Thread Yann Dirson
Yann Dirson added the comment: > The fact that my stdout object has no read1() and needs the above patch looks > like a good lead for further investigation? That's linked to universal_newlines, the bug only shows when that flag is set. Testcases provided in https://github.com/python/cpython/

[issue43742] tcp_echo_client in asyncio streams example does not work. Hangs for ever at reaser.read()

2021-05-03 Thread julian colomina
julian colomina added the comment: @jaswdr Thanks for your response. No I did not run the server that you mention. The language made me imply that the same process, in two separate coroutines, would be writing/reading from each end of the tcp connection. One writing to the tcp buffer, the

[issue43991] asyncio lock does not get released after task is canceled

2021-05-03 Thread Alexander Niederbühl
Alexander Niederbühl added the comment: That makes sense, thanks! -- stage: -> resolved status: open -> closed ___ Python tracker ___ _

[issue39468] Improved the site module's permission handling while writing .python_history

2021-05-03 Thread Aurora
Change by Aurora : -- pull_requests: +24543 status: pending -> open pull_request: https://github.com/python/cpython/pull/18210 ___ Python tracker ___ __

[issue43710] Access violations in C extension modules on Python 3.9.3

2021-05-03 Thread Terry J. Reedy
Change by Terry J. Reedy : -- components: +Extension Modules, Windows -IDLE ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue43710] Access violations in C extension modules on Python 3.9.3

2021-05-03 Thread Terry J. Reedy
Change by Terry J. Reedy : -- assignee: terry.reedy -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https

[issue44024] Use common TypeError message for built-in functions getattr and hasattr

2021-05-03 Thread Géry
New submission from Géry : Problem --- Actual behaviour: ```python >>> getattr('foobar', 123) Traceback (most recent call last): File "", line 1, in TypeError: getattr(): attribute name must be string >>> hasattr('foobar', 123) Traceback (most recent call last): File "", line 1, in Ty

[issue44024] Use common TypeError message for built-in functions getattr and hasattr

2021-05-03 Thread Géry
Change by Géry : -- keywords: +patch pull_requests: +24544 stage: -> patch review pull_request: https://github.com/python/cpython/pull/25863 ___ Python tracker ___

[issue44018] random.seed mutates input bytearray

2021-05-03 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 5.0 -> 6.0 pull_requests: +24545 pull_request: https://github.com/python/cpython/pull/25864 ___ Python tracker _

[issue44018] random.seed mutates input bytearray

2021-05-03 Thread miss-islington
Change by miss-islington : -- pull_requests: +24546 pull_request: https://github.com/python/cpython/pull/25865 ___ Python tracker ___ __

[issue44018] random.seed mutates input bytearray

2021-05-03 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset e733e9951d0116e9af66b66772e708412d7f5280 by Miss Islington (bot) in branch '3.9': bpo-44018: random.seed() no longer mutates its inputs (GH-25856) (GH-25864) https://github.com/python/cpython/commit/e733e9951d0116e9af66b66772e708412d7f5280

[issue43822] Improve syntax errors for missing commas

2021-05-03 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +24547 pull_request: https://github.com/python/cpython/pull/25866 ___ Python tracker ___ ___

[issue42095] plistlib: Add tests that compare with plutil(1)

2021-05-03 Thread Hasan
Hasan added the comment: Does this issue still open? I would like to write this tests. -- nosy: +AliyevH ___ Python tracker ___ ___

[issue44018] random.seed mutates input bytearray

2021-05-03 Thread miss-islington
Change by miss-islington : -- pull_requests: +24548 pull_request: https://github.com/python/cpython/pull/25867 ___ Python tracker ___ __

[issue31526] Allow setting timestamp in gzip-compressed tarfiles

2021-05-03 Thread Filipe Laíns
Change by Filipe Laíns : -- nosy: +FFY00 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.o

[issue43822] Improve syntax errors for missing commas

2021-05-03 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 1.0 -> 2.0 pull_requests: +24549 pull_request: https://github.com/python/cpython/pull/25869 ___ Python tracker _

[issue43822] Improve syntax errors for missing commas

2021-05-03 Thread miss-islington
Change by miss-islington : -- pull_requests: +24550 pull_request: https://github.com/python/cpython/pull/25870 ___ Python tracker ___ __

[issue43822] Improve syntax errors for missing commas

2021-05-03 Thread miss-islington
miss-islington added the comment: New changeset 756b7b9248885d65c2b3b9f1c5a8f66aa2e8de7a by Miss Islington (bot) in branch '3.10': bpo-43822: Prioritize tokenizer errors over custom syntax errors when raising parser exceptions (GH-25866) https://github.com/python/cpython/commit/756b7b9248885

[issue43822] Improve syntax errors for missing commas

2021-05-03 Thread miss-islington
miss-islington added the comment: New changeset d1ff838d1091853ed6f56bc1573606dc0d74a691 by Miss Islington (bot) in branch '3.10': bpo-43822: Prioritize tokenizer errors over custom syntax errors when raising parser exceptions (GH-25866) https://github.com/python/cpython/commit/d1ff838d10918

[issue44018] random.seed mutates input bytearray

2021-05-03 Thread miss-islington
Change by miss-islington : -- pull_requests: +24551 pull_request: https://github.com/python/cpython/pull/25872 ___ Python tracker ___ __

[issue44025] Match doc: Clarify '_' as a soft keyword

2021-05-03 Thread Terry J. Reedy
New submission from Terry J. Reedy : In #44010, we are trying, as best as is possible with comprehensible REs, to identify in which circumstances occurrences of 'match', 'case' and '_' are keywords, and should be marked as such. I was initially unsure and even wrong about '_'. 1. Capture Pa

[issue44025] Match doc: Clarify '_' as a soft keyword

2021-05-03 Thread Terry J. Reedy
Change by Terry J. Reedy : -- keywords: +patch pull_requests: +24552 pull_request: https://github.com/python/cpython/pull/25873 ___ Python tracker ___ _

[issue44018] random.seed mutates input bytearray

2021-05-03 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset 2995bff4269d274c0a3abfd45dc33b28f0c3e25f by Miss Islington (bot) in branch '3.10': bpo-44018: random.seed() no longer mutates its inputs (GH-25856) (GH-25872) https://github.com/python/cpython/commit/2995bff4269d274c0a3abfd45dc33b28f0c3e25f

[issue40465] Deprecate the optional *random* argument to random.shuffle()

2021-05-03 Thread Raymond Hettinger
Change by Raymond Hettinger : -- pull_requests: +24553 pull_request: https://github.com/python/cpython/pull/25874 ___ Python tracker ___ ___

[issue40465] Deprecate the optional *random* argument to random.shuffle()

2021-05-03 Thread Anthony Sottile
Change by Anthony Sottile : -- nosy: -Anthony Sottile ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue44026] IDLE doesn't offer "Did you mean?" for AttributeError and NameError

2021-05-03 Thread Dennis Sweeney
New submission from Dennis Sweeney : After bpo-38530, I get this in the python shell: Python 3.10.0b1 (tags/v3.10.0b1:ba42175, May 3 2021, 20:22:30) [MSC v.1928 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> class A: ... foobar = 1 ...

[issue44026] IDLE doesn't offer "Did you mean?" for AttributeError and NameError

2021-05-03 Thread Dennis Sweeney
Change by Dennis Sweeney : -- nosy: +pablogsal ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue44018] random.seed mutates input bytearray

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

[issue44001] typing.Literal: args must be hashable, not immutable

2021-05-03 Thread Jelle Zijlstra
Change by Jelle Zijlstra : -- keywords: +patch pull_requests: +24554 stage: -> patch review pull_request: https://github.com/python/cpython/pull/25877 ___ Python tracker ___ _

[issue26680] Incorporating float.is_integer into Decimal

2021-05-03 Thread Raymond Hettinger
Change by Raymond Hettinger : -- versions: +Python 3.11 -Python 3.10 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue44027] Python 3.9 UWP does not create key in PythonCore

2021-05-03 Thread BinToss
New submission from BinToss : On Windows, dependent applications such as VapourSynth look for Python's path via the entries in HKLM\\SOFTWARE\\Python\\PythonCore\\. However, the Python 3.8 and 3.9 UWP releases don't create and write to their respective subkeys. Only the Win32 releases write to

[issue44027] Python 3.9 UWP does not create key in PythonCore

2021-05-03 Thread Ned Deily
Change by Ned Deily : -- components: +Windows -Installation nosy: +paul.moore, steve.dower, tim.golden, zach.ware ___ Python tracker ___ ___

[issue44028] Request for locals().update() to work, it is

2021-05-03 Thread wang xuancong
New submission from wang xuancong : In general, the ability to update local variables is very important and it simplifies life tremendously. For example, in machine learning, it allows saving/loading arbitrary-format datasets and arbitrary-structure neural networks (NN) using a single line of

[issue43522] SSLContext.hostname_checks_common_name appears to have no effect

2021-05-03 Thread Christian Heimes
Christian Heimes added the comment: Seth's urllib3 newsletter reminded me that I forgot to link to OpenSSL issues here. The problem was caused by a bug in OpenSSL. The issue is fixed in OpenSSL default branch and is scheduled to land in next 1.1.1 release. My changes to Python's ssl module

[issue44026] IDLE doesn't offer "Did you mean?" for AttributeError and NameError

2021-05-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am surprised for 2 reasons. First, I have seen other improved messages in IDLE, though maybe only for syntax errors. Second, code entered through IDLE is executed by Python, 'same' in this respect as code entered through the REPL. In more detail, IDLE ca

<    1   2