[issue38411] SQLITE_MISUSE race condition in sqlite3 is misleadingly raised as a binding error

2021-08-06 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- nosy: +erlendaasland ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue44848] Upgrade macOS and Windows installers to use SQLite 3.36.0

2021-08-06 Thread Erlend E. Aasland
New submission from Erlend E. Aasland : Upgrade macOS and Windows installers to use SQLite 3.36.0. SQLite 3.36.0 was released June 18 2021. https://www.sqlite.org/releaselog/3_36_0.html -- components: Windows, macOS messages: 399061 nosy: erlendaasland, ned.deily, paul.moore, ronaldou

[issue44848] Upgrade macOS and Windows installers to use SQLite 3.36.0

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

[issue44830] Broken Mozilla devguide link in "Dealing with Bugs" doc section

2021-08-06 Thread Mark Dickinson
Mark Dickinson added the comment: > do you feel like that new article is a good drop-in replacement for the old > one? No really, no. :-( I also now see that the new article has a (broken) link to the old article, which makes me think that maybe the removal of the old article was unintenti

[issue44848] Upgrade macOS and Windows installers to use SQLite 3.36.0

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

[issue38411] SQLITE_MISUSE race condition in sqlite3 is misleadingly raised as a binding error

2021-08-06 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: I've been trying to provoke this on my Mac (macOS 11.4) with Python 3.8 though 3.11 (dev) without success. Are you still able to reproduce this, Jack? If you can attach the output of python3.10 -m test.pythoninfo, I could try to set up a similar environme

[issue43526] Programmatic management of BytesWarning doesn't work for native triggers.

2021-08-06 Thread Xavier Morel
Xavier Morel added the comment: Serhiy an other question (because I've encountered it *again*), do you think it'd be possible to split out the specific warning of stringifying (but *not* explicitely repr-ing) a bytes instance from everything else? There are use-cases for it, but I think it's

[issue44849] test_os: test_get_set_inheritable_o_path() failed on AMD64 FreeBSD Shared 3.x

2021-08-06 Thread STINNER Victor
New submission from STINNER Victor : Since build 655 (commit 6871fd0e8e5257f3ffebd1a1b2ca50e5f494e7f6), test_os failed on AMD64 FreeBSD Shared 3.x: https://buildbot.python.org/all/#/builders/483/builds/655 == ERROR: test_get_s

[issue44850] Could operator.methodcaller be optimized using LOAD_METHOD?

2021-08-06 Thread Antony Lee
New submission from Antony Lee : Currently, methodcaller is not faster than a plain lambda: ``` In [1]: class T: ...: a = 1 ...: def f(self): pass ...: In [2]: from operator import * In [3]: %%timeit t = T(); mc = methodcaller("f") ...: mc(t) ...: ...: 83.1 ns ±

[issue44849] test_os: test_get_set_inheritable_o_path() failed on AMD64 FreeBSD Shared 3.x

2021-08-06 Thread STINNER Victor
STINNER Victor added the comment: test_get_set_inheritable_o_path() also fails on: * AMD64 FreeBSD Shared 3.10 * AMD64 FreeBSD Shared 3.9 It smells more like a FreeBSD system update rather than a Python regression. -- nosy: +koobs ___ Python track

[issue44831] Inconsistency between datetime.now() and datetime.fromtimestamp(time.time(), None)

2021-08-06 Thread Steven D'Aprano
Steven D'Aprano added the comment: Confirmed on Windows with Python 3.9.6. -- nosy: +steven.daprano type: -> behavior versions: +Python 3.9 ___ Python tracker ___ ___

[issue44849] test_os: test_get_set_inheritable_o_path() failed on AMD64 FreeBSD Shared 3.x

2021-08-06 Thread STINNER Victor
STINNER Victor added the comment: On my FreeBSD 13 VM, the test is skipped: vstinner@freebsd$ ./python -m test -v test_os -m test_get_set_inheritable_o_path == CPython 3.11.0a0 (heads/main:938e84b4fa, Aug 6 2021, 10:46:32) [Clang 11.0.1 ([email protected]:llvm/llvm-project.git llvmorg-11.0.1-0-

[issue44849] test_os: test_get_set_inheritable_o_path() failed on AMD64 FreeBSD Shared 3.x

2021-08-06 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +26117 stage: -> patch review pull_request: https://github.com/python/cpython/pull/27623 ___ Python tracker ___ _

[issue44831] Inconsistency between datetime.now() and datetime.fromtimestamp(time.time(), None)

2021-08-06 Thread Steven D'Aprano
Steven D'Aprano added the comment: I've replicated this under Linux as well. def test(): start = time.time() end = datetime.datetime.now() start = datetime.datetime.fromtimestamp(start, None) assert end >= start Then run it in a loop: >>> for i in range(1000): ... t

[issue44584] Deprecate thread debugging PYTHONTHREADDEBUG=1

2021-08-06 Thread STINNER Victor
STINNER Victor added the comment: New changeset 4d77691172aae81bdcbb0ea75839d0e896c43781 by Victor Stinner in branch 'main': bpo-44584: Deprecate PYTHONTHREADDEBUG env var (GH-27065) https://github.com/python/cpython/commit/4d77691172aae81bdcbb0ea75839d0e896c43781 -- __

[issue44584] Deprecate thread debugging PYTHONTHREADDEBUG=1

2021-08-06 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 1.0 -> 2.0 pull_requests: +26118 pull_request: https://github.com/python/cpython/pull/27624 ___ Python tracker _

[issue44851] Update bundled pip to 21.2.3 and setuptools to 57.4.0

2021-08-06 Thread Tzu-ping Chung
New submission from Tzu-ping Chung : PR coming soon -- components: Distutils messages: 399072 nosy: dstufft, eric.araujo, uranusjr priority: normal severity: normal status: open title: Update bundled pip to 21.2.3 and setuptools to 57.4.0 versions: Python 3.10, Python 3.11

[issue44851] Update bundled pip to 21.2.3 and setuptools to 57.4.0

2021-08-06 Thread Tzu-ping Chung
Change by Tzu-ping Chung : -- keywords: +patch pull_requests: +26119 stage: -> patch review pull_request: https://github.com/python/cpython/pull/27625 ___ Python tracker ___ _

[issue44584] Deprecate thread debugging PYTHONTHREADDEBUG=1

2021-08-06 Thread STINNER Victor
Change by STINNER Victor : -- versions: +Python 3.10 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue39355] The Python library will not compile with a C++2020 compiler because the code uses the reserved “module” keyword

2021-08-06 Thread STINNER Victor
STINNER Victor added the comment: Please go ahead. Anyone is free to propose a fix. -- ___ Python tracker ___ ___ Python-bugs-list

[issue44584] Deprecate thread debugging PYTHONTHREADDEBUG=1

2021-08-06 Thread miss-islington
miss-islington added the comment: New changeset a11158ecef8cff795f7db8f4047cbd20cc9cf37e by Miss Islington (bot) in branch '3.10': bpo-44584: Deprecate PYTHONTHREADDEBUG env var (GH-27065) https://github.com/python/cpython/commit/a11158ecef8cff795f7db8f4047cbd20cc9cf37e --

[issue43853] [sqlite3] Improve sqlite3_value_text() error handling

2021-08-06 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I think it is worth to backport it to 3.9. It looks to me that it fixes also support of strings containing NUL. It would be nice to add corresponding tests for this. You can also add this in the NEWS entry for this issue. -- status: closed -> open

[issue43526] Programmatic management of BytesWarning doesn't work for native triggers.

2021-08-06 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I am not against documenting the behavior of -b and BytesWarning clearly. I don't think that anyone would be against. Just somebody have to provide a PR. Explicitly repr-ing a bytes instance does not produce a warning, and never produced, so I don't unders

[issue44584] Deprecate thread debugging PYTHONTHREADDEBUG=1

2021-08-06 Thread STINNER Victor
STINNER Victor added the comment: PYTHONTHREADDEBUG is now deprecated in Python 3.10, and planned for removal in 3.12. If someone finds it useful, we can reconsider to keep the feature, but maybe redirect the output to stderr rather than stdout. -- resolution: -> fixed stage: patch

[issue44184] crash on windows invoking flake8

2021-08-06 Thread STINNER Victor
STINNER Victor added the comment: > Fix extended to the other branch (and backported to 3.10), and both parts > backported to 3.9. I don't think it counts as a security issue, so not > backporting to 3.8. Thanks Thomas, I missed this code path! -- __

[issue25782] CPython hangs on error __context__ set to the error itself

2021-08-06 Thread Irit Katriel
Change by Irit Katriel : -- versions: +Python 3.11 -Python 3.6, Python 3.7, Python 3.8 ___ Python tracker ___ ___ Python-bugs-list m

[issue44689] MacOS: Python binaries not portable between Catalina and Big Sur

2021-08-06 Thread Tobias Bergkvist
Tobias Bergkvist added the comment: I realised that I needed to define HAVE_DYLD_SHARED_CACHE_CONTAINS_PATH_RUNTIME in the source file myself - as this is not defined after running the configure-script. I've updated the PR and its description to only focus on the legacy/deprecated approach o

[issue44831] Inconsistency between datetime.now() and datetime.fromtimestamp(time.time(), None)

2021-08-06 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- nosy: +belopolsky, p-ganssle, vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue25782] CPython hangs on error __context__ set to the error itself

2021-08-06 Thread Irit Katriel
Change by Irit Katriel : -- pull_requests: +26120 pull_request: https://github.com/python/cpython/pull/27626 ___ Python tracker ___

[issue25782] CPython hangs on error __context__ set to the error itself

2021-08-06 Thread Irit Katriel
Irit Katriel added the comment: I added a third patch to the discussion. (It overlaps Dennis's suggestion, and I'm happy to close it in favour of a tweaked version of Dennis' patch, but I thought this would be the simplest way to say what I mean, and hopefully push the discussion along). -

[issue43853] [sqlite3] Improve sqlite3_value_text() error handling

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

[issue44524] __name__ attribute in typing module

2021-08-06 Thread Łukasz Langa
Łukasz Langa added the comment: Serhiy, good question. As builtin generics return the base `__name__` for subscribed version, it makes sense to do the same for the versions in `typing`, especially if their unsubscribed versions provide `__name__`. As to "why even have `__name__` in the first

[issue40696] exception chain cycles cause hangs (was "Exception handling with "await" can hang in Python3.9.0b1")

2021-08-06 Thread Irit Katriel
Irit Katriel added the comment: I think this can be closed now because the specific problem was fixed in PR20287 and the more general problem is the subject of issue25782. -- nosy: +iritkatriel ___ Python tracker

[issue40928] OS X: malloc(): set default diagnostics to DEBUG_WRITE_ON_CRASH

2021-08-06 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 15d3c14df32a35ac69898a7852115722e30d7857 by Jack DeVries in branch 'main': bpo-40928: notify users running test_decimal on macOS of malloc warnings (GH-26783) https://github.com/python/cpython/commit/15d3c14df32a35ac69898a7852115722e30d7857

[issue40928] OS X: malloc(): set default diagnostics to DEBUG_WRITE_ON_CRASH

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

[issue43853] [sqlite3] Improve sqlite3_value_text() error handling

2021-08-06 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: I'll add extra tests in a separate PR, so we can easily backport it to 3.10 and 3.9. -- ___ Python tracker ___ __

[issue25782] CPython hangs on error __context__ set to the error itself

2021-08-06 Thread Larry Hastings
Change by Larry Hastings : -- nosy: -larry ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue40928] OS X: malloc(): set default diagnostics to DEBUG_WRITE_ON_CRASH

2021-08-06 Thread Łukasz Langa
Change by Łukasz Langa : -- pull_requests: +26123 pull_request: https://github.com/python/cpython/pull/27629 ___ Python tracker ___ _

[issue44849] test_os: test_get_set_inheritable_o_path() failed on AMD64 FreeBSD Shared 3.x

2021-08-06 Thread STINNER Victor
STINNER Victor added the comment: New changeset c24896c0e3b32c8a9f614ef51366007b67d5c665 by Victor Stinner in branch 'main': bpo-44849: Fix os.set_inheritable() on FreeBSD 14 with O_PATH (GH-27623) https://github.com/python/cpython/commit/c24896c0e3b32c8a9f614ef51366007b67d5c665 --

[issue44849] test_os: test_get_set_inheritable_o_path() failed on AMD64 FreeBSD Shared 3.x

2021-08-06 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 5.0 -> 6.0 pull_requests: +26124 pull_request: https://github.com/python/cpython/pull/27630 ___ Python tracker _

[issue44849] test_os: test_get_set_inheritable_o_path() failed on AMD64 FreeBSD Shared 3.x

2021-08-06 Thread miss-islington
Change by miss-islington : -- pull_requests: +26125 pull_request: https://github.com/python/cpython/pull/27631 ___ Python tracker ___ __

[issue40928] OS X: malloc(): set default diagnostics to DEBUG_WRITE_ON_CRASH

2021-08-06 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 693a661478036dc2c5b48e138dd09320a972c25a by Łukasz Langa in branch '3.9': [3.9] bpo-40928: notify users running test_decimal on macOS of malloc warnings (GH-26783) (GH-27629) https://github.com/python/cpython/commit/693a661478036dc2c5b48e138dd0932

[issue44524] __name__ attribute in typing module

2021-08-06 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 8bdf12e99a3dc7ada5f85bba79c2a9eb9931f5b0 by Bas van Beek in branch 'main': bpo-44524: Fix an issue wherein `_GenericAlias._name` was not properly set for specialforms (GH-27614) https://github.com/python/cpython/commit/8bdf12e99a3dc7ada5f85bba79c2

[issue44524] __name__ attribute in typing module

2021-08-06 Thread miss-islington
Change by miss-islington : -- pull_requests: +26126 pull_request: https://github.com/python/cpython/pull/27632 ___ Python tracker ___ __

[issue44849] test_os: test_get_set_inheritable_o_path() failed on AMD64 FreeBSD Shared 3.x

2021-08-06 Thread miss-islington
miss-islington added the comment: New changeset 2ae2235c7a7627725df40c7875245cd17d90f39f by Miss Islington (bot) in branch '3.10': bpo-44849: Fix os.set_inheritable() on FreeBSD 14 with O_PATH (GH-27623) https://github.com/python/cpython/commit/2ae2235c7a7627725df40c7875245cd17d90f39f -

[issue44849] test_os: test_get_set_inheritable_o_path() failed on AMD64 FreeBSD Shared 3.x

2021-08-06 Thread miss-islington
miss-islington added the comment: New changeset 791c28a56f043618111a19377f8527326037230e by Miss Islington (bot) in branch '3.9': bpo-44849: Fix os.set_inheritable() on FreeBSD 14 with O_PATH (GH-27623) https://github.com/python/cpython/commit/791c28a56f043618111a19377f8527326037230e --

[issue44831] Inconsistency between datetime.now() and datetime.fromtimestamp(time.time(), None)

2021-08-06 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Can someone try to replicate this while disabling the C acceleration: import sys sys.modules[‘_datetime’] = None (Before any other imports.) If anything, this is likely to be a problem with the C implementation. --

[issue25782] CPython hangs on error __context__ set to the error itself

2021-08-06 Thread Chris Jerdonek
Chris Jerdonek added the comment: Thanks, Irit. Can you show how your patch behaves using some representative examples (maybe using arrow examples from above)? And if it behaves differently from Dennis's patch, can you include an example showing that, too? -- ___

[issue25782] CPython hangs on error __context__ set to the error itself

2021-08-06 Thread Irit Katriel
Irit Katriel added the comment: Like Dennis' patch, mine changes PyErr_SetObject. The difference is that Dennis' patch gets rid of the cycle while mine leaves it as it is, just avoids hanging on it. So in this case: when trying to set the exception A on top of B -> C -> D -> E -

[issue44605] functools.total_ordering doesn't work with metaclasses

2021-08-06 Thread Raymond Hettinger
Change by Raymond Hettinger : -- keywords: +patch pull_requests: +26127 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/27633 ___ Python tracker ___

[issue25782] CPython hangs on error __context__ set to the error itself

2021-08-06 Thread Jack O'Connor
Change by Jack O'Connor : -- nosy: -oconnor663 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue25782] CPython hangs on error __context__ set to the error itself

2021-08-06 Thread Chris Jerdonek
Chris Jerdonek added the comment: Yes, that seems like a good approach. And how about with Serhiy's example from above? > If there is a chain A -> B -> C -> D -> E, after assignment C.__context__ = A > ... -- ___ Python tracker

[issue44849] test_os: test_get_set_inheritable_o_path() failed on AMD64 FreeBSD Shared 3.x

2021-08-06 Thread STINNER Victor
Change by STINNER Victor : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.10, Python 3.9 ___ Python tracker ___ ___

[issue25782] CPython hangs on error __context__ set to the error itself

2021-08-06 Thread Irit Katriel
Irit Katriel added the comment: Serhiy's patch is modifying a different part of this system - he changes the Exception object's SetContext to break cycles when they are first created. Dennis and I targeted the place where an exception is about to be raised and it gets a __context__ that may

[issue43976] Allow Python distributors to add custom site install schemes

2021-08-06 Thread xrcg
xrcg added the comment: What is the probability that custom site install schemes will be supported without requiring a patch before distutils is removed? -- nosy: +xrcg ___ Python tracker __

[issue44831] Inconsistency between datetime.now() and datetime.fromtimestamp(time.time(), None)

2021-08-06 Thread Raymond Hettinger
Raymond Hettinger added the comment: The cause of the problem is inconsistent rounding modes: end = datetime.datetime.now() # always rounds down start = datetime.datetime.fromtimestamp(start, None) # sometimes rounds_up >From the C code in Modules/_datetimemod

[issue44831] Inconsistency between datetime.now() and datetime.fromtimestamp(time.time(), None)

2021-08-06 Thread Paul Ganssle
Paul Ganssle added the comment: I think this is a rounding issue. `time.time()` returns an epoch timestamp as a float and at the current epoch time, floats are spaced ~500ns apart. `datetime.datetime.now` does a floor division when rounding: https://github.com/python/cpython/blob/8bdf12e99a3

[issue44831] Inconsistency between datetime.now() and datetime.fromtimestamp(time.time(), None)

2021-08-06 Thread Raymond Hettinger
Change by Raymond Hettinger : -- nosy: +larry ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue44679] unittest.mock.sentinel documentation typo

2021-08-06 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 8c17db6cd4e29f922a195acdb5aff3ef9c2340e5 by Miss Islington (bot) in branch '3.9': bpo-44679: [doc] fix typo in unittest.mock.rst (GH-27618) (GH-27619) https://github.com/python/cpython/commit/8c17db6cd4e29f922a195acdb5aff3ef9c2340e5 -- no

[issue25782] CPython hangs on error __context__ set to the error itself

2021-08-06 Thread Chris Jerdonek
Chris Jerdonek added the comment: That's okay. I didn't mean to suggest I thought your patch needed to handle that case or that we needed to decide it before moving forward. I was just wondering what would happen with your patch with it, even if it means a hang. Or were you saying that examp

[issue25782] CPython hangs on error __context__ set to the error itself

2021-08-06 Thread Irit Katriel
Irit Katriel added the comment: My patch doesn't change that at all, so it will be the same as it is currently: the result is C -> A -> B -> C. (But with my patch if you try to raise something in the context of C, it won't hang.) -- ___ Python

[issue44756] In ./Doc, "make html" and "make build" should depend on "make venv"

2021-08-06 Thread Ned Deily
Ned Deily added the comment: There was a previous attempt at adding a dependency on venv that ended up being reverted (Issue30487 and 122fc136b34e11906466851e77bb6959946467ee0). Over the years we have had a number of iterations of tweaking Doc/Makefile to balance ease of use (by providing th

[issue44852] Add ability to wholesale silence DeprecationWarnings while running the test suite

2021-08-06 Thread Łukasz Langa
New submission from Łukasz Langa : Sometimes we have the following problem: - there are way too many deprecations raised from a given library to silence them one by one; - the deprecations are different between maintenance branches and we don't want to make tests between the branches hopelessly

[issue44756] In ./Doc, "make html" and "make build" should depend on "make venv"

2021-08-06 Thread Ned Deily
Change by Ned Deily : -- versions: +Python 3.10, Python 3.9 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

[issue44852] Add ability to wholesale silence DeprecationWarnings while running the test suite

2021-08-06 Thread Łukasz Langa
Change by Łukasz Langa : -- keywords: +patch pull_requests: +26128 pull_request: https://github.com/python/cpython/pull/27634 ___ Python tracker ___

[issue44853] 3.1.10rc1 published md5 and size do not match for source archives

2021-08-06 Thread Joshua Root
New submission from Joshua Root : The download page lists the following: Filenamemd5 size Python-3.10.0rc1.tgzc051bf7a52a45cb0ec2cefbe915417e1 40764776 Python-3.10.0rc1.tar.xz 2861cdd4cf71c6425fde1fedc14bb283 28197832 The downloaded files instead

[issue44853] 3.10.0rc1 published md5 and size do not match for source archives

2021-08-06 Thread Joshua Root
Change by Joshua Root : -- title: 3.1.10rc1 published md5 and size do not match for source archives -> 3.10.0rc1 published md5 and size do not match for source archives ___ Python tracker ___

[issue44852] Add ability to wholesale silence DeprecationWarnings while running the test suite

2021-08-06 Thread Łukasz Langa
Łukasz Langa added the comment: For example, all that's needed to silence the 220 new warnings in all asyncio tests, is adding this in Lib/test/test_asyncio/__init__.py: ``` def setUpModule(): support.ignore_deprecations_from("asyncio.base_events", like=r".*loop argument.*") support.i

[issue44524] __name__ attribute in typing module

2021-08-06 Thread miss-islington
miss-islington added the comment: New changeset 36a2497093f0c66c2fb1667308691561c1bbe3f4 by Miss Islington (bot) in branch '3.10': bpo-44524: Fix an issue wherein `_GenericAlias._name` was not properly set for specialforms (GH-27614) https://github.com/python/cpython/commit/36a2497093f0c66c2

[issue40928] OS X: malloc(): set default diagnostics to DEBUG_WRITE_ON_CRASH

2021-08-06 Thread miss-islington
miss-islington added the comment: New changeset a5d99632766b458b42f327e8bd0f82b0345c9a63 by Miss Islington (bot) in branch '3.10': bpo-40928: notify users running test_decimal on macOS of malloc warnings (GH-26783) https://github.com/python/cpython/commit/a5d99632766b458b42f327e8bd0f82b0345c

[issue44524] __name__ attribute in typing module

2021-08-06 Thread Łukasz Langa
Łukasz Langa added the comment: Looks like we can re-close this again. Thanks for your quick reaction, Bas! ✨ 🍰 ✨ -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue44853] 3.10.0rc1 published md5 and size do not match for source archives

2021-08-06 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Ah, this is due to the fact that we needed to update the files due to the venv problem. I will update the file properties. -- ___ Python tracker

[issue40928] OS X: malloc(): set default diagnostics to DEBUG_WRITE_ON_CRASH

2021-08-06 Thread Łukasz Langa
Łukasz Langa added the comment: Given that: - this is only surfacing in test_decimal on macOS; - the real solution to modify malloc has potential performance implications; and - silencing the spew isn't possible from within the test module I elected to accept Jack's patch to notify macOS users

[issue44853] 3.10.0rc1 published md5 and size do not match for source archives

2021-08-06 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Pyt

[issue44853] 3.10.0rc1 published md5 and size do not match for source archives

2021-08-06 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Updated: Gzipped source tarball Source release d23c2a8228705b17e8414f1660e4bb7324955561SIG XZ compressed source tarballSource release edd2eb2f7f4a932ed59196cbe373e5fb18680452SIG -- _

[issue44756] In ./Doc, "make html" and "make build" should depend on "make venv"

2021-08-06 Thread Łukasz Langa
Change by Łukasz Langa : -- pull_requests: +26129 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/27635 ___ Python tracker ___ __

[issue37529] Mimetype module duplicates

2021-08-06 Thread Andrei Kulakov
Andrei Kulakov added the comment: This was fixed in https://github.com/python/cpython/pull/26300 but wasn't backported. -- nosy: +andrei.avk ___ Python tracker ___ __

[issue44605] functools.total_ordering doesn't work with metaclasses

2021-08-06 Thread Łukasz Langa
Łukasz Langa added the comment: IMO the PR should be accepted and have approved it accordingly. @total_ordering, as mentioned by Raymond, wasn't ever the most efficient way to implement ordering on a class. It is the most readable and easy way to get a correct implementation though so it's pr

[issue44851] Update bundled pip to 21.2.3 and setuptools to 57.4.0

2021-08-06 Thread Łukasz Langa
Łukasz Langa added the comment: As per https://www.python.org/dev/peps/pep-0453/#updating-the-private-copy-of-pip, we should be updating Python 3.9 as well. What do you think, Tzu-ping Chung? -- nosy: +lukasz.langa ___ Python tracker

[issue43853] [sqlite3] Improve sqlite3_value_text() error handling

2021-08-06 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 8c07fef867707694c9f2fcee4d7a9563ad78ed14 by Erlend Egeberg Aasland in branch '3.9': [3.9] bpo-43853: Handle sqlite3_value_text() errors (GH-25422). (GH-27627) https://github.com/python/cpython/commit/8c07fef867707694c9f2fcee4d7a9563ad78ed14

[issue44822] [sqlite3] Do not truncate results of user functions and aggregates on the first NUL

2021-08-06 Thread miss-islington
miss-islington added the comment: New changeset 2b1e713f877102bbca299f0f5d7db969d78db49f by Miss Islington (bot) in branch '3.10': bpo-44822: Don't truncate `str`s with embedded NULL chars returned by `sqlite3` UDF callbacks (GH-27588) https://github.com/python/cpython/commit/2b1e713f877102b

[issue43853] [sqlite3] Improve sqlite3_value_text() error handling

2021-08-06 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list

[issue44756] In ./Doc, "make html" and "make build" should depend on "make venv"

2021-08-06 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 55fa87b1ef46bbb9db7612b2dc2dd7fb039d9bc3 by Łukasz Langa in branch 'main': bpo-44756: [docs] revert automated virtual environment creation on `make html` (GH-27635) https://github.com/python/cpython/commit/55fa87b1ef46bbb9db7612b2dc2dd7fb039d9bc3

[issue44756] In ./Doc, "make html" and "make build" should depend on "make venv"

2021-08-06 Thread miss-islington
Change by miss-islington : -- pull_requests: +26130 pull_request: https://github.com/python/cpython/pull/27636 ___ Python tracker ___ __

[issue44756] In ./Doc, "make html" and "make build" should depend on "make venv"

2021-08-06 Thread miss-islington
Change by miss-islington : -- pull_requests: +26131 pull_request: https://github.com/python/cpython/pull/27637 ___ Python tracker ___ __

[issue44851] Update bundled pip to 21.2.3 and setuptools to 57.4.0

2021-08-06 Thread Tzu-ping Chung
Tzu-ping Chung added the comment: I was not sure what the policy is and went with the two that accepts new features hoping someone would tell me I’m wrong :p So yeah, 3.9 should be added. -- versions: +Python 3.9 ___ Python tracker

[issue44852] Add ability to wholesale silence DeprecationWarnings while running the test suite

2021-08-06 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: There are problems with clearing all ignored deprecation filters. We can want to ignore warnings in narrower or wider scope: per-method, per-class, per-module. We should use the warnings.catch_warnings() context manager for restoring filters in the correct

[issue44828] Using tkinter.filedialog crashes on macOS Python 3.9.6

2021-08-06 Thread Marc Culler
Marc Culler added the comment: I built Tcl and Tk 8.6 on Monterey beta (21A5294g) and I see this traceback in the Wish file dialog demo. Note that this is *not* an error. The file dialog works fine. This is a non-fatal NSInternalInconsistencyException which prints a traceback to stderr. It oc

[issue43853] [sqlite3] Improve sqlite3_value_text() error handling

2021-08-06 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: What about new tests and NEWS update? -- ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue43853] [sqlite3] Improve sqlite3_value_text() error handling

