[issue43347] IDLE crashes in macOS Apple chip, maybe completions

2021-05-02 Thread Tal Einat
Tal Einat added the comment: I'd be happy to look into this but I haven't access to any M-1 Macs at the moment. It would be helpful if someone with an M-1 could try running IDLE from the command line to see if an error message is written when this issue occurs. -- nosy: +taleinat

[issue44014] Fix error in Enum documentation.

2021-05-02 Thread Kris Powell
Change by Kris Powell : -- keywords: +patch pull_requests: +24522 stage: -> patch review pull_request: https://github.com/python/cpython/pull/25837 ___ Python tracker ___

[issue44014] Fix error in Enum documentation.

2021-05-02 Thread Kris Powell
New submission from Kris Powell : The example code was referring to the wrong enum `Color`, instead of `Ordinal`. -- messages: 392765 nosy: krisaoe priority: normal severity: normal status: open title: Fix error in Enum documentation. type: enhancement

[issue43583] make test failures, 2 tests failed: test_embed test_tabnanny

2021-05-02 Thread Alexei S
Change by Alexei S : -- components: +Tests type: -> compile error ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue42362] Switch to clang as default compiler in build-installer.py

2021-05-02 Thread Ned Deily
Ned Deily added the comment: New changeset c3bfa762214e4fbe25699d75c0412791cefd7094 by Ned Deily in branch 'master': bpo-42362: use clang name on 10.9 builds as well (GH-25834) https://github.com/python/cpython/commit/c3bfa762214e4fbe25699d75c0412791cefd7094 --

[issue29707] os.path.ismount() always returns false for mount --bind on same filesystem

2021-05-02 Thread R0b0t1
R0b0t1 added the comment: https://bugs.python.org/issue29707#msg331921 > But what is the problem with getting False for bind mounts on the same > filesystem? When doing directory traversal it is important to not duplicate listings. It seems this can cause duplication. I'm replying to echo

[issue42235] [macOS] Use --enable-optimizations in build-installer.py

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

[issue42362] Switch to clang as default compiler in build-installer.py

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

[issue42235] [macOS] Use --enable-optimizations in build-installer.py

2021-05-02 Thread Ned Deily
Ned Deily added the comment: Thanks for the PR. I am only going to apply this to the 3.10 branch for now. Perhaps when we have more experience with it, it could be backported to 3.9.x. First appearance in 3.10.0b1. -- resolution: -> fixed stage: patch review -> resolved status:

[issue42235] [macOS] Use --enable-optimizations in build-installer.py

2021-05-02 Thread Ned Deily
Change by Ned Deily : -- pull_requests: -24519 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42235] [macOS] Use --enable-optimizations in build-installer.py

2021-05-02 Thread Ned Deily
Change by Ned Deily : -- pull_requests: -24518 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42235] [macOS] Use --enable-optimizations in build-installer.py

2021-05-02 Thread Ned Deily
Ned Deily added the comment: New changeset e08059edef3be07ada3058d68ad2c9cc13b7418e by Ronald Oussoren in branch 'master': bpo-42235: [macOS] Use LTO/PGO in build-installer.py with new enough compilers (GH-23079)

[issue42235] [macOS] Use --enable-optimizations in build-installer.py

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

[issue42235] [macOS] Use --enable-optimizations in build-installer.py

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

[issue41129] setup.py test for macOS SDK files may incorrectly classify files in other file systems

2021-05-02 Thread Ned Deily
Ned Deily added the comment: Thanks for the PR, Ned! Fixed in 3.10.0b1 and 3.9.5. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.10, Python 3.9 -Python 3.8 ___ Python tracker

[issue41129] setup.py test for macOS SDK files may incorrectly classify files in other file systems

2021-05-02 Thread Ned Deily
Ned Deily added the comment: New changeset 98035ec93ff0d9875f19027015689734d70c14e5 by Miss Islington (bot) in branch '3.9': bpo-41129: Fix check for macOS SDK paths when building Python (GH-25785) (GH-25830) https://github.com/python/cpython/commit/98035ec93ff0d9875f19027015689734d70c14e5

[issue25478] Consider adding a normalize() method to collections.Counter()

2021-05-02 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset 8c598dbb9483bcfcb88fc579ebf27821d8861465 by Raymond Hettinger in branch 'master': bpo-25478: Add total() method to collections.Counter (GH-25829) https://github.com/python/cpython/commit/8c598dbb9483bcfcb88fc579ebf27821d8861465 --

[issue41129] setup.py test for macOS SDK files may incorrectly classify files in other file systems

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

