[issue44009] Provide "python3.x-intel64" command with macOS universal2 framework builds

2021-05-02 Thread Ned Deily
New submission from Ned Deily : On certain macOS configurations, it is possible to have a universal build (one that contains executables and libraries with binaries for more than one CPU architecture combined into "fat" files) where running with a choice of archs. Examples in the past include

[issue43908] array.array should remain immutable: add Py_TPFLAGS_IMMUTABLETYPE flag

2021-05-02 Thread Christian Heimes
Christian Heimes added the comment: New changeset 91554e4c5ca3c762998296522f854a7166ba84f0 by Christian Heimes in branch 'master': bpo-43908: Mark ssl, hash, and hmac types as immutable (GH-25792) https://github.com/python/cpython/commit/91554e4c5ca3c762998296522f854a7166ba84f0 --

[issue44009] Provide "python3.x-intel64" command with macOS universal2 framework builds

2021-05-02 Thread Ned Deily
Change by Ned Deily : -- keywords: +patch pull_requests: +24489 stage: -> patch review pull_request: https://github.com/python/cpython/pull/25804 ___ Python tracker ___ __

[issue43908] array.array should remain immutable: add Py_TPFLAGS_IMMUTABLETYPE flag

2021-05-02 Thread Shreyan Avigyan
Shreyan Avigyan added the comment: Should I apply the flags on other newly converted heap types? -- ___ Python tracker ___ ___ Pyth

[issue43990] In documentation Section 6.17, Operator precedence, footnotes 5 & 6 are reversed

2021-05-02 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch nosy: +ZackerySpytz nosy_count: 2.0 -> 3.0 pull_requests: +24490 stage: -> patch review pull_request: https://github.com/python/cpython/pull/25805 ___ Python tracker

[issue43987] Add "Annotations Best Practices" to HOWTO

2021-05-02 Thread Larry Hastings
Larry Hastings added the comment: Thanks to Jelle for an enormous amount of reviewing and re-reviewing! That was just spiffy. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue42504] Failure to build with MACOSX_DEPLOYMENT_TARGET=11 on Big Sur

2021-05-02 Thread Ned Deily
Change by Ned Deily : -- pull_requests: +24492 pull_request: https://github.com/python/cpython/pull/25806 ___ Python tracker ___ ___

[issue42688] ctypes memory error on Apple Silicon with external libffi

2021-05-02 Thread Ned Deily
Change by Ned Deily : -- pull_requests: +24493 pull_request: https://github.com/python/cpython/pull/25806 ___ Python tracker ___ ___

[issue41100] Support macOS 11 and Apple Silicon Macs

2021-05-02 Thread Ned Deily
Change by Ned Deily : -- pull_requests: +24491 pull_request: https://github.com/python/cpython/pull/25806 ___ Python tracker ___ ___

[issue44004] test_nntplib is failing in all buildbots

2021-05-02 Thread Christian Heimes
Christian Heimes added the comment: buildbots are ok again -- resolution: -> fixed stage: -> resolved status: open -> closed type: -> behavior versions: +Python 3.10 ___ Python tracker ___

[issue23407] os.walk always follows Windows junctions

2021-05-02 Thread Eryk Sun
Change by Eryk Sun : -- Removed message: https://bugs.python.org/msg389286 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue23407] os.walk always follows Windows junctions

2021-05-02 Thread Eryk Sun
Eryk Sun added the comment: Windows implements filesystem symlinks and mountpoints as name-surrogate reparse points. Python 3.8 introduced behavior changes to how reparse points are supported, but the stat st_mode value still sets S_IFLNK only for actual symlinks, not for mountpoints. This e

[issue44008] os.walk and other directory traversal does not handle recursive mounts on Windows

2021-05-02 Thread Eryk Sun
Change by Eryk Sun : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> os.walk always follows Windows junctions ___ Python tracker ___ ___

[issue41100] Support macOS 11 and Apple Silicon Macs

