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

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

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

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

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

[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 >>> ipaddress.IPv6Address('fe80:

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

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

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

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

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

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

[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 :) -- ___ Pytho

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

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

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

[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 10665ac37313560fe87460cf4a5c26677049bf62 by Erlend Egeberg Aasland in branch '3.8': bpo-43434: Move sqlite3.connect audit events to sqlite3.Connection.__init__ (GH-25818) https://github.com/python/cpython/commit/10665ac37313560fe87460cf4a5c2667704

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

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

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

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

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

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

[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

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

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

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

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

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

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

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

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

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

[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

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

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

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

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

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

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

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

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

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

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

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

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

[issue38946] IDLE on macOS 10.15 Catalina does not open double-clicked files if app already launched

2021-05-02 Thread Tal Einat
Tal Einat added the comment: Any news on this? Ned, ISTM that we should create a separate issue to track your latest observation regarding double-click opening on macOS 11 Big Sur / IDLE 3.10.0a4 / Tcl/Tk 8.6.11. This is marked as "Critical" but given the discussion it seems that this shoul

[issue44015] dataclasses: it should be an error to specify KW_ONLY twice

2021-05-02 Thread Eric V. Smith
New submission from Eric V. Smith : Specifying KW_ONLY twice should raise an exception, but does not: >>> @dataclasses.dataclass ... class foo: ... _: dataclasses.KW_ONLY ... x: dataclasses.KW_ONLY ... -- assignee: eric.smith components: Library (Lib) messages: 392768 nosy: eric.sm

[issue44011] Borrow asyncio ssl implementation from uvloop

2021-05-02 Thread Christian Heimes
Christian Heimes added the comment: The commit has broken multiple build bots, e.g .https://buildbot.python.org/all/#/builders/345/builds/134/steps/5/logs/stdio The new code is missing checks for presence of ssl module. It's an optional component. -- nosy: +christian.heimes priority

[issue44011] Borrow asyncio ssl implementation from uvloop

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

[issue44011] Borrow asyncio ssl implementation from uvloop

2021-05-02 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +pablogsal ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue44014] Fix error in Enum documentation.

2021-05-02 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +ethan.furman ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

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

2021-05-02 Thread Raymond Hettinger
Raymond Hettinger added the comment: There was no command-line error. -- ___ Python tracker ___ ___ Python-bugs-list mailing list U

<    1   2