[issue41001] Provide wrapper for eventfd

2021-08-06 Thread 4-launchpad-kalvdans-no-ip-org
Change by 4-launchpad-kalvdans-no-ip-org : -- nosy: +4-launchpad-kalvdans-no-ip-org ___ Python tracker ___ ___ Python-bugs-list

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

2021-08-06 Thread Kubilay Kocak
Kubilay Kocak added the comment: Reference for Linux behaviour: filedesc: don't use ioctl(FIOCLEX) on Linux #62425 https://github.com/rust-lang/rust/pull/62425 Looks like we match the behaviour intentionally (or otherwise). -- ___ Python tracker

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

2021-08-06 Thread Kubilay Kocak
Kubilay Kocak added the comment: O_PATH support was added in FreeBSD CURRENT April 15: https://reviews.freebsd.org/D29323?id=86257 https://github.com/freebsd/freebsd-src/commit/8d9ed174f3afba5f114742447e622fc1173d4774 @Victor If the failure in this tests suggests either a bug in our

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

2021-08-06 Thread Kubilay Kocak
Kubilay Kocak added the comment: There was a recent worker update to latest CURRENT (14). I'll try to identify recent changes or changesets that may have affected behaviour and reference them here -- ___ Python tracker

[issue44857] class member varibles assigned member functions create a circular reference

2021-08-06 Thread Cliff Cordeiro
Cliff Cordeiro added the comment: It looks like the collector does detect the cycle and that's why it ends up in garbage with gc.DEBUG_SAVEALL set. Sorry about that. -- resolution: -> not a bug stage: -> resolved status: open -> closed ___

[issue44857] class member varibles assigned member functions create a circular reference

2021-08-06 Thread Cliff Cordeiro
New submission from Cliff Cordeiro : This class is not collected by the gc without a custom __del__ method to del or assign None to self.fn: import gc class Leak: def __init__(self): self.fn = self.x def x(self): pass gc.set_debug(gc.DEBUG_SAVEALL) l = Leak() del

[issue42297] [argparse] Bad error message formatting when using custom usage text

2021-08-06 Thread Bob Blanchett
Change by Bob Blanchett : -- nosy: +bobblanchett ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42035] [C API] PyType_GetSlot cannot get tp_name

2021-08-06 Thread hai shi
Change by hai shi : -- pull_requests: +26143 pull_request: https://github.com/python/cpython/pull/27649 ___ Python tracker ___ ___

[issue44524] __name__ attribute in typing module

2021-08-06 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Wow, turns out the reference leak has been here since forever! I opened https://bugs.python.org/issue44856? to tackle it -- ___ Python tracker

[issue44856] Possible reference leak in error paths of update_bases() and __build_class__

2021-08-06 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- title: Possible reference leak in error paths of update_bases() -> Possible reference leak in error paths of update_bases() and __build_class__ ___ Python tracker

[issue44856] Possible reference leak in error paths of update_bases()

2021-08-06 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Oh, damn, turns out that there is a ton of reference leaks in the error path of __build_class__ as well. These leaks have been since forever! Curiously I found about them when debugging https://bugs.python.org/issue44524 --

[issue36881] isinstance raises TypeError for metaclass with metaclass=ABCMeta

2021-08-06 Thread Irit Katriel
Irit Katriel added the comment: PR27648 fixes this, but it also breaks test_abc.test_issubclass_bad_arguments so it's not quite right. I don't know this area, but I think the problem is in the place the PR changes, and that the issue is due to this difference in the type of __subclasses__

[issue36881] isinstance raises TypeError for metaclass with metaclass=ABCMeta

2021-08-06 Thread Irit Katriel
Change by Irit Katriel : -- keywords: +patch nosy: +iritkatriel nosy_count: 7.0 -> 8.0 pull_requests: +26142 stage: -> patch review pull_request: https://github.com/python/cpython/pull/27648 ___ Python tracker

[issue44856] Possible reference leak in error paths of update_bases()