2021-05-02 Thread Ned Deily
Ned Deily added the comment: Thanks, Max, for doing the backport to 3.8 hard work! While PR 25274 covered most of the changes needed, there were some additional fixes and changes needed and I felt it was easier to cherry-pick all of the changes into a new PR. I have done extensive building

[issue44009] Provide "python3.x-intel64" command with macOS universal2 framework builds

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

[issue44009] Provide "python3.x-intel64" command with macOS universal2 framework builds

2021-05-02 Thread Ned Deily
Ned Deily added the comment: New changeset 0cb33da1cc9cebb9b2d67d446feb1cfd36fe7f55 by Ned Deily in branch 'master': bpo-44009: Provide "python3.x-intel64" for Apple Silicon Macs (GH-25804) https://github.com/python/cpython/commit/0cb33da1cc9cebb9b2d67d446feb1cfd36fe7f55 -- ___

[issue41100] Support macOS 11 and Apple Silicon Macs

2021-05-02 Thread Ned Deily
Change by Ned Deily : -- pull_requests: +24495 stage: commit review -> patch review pull_request: https://github.com/python/cpython/pull/25808 ___ Python tracker ___ __

[issue44009] Provide "python3.x-intel64" command with macOS universal2 framework builds

2021-05-02 Thread miss-islington
miss-islington added the comment: New changeset de0e3f8c16c13221dbca66b9496a302fd5749c37 by Miss Islington (bot) in branch '3.9': [3.9] bpo-44009: Provide "python3.x-intel64" for Apple Silicon Macs (GH-25804) (GH-25807) https://github.com/python/cpython/commit/de0e3f8c16c13221dbca66b9496a302

[issue41100] Support macOS 11 and Apple Silicon Macs