2021-08-06 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- resolution: fixed -> status: closed -> open ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue44839] Convert Python exceptions to appropriate SQLite error codes

2021-08-06 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 7d747f26e6cac9f6891d475f3443441ce947697b by Serhiy Storchaka in branch 'main': bpo-44839: Raise more specific errors in sqlite3 (GH-27613) https://github.com/python/cpython/commit/7d747f26e6cac9f6891d475f3443441ce947697b --

[issue44839] Convert Python exceptions to appropriate SQLite error codes

2021-08-06 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue44828] Using tkinter.filedialog crashes on macOS Python 3.9.6

2021-08-06 Thread Marc Culler
Marc Culler added the comment: I should have mentioned that I tested on Intel hardware, not M1. I do not have access to an M1 Apple at this time. -- ___ Python tracker ___ _

[issue44854] Add .editorconfig to the root directory

2021-08-06 Thread Łukasz Langa
New submission from Łukasz Langa : EditorConfig is a cross-editor configuration file that is pretty widely adopted: https://editorconfig.org/ Adding this to the root directory will allow editors that use the file to automatically format a few details which we already enforce with `make patchc

[issue44854] Add .editorconfig to the root directory

2021-08-06 Thread Łukasz Langa
Change by Łukasz Langa : -- keywords: +patch pull_requests: +26132 stage: -> patch review pull_request: https://github.com/python/cpython/pull/27638 ___ Python tracker ___

