[issue45147] Typo in "What's New In Python 3.10" documentation

2021-09-08 Thread Ming Hua
Change by Ming Hua : -- title: Type in "What's New In Python 3.10" documentation -> Typo in "What's New In Python 3.10" documentation ___ Python tracker ___ __

[issue45147] Type in "What's New In Python 3.10" documentation

2021-09-08 Thread Ming Hua
New submission from Ming Hua : It's just a small typo, but since the documentation recommends reporting to bug tracker, here it is. After downloading the 64-bit Windows Installer for 3.10.0 rc2 and successfully installing on my Windows 10, the "Python 3.10 Manuals" in start menu opens a (pre

[issue45146] Add a possibility for asyncio.Condition to determine the count of currently waiting consumers

2021-09-08 Thread Mykola Mokhnach
New submission from Mykola Mokhnach : Currently the asyncio.Condition class does not provide any properties that would allow to determine how many (if) consumers are waiting for the current condition. My scenario is the following: ``` ... FILE_STATS_CONDITIONS: Dict[str, asyncio.Condition] =

[issue20499] Rounding errors with statistics.variance

2021-09-08 Thread Raymond Hettinger
Change by Raymond Hettinger : -- assignee: steven.daprano -> rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue20499] Rounding errors with statistics.variance

2021-09-08 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset 3c30805b58421a1e2aa613052b6d45899f9b1b5d by Raymond Hettinger in branch '3.10': [3.10] bpo-20499: Rounding error in statistics.pvariance (GH-28230) (GH-28248) https://github.com/python/cpython/commit/3c30805b58421a1e2aa613052b6d45899f9b1b5d

[issue20499] Rounding errors with statistics.variance

2021-09-08 Thread Raymond Hettinger
Change by Raymond Hettinger : -- pull_requests: +26669 pull_request: https://github.com/python/cpython/pull/28248 ___ Python tracker ___ ___

[issue20499] Rounding errors with statistics.variance

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

[issue20499] Rounding errors with statistics.variance

2021-09-08 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset 4a5cccb02bb2254634c0fbb2cbb14e2e7f45e2d5 by Raymond Hettinger in branch 'main': bpo-20499: Rounding error in statistics.pvariance (GH-28230) https://github.com/python/cpython/commit/4a5cccb02bb2254634c0fbb2cbb14e2e7f45e2d5 -- _

[issue40563] Support pathlike objects on dbm/shelve

2021-09-08 Thread David Mertz
David Mertz added the comment: If anyone wants to look at my not-yet-complete changes (see other comment), it's https://github.com/DavidMertz/cpython/tree/bpo-45133. It has a different bpo because I filed a duplicate before realizing. I can change the branch name before a PR, but making it

[issue40563] Support pathlike objects on dbm/shelve

2021-09-08 Thread David Mertz
David Mertz added the comment: I've made the few additional changes to those in this PR. When I work out the issues, I'll make a new PR. I took out an attempt with `path_t`. However, here is why I think argument clinic (or something else?!) is actually intercepting the attempted call: Wi

[issue45133] Open functions in dbm submodule should support path-like objects

2021-09-08 Thread Hakan Çelik
Change by Hakan Çelik : -- nosy: +hakancelik nosy_count: 1.0 -> 2.0 pull_requests: +26668 pull_request: https://github.com/python/cpython/pull/20274 ___ Python tracker ___ _

[issue45145] Case of headers in urllib.request.Request

2021-09-08 Thread E . M . P . Höller
New submission from E. M. P. Höller : urllib.request.Request internally .capitalize()s header names before adding them, as can be seen here: https://github.com/python/cpython/blob/3.9/Lib/urllib/request.py#L399 Since HTTP headers are case-insensitive, but dicts are not, this ensures that add

[issue45144] Use subtests in test_peepholer

2021-09-08 Thread Irit Katriel
Change by Irit Katriel : -- keywords: +patch pull_requests: +26667 stage: -> patch review pull_request: https://github.com/python/cpython/pull/28247 ___ Python tracker ___ ___

[issue45144] Use subtests in test_peepholer

2021-09-08 Thread Irit Katriel
New submission from Irit Katriel : test_peepholer has many tests that loop over test cases. Identifying them as subtests will make them easier to work with when something breaks. -- components: Tests messages: 401428 nosy: iritkatriel priority: normal severity: normal status: open titl

[issue42064] Convert sqlite3 to multi-phase initialisation (PEP 489)

2021-09-08 Thread Diego Ramirez
Change by Diego Ramirez : -- nosy: +DiddiLeija ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue45142] Import error for Iterable in collections

2021-09-08 Thread Joshua
Joshua added the comment: Update: I'm just dumb, should have used "from collections.abc import Iterable" -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___

[issue45143] ipaddress multicast v6 RFC documentation correction

2021-09-08 Thread Hanu
New submission from Hanu : In the ipaddress library documentation related to multicast. https://docs.python.org/3/library/ipaddress.html#ip-addresses the is_multicast, refers to the v6 multicast RFC as 2373: "is_multicast True if the address is reserved for multicast use. See RFC 3171 (for IPv4

[issue45142] Import error for Iterable in collections

2021-09-08 Thread Joshua
New submission from Joshua : Traceback: Traceback (most recent call last): File "/Users/user/PycharmProjects/phys2/main.py", line 5, in from collections import Iterable ImportError: cannot import name 'Iterable' from 'collections' (/Library/Frameworks/Python.framework/Versions/3.10/lib/p

[issue45017] move opcode-related logic from modulefinder to dis

2021-09-08 Thread Irit Katriel
Change by Irit Katriel : -- keywords: +patch pull_requests: +2 stage: -> patch review pull_request: https://github.com/python/cpython/pull/28246 ___ Python tracker ___ ___

[issue45141] mailcap.getcaps() from given file(s)

2021-09-08 Thread pacien
Change by pacien : -- keywords: +patch pull_requests: +26664 stage: -> patch review pull_request: https://github.com/python/cpython/pull/28245 ___ Python tracker ___ _

[issue45139] Docs: More surrounding text into the "source" directive

2021-09-08 Thread Raymond Hettinger
Change by Raymond Hettinger : -- title: Simplify source links in documentation? -> Docs: More surrounding text into the "source" directive versions: +Python 3.11 ___ Python tracker __

[issue37529] Mimetype module duplicates

2021-09-08 Thread Andrei Kulakov
Change by Andrei Kulakov : -- pull_requests: +26663 pull_request: https://github.com/python/cpython/pull/28244 ___ Python tracker ___ __

[issue45139] Simplify source links in documentation?

2021-09-08 Thread Raymond Hettinger
Raymond Hettinger added the comment: ISTM that translating this fixed pattern is possibly one of the simplest things a translator will be asked to do, so there is very little payoff to making the change. For a person writing the docs, it is best to leave it as-is so that the wording and p

[issue37529] Mimetype module duplicates

2021-09-08 Thread Andrei Kulakov
Change by Andrei Kulakov : -- keywords: +patch pull_requests: +26662 stage: -> patch review pull_request: https://github.com/python/cpython/pull/28243 ___ Python tracker ___ _

[issue42064] Convert sqlite3 to multi-phase initialisation (PEP 489)

2021-09-08 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- pull_requests: +26661 pull_request: https://github.com/python/cpython/pull/28242 ___ Python tracker ___ ___

[issue42064] Convert sqlite3 to multi-phase initialisation (PEP 489)

2021-09-08 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: I did some experiments using the connection object as a "backref" in the callback context, but it seems that the GC does not play well with such ref circles; I ended up with a lot of ref leaks (yes, I modified the traverse and clear slots to visit and cle

[issue45138] [sqlite3] expand bound values in traced statements when possible

2021-09-08 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- title: [sqlite3] expand bound values in traced statements if possible -> [sqlite3] expand bound values in traced statements when possible ___ Python tracker _

[issue38371] Tkinter: deprecate the split() method

2021-09-08 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset f235dd0784b92824565c4a4e72adc70fa3eab68f by Erlend Egeberg Aasland in branch 'main': bpo-38371: Remove deprecated `tkinter` split() method (GH-28237) https://github.com/python/cpython/commit/f235dd0784b92824565c4a4e72adc70fa3eab68f -

[issue40059] Provide a toml module in the standard library

2021-09-08 Thread Brett Cannon
Brett Cannon added the comment: No progress as I've been swamped with higher-priority things and the bigger discussion about how we want to manage the stdlib going forward has not started yet (once again, not had the time to start that). -- ___ Py

[issue45141] mailcap.getcaps() from given file(s)

2021-09-08 Thread pacien
New submission from pacien : Currently, `mailcap.getcaps()` can only be used to load mailcap dictionaries from files located at some specific hard-coded paths. It is however also desirable to use the mailcap parser to load files located elsewhere. An optional parameter could be added to this f

[issue45026] More compact range iterator

2021-09-08 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I have not benchmarked PR 28176 yet and do not know whether it have advantages over PR 27986 and how large. Slower __lenght_hint__ can make list(range(...)) slower for small ranges, but I do not know how small. -- _

[issue45135] dataclasses.asdict() incorrectly calls __deepcopy__() on values.

2021-09-08 Thread Thomas Fischbacher
Thomas Fischbacher added the comment: The current behavior deviates from the documentation in a way that might evade tests and hence has the potential to cause production outages. Is there a way to fix the documentation so that it correctly describes current behavior - without having to wait

[issue45140] strict_timestamps for PyZipFile

2021-09-08 Thread Rebecca Wallander
New submission from Rebecca Wallander : https://github.com/python/cpython/pull/8270 Above fix solved the problem with pre-1980 files for regular ZipFile, but I still have issues when using PyZipFile object. https://docs.python.org/3.11/library/zipfile.html#pyzipfile-objects I would be glad i

[issue45136] test_sysconfig: test_user_similar() fails if sys.platlibdir is 'lib64'

2021-09-08 Thread Miro Hrončok
Miro Hrončok added the comment: Fix was proposed in https://github.com/python/cpython/pull/28235 but references the original bpi number. -- ___ Python tracker ___

[issue44340] Add support for building cpython with clang thin lto

2021-09-08 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 84ca5fcd31541929f0031e974a434b95d8e78aab by Dong-hee Na in branch 'main': bpo-44340: Update whatsnews for ThinLTO (GH-28229) https://github.com/python/cpython/commit/84ca5fcd31541929f0031e974a434b95d8e78aab -- nosy: +lukasz.langa ___

[issue41082] Error handling and documentation of Path.home()

2021-09-08 Thread Łukasz Langa
Łukasz Langa added the comment: Behavior is fixed in Python 3.10+. For Python 3.9 the docs are updated to list possible exceptions. Since this was reported with 3.9 in mind, I'm marking this one as wontfix. Thanks for picking this up, Andrei! ✨ 🍰 ✨ -- resolution: -> wont fix stage:

[issue45083] Need to use the exception class qualname when rendering exception (in C code)

2021-09-08 Thread Irit Katriel
Irit Katriel added the comment: Pablo wanted to wait for 3.10.1, see https://github.com/python/cpython/pull/28134#issuecomment-912679271 -- ___ Python tracker ___ ___

[issue41082] Error handling and documentation of Path.home()

2021-09-08 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset dc2e11ed5a5a8083db1d8b5e2396c9238999568c by andrei kulakov in branch '3.9': [3.9] bpo-41082: Add note on errors that may be raised by home() and expanduser() (GH-28186) https://github.com/python/cpython/commit/dc2e11ed5a5a8083db1d8b5e2396c92389995

[issue45026] More compact range iterator

2021-09-08 Thread Łukasz Langa
Łukasz Langa added the comment: I like Dennis' idea and Serhiy's implementation in GH-28176. It's a bit of a larger change compared to GH-27986 but I think it's worth it: I expect iteration speed is more important than `len()` speed for range objects. -- _

[issue45139] Simplify source links in documentation?

2021-09-08 Thread Jean Abou Samra
New submission from Jean Abou Samra : Currently, links to source code in the documentation look like this: **Source code:** :source:`Lib/abc.py` For documentation translators, this means that every module contains a boilerplate string to translate. A small burden perhaps, but avoidable. I prop

[issue38820] Make Python compatible with OpenSSL 3.0.0

2021-09-08 Thread Łukasz Langa
Łukasz Langa added the comment: (I'll let you close this yourself when you determine that the two remaining open dependencies can be closed as well.) -- ___ Python tracker ___

[issue38820] Make Python compatible with OpenSSL 3.0.0

2021-09-08 Thread Łukasz Langa
Łukasz Langa added the comment: Christian, Python is now tested with 3.0.0 final in 3.9, 3.10, and 3.11. Looks like we can close this! Thank you for this big body of work ✨ 🍰 ✨ -- versions: +Python 3.11 -Python 3.8 ___ Python tracker

[issue38820] Make Python compatible with OpenSSL 3.0.0

2021-09-08 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 7a6178a7cd8514911e9480f826838dc789fb8655 by Łukasz Langa in branch '3.9': [3.9] bpo-38820: Test with OpenSSL 3.0.0 final (GH-28205) (GH-28217) https://github.com/python/cpython/commit/7a6178a7cd8514911e9480f826838dc789fb8655 -- _

[issue45129] Remove deprecated reuse_address parameter from create_datagram_endpoint()

2021-09-08 Thread Łukasz Langa
Łukasz Langa added the comment: Thanks, Hugo! ✨ 🍰 ✨ -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ _

[issue45129] Remove deprecated reuse_address parameter from create_datagram_endpoint()

2021-09-08 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 59ea704df7a2fae4559e1e04f7a59d6c40f63657 by Hugo van Kemenade in branch 'main': bpo-45129 Remove deprecated reuse_address (GH-28207) https://github.com/python/cpython/commit/59ea704df7a2fae4559e1e04f7a59d6c40f63657 -- ___

[issue41082] Error handling and documentation of Path.home()

2021-09-08 Thread Łukasz Langa
Łukasz Langa added the comment: Using `os.path.expanduser` is a functional change so it wasn't backported at the time to 3.9 and sure shouldn't be backported now. Going with a doc update is the right approach. -- nosy: +lukasz.langa ___ Python trac

[issue45083] Need to use the exception class qualname when rendering exception (in C code)

2021-09-08 Thread STINNER Victor
STINNER Victor added the comment: > New changeset 6b996d61c96222d959d043b9424e8125c0efbb27 by Miss Islington > (bot) in branch '3.10': Pablo wrote that new changes in the 3.10 branch will only land in 3.10.1. It means that Python 3.10.0 and 3.10.1 will produce different exception messages.

[issue44219] Opening a file holds the GIL when it calls "isatty()"

2021-09-08 Thread Vincent Michel
Vincent Michel added the comment: Here's a possible patch that fixes the 3 unprotected calls to `isatty` mentioned above. It successfully passes the test suite. I can submit a PR with this patch if necessary. -- keywords: +patch Added file: https://bugs.python.org/file50270/bpo-44219

[issue45083] Need to use the exception class qualname when rendering exception (in C code)

2021-09-08 Thread Łukasz Langa
Łukasz Langa added the comment: Thanks, Irit! ✨ 🍰 ✨ -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ _

[issue39573] [C API] Avoid accessing PyObject and PyVarObject members directly: add Py_SET_TYPE() and Py_IS_TYPE(), disallow Py_TYPE(obj)=type

2021-09-08 Thread STINNER Victor
STINNER Victor added the comment: I changed the issue title to restrict its scope: "[C API] Avoid accessing PyObject and PyVarObject members directly: add Py_SET_TYPE() and Py_IS_TYPE(), disallow Py_TYPE(obj)=type". Making PyObject and PyVarObject structures opaque is a broader topic which

[issue45083] Need to use the exception class qualname when rendering exception (in C code)

2021-09-08 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 6b996d61c96222d959d043b9424e8125c0efbb27 by Miss Islington (bot) in branch '3.10': [3.10] bpo-45083: Include the exception class qualname when formatting an exception (GH-28119) (GH-28134) https://github.com/python/cpython/commit/6b996d61c96222d95

[issue45056] compiler: Unnecessary None in co_consts

2021-09-08 Thread Łukasz Langa
Łukasz Langa added the comment: It goes to 3.10.1 then. Fixed! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue45056] compiler: Unnecessary None in co_consts

2021-09-08 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset d41abe8970453716dbc6a3a898ac8fb01cbf6c6f by Łukasz Langa in branch '3.10': [3.10] bpo-45056: Remove trailing unused constants from co_consts (GH-28109) (GH-28125) https://github.com/python/cpython/commit/d41abe8970453716dbc6a3a898ac8fb01cbf6c6f

[issue39573] [C API] Make PyObject an opaque structure in the limited C API

2021-09-08 Thread STINNER Victor
STINNER Victor added the comment: Oh and obviously, it's not possible possible to define structures which *include* PyObject or PyVarObject if PyObject and PyVarObject become opaque. Example: typedef struct { PyObject ob_base; Py_ssize_t ob_size; /* Number of items in variable part *

[issue39573] [C API] Make PyObject an opaque structure in the limited C API

2021-09-08 Thread STINNER Victor
STINNER Victor added the comment: At commit cb15afcccffc6c42cbfb7456ce8db89cd2f77512, I am able to rename PyObject members (to make sure that the structure is not accessed directly), I only had to modify header files: * Py_REFCNT(), Py_SET_REFCNT() * Py_INCREF(), Py_DECREF() * Py_TYPE(), Py_

[issue45097] "The loop argument is deprecated" reported when user code does not use it

2021-09-08 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset a328a13b70ea0b0bec8b9d1b0067628369cabea9 by Serhiy Storchaka in branch '3.9': [3.9] bpo-45097: Fix deprecation warnings in test_asyncio (GH-28236) https://github.com/python/cpython/commit/a328a13b70ea0b0bec8b9d1b0067628369cabea9 -- _

[issue45135] dataclasses.asdict() incorrectly calls __deepcopy__() on values.

2021-09-08 Thread Eric V. Smith
Eric V. Smith added the comment: The intent was that asdict() returns something that, if mutated, doesn't affect the original object tree. I'd sort of like to just deprecate it, it's got a lot of corner cases that are poorly handled. It probably needs the same kind of controls that attrs.asd

[issue19113] duplicate test names in Lib/ctypes/test/test_functions.py

2021-09-08 Thread Łukasz Langa
Łukasz Langa added the comment: Change made in Python 3.11: duplicate test removed. Closing. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.11 -Python 2.7, Python 3.7, Python 3.8 ___ Python tracker

[issue19113] duplicate test names in Lib/ctypes/test/test_functions.py

2021-09-08 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset a5610057615779ca6fc75d9e006d2fae644a94d3 by andrei kulakov in branch 'main': bpo-19113: Remove unused test_errors from ctypes tests (GH-28008) https://github.com/python/cpython/commit/a5610057615779ca6fc75d9e006d2fae644a94d3 -- nosy: +luk

[issue45012] DirEntry.stat method should release GIL

2021-09-08 Thread Łukasz Langa
Łukasz Langa added the comment: Sadly, we can't backport this to 3.9 as it's only accepting bugfixes and this is a performance improvement. 3.10 is out of scope for this too as 3.10.0rc2 shipped last night. -- ___ Python tracker

[issue41031] Inconsistency in C and python traceback printers

2021-09-08 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue45118] regrtest no longer lists "re-run tests" in the second summary

2021-09-08 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 7538fe34d730fe08cbbecc17606bc0f5f69ff416 by Miss Islington (bot) in branch '3.10': bpo-45118: Fix regrtest second summary for re-run tests (GH-28183) (GH-28214) https://github.com/python/cpython/commit/7538fe34d730fe08cbbecc17606bc0f5f69ff416 ---

[issue45118] regrtest no longer lists "re-run tests" in the second summary

2021-09-08 Thread Łukasz Langa
Łukasz Langa added the comment: Thanks, Victor! ✨ 🍰 ✨ -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue25130] Make tests more PyPy compatible

2021-09-08 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 462c1f0403324efc27c11435da12b8d16f5387de by Serhiy Storchaka in branch '3.10': [3.10] bpo-25130: Add calls of gc.collect() in tests to support PyPy (GH-28005) (GH-28027) https://github.com/python/cpython/commit/462c1f0403324efc27c11435da12b8d16f53

[issue45121] Calling super().__init__ in subclasses of typing.Protocol raises RecursionError

2021-09-08 Thread Łukasz Langa
Łukasz Langa added the comment: Pablo, marking as release blocker. PR GH-28232 is merged to 3.10. It should be cherry-picked for 3.10.0 inclusion. -- nosy: +pablogsal priority: critical -> release blocker ___ Python tracker

[issue45121] Calling super().__init__ in subclasses of typing.Protocol raises RecursionError

2021-09-08 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset c081649e6df55203178a44d16bc4c96f9fa2c6a4 by Miss Islington (bot) in branch '3.10': bpo-45121: Fix RecursionError when calling Protocol.__init__ from a subclass' __init__ (GH-28206) (GH-28232) https://github.com/python/cpython/commit/c081649e6df552

[issue45121] Calling super().__init__ in subclasses of typing.Protocol raises RecursionError

2021-09-08 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 99506dcbbe9fb56ceabe55f0a4333e5981b72095 by Ken Jin in branch '3.9': [3.9] bpo-45121: Fix RecursionError when calling Protocol.__init__ from a subclass' __init__ (GH-28206) (GH-28233) https://github.com/python/cpython/commit/99506dcbbe9fb56ceabe55

[issue45138] [sqlite3] expand bound values in traced statements if possible

2021-09-08 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- keywords: +patch pull_requests: +26660 stage: -> patch review pull_request: https://github.com/python/cpython/pull/28240 ___ Python tracker __

[issue45138] [sqlite3] expand bound values in traced statements if possible

2021-09-08 Thread Erlend E. Aasland
New submission from Erlend E. Aasland : For SQLite 3.14.0 and newer, we're using the v2 trace API. This means that the trace callback receives a pointer to the sqlite3_stmt object. We can use the sqlite3_stmt pointer to retrieve expanded SQL string. The following statement...: cur.executemany

[issue12872] --with-tsc crashes on ppc64

2021-09-08 Thread Irit Katriel
Irit Katriel added the comment: I don't see anything like the code of the patch in ceval.c now. I will close this soon unless given a reason not to. -- nosy: +iritkatriel resolution: -> out of date status: open -> pending ___ Python tracker

[issue30570] issubclass segfaults on objects with weird __getattr__

2021-09-08 Thread Irit Katriel
Irit Katriel added the comment: Reproduced on 3.11. -- nosy: +iritkatriel versions: +Python 3.10, Python 3.11, Python 3.9 -Python 2.7, Python 3.5, Python 3.6, Python 3.7 ___ Python tracker _

[issue30849] test_stress_delivery_dependent() of test_signal randomly fails on AMD64 Debian root 3.6/3.x

2021-09-08 Thread STINNER Victor
STINNER Victor added the comment: We also got this error randomly on an internal s390x Red Hat build server: == FAIL: test_stress_delivery_simultaneous (test.test_signal.StressTest) This test uses simultaneous signal handlers.

[issue44959] EXT_SUFFIX is missing '.sl' on HP-UX

2021-09-08 Thread STINNER Victor
Change by STINNER Victor : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.11 -Python 3.8 ___ Python tracker ___ ___

[issue44959] EXT_SUFFIX is missing '.sl' on HP-UX

2021-09-08 Thread STINNER Victor
STINNER Victor added the comment: New changeset 2396fa6537d79554ac694dbd2b0b30eeb3476c80 by Florin Spătar in branch 'main': bpo-44959: Add fallback to extension modules with '.sl' suffix on HP-UX (GH-27857) https://github.com/python/cpython/commit/2396fa6537d79554ac694dbd2b0b30eeb3476c80 --

[issue37788] fix for bpo-36402 (threading._shutdown() race condition) causes reference leak

2021-09-08 Thread Victor Vorobev
Change by Victor Vorobev : -- nosy: +victorvorobev nosy_count: 15.0 -> 16.0 pull_requests: +26659 pull_request: https://github.com/python/cpython/pull/28239 ___ Python tracker

[issue39573] [C API] Make PyObject an opaque structure in the limited C API

2021-09-08 Thread STINNER Victor
STINNER Victor added the comment: I checked again the list of broken projects listed previously. Fixed: * Cython: https://github.com/cython/cython/commit/d8e93b332fe7d15459433ea74cd29178c03186bd * immutables: https://github.com/MagicStack/immutables/pull/52 * numpy: * https://github.com/

[issue45089] [sqlite3] the trace callback does not raise exceptions on error

2021-09-08 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- pull_requests: +26658 stage: resolved -> patch review pull_request: https://github.com/python/cpython/pull/28238 ___ Python tracker ___ ___

[issue45137] Fix for bpo-37788 was not backported to Python3.8

2021-09-08 Thread Victor Vorobev
Change by Victor Vorobev : -- stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue45137] Fix for bpo-37788 was not backported to Python3.8

2021-09-08 Thread Victor Vorobev
New submission from Victor Vorobev : There is a [fix](https://github.com/python/cpython/pull/26103) for [bpo-37788](https://bugs.python.org/issue37788), but automatic backport to 3.8 branch [have failed](https://github.com/python/cpython/pull/26103#issuecomment-841460885), and it looks like

[issue38371] Tkinter: deprecate the split() method

2021-09-08 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- nosy: +erlendaasland nosy_count: 1.0 -> 2.0 pull_requests: +26657 pull_request: https://github.com/python/cpython/pull/28237 ___ Python tracker ___

[issue45097] "The loop argument is deprecated" reported when user code does not use it

2021-09-08 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +26656 pull_request: https://github.com/python/cpython/pull/28236 ___ Python tracker ___

[issue34557] When sending binary file to a Microsoft FTP server over FTP TLS, the SSL unwind method hangs

2021-09-08 Thread Irit Katriel
Change by Irit Katriel : -- nosy: +christian.heimes ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue44860] sysconfig's posix_user scheme has different platlib value to distutils's unix_user

2021-09-08 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +26655 pull_request: https://github.com/python/cpython/pull/28235 ___ Python tracker ___ __

[issue45136] test_sysconfig: test_user_similar() fails if sys.platlibdir is 'lib64'

2021-09-08 Thread STINNER Victor
STINNER Victor added the comment: I mark this issue as a release blocker: it would be *nice* to fix it before Python 3.10.0 final ;-) -- priority: normal -> release blocker ___ Python tracker __

[issue45136] test_sysconfig: test_user_similar() fails if sys.platlibdir is 'lib64'

2021-09-08 Thread STINNER Victor
STINNER Victor added the comment: > This was introduced in issue44860. Right. Reverting the commit 608a6292366ebba20f33d93d8b52cbb928429e47 (bpo-44860) fix the test. The test should be updated. -- ___ Python tracker

[issue44860] sysconfig's posix_user scheme has different platlib value to distutils's unix_user

2021-09-08 Thread Miro Hrončok
Miro Hrončok added the comment: There seem to be a regression in test_user_similar: https://bugs.python.org/issue45136 -- ___ Python tracker ___ __

[issue45136] test_sysconfig: test_user_similar() fails if sys.platlibdir is 'lib64'

2021-09-08 Thread Miro Hrončok
Miro Hrončok added the comment: This was introduced in issue44860. -- nosy: +dstufft, eric.araujo, frenzy, hroncok, lukasz.langa, miss-islington, pablogsal, petr.viktorin, uranusjr ___ Python tracker ___

[issue45136] test_sysconfig: test_user_similar() fails if sys.platlibdir is 'lib64'

2021-09-08 Thread STINNER Victor
New submission from STINNER Victor : When Python is configured to use 'lib64' for sys.platlibdir, test_sysconfig fails: $ ./configure --with-platlibdir=lib64 $ make $ ./python -m test -v test_sysconfig == FAIL: test_user_sim

[issue45126] [sqlite3] cleanup and harden connection init

2021-09-08 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: I'll save the cleanup till Python 3.13 dev is started. I've opened a PR for fixing the ref leak (should be backported), and a draft PR for deprecating Connection and Cursor reinitialisation. -- ___ Python track

[issue45126] [sqlite3] cleanup and harden connection init

2021-09-08 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- pull_requests: +26654 pull_request: https://github.com/python/cpython/pull/28234 ___ Python tracker ___ ___

[issue45121] Calling super().__init__ in subclasses of typing.Protocol raises RecursionError

2021-09-08 Thread Ken Jin
Change by Ken Jin : -- pull_requests: +26653 pull_request: https://github.com/python/cpython/pull/28233 ___ Python tracker ___ ___ P

[issue39573] [C API] Make PyObject an opaque structure in the limited C API

2021-09-08 Thread STINNER Victor
STINNER Victor added the comment: > boost https://bugzilla.redhat.com/show_bug.cgi?id=1896382 Fixed by: https://github.com/boostorg/python/commit/500194edb7833d0627ce7a2595fec49d0aae2484 -- ___ Python tracker

[issue45121] Calling super().__init__ in subclasses of typing.Protocol raises RecursionError

2021-09-08 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 6.0 -> 7.0 pull_requests: +26652 pull_request: https://github.com/python/cpython/pull/28232 ___ Python tracker _

[issue45121] Calling super().__init__ in subclasses of typing.Protocol raises RecursionError

2021-09-08 Thread Ken Jin
Ken Jin added the comment: New changeset c11956a8bddd75f02ccc7b4da7e4d8123e1f3c5f by Yurii Karabas in branch 'main': bpo-45121: Fix RecursionError when calling Protocol.__init__ from a subclass' __init__ (GH-28206) https://github.com/python/cpython/commit/c11956a8bddd75f02ccc7b4da7e4d8123e1f

[issue45126] [sqlite3] cleanup and harden connection init

2021-09-08 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- pull_requests: +26651 pull_request: https://github.com/python/cpython/pull/28231 ___ Python tracker ___ ___

[issue45132] Remove deprecated __getitem__ methods

2021-09-08 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you for your contribution Hugo. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker __

[issue45132] Remove deprecated __getitem__ methods

2021-09-08 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset d003a5bd2505a7fa04f50504b68ba8fca67349cd by Hugo van Kemenade in branch 'main': bpo-45132 Remove deprecated __getitem__ methods (GH-28225) https://github.com/python/cpython/commit/d003a5bd2505a7fa04f50504b68ba8fca67349cd -- nosy: +se

[issue45126] [sqlite3] cleanup and harden connection init

2021-09-08 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: > If we deprecate but keep the buggy behavior it as it is, (1) is not needed. > Less work for both us and the users. Indeed. There's still a ref leak I'd like to take care of, though: if the first audit fails, database_obj leaks. -- ___

[issue39573] [C API] Make PyObject an opaque structure in the limited C API

2021-09-08 Thread STINNER Victor
STINNER Victor added the comment: New changeset cb15afcccffc6c42cbfb7456ce8db89cd2f77512 by Victor Stinner in branch 'main': bpo-39573: Py_TYPE becomes a static inline function (GH-28128) https://github.com/python/cpython/commit/cb15afcccffc6c42cbfb7456ce8db89cd2f77512 -- _

[issue45116] Performance regression 3.10b1 and later on Windows

2021-09-08 Thread Ma Lin
Ma Lin added the comment: This article briefly introduces the inlining decisions in MSVC. https://devblogs.microsoft.com/cppblog/inlining-decisions-in-visual-studio/ -- nosy: +malin ___ Python tracker _

  1   2   >