2021-05-02 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset b29d0a5a7811418c0a1082ca188fd4850185e290 by Ned Deily in branch '3.8': [3.8] bpo-41100: Support macOS 11 Big Sur and Apple Silicon Macs (#25806) https://github.com/python/cpython/commit/b29d0a5a7811418c0a1082ca188fd4850185e290 -- ___

[issue41100] Support macOS 11 and Apple Silicon Macs

2021-05-02 Thread Ned Deily
Ned Deily added the comment: New changeset 518f8b5dd50b73499282a1ef02b197af106ad118 by Ned Deily in branch 'master': bpo-41100: Update Misc/ACKS (GH-25808) https://github.com/python/cpython/commit/518f8b5dd50b73499282a1ef02b197af106ad118 -- ___ P

[issue42688] ctypes memory error on Apple Silicon with external libffi

2021-05-02 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset b29d0a5a7811418c0a1082ca188fd4850185e290 by Ned Deily in branch '3.8': [3.8] bpo-41100: Support macOS 11 Big Sur and Apple Silicon Macs (#25806) https://github.com/python/cpython/commit/b29d0a5a7811418c0a1082ca188fd4850185e290 -- nosy: +l

[issue41116] build on macOS 11 (beta) does not find system-supplied third-party libraries

2021-05-02 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset b29d0a5a7811418c0a1082ca188fd4850185e290 by Ned Deily in branch '3.8': [3.8] bpo-41100: Support macOS 11 Big Sur and Apple Silicon Macs (#25806) https://github.com/python/cpython/commit/b29d0a5a7811418c0a1082ca188fd4850185e290 -- nosy: +l

[issue41100] Support macOS 11 and Apple Silicon Macs

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

[issue42504] Failure to build with MACOSX_DEPLOYMENT_TARGET=11 on Big Sur

2021-05-02 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset b29d0a5a7811418c0a1082ca188fd4850185e290 by Ned Deily in branch '3.8': [3.8] bpo-41100: Support macOS 11 Big Sur and Apple Silicon Macs (#25806) https://github.com/python/cpython/commit/b29d0a5a7811418c0a1082ca188fd4850185e290 -- nosy: +l

[issue41100] Support macOS 11 and Apple Silicon Macs

2021-05-02 Thread Ned Deily
Ned Deily added the comment: New changeset bb3ec9ceae7032457f6e7fb72b39aee95976051c by Miss Islington (bot) in branch '3.9': bpo-41100: Update Misc/ACKS (GH-25808) (GH-25809) https://github.com/python/cpython/commit/bb3ec9ceae7032457f6e7fb72b39aee95976051c -- __

[issue42504] Failure to build with MACOSX_DEPLOYMENT_TARGET=11 on Big Sur

2021-05-02 Thread Ned Deily
Change by Ned Deily : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ Pyt

[issue42688] ctypes memory error on Apple Silicon with external libffi

2021-05-02 Thread Ned Deily
Change by Ned Deily : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.10, Python 3.8 ___ Python tracker ___

[issue41116] build on macOS 11 (beta) does not find system-supplied third-party libraries

2021-05-02 Thread Ned Deily
Change by Ned Deily : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: -Python 3.7 ___ Python tracker ___

[issue44009] Provide "python3.x-intel64" command with macOS universal2 framework builds

2021-05-02 Thread Ned Deily
Change by Ned Deily : -- pull_requests: +24497 pull_request: https://github.com/python/cpython/pull/25810 ___ Python tracker ___ ___

[issue36384] [security] CVE-2021-29921: ipaddress Should not reject IPv4 addresses with leading zeroes as ambiguously octal

2021-05-02 Thread Łukasz Langa
Łukasz Langa added the comment: Due to the relative obscurity of the bug and potential disruption of the fix, I decided not to include it in 3.8. However, Michał's argument about 3.10 not being released for another five months is resonating with me and so we will be backporting the change to

[issue36384] [security] CVE-2021-29921: ipaddress Should not reject IPv4 addresses with leading zeroes as ambiguously octal

2021-05-02 Thread Łukasz Langa
Change by Łukasz Langa : -- versions: -Python 3.8 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue43993] Update bundled pip to 21.1.1

2021-05-02 Thread Łukasz Langa
Change by Łukasz Langa : -- resolution: -> fixed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue32745] ctypes string pointer fields should accept embedded null characters

2021-05-02 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 73766b0341674f3920f4ea86a6f8288b801960f9 by Zackery Spytz in branch 'master': bpo-32745: Fix a regression in the handling of ctypes' c_wchar_p type (#8721) https://github.com/python/cpython/commit/73766b0341674f3920f4ea86a6f8288b801960f9

[issue32745] ctypes string pointer fields should accept embedded null characters

2021-05-02 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 9.0 -> 10.0 pull_requests: +24498 pull_request: https://github.com/python/cpython/pull/25811 ___ Python tracker

[issue32745] ctypes string pointer fields should accept embedded null characters

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

[issue42083] PyStructSequence_NewType broken in 3.8

2021-05-02 Thread Łukasz Langa
Łukasz Langa added the comment: This missed the train for inclusion in 3.8. There's still time for a backport for 3.9. -- nosy: +lukasz.langa stage: -> needs patch versions: +Python 3.10, Python 3.9 -Python 3.8 ___ Python tracker

[issue44009] Provide "python3.x-intel64" command with macOS universal2 framework builds

2021-05-02 Thread Ned Deily
Ned Deily added the comment: New changeset 78e55888ab379cc61c0b5db67f0b881e526628d2 by Ned Deily in branch '3.8': bpo-44009: Provide "python3.x-intel64" for Apple Silicon Macs (GH-25810) https://github.com/python/cpython/commit/78e55888ab379cc61c0b5db67f0b881e526628d2 -- __

[issue44009] Provide "python3.x-intel64" command with macOS universal2 framework builds

2021-05-02 Thread Ned Deily
Change by Ned Deily : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ Pyt

[issue43977] Implement the latest semantics for PEP 634 for matching collections

2021-05-02 Thread Mark Shannon
Change by Mark Shannon : -- pull_requests: +24500 pull_request: https://github.com/python/cpython/pull/25813 ___ Python tracker ___

[issue32745] ctypes string pointer fields should accept embedded null characters

2021-05-02 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset cf6a79644c227159b8b5a44055650266d578b9f6 by Miss Islington (bot) in branch '3.9': bpo-32745: Fix a regression in the handling of ctypes' c_wchar_p type (GH-8721) (#25812) https://github.com/python/cpython/commit/cf6a79644c227159b8b5a44055650266d57

[issue32745] ctypes string pointer fields should accept embedded null characters

2021-05-02 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset db3ce79469ce9f8168ea4ac3e186be8e3fe44105 by Miss Islington (bot) in branch '3.8': bpo-32745: Fix a regression in the handling of ctypes' c_wchar_p type (GH-8721) (#25811) https://github.com/python/cpython/commit/db3ce79469ce9f8168ea4ac3e186be8e3fe

[issue32745] ctypes string pointer fields should accept embedded null characters

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

[issue37322] test_ssl: test_pha_required_nocert() emits a ResourceWarning

2021-05-02 Thread Łukasz Langa
Łukasz Langa added the comment: I re-ran CI on the pull requests, the 3.8 and 3.9 failures on Windows X64 and macOS reproduced the same. -- nosy: +lukasz.langa ___ Python tracker

[issue43983] Can't install Python v3.9.4 / 0x80070643 / windows 10 64bit

2021-05-02 Thread Marwan Essam
Marwan Essam added the comment: Can someone help please, i need it in my project -- ___ Python tracker ___ ___ Python-bugs-list mai

[issue36384] [security] CVE-2021-29921: ipaddress Should not reject IPv4 addresses with leading zeroes as ambiguously octal

2021-05-02 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 14.0 -> 15.0 pull_requests: +24501 pull_request: https://github.com/python/cpython/pull/25815 ___ Python tracker ___

[issue36384] [security] CVE-2021-29921: ipaddress Should not reject IPv4 addresses with leading zeroes as ambiguously octal

2021-05-02 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 60ce8f0be6354ad565393ab449d8de5d713f35bc by Christian Heimes in branch 'master': bpo-36384: Leading zeros in IPv4 addresses are no longer tolerated (GH-25099) https://github.com/python/cpython/commit/60ce8f0be6354ad565393ab449d8de5d713f35bc -

[issue43908] array.array should remain immutable: add Py_TPFLAGS_IMMUTABLETYPE flag

2021-05-02 Thread Erlend Egeberg Aasland
Erlend Egeberg Aasland added the comment: Victor: > And in the "Porting to Python 3.10", I don't know if we should suggest > reviewing metatypes implemented in C which overrides tp_setattro, to take the > new flag in account. I don't know either; perhaps someone else could chime in here. I'v

[issue43908] array.array should remain immutable: add Py_TPFLAGS_IMMUTABLETYPE flag

2021-05-02 Thread Erlend Egeberg Aasland
Change by Erlend Egeberg Aasland : -- pull_requests: +24502 pull_request: https://github.com/python/cpython/pull/25816 ___ Python tracker ___ __

[issue43985] lib2to3 fails on a slash('/') after positional_only paramter in a function signature

2021-05-02 Thread MisterY
MisterY added the comment: Thanks, it works well after upgrade to version 3.8.9 -- stage: -> resolved status: open -> closed ___ Python tracker ___ __

[issue24132] Direct sub-classing of pathlib.Path

2021-05-02 Thread Barney Gale
Barney Gale added the comment: Progress report: I've been working on tidying up the pathlib internals over the 3.9 and 3.10 releases. We're now in a position where: - `pathlib._Flavour` is entirely pure, and doesn't make any `os` calls - `pathlib._Accessor` handles all `os` access. The inte

[issue36384] [security] CVE-2021-29921: ipaddress Should not reject IPv4 addresses with leading zeroes as ambiguously octal

2021-05-02 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 5374fbc31446364bf5f12e5ab88c5493c35eaf04 by Miss Islington (bot) in branch '3.9': bpo-36384: Leading zeros in IPv4 addresses are no longer tolerated (GH-25099) (GH-25815) https://github.com/python/cpython/commit/5374fbc31446364bf5f12e5ab88c5493c35

[issue36384] [security] CVE-2021-29921: ipaddress Should not reject IPv4 addresses with leading zeroes as ambiguously octal

2021-05-02 Thread Christian Heimes
Christian Heimes added the comment: Łukasz, thanks for pushing the PR over the finish line! -- ___ Python tracker ___ ___ Python-bug

[issue38820] Make Python compatible with OpenSSL 3.0.0

2021-05-02 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +24503 pull_request: https://github.com/python/cpython/pull/25817 ___ Python tracker ___

[issue43880] 3.10 SSL module deprecations

2021-05-02 Thread Christian Heimes
Christian Heimes added the comment: I have updated whatsnew in GH-25817. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue43794] OpenSSL 3.0.0: Handle UNEXPECTED_EOF_WHILE_READING / wrap SSL_OP_IGNORE_UNEXPECTED_EOF

2021-05-02 Thread Christian Heimes
Christian Heimes added the comment: I have updated whatsnew in GH-25817. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue43968] os.path.realpath() unexpected breaking change: resolves subst'd paths to real paths