2021-08-06 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch pull_requests: +26141 stage: -> patch review pull_request: https://github.com/python/cpython/pull/27647 ___ Python tracker

[issue44856] Possible reference leak in error paths of update_bases()

2021-08-06 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- versions: +Python 3.10, Python 3.8, Python 3.9 ___ Python tracker ___ ___ Python-bugs-list

[issue44856] Possible reference leak in error paths of update_bases()

2021-08-06 Thread Pablo Galindo Salgado
New submission from Pablo Galindo Salgado : Here: https://github.com/python/cpython/blob/17c23167942498296f0bdfffe52e72d53d66d693/Python/bltinmodule.c#L60-L88 Seems that new_base is not properly cleaned on the error paths -- messages: 399161 nosy: pablogsal priority: normal severity:

[issue44856] Possible reference leak in error paths of update_bases()

2021-08-06 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- versions: +Python 3.11 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2021-08-06 Thread Jason R. Coombs
Change by Jason R. Coombs : -- versions: +Python 3.11 -Python 3.10 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue44524] __name__ attribute in typing module

2021-08-06 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Unfortunately given that the all refleak buildbots will start to fail and the fact that this got into the release candidate, per our buildbot policy (https://discuss.python.org/t/policy-to-revert-commits-on-buildbot-failure/404) we will be forced to

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

2021-08-06 Thread Jason R. Coombs
Jason R. Coombs added the comment: Thanks Filipe for the summary. I was unsure the status. Even if we grant that Debian is too intrusive in its patching of distutils, it's Python and distutils that are making the change here, so it's not unreasonable for Python to maintain feature parity

[issue16379] SQLite error code not exposed to python

2021-08-06 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: > What would it take to get this merged? I've rebased Aviv's PR (GH-1108) onto main and resolved the conflicts. If I get his blessing, I'll open a PR try to land this. -- ___ Python tracker

[issue44524] __name__ attribute in typing module

2021-08-06 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- priority: high -> release blocker ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue44524] __name__ attribute in typing module

2021-08-06 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Unfortunately PR27614 and its backport has introduced reference leaks: ❯ ./python -m test test_typing -R : 0:00:00 load avg: 1.12 Run tests sequentially 0:00:00 load avg: 1.12 [1/1] test_typing beginning 9 repetitions 123456789 . test_typing

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

2021-08-06 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: clear_ignored_deprecations() does not know whether filters were added in setUp(), setUpClass(), setUpModule() or just in a particular method. We should use teadDown*() or add*Cleanup() to clean up at appropriate level. --

[issue42971] Some errnos for BSD/OSX are missing from errno module

2021-08-06 Thread Łukasz Langa
Łukasz Langa added the comment: Thanks for the patch, Ronald, and for the report, Enji! ✨  ✨ -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue42971] Some errnos for BSD/OSX are missing from errno module

2021-08-06 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 17c23167942498296f0bdfffe52e72d53d66d693 by Ronald Oussoren in branch 'main': bpo-42971: Add errno.EQFULL (macOS) (GH-24419) https://github.com/python/cpython/commit/17c23167942498296f0bdfffe52e72d53d66d693 -- nosy: +lukasz.langa

[issue42971] Some errnos for BSD/OSX are missing from errno module

2021-08-06 Thread Łukasz Langa
Change by Łukasz Langa : -- versions: +Python 3.11 -Python 3.10 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue25963] strptime not parsing some timezones

2021-08-06 Thread Andrei Kulakov
Andrei Kulakov added the comment: This was fixed so can be closed. Current datetime docs have a footnote for %Z: ... strptime() only accepts certain values for %Z: any value in time.tzname for your machine’s locale the hard-coded values UTC and GMT -- nosy: +andrei.avk

[issue41576] document BaseException in favour of bare except in error tutorial

2021-08-06 Thread Łukasz Langa
Łukasz Langa added the comment: Thanks, Thomas! ✨  ✨ -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.10, Python 3.11 ___ Python tracker

[issue41576] document BaseException in favour of bare except in error tutorial