[issue44756] In ./Doc, "make html" and "make build" should depend on "make venv"

2021-08-06 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 91f6d386691c060dfaa870d74b370e9c10eb8cd8 by Miss Islington (bot) in branch '3.9': bpo-44756: [docs] revert automated virtual environment creation on `make html` (GH-27635) (GH-27636) https://github.com/python/cpython/commit/91f6d386691c060dfaa870d

[issue33930] Segfault with deep recursion into object().__dir__

2021-08-06 Thread Irit Katriel
Irit Katriel added the comment: I've reproduced the segfault on 3.11 on a Mac. -- nosy: +iritkatriel versions: +Python 3.11 -Python 3.6 ___ Python tracker ___

[issue33232] Segmentation fault in operator.attrgetter

2021-08-06 Thread Irit Katriel
Irit Katriel added the comment: If there will be no objections I will close this in a couple of weeks. -- nosy: +iritkatriel resolution: -> out of date status: open -> pending ___ Python tracker ___

[issue44822] [sqlite3] Do not truncate results of user functions and aggregates on the first NUL

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

[issue43976] Allow Python distributors to add custom site install schemes

2021-08-06 Thread Filipe Laíns
Filipe Laíns added the comment: I find it very difficult. I would be a bit anxious merging the code this close to the final release, so I imagine the release managers would be much more. Anyway, this is the current state of this issue from my perspective: As far as I understand, progress is c

  1   2   >