2021-05-02 Thread Steve Dower
Steve Dower added the comment: > The problem is with Python debugger and third-party tools - we can't make > changes there. You can report the issue to them, though. They may not realise that they're using realpath() in scenarios when their users do not want links to be resolved. For your o

[issue38820] Make Python compatible with OpenSSL 3.0.0

2021-05-02 Thread Christian Heimes
Christian Heimes added the comment: New changeset d8389e3e50864447a74605d7ede3d14246bc633a by Christian Heimes in branch 'master': bpo-38820: Add ssl, hashlib, and hmac changes to whatsnew 3.10 (GH-25817) https://github.com/python/cpython/commit/d8389e3e50864447a74605d7ede3d14246bc633a

[issue43434] sqlite3.Connection(...) bypasses 'sqlite3.connect' audit hooks

2021-05-02 Thread Steve Dower
Steve Dower added the comment: Yes, let's move it into the init function. -- ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue43983] Can't install Python v3.9.4 / 0x80070643 / windows 10 64bit

2021-05-02 Thread Steve Dower
Steve Dower added the comment: Hi Marwan If you look in your %TEMP% directory for the log file you attached, you'll find some more similar log files. Could you attach those as well? One of them will have the actual issue in it. -- ___ Python trac

[issue37322] test_ssl: test_pha_required_nocert() emits a ResourceWarning