2021-08-06 Thread miss-islington
miss-islington added the comment: New changeset 699ee016af5736ffc80f68359617611a22b72943 by Miss Islington (bot) in branch '3.10': bpo-41576: document BaseException in favor of bare except (GH-21917) https://github.com/python/cpython/commit/699ee016af5736ffc80f68359617611a22b72943

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

2021-08-06 Thread Łukasz Langa
Łukasz Langa added the comment: Serhiy, if you take a look at the code, `clear_ignored_deprecations()` only clears the filters that were added by `ignore_deprecations_from()`. It doesn't touch other filters. Sure, we can abuse the context manager instead but this looks pretty busy: def

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

2021-08-06 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: Thanks, Serhiy! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue44821] Instance dictionaries should be created eagerly

2021-08-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: Close this? -- nosy: +terry.reedy ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue44826] Specialize STORE_ATTR using PEP 659 machinery.

2021-08-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: #44821 is fixed -- nosy: +terry.reedy ___ Python tracker ___ ___ Python-bugs-list mailing list

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

2021-08-06 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset c352412123140e79dcce6188d17e3e6dbc3f4144 by Erlend Egeberg Aasland in branch '3.9': [3.9] bpo-44822: Don't truncate `str`s with embedded NULL chars returned by `sqlite3` UDF callbacks (GH-27588). (GH-27639)

[issue41576] document BaseException in favour of bare except in error tutorial

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

[issue41576] document BaseException in favour of bare except in error tutorial

2021-08-06 Thread miss-islington
Change by miss-islington : -- keywords: +patch nosy: +miss-islington nosy_count: 5.0 -> 6.0 pull_requests: +26140 stage: -> patch review pull_request: https://github.com/python/cpython/pull/27646 ___ Python tracker

[issue41576] document BaseException in favour of bare except in error tutorial

2021-08-06 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset e9a6f1b78bf57d9f3f99547bd007d7cfc9724cfb by Thomas Grainger in branch 'main': bpo-41576: document BaseException in favor of bare except (GH-21917) https://github.com/python/cpython/commit/e9a6f1b78bf57d9f3f99547bd007d7cfc9724cfb -- nosy:

[issue41779] add BLOB photo to sqlite3 python

2021-08-06 Thread Eric V. Smith
Change by Eric V. Smith : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue41779] add BLOB photo to sqlite3 python

2021-08-06 Thread Andrei Kulakov
Andrei Kulakov added the comment: I believe this can be closed now.. -- nosy: +andrei.avk ___ Python tracker ___ ___

[issue27752] [doc] CSV DictReader default dialect name 'excel' is misleading, as MS Excel doesn't actually use ', ' as a separator.

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

[issue27752] [doc] CSV DictReader default dialect name 'excel' is misleading, as MS Excel doesn't actually use ', ' as a separator.

2021-08-06 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 62bce24e32a9c754a23e758a32a7e0ca49602fc5 by Miss Islington (bot) in branch '3.9': bpo-27752: improve documentation of csv.Dialect (GH-26795) (GH-27644) https://github.com/python/cpython/commit/62bce24e32a9c754a23e758a32a7e0ca49602fc5 --

[issue27752] [doc] CSV DictReader default dialect name 'excel' is misleading, as MS Excel doesn't actually use ', ' as a separator.

2021-08-06 Thread miss-islington
miss-islington added the comment: New changeset 2fd1f21db46b165cf603cf4524b4d14ab41ed1cc by Miss Islington (bot) in branch '3.10': bpo-27752: improve documentation of csv.Dialect (GH-26795) https://github.com/python/cpython/commit/2fd1f21db46b165cf603cf4524b4d14ab41ed1cc --

[issue44855] [doc] Complete the sqlite3 exception documentation

2021-08-06 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- title: [doc] some sqlite3 exceptions are not documented -> [doc] Complete the sqlite3 exception documentation ___ Python tracker ___

[issue44855] [doc] some sqlite3 exceptions are not documented

2021-08-06 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: Also, the documentation of sqlite3.Warning could be improved. Currently, it reads "A subclass of Exception". Suggesting to simply sync the descriptions of the exceptions with PEP 249. -- ___ Python tracker