[issue41129] setup.py test for macOS SDK files may incorrectly classify files in other file systems

2021-05-02 Thread Ned Deily
Ned Deily added the comment: New changeset d52bbde9421987d216c600557ef5bc931d03efcc by Ned Batchelder in branch 'master': bpo-41129: Fix check for macOS SDK paths when building Python (GH-25785) https://github.com/python/cpython/commit/d52bbde9421987d216c600557ef5bc931d03efcc --

[issue37903] IDLE Shell sidebar.

2021-05-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset b43cc31a270d0dacbc69e35d6c6fbdb5edd7e711 by Tal Einat in branch 'master': bpo-37903: IDLE: add shell sidebar mouse interactions (GH-25708) https://github.com/python/cpython/commit/b43cc31a270d0dacbc69e35d6c6fbdb5edd7e711 --

[issue25478] Consider adding a normalize() method to collections.Counter()

2021-05-02 Thread Raymond Hettinger
Change by Raymond Hettinger : -- pull_requests: +24516 pull_request: https://github.com/python/cpython/pull/25829 ___ Python tracker ___

[issue42362] Switch to clang as default compiler in build-installer.py

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

[issue42362] Switch to clang as default compiler in build-installer.py

2021-05-02 Thread miss-islington
miss-islington added the comment: New changeset 90d523910a61290597b4599f17363b532f0a4411 by Ronald Oussoren in branch 'master': bpo-42362: Switch to clang/clang++ as the default compiler in build-installer.py (GH-23298)

[issue43926] Clean metadata (importlib_metadata 4.0)

2021-05-02 Thread Jason R. Coombs
Change by Jason R. Coombs : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue37923] Combining typing.get_type_hints and inspect.signature

2021-05-02 Thread Larry Hastings
Change by Larry Hastings : -- nosy: -larry ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37923] Combining typing.get_type_hints and inspect.signature

2021-05-02 Thread Larry Hastings
Larry Hastings added the comment: "Type hints" and "annotations" aren't the same thing. And type hints are more opinionated about the values of annotations than would be appropriate for the inspect module. For example, typing.get_type_hints() wraps strings with ForwardRef, turns None into

[issue43851] Optimise SQLite builds on macOS and Windows

2021-05-02 Thread Ned Deily
Ned Deily added the comment: New changeset 555cbbe7c10c29ec4358c66c247b8d7e871a5f7b by Erlend Egeberg Aasland in branch 'master': bpo-43851: Build SQLite with SQLITE_OMIT_AUTOINIT on macOS (GH-25413) https://github.com/python/cpython/commit/555cbbe7c10c29ec4358c66c247b8d7e871a5f7b

[issue43568] Drop support for Mac OS X < 10.3 module linking

2021-05-02 Thread Ned Deily
Ned Deily added the comment: Thanks for the PR! I updated it using the slightly different different changes in https://github.com/pypa/distutils/pull/36 and it was just easier to open a new PR. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed

[issue43568] Drop support for Mac OS X < 10.3 module linking

2021-05-02 Thread Ned Deily
Ned Deily added the comment: New changeset 870317825822c856490a32eee037fec8057690b1 by Ned Deily in branch 'master': bpo-43568: Drop support for MACOSX_DEPLOYMENT_TARGET < 10.3 (GH-25827) https://github.com/python/cpython/commit/870317825822c856490a32eee037fec8057690b1 --

[issue43568] Drop support for Mac OS X < 10.3 module linking

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

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

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

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

2021-05-02 Thread Mark Shannon
Mark Shannon added the comment: New changeset 33ec88ac81f23668293d101b83367b086c795e5e by Mark Shannon in branch 'master': bpo-43977: Make sure that tp_flags for pattern matching are inherited correctly. (GH-25813)

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

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

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

2021-05-02 Thread Steve Dower
Steve Dower added the comment: New changeset 10665ac37313560fe87460cf4a5c26677049bf62 by Erlend Egeberg Aasland in branch '3.8': bpo-43434: Move sqlite3.connect audit events to sqlite3.Connection.__init__ (GH-25818)

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

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

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

2021-05-02 Thread Steve Dower
Steve Dower added the comment: New changeset ad73d1657ca3591b1dd1d15bb80ce83ca7fc3223 by Erlend Egeberg Aasland in branch '3.9': bpo-43434: Move sqlite3.connect audit event to sqlite3.Connection.__init__ (GH-25818)

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