2021-05-02 Thread Christian Heimes
Christian Heimes added the comment: I have cherry-picked e047239eafefe8b19725efffe7756443495cf78b into both backports and rebased them on top of upstream/3.8 and upstream/3.9. -- ___ Python tracker

[issue44010] IDLE: highlight new `match` / `case` syntax

2021-05-02 Thread E. Paine
New submission from E. Paine : As-per PEP 634, structural pattern matching is now in Python. This introduces the `match` and `case` keywords. IDLE does not highlight these. The problem is that these are listed in `keyword.softkwlist` rather than `keyword.kwlist` (which is what IDLE uses). Thi

[issue43997] dataclasses documentation needs version added for match_args, kw_only, and slots

2021-05-02 Thread miss-islington
New submission from miss-islington : New changeset a5eabc9a39c617475adb7eaee62de7566a995442 by Shreyan Avigyan in branch 'master': bpo-43997: Add versionadded directives for to match_args, kw_only, and slots in dataclasses.dataclasses documentation (GH-25803) https://github.com/python/cpython

[issue43997] dataclasses documentation needs version added for match_args, kw_only, and slots

2021-05-02 Thread Eric V. Smith
Change by Eric V. Smith : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed type: -> behavior ___ Python tracker ___

[issue44010] IDLE: highlight new `match` / `case` syntax