[issue44855] [doc] some sqlite3 exceptions are not documented

2021-08-06 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- title: [DOC] some sqlite3 exceptions are not documented -> [doc] some sqlite3 exceptions are not documented ___ Python tracker ___

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

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

[issue44855] [DOC] some sqlite3 exceptions are not documented

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

[issue44855] [DOC] some sqlite3 exceptions are not documented

2021-08-06 Thread Erlend E. Aasland
New submission from Erlend E. Aasland : sqlite3.InterfaceError, sqlite3.DataError, and sqlite3.InternalError are not documented. -- assignee: docs@python components: Documentation messages: 399139 nosy: docs@python, erlendaasland priority: normal severity: normal status: open title:

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

2021-08-06 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset 66dd1a0e645f26b074547dccc92448169cb32410 by Miss Islington (bot) in branch '3.10': bpo-44605: Teach @total_ordering() to work with metaclasses (GH-27633) (GH-27640)

[issue27752] [doc] CSV DictReader default dialect name 'excel' is misleading, as MS Excel doesn't actually use ', ' as a separator.

2021-08-06 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 0ffdced3b64ba5886fcde64266a31a15712da284 by Jack DeVries in branch 'main': bpo-27752: improve documentation of csv.Dialect (GH-26795) https://github.com/python/cpython/commit/0ffdced3b64ba5886fcde64266a31a15712da284 -- message_count: 3.0

[issue27752] [doc] CSV DictReader default dialect name 'excel' is misleading, as MS Excel doesn't actually use ', ' as a separator.

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

[issue27752] [doc] CSV DictReader default dialect name 'excel' is misleading, as MS Excel doesn't actually use ', ' as a separator.

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

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

2021-08-06 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset fde84170d06f74afd6f95d5b18cf3f733018191a by Miss Islington (bot) in branch '3.9': bpo-44605: Teach @total_ordering() to work with metaclasses (GH-27633) (GH-27641)

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

2021-08-06 Thread Łukasz Langa
Łukasz Langa added the comment: Revert done. Re-closing! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

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

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

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

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

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

2021-08-06 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset 1f7d64608b5c7f4c3d96b01b33e18ebf9dec8490 by Raymond Hettinger in branch 'main': bpo-44605: Teach @total_ordering() to work with metaclasses (GH-27633) https://github.com/python/cpython/commit/1f7d64608b5c7f4c3d96b01b33e18ebf9dec8490

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

2021-08-06 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 4.0 -> 5.0 pull_requests: +26134 pull_request: https://github.com/python/cpython/pull/27640 ___ 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: Yes, but in the process of deprecating disutils, some internals were changed to stop relying on it. This will cause a lot of downstream patches to break. I you are not modifying CPython, you don't need to worry, but if you are, then you should have a look and

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

2021-08-06 Thread miss-islington
miss-islington added the comment: New changeset 1e9c9ca570ffe92dc6a60825c2f9c91865129b8f by Miss Islington (bot) in branch '3.10': bpo-44756: [docs] revert automated virtual environment creation on `make html` (GH-27635)

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

2021-08-06 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: Serhiy, what's the preferred way to append to existing NEWS entries: should I update the existing NEWS entries tied to this issue, or add new entries (with the same bpo number)? -- ___ 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: s/still/stay/ -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2021-08-06 Thread xrcg
xrcg added the comment: @FFY00: Thanks for the info. >From what I quickly read, 3.10 will only deprecate distutils, and the removal >is scheduled for 3.12. Is that correct? If so, the impending release of 3.10 >shouldn’t be a problem, as there are 2 more releases before distutils will be

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

2021-08-06 Thread Ned Deily
Ned Deily added the comment: Thanks for looking into this, Marc. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[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

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

[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

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

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

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

[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

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

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

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

[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

[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

[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

[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

[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

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

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

[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

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

[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

[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

[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

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

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

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

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

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

[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

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

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

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

[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

[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

  1   2   >