2021-05-02 Thread Brandt Bucher
Brandt Bucher added the comment: New changeset 9387fac100db359cbb6ec2a76f8a5eba8f9d7b65 by Brandt Bucher in branch 'master': bpo-43977: Document the new pattern matching type flags (GH-25734) https://github.com/python/cpython/commit/9387fac100db359cbb6ec2a76f8a5eba8f9d7b65 --

[issue44013] tempfile.TemporaryFile: name of file descriptor cannot be reused in consecutive initialization

2021-05-02 Thread Xiang Zhong
New submission from Xiang Zhong : The variable of instance cannot be reused in two consecutive codes chunk combinations. Please check the difference in attached file, xtempfile.py, function: test_3 & test_4. However, surprisingly, the problem can be fixed in test_5 and test_6. Which may be

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

2021-05-02 Thread Erlend Egeberg Aasland
Erlend Egeberg Aasland added the comment: Thanks, Steve, that means a lot! Glad to help. Thank you for getting it into beta1. Having the new event out there with the wrong object passed to it would have been a tiny bit embarrassing :) -- ___

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

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

[issue43490] IDLE freezes at random

2021-05-02 Thread Ned Deily
Ned Deily added the comment: Without more information and a way to reproduce the behavior, there is little we can do to help here. If the problem persists, please re-open with more information, in particular a copy of the Python version information from the IDLE shell you are using to run

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

2021-05-02 Thread Steve Dower
Steve Dower added the comment: New changeset cbb7b9ed4a6069a2cb2e2f809926c2cfa332a493 by Erlend Egeberg Aasland in branch 'master': bpo-43434: Clean up sqlite3.connect() after GH-25818 (GH-25823) https://github.com/python/cpython/commit/cbb7b9ed4a6069a2cb2e2f809926c2cfa332a493 --

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

2021-05-02 Thread Steve Dower
Steve Dower added the comment: Thanks, Erlend! Appreciate how quickly you got onto that, and the quality of your work. -- ___ Python tracker ___

[issue34788] ipaddress module fails on rfc4007 scoped IPv6 addresses

2021-05-02 Thread Oliver Giles
Change by Oliver Giles : -- nosy: +ohwgiles nosy_count: 10.0 -> 11.0 pull_requests: +24512 pull_request: https://github.com/python/cpython/pull/25824 ___ Python tracker ___

[issue44012] IPv6Address.exploded does not support interface name (scope id)

2021-05-02 Thread Oliver Giles
Change by Oliver Giles : -- keywords: +patch pull_requests: +24511 stage: -> patch review pull_request: https://github.com/python/cpython/pull/25824 ___ Python tracker ___

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

2021-05-02 Thread Steve Dower
Steve Dower added the comment: This is the full error message (and sorry I just saw that you put it on pastebin in the first post). MSI (s) (18:04) [13:13:04:342]: SECREPAIR: Hash Database: C:\Windows\Installer\SourceHash{1C17C2CE-B315-4C1C-885A-E37181C7368E} MSI (s) (18:04) [13:13:04:342]:

[issue44012] IPv6Address.exploded does not support interface name (scope id)

2021-05-02 Thread Oliver Giles
New submission from Oliver Giles : IPv6 addresses may contain a scope id, for example "fe80::1%eth0". These are usually required for link-local addresses. bpo-34788 added support for scoped IPv6 addresses, but missed the "exploded" method: >>> import ipaddress >>>

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

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

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

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

[issue44011] Borrow asyncio ssl implementation from uvloop

2021-05-02 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset 5fb06edbbb769561e245d0fe13002bab50e2ae60 by Andrew Svetlov in branch 'master': bpo-44011: New asyncio ssl implementation (#17975) https://github.com/python/cpython/commit/5fb06edbbb769561e245d0fe13002bab50e2ae60 --

[issue44006] symbol documentation still exists

2021-05-02 Thread Julien Palard
Julien Palard added the comment: This is interesting! Also notice the footer: Last updated on Jul 26, 2020. I checked on the docsbuild server and found the `symbol.html` file was marked as modified today (probably by the build cron) (and it contains the "Last updated on Jul 26, 2020"

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

2021-05-02 Thread Erlend Egeberg Aasland
Erlend Egeberg Aasland added the comment: Thanks! :) I'll fix the backports. -- ___ Python tracker ___ ___ Python-bugs-list

[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

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

[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

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

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

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

[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

[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

[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

[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

[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

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

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

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

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

[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

[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

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

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

[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

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

[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

[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

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

[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

[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

[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

[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

[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

[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

[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

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

[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

[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

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

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

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

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

[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

[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

[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

[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

[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

[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

[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

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

  1   2   >