2021-05-02 Thread Ken Jin
Ken Jin added the comment: Hi, I'm no IDLE expert, but I think moving the new soft keywords into kwlist seems wrong: Soft keywords were added in Python 3.9 when the PEG parser became the default. The keyword list was also updated accordingly https://docs.python.org/3/library/keyword.html#ke

[issue43434] sqlite3.Connection(...) bypasses 'sqlite3.connect' audit hooks

2021-05-02 Thread Erlend Egeberg Aasland
Change by Erlend Egeberg Aasland : -- pull_requests: +24504 stage: -> patch review pull_request: https://github.com/python/cpython/pull/25818 ___ Python tracker ___ __

[issue44010] IDLE: highlight soft keywords

2021-05-02 Thread E. Paine
E. Paine added the comment: Thanks for linking to the Lexical Analysis docs. Not quite sure how I missed this given it is directly below the normal keywords section. Given the distinction described there, it may instead be best for IDLE to highlight this as its own category (i.e. not groupin

[issue43434] sqlite3.Connection(...) bypasses 'sqlite3.connect' audit hooks

2021-05-02 Thread Erlend Egeberg Aasland
Erlend Egeberg Aasland added the comment: The PR accidentally fixes a bug in GH-25246 (bpo-43762): The object passed to PySys_Audit() is now the connection object, not the module object. -- ___ Python tracker _

[issue43983] Can't install Python v3.9.4 / 0x80070643 / windows 10 64bit

2021-05-02 Thread Marwan Essam
Marwan Essam added the comment: Done, i uploaded a rar with all the log files in %TEMP% -- Added file: https://bugs.python.org/file50003/logs.rar ___ Python tracker ___ __

[issue43990] In documentation Section 6.17, Operator precedence, footnotes 5 & 6 are reversed

2021-05-02 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset 7d2b83e9f092a2ea1f715fe028f7c48324bee756 by Zackery Spytz in branch 'master': bpo-43990: Fix the footnote ordering in the operator precedence docs (GH-25805) https://github.com/python/cpython/commit/7d2b83e9f092a2ea1f715fe028f7c48324bee756

[issue43983] Can't install Python v3.9.4 / 0x80070643 / windows 10 64bit

2021-05-02 Thread Shreyan Avigyan
Shreyan Avigyan added the comment: See if the your problem is solved by following https://docs.microsoft.com/en-us/troubleshoot/windows-server/application-management/msi-installation-error-1603. -- nosy: +shreyanavigyan ___ Python tracker

[issue44010] IDLE: highlight soft keywords

2021-05-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: Soft keywords are a huge nuisance for syntax highlighting as they need special case regexes and tests. Hard keywords are matched against complete words, regardless of whether the context is syntactically valid or not. If 'for' and 'else' were the only keyw

[issue43990] In documentation Section 6.17, Operator precedence, footnotes 5 & 6 are reversed

2021-05-02 Thread Raymond Hettinger
Change by Raymond Hettinger : -- assignee: docs@python -> rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

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

2021-05-02 Thread Yann Dirson
Yann Dirson added the comment: With upcoming 3.10 phasing out 2.7 compatibility I have to find a solution to this, so I'm back digging here. Even .read(1) on a subprocess pipe causes an underlying buffered read, so working around the problem by a loop of 1-byte reads has to do with os.read()

[issue43990] In documentation Section 6.17, Operator precedence, footnotes 5 & 6 are reversed

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

[issue41411] Improve and consolidate f-strings docs

2021-05-02 Thread Stéphane Blondon
Stéphane Blondon added the comment: It seems ezio-melotti hesitates to continue the modifications in the PR https://github.com/python/cpython/pull/21552#pullrequestreview-458400056 IMO, the PR improves enough the documentation, so it would be nice to merge it, even without the other changes.

[issue43983] Can't install Python v3.9.4 / 0x80070643 / windows 10 64bit

2021-05-02 Thread Marwan Essam
Marwan Essam added the comment: Hello Shreyan, unfortunately still not working, I tried all the solutions and none worked. still showing the same error. -- ___ Python tracker ___

[issue43754] Eliminate bindings for partial pattern matches

2021-05-02 Thread Brandt Bucher
Brandt Bucher added the comment: New changeset 0ad1e0384c8afc5259a6d03363491d89500a5d03 by Brandt Bucher in branch 'master': bpo-43754: Eliminate bindings for partial pattern matches (GH-25229) https://github.com/python/cpython/commit/0ad1e0384c8afc5259a6d03363491d89500a5d03 -- ___

[issue43754] Eliminate bindings for partial pattern matches

2021-05-02 Thread Brandt Bucher
Change by Brandt Bucher : -- stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mail

[issue43968] os.path.realpath() unexpected breaking change: resolves subst'd paths to real paths

2021-05-02 Thread sfmc
sfmc added the comment: > How about keeping a substitute or mapped drive from the input path > if resolving the root path on the drive prefixes the overall real > path? That would be pretty easy to implement. So if the resolved path is accessible from the original path's drive, then keep the

[issue43990] In documentation Section 6.17, Operator precedence, footnotes 5 & 6 are reversed

2021-05-02 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset e60b1e150d708c40fa3c51d012d9bf471f04bc70 by Miss Islington (bot) in branch '3.9': bpo-43990: Fix the footnote ordering in the operator precedence docs (GH-25805) (GH-25819) https://github.com/python/cpython/commit/e60b1e150d708c40fa3c51d012d

[issue43990] In documentation Section 6.17, Operator precedence, footnotes 5 & 6 are reversed

2021-05-02 Thread Raymond Hettinger
Raymond Hettinger added the comment: Webb, thanks for the report. Zackery, thanks for the PR. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.10 ___ Python tracker

[issue38250] enum.Flag should be more set-like

2021-05-02 Thread Shantanu
Change by Shantanu : -- nosy: +hauntsaninja nosy_count: 6.0 -> 7.0 pull_requests: +24506 pull_request: https://github.com/python/cpython/pull/25820 ___ Python tracker ___ _

[issue41411] Improve and consolidate f-strings docs

2021-05-02 Thread Raymond Hettinger
Raymond Hettinger added the comment: Eric, do you want to approve and apply these PRs ? -- assignee: docs@python -> eric.smith nosy: +rhettinger ___ Python tracker ___ ___

[issue28556] typing.py upgrades

2021-05-02 Thread Jelle Zijlstra
Jelle Zijlstra added the comment: Looks like this is no longer relevant. -- nosy: +Jelle Zijlstra resolution: -> out of date stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue32752] no information about accessing typing.Generic type arguments

2021-05-02 Thread Jelle Zijlstra
Jelle Zijlstra added the comment: We have typing.get_args() as of 3.8. -- nosy: +Jelle Zijlstra resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___

[issue43434] sqlite3.Connection(...) bypasses 'sqlite3.connect' audit hooks

2021-05-02 Thread Erlend Egeberg Aasland
Erlend Egeberg Aasland added the comment: Steve, can we get this in before beta1 (bco. the bugfix)? -- ___ Python tracker ___ ___ P

[issue37923] Combining typing.get_type_hints and inspect.signature

2021-05-02 Thread Jelle Zijlstra
Jelle Zijlstra added the comment: As of Python 3.10, thanks to Larry Hastings inspect.signature will have a new eval_str= parameter that lets you evaluate string annotations. This isn't quite what you're asking for, though, because typing.get_type_hints does more work than eval_str does. Sti

[issue44011] Borrow asyncio ssl implementation from uvloop

2021-05-02 Thread Andrew Svetlov
New submission from Andrew Svetlov : There is a PR created a long time ago. Finally, I've ported tests for it also. The documentation doesn't mention new ssh_shutdown_timeout parameter yet. The latest changes from https://github.com/MagicStack/uvloop/pull/385 can be applied separately. -

[issue44011] Borrow asyncio ssl implementation from uvloop

2021-05-02 Thread Andrew Svetlov
Change by Andrew Svetlov : -- keywords: +patch pull_requests: +24507 stage: -> patch review pull_request: https://github.com/python/cpython/pull/17975 ___ Python tracker ___ _

[issue40397] Refactor typing._GenericAlias

2021-05-02 Thread Jelle Zijlstra
Jelle Zijlstra added the comment: Looks like there's nothing left to do here. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker __

[issue34568] Types in `typing` not anymore instances of `type` or subclasses of "real" types

2021-05-02 Thread Jelle Zijlstra
Jelle Zijlstra added the comment: More recent versions of typing have added some helper functions that could be useful here, like typing.get_origin and typing.get_args. I'm going to close this issue because I don't think there's anything actionable. -- nosy: +Jelle Zijlstra resolutio

[issue42001] Deprecate `typing.io` Wrapper Namespace

2021-05-02 Thread Jelle Zijlstra
Jelle Zijlstra added the comment: Closing as a duplicate of https://bugs.python.org/issue38291 -- nosy: +Jelle Zijlstra resolution: -> duplicate stage: -> resolved status: open -> closed ___ Python tracker ___

[issue38291] Deprecate the typing.io and typing.re pseudo-modules

2021-05-02 Thread Jelle Zijlstra
Jelle Zijlstra added the comment: The documentation (https://docs.python.org/3.10/library/typing.html#typing.BinaryIO) now mentions the typing.io and typing.re namespaces. I would prefer that they be deprecated and eventually completely removed. They don't work with most static type checker

[issue38352] In typing docs, note explicit import needed for IO and Pattern/Match

2021-05-02 Thread Jelle Zijlstra
Jelle Zijlstra added the comment: It turns out that IO, TextIO, BinaryIO, Match, and Pattern aren't in typing.__all__. As Walter points out above, there's no clear reason for this. I am submitting a PR to add them to __all__. -- nosy: +Jelle Zijlstra

[issue38352] In typing docs, note explicit import needed for IO and Pattern/Match

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

[issue43926] Clean metadata (importlib_metadata 4.0)

2021-05-02 Thread Jason R. Coombs
Jason R. Coombs added the comment: New changeset 37e0c7850de902179b28f1378fbbc38a5ed3628c by Jason R. Coombs in branch 'master': bpo-43926: Cleaner metadata with PEP 566 JSON support. (GH-25565) https://github.com/python/cpython/commit/37e0c7850de902179b28f1378fbbc38a5ed3628c -- __

[issue44006] symbol documentation still exists

2021-05-02 Thread Ammar Askar
Ammar Askar added the comment: Added Julien to the nosy list, looks like we might be retaining old deleted docs pages. -- nosy: +ammar2, mdk ___ Python tracker ___ __

[issue41100] Support macOS 11 and Apple Silicon Macs

2021-05-02 Thread Ned Deily
Ned Deily added the comment: Thank you to everyone who contributed to this major undertaking! A particular thank you to Lawrence for doing much of the initial work and paving the way. Now that 3.8 also supports Big Sur and Apple Silicon Macs as of the imminent 3.8.10 release, it's time to c

[issue43434] sqlite3.Connection(...) bypasses 'sqlite3.connect' audit hooks

2021-05-02 Thread Steve Dower
Steve Dower added the comment: New changeset c96cc089f60d2bf7e003c27413c3239ee9de2990 by Erlend Egeberg Aasland in branch 'master': bpo-43434: Move sqlite3.connect audit events to sqlite3.Connection.__init__ (GH-25818) https://github.com/python/cpython/commit/c96cc089f60d2bf7e003c27413c3239e

[issue43434] sqlite3.Connection(...) bypasses 'sqlite3.connect' audit hooks

2021-05-02 Thread Steve Dower
Steve Dower added the comment: We could get this one in after beta 1 anyway, but sure, it's in. The backports are going to have to be manual, I suspect... -- stage: patch review -> backport needed ___ Python tracker

  1   2   >