[issue47063] SimpleHTTPRequestHandler has hard coded index page list.

2022-03-18 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch nosy: +python-dev nosy_count: 1.0 -> 2.0 pull_requests: +30076 stage: -> patch review pull_request: https://github.com/python/cpython/pull/31985 ___ Python tracker

[issue47063] SimpleHTTPRequestHandler has hard coded index page list.

2022-03-18 Thread Myron Walker
Myron Walker added the comment: I am adding a Github PR for this issue. -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue47063] SimpleHTTPRequestHandler has hard coded index page list.

2022-03-18 Thread Myron Walker
New submission from Myron Walker : SimpleHTTPRequestHandler has hard coded index page list in the send_head method. The fixed hard-coded list means that if you want to have a custom index page that is not named "index.htm" or "index.html" then you have to override the send_head method.

[issue47031] math.nan should note that NANs do not compare equal to anything

2022-03-18 Thread Stanley
Stanley added the comment: How does this sound instead? The unequalness is pushed to the front and the IEEE part back so it's less likely missed: Math.nan and float('nan') are never equal to any other value, including themselves, as per IEEE 754. Use math.isnan to test for NANs. --

[issue31552] IDLE: Convert browswers to use ttk.Treeview

2022-03-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: ttk.Treeview also has problems, at least on some systems and versions. https://mail.python.org/pipermail/tkinter-discuss/2022-March/004226.html HiDPI displays and tkinter [cont]

[issue47056] turtle.write() causes flickering when the tracer is turned off.

2022-03-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: On Win10, running 3.11.0a5+ from command line, upper ABC and boxes flicker when strings are displayed. (When run with from IDLE editor, there is no flicker except sometimes when moving mouse over or off title bar buttons.) (3.8 only gets security fixes.)

[issue47054] "SyntaxError: non-default argument follows default argument" confuses

2022-03-18 Thread Terry J. Reedy
Change by Terry J. Reedy : -- title: "SyntaxError: non-default argument follows default argument" should be "parameter" -> "SyntaxError: non-default argument follows default argument" confuses ___ Python tracker

[issue47054] "SyntaxError: non-default argument follows default argument" should be "parameter"

2022-03-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: Current message same in 3.11 and 3.9, but I am not sure about backporting to old parser. However merges a change, if any, can decide. -- nosy: +pablogsal, terry.reedy stage: -> needs patch type: -> behavior versions: +Python 3.11 -Python 3.7,

[issue47060] importlib.metadata.version can return None

2022-03-18 Thread Jason R. Coombs
Jason R. Coombs added the comment: Thanks for the report. Yes, the issues are related, where .version and .name returning None are specific manifestations of the metadata not having that key and the behavior being ill-defined. I haven't yet decided if metadata items being undefined should

[issue44439] stdlib wrongly uses len() for bytes-like object

2022-03-18 Thread Irit Katriel
Irit Katriel added the comment: Can this be closed now or is there anything else to do? -- nosy: +iritkatriel status: open -> pending ___ Python tracker ___

[issue47062] Implement asyncio.Runner context manager

2022-03-18 Thread Andrew Svetlov
Change by Andrew Svetlov : -- keywords: +patch pull_requests: +30075 stage: -> patch review pull_request: https://github.com/python/cpython/pull/31799 ___ Python tracker ___

[issue47062] Implement asyncio.Runner context manager

2022-03-18 Thread Andrew Svetlov
New submission from Andrew Svetlov : Sometimes asyncio.run() is not enough. For example, unittest test case needs to call several async functions (setup, test, teardown) from the synchronous code using the same execution context and event loop. The proposal provides the following: with

[issue47054] "SyntaxError: non-default argument follows default argument" should be "parameter"

2022-03-18 Thread Bluenix
Bluenix added the comment: Yes I agree, that would be the best. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue47061] Deprecate modules listed in PEP 594

2022-03-18 Thread Brett Cannon
Change by Brett Cannon : -- priority: normal -> deferred blocker ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue47061] Deprecate modules listed in PEP 594

2022-03-18 Thread Brett Cannon
Brett Cannon added the comment: The first PR for documenting the modules is up. Once this gets merged and backported I will add a helper function in `warnings` and then make the appropriate code changes. -- ___ Python tracker

[issue47061] Deprecate modules listed in PEP 594

2022-03-18 Thread Brett Cannon
Change by Brett Cannon : -- keywords: +patch pull_requests: +30074 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/31984 ___ Python tracker

[issue47022] PEP 594: Document removal of asynchat, asyncore and smtpd

2022-03-18 Thread Alex Waygood
Change by Alex Waygood : -- assignee: -> docs@python components: +Documentation nosy: +docs@python stage: patch review -> backport needed versions: +Python 3.10, Python 3.9 ___ Python tracker

[issue47022] PEP 594: Document removal of asynchat, asyncore and smtpd

2022-03-18 Thread Brett Cannon
Brett Cannon added the comment: Merged into `main`, but the backports to 3.10 and 3.9 failed. -- nosy: +brett.cannon ___ Python tracker ___

[issue15393] JSONDecoder.raw_decode breaks on leading whitespace

2022-03-18 Thread Daniël van Noord
Daniël van Noord added the comment: @Bayard Randel, do you want to make this patch into a GitHub PR? If not, I could help by doing so and try to get this landed. -- nosy: +danielnoord ___ Python tracker

[issue47061] Deprecate modules listed in PEP 594

2022-03-18 Thread Barry A. Warsaw
Change by Barry A. Warsaw : -- nosy: +barry ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue47061] Deprecate modules listed in PEP 594

2022-03-18 Thread Brett Cannon
Change by Brett Cannon : -- title: Document PEP 594 deprecations -> Deprecate modules listed in PEP 594 ___ Python tracker ___ ___

[issue16845] warnings.simplefilter should validate input

2022-03-18 Thread Daniël van Noord
Daniël van Noord added the comment: I have submitted the path by @berker.peksag with one additional test case in a new PR. @nanjekyejoannah I saw you responded to the other PR, but that died down. Would you mind taking a look at mine? I'm happy to help land this :) -- nosy:

[issue16845] warnings.simplefilter should validate input

2022-03-18 Thread Roundup Robot
Change by Roundup Robot : -- nosy: +python-dev nosy_count: 5.0 -> 6.0 pull_requests: +30073 pull_request: https://github.com/python/cpython/pull/31983 ___ Python tracker ___

[issue47061] Document PEP 594 deprecations

2022-03-18 Thread Brett Cannon
New submission from Brett Cannon : https://peps.python.org/pep-0594/ The SC has asked that all modules deprecated by PEP 594 have the documented deprecation backported. The message should also not have any specific removal version to avoid any potential delay, but then making the bugfix-only

[issue47061] Document PEP 594 deprecations

2022-03-18 Thread Brett Cannon
Change by Brett Cannon : -- dependencies: +PEP 594: Document removal of asynchat, asyncore and smtpd ___ Python tracker ___ ___

[issue47022] PEP 594: Document removal of asynchat, asyncore and smtpd

2022-03-18 Thread miss-islington
miss-islington added the comment: New changeset 77473846439b8a3eae66de1a1cfe931619f38513 by Hugo van Kemenade in branch 'main': bpo-47022: Document asynchat, asyncore and smtpd removals in 3.12 (GH-31891) https://github.com/python/cpython/commit/77473846439b8a3eae66de1a1cfe931619f38513

[issue433030] SRE: Atomic Grouping (?>...) is not supported

2022-03-18 Thread Raymond Hettinger
Change by Raymond Hettinger : -- assignee: effbot -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue433030] SRE: Atomic Grouping (?>...) is not supported

2022-03-18 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +30072 pull_request: https://github.com/python/cpython/pull/31982 ___ Python tracker ___

[issue40296] help(list[int]) fails

2022-03-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset a5b7678a67ac99edd50822827b772e7d9afc8e64 by Serhiy Storchaka in branch '3.10': [3.10] bpo-40296: Fix supporting generic aliases in pydoc (GH-30253). (GH-31976) https://github.com/python/cpython/commit/a5b7678a67ac99edd50822827b772e7d9afc8e64

[issue40296] help(list[int]) fails

2022-03-18 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 3.0 -> 4.0 pull_requests: +30071 pull_request: https://github.com/python/cpython/pull/31981 ___ Python tracker

[issue47015] Update tests from asyncore to asyncio

2022-03-18 Thread Oleg Iarygin
Oleg Iarygin added the comment: The PR is ready for a review; I sorted out all bugs. -- ___ Python tracker ___ ___

[issue46114] OpenSSL 3.0 uses different version scheme

2022-03-18 Thread Charalampos Stratakis
Charalampos Stratakis added the comment: 3.8 builds are still running on the buildbots so not fixing 3.8 will cause them to fail. -- nosy: +cstratak ___ Python tracker ___

[issue47060] importlib.metadata.version can return None

2022-03-18 Thread Zachary Ware
Change by Zachary Ware : -- nosy: +jaraco ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue47060] importlib.metadata.version can return None

2022-03-18 Thread David Robertson
New submission from David Robertson : Originally written up at the typeshed repo: https://github.com/python/typeshed/issues/7513. The conclusion was that this is a bug in the implementation rather than an incorrect annotation. To my surprise, I discovered in

[issue47059] Mechanism to enable __weakref__ slot on dataclass(slots=True)

2022-03-18 Thread Arie Bovenberg
New submission from Arie Bovenberg : As discussed in bpo-46382, dataclasses may want to support the __weakref__ slot. Currently, automatically slotted dataclasses are not given a __weakref__ slot. This makes auto-slotted dataclasses incompatible with weakref. The attrs library has chosen for

[issue43224] Add support for PEP 646

2022-03-18 Thread Jelle Zijlstra
Jelle Zijlstra added the comment: New changeset 3a2b89580ded72262fbea0f7ad24096a90c42b9c by Jelle Zijlstra in branch 'main': bpo-43224: Add TypeVarTuple.__name__ (GH-31954) https://github.com/python/cpython/commit/3a2b89580ded72262fbea0f7ad24096a90c42b9c --

[issue47037] Build problems on Windows

2022-03-18 Thread Steve Dower
Steve Dower added the comment: New changeset d0a91bd277d1122b41d59e8022b596e3b3ae24fe by Steve Dower in branch 'main': bpo-47037: Test debug builds on Windows in CI so that native assertions are noticed sooner (GH-31965)

[issue47048] Python 3.10.3 + Osx Lion : fatal error (make) signalmodule or more

2022-03-18 Thread Laurent Delphin
Laurent Delphin added the comment: I didn't expect to buy in a very next future a new Mac. The main reason 8s,because I have too much third parties to rebuild, and needing some months to spend. But it is forecasted. Besides, the Compiler Gcc 4.9.4 I built with clang seems working. But with a

[issue46824] use AI_NUMERICHOST | AI_NUMERICSERV to skip getaddrinfo thread in asyncio

2022-03-18 Thread Ben Darnell
Ben Darnell added the comment: On MacOS in 2015, getaddrinfo was found to be much slower than inet_pton. Unless that's changed, this patch would be a performance regression on that platform. Data and benchmark script in https://groups.google.com/g/python-tulip/c/-SFI8kkQEj4/m/m1-oCMSABgAJ

[issue46824] use AI_NUMERICHOST | AI_NUMERICSERV to skip getaddrinfo thread in asyncio

2022-03-18 Thread Ben Darnell
Ben Darnell added the comment: To summarize the justification, this patch does two things: it moves an optimization from create_connection to getaddrinfo, which makes it apply to more callers (including Tornado), and it makes the code simpler and less redundant (net reduction of 47 non-test

[issue46382] dataclass(slots=True) does not account for slots in base classes

2022-03-18 Thread Arie Bovenberg
Change by Arie Bovenberg : -- keywords: +patch pull_requests: +30070 stage: -> patch review pull_request: https://github.com/python/cpython/pull/31980 ___ Python tracker ___

[issue45413] Add install scheme for virtual environments

2022-03-18 Thread Filipe Laíns
Filipe Laíns added the comment: With PR 31034 merged, we can now mark this as resolved. As mentioned in the PR, there are still some concerns about maintainability and avoiding similar issues to happen in the future. That can be done later, as people find time to work on it. Thanks!

[issue47037] Build problems on Windows

2022-03-18 Thread Eryk Sun
Eryk Sun added the comment: The main entry point for python[_d].exe should support a command-line -X option or environment variable that suppresses Windows error/assert/warn reporting, or redirects it to stderr in verbose mode. This would be useful to simplify everyone's automated testing.

[issue22628] Idle: Tree lines are spaced too close together.

2022-03-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: We started using ttk widgets in 3.6. As I said above, the real solution should be to use ttk.Treeview. This is issue 31552. -- resolution: -> fixed status: open -> closed superseder: -> IDLE: Convert browswers to use ttk.Treeview

[issue31552] IDLE: Convert browswers to use ttk.Treeview

2022-03-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: 3. continued. As noted in #22628, idlelib.tree has line spacing and other stuff hardcoded so it will not work properly on all monitors. -- ___ Python tracker

[issue44405] add program passed as string to dis module.

2022-03-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Neither of tokenize, ast or symtable modules support passing the source string as argument. If add this feature in the dis module, we will need to add it in all other modules with similar CLI. I do not think it is practical. You always can pass the source

[issue46114] OpenSSL 3.0 uses different version scheme

2022-03-18 Thread Miro Hrončok
Miro Hrončok added the comment: Ack, will do it downstream-only. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue47037] Build problems on Windows

2022-03-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: I recompiled, retested, and all tests are ok, with no unexpected box. Thank you all. The vcruntime warnings are also gone, so I will chalk them up to a onetime glitch. -- ___ Python tracker

[issue46114] OpenSSL 3.0 uses different version scheme

2022-03-18 Thread Christian Heimes
Christian Heimes added the comment: Correct, I didn't backport this fix and several other OpenSSL 3.0 related fixes to Python 3.8 because 3.8 is in security-only mode. -- ___ Python tracker

[issue14156] argparse.FileType for '-' doesn't work for a mode of 'rb'

2022-03-18 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.11 -Python 3.6, Python 3.7, Python 3.8 ___ Python tracker

[issue14156] argparse.FileType for '-' doesn't work for a mode of 'rb'

2022-03-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 4d2099f455229b10f88846dbe9fe6debbee55356 by Serhiy Storchaka in branch '3.9': [3.9] bpo-14156: Make argparse.FileType work correctly for binary file modes when argument is '-' (GH-13165) (GH-31979)

[issue46968] Insufficient sigaltstack size used by CPython prevents extensions from using new ISA

2022-03-18 Thread STINNER Victor
STINNER Victor added the comment: Thanks for the fix Pablo. -- priority: release blocker -> ___ Python tracker ___ ___

[issue46114] OpenSSL 3.0 uses different version scheme

2022-03-18 Thread Miro Hrončok
Miro Hrončok added the comment: 3.8 is security only, so I suppose there is no chance of getting the test fixed as well? -- nosy: +hroncok ___ Python tracker ___

[issue46343] Add PyErr_GetActiveException and PyErr_SetActiveException

2022-03-18 Thread Irit Katriel
Irit Katriel added the comment: We should make throw accept an exception instance, the same thing was done in the traceback module. -- ___ Python tracker ___

[issue14156] argparse.FileType for '-' doesn't work for a mode of 'rb'

2022-03-18 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +30069 pull_request: https://github.com/python/cpython/pull/31979 ___ Python tracker ___

[issue46968] Insufficient sigaltstack size used by CPython prevents extensions from using new ISA

2022-03-18 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue46968] Insufficient sigaltstack size used by CPython prevents extensions from using new ISA

2022-03-18 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 6fd9737373f2bed03f409440b4fd50b9f8f121cb by Pablo Galindo Salgado in branch '3.10': [3.10] bpo-46968: Check for 'sys/auxv.h' in the configure script (GH-31961). (GH-31974)

[issue46968] Insufficient sigaltstack size used by CPython prevents extensions from using new ISA

2022-03-18 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset a12ef81231d65da5efbef4fa1434716270a19af6 by Pablo Galindo Salgado in branch '3.9': [3.9] bpo-46968: Check for 'sys/auxv.h' in the configure script (GH-31961). (GH-31975)

[issue22628] Idle: Tree lines are spaced too close together.

2022-03-18 Thread Jean-Paul Calderone
Jean-Paul Calderone added the comment: This is still/again broken, probably because the "fixed" version still hard-codes all of the geometry values and these will certainly not be correct for all combinations of display dpi, font configuration, etc. Instead, `TreeNode.draw` and

[issue47055] `issubclass` on two different subclasses of abstract base class like `os.PathLike` returns unexpected value on early versions of Py3.7 and Py3.8

2022-03-18 Thread Eric V. Smith
Eric V. Smith added the comment: Since those releases are no longer supported, I don't think there's any place you could put this that would be seen. And we wouldn't want to put a note in a current release about a bug in a non-supported version that was fixed in another non-supported

[issue47058] Skip tests failing on Solaris

2022-03-18 Thread Jakub Kulik
Change by Jakub Kulik : -- title: Skip tests failing on Solaris worker -> Skip tests failing on Solaris ___ Python tracker ___ ___

[issue47058] Skip tests failing on Solaris worker

2022-03-18 Thread Jakub Kulik
Change by Jakub Kulik : -- keywords: +patch pull_requests: +30068 stage: -> patch review pull_request: https://github.com/python/cpython/pull/31978 ___ Python tracker ___

[issue47058] Skip tests failing on Solaris worker

2022-03-18 Thread Jakub Kulik
New submission from Jakub Kulik : There are several tests failing on the recently added Solaris buildbot worker. This Issue aims to fix/skip the to make Solaris green on buildbot. ## test_posix ## Issues with the `os.sched_get_priority_min`; fix offered

[issue42238] Deprecate suspicious.py?

2022-03-18 Thread Julien Palard
Change by Julien Palard : -- pull_requests: +30067 pull_request: https://github.com/python/cpython/pull/31977 ___ Python tracker ___

[issue40296] help(list[int]) fails

2022-03-18 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +30066 pull_request: https://github.com/python/cpython/pull/31976 ___ Python tracker ___

[issue45979] Fix Tkinter tests with old Tk

2022-03-18 Thread miss-islington
miss-islington added the comment: New changeset d27af88c1bcf3c6c185f81218b7bf86b38128ea9 by Miss Islington (bot) in branch '3.10': bpo-45979: Fix Tkinter tests with old Tk (>= 8.5.12) (GH-31938) https://github.com/python/cpython/commit/d27af88c1bcf3c6c185f81218b7bf86b38128ea9 --

[issue46343] Add PyErr_GetActiveException and PyErr_SetActiveException

2022-03-18 Thread Andrew Svetlov
Andrew Svetlov added the comment: I have a side question. generator.throw() and coroutine.throw() have throw(type[, value[, traceback]]) signature. Is there a plan to update generators somehow to accept the exception value only? The change can go in line with other exception API changes.

[issue46968] Insufficient sigaltstack size used by CPython prevents extensions from using new ISA

2022-03-18 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +30065 pull_request: https://github.com/python/cpython/pull/31975 ___ Python tracker ___

[issue46968] Insufficient sigaltstack size used by CPython prevents extensions from using new ISA

2022-03-18 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +30064 pull_request: https://github.com/python/cpython/pull/31974 ___ Python tracker ___

[issue47043] Argparse can't parse subparsers with parse_known_args

2022-03-18 Thread rive_n
rive_n added the comment: Hi again. previous solution with: ```python3 try: namespace, args = self._parse_known_args(args, namespace) if hasattr(namespace, _UNRECOGNIZED_ARGS_ATTR): args.extend(getattr(namespace, _UNRECOGNIZED_ARGS_ATTR))

[issue47057] Use FASTCALL convention for FutureIter.throw()

2022-03-18 Thread Andrew Svetlov
New submission from Andrew Svetlov : All other asyncio functions are converted to fast calls already. -- components: asyncio messages: 415489 nosy: asvetlov, yselivanov priority: normal severity: normal status: open title: Use FASTCALL convention for FutureIter.throw() versions: Python

[issue45979] Fix Tkinter tests with old Tk

2022-03-18 Thread miss-islington
Change by miss-islington : -- pull_requests: +30062 pull_request: https://github.com/python/cpython/pull/31972 ___ Python tracker ___

[issue47057] Use FASTCALL convention for FutureIter.throw()

2022-03-18 Thread Andrew Svetlov
Change by Andrew Svetlov : -- keywords: +patch pull_requests: +30063 stage: -> patch review pull_request: https://github.com/python/cpython/pull/31973 ___ Python tracker ___

[issue47042] Fix test_html_doc in test_pydoc

2022-03-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: It is 3.11 only issue. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: -Python 3.10, Python 3.9 ___ Python tracker

[issue46968] Insufficient sigaltstack size used by CPython prevents extensions from using new ISA

2022-03-18 Thread László Kiss Kollár
Change by László Kiss Kollár : -- nosy: +lkollar ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46968] Insufficient sigaltstack size used by CPython prevents extensions from using new ISA

2022-03-18 Thread miss-islington
miss-islington added the comment: New changeset 8e3fde728f547f1d32bde8adf62b4c50bb877b9d by Pablo Galindo Salgado in branch 'main': bpo-46968: Check for 'sys/auxv.h' in the configure script (GH-31961) https://github.com/python/cpython/commit/8e3fde728f547f1d32bde8adf62b4c50bb877b9d

[issue47037] Build problems on Windows

2022-03-18 Thread Steve Dower
Steve Dower added the comment: New changeset d190a9351be577a534a84fd1899f02a9f50f7276 by Christian Heimes in branch 'main': bpo-47037: Don't test for strftime('%4Y') on Windows (GH-31945) https://github.com/python/cpython/commit/d190a9351be577a534a84fd1899f02a9f50f7276 --

[issue45979] Fix Tkinter tests with old Tk

2022-03-18 Thread STINNER Victor
STINNER Victor added the comment: Python 3.10 didn't get a fix? https://github.com/python/cpython/pull/31939 was closed, not merged. -- nosy: +vstinner ___ Python tracker

[issue46994] Accept explicit contextvars.Context in asyncio create_task() API

2022-03-18 Thread STINNER Victor
STINNER Victor added the comment: Nice enhancement! -- nosy: +vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue18309] Make python slightly more relocatable

2022-03-18 Thread STINNER Victor
Change by STINNER Victor : -- nosy: -vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46968] Insufficient sigaltstack size used by CPython prevents extensions from using new ISA

2022-03-18 Thread STINNER Victor
STINNER Victor added the comment: > Commit 393e2bf6bc6effbfe821f051a230978f0edd70df has broken CPython in RedHat 6 Too bad that we want to support RHEL 6 but have no buildbot for that. -- ___ Python tracker

[issue47048] Python 3.10.3 + Osx Lion : fatal error (make) signalmodule or more

2022-03-18 Thread Christian Heimes
Christian Heimes added the comment: It does not look like a Python problem. "fatal error: error in backend" suggests that clang is crashing with an internal error. macOS 10.7 is about a decade old. Can you update to a more recent macOS and Xcode version? -- components: +macOS nosy:

[issue42838] Wait for cleanup coroutines before event loop is closed.

2022-03-18 Thread xloem
Change by xloem <0xl...@gmail.com>: -- resolution: wont fix -> out of date ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue42838] Wait for cleanup coroutines before event loop is closed.

2022-03-18 Thread xloem
Change by xloem <0xl...@gmail.com>: -- resolution: out of date -> wont fix ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue42838] Wait for cleanup coroutines before event loop is closed.

2022-03-18 Thread xloem
xloem <0xl...@gmail.com> added the comment: hey, I don't have the capacity to stay on this, but thanks for the attention, time, and clear response. there are of course other situations such as returning a resource to library code or manual loop management, but I don't have the use case

[issue45786] Avoid allocating when exiting frame; it may be unsafe.

2022-03-18 Thread STINNER Victor
STINNER Victor added the comment: New changeset 2217462bda1865a047d358306088682ee6a091ed by Victor Stinner in branch 'main': bpo-45786: Remove _PyFrame_Fini() and _PyFrame_DebugMallocStats() (GH-31874) https://github.com/python/cpython/commit/2217462bda1865a047d358306088682ee6a091ed

[issue45924] Incorrect traceback when future's exception is raised multiple times

2022-03-18 Thread lilydjwg
Change by lilydjwg : -- nosy: +lilydjwg ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45413] Add install scheme for virtual environments

2022-03-18 Thread Petr Viktorin
Petr Viktorin added the comment: New changeset 48d926269963cfe7a49c0a4f34af4fe9b832399b by Miro Hrončok in branch 'main': bpo-45413: Define "posix_venv", "nt_venv" and "venv" sysconfig installation schemes (GH-31034)

[issue45924] Incorrect traceback when future's exception is raised multiple times

2022-03-18 Thread Irit Katriel
Irit Katriel added the comment: Closed issue42682 as duplicate of this. -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue42682] awaiting a wrapped asyncio.Task multiple times gives long, repeative tracebacks

2022-03-18 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Incorrect traceback when future's exception is raised multiple times ___ Python tracker

[issue42682] awaiting a wrapped asyncio.Task multiple times gives long, repeative tracebacks

2022-03-18 Thread Irit Katriel
Irit Katriel added the comment: >>> asyncio.run(main()) Traceback (most recent call last): File "", line 6, in main File "C:\Users\User\src\cpython\Lib\asyncio\tasks.py", line 597, in _wait_for_one return f.result() # May raise f.exception(). ^^ File "", line 2,

[issue42682] awaiting a wrapped asyncio.Task multiple times gives long, repeative tracebacks

2022-03-18 Thread Irit Katriel
Irit Katriel added the comment: I don't think the OP is complaining about the internal asyncio machinery frames, but rather about the repetition of the "return f.result() # May raise f.exception()." frame. I will paste the output of the script in the next comment. -- nosy:

[issue47056] turtle.write() causes flickering when the tracer is turned off.

2022-03-18 Thread Shin-Myoung-Serp
New submission from Shin-Myoung-Serp : When implementing an animation with turtle, usually the tracer is turned off via turtle.tracer(0, 0) and turtle.update() is called manually. When the tracer is off, most of drawing functions skips update() calls on the underlying Canvas. But

[issue46382] dataclass(slots=True) does not account for slots in base classes

2022-03-18 Thread Eric V. Smith
Eric V. Smith added the comment: I thought there was an existing issue that covered this, but now I can't find it. I'd prefer #2, create a separate issue. -- ___ Python tracker

[issue40296] help(list[int]) fails

2022-03-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset cd44afc573e2e2de8d7e5a9119c347373066cd10 by Serhiy Storchaka in branch 'main': bpo-40296: Fix supporting generic aliases in pydoc (GH-30253) https://github.com/python/cpython/commit/cd44afc573e2e2de8d7e5a9119c347373066cd10 --

[issue46996] Drop support of Tcl/Tk older than 8.5.12

2022-03-18 Thread Ronald Oussoren
Ronald Oussoren added the comment: Terry: tkinter on macOS already effectively does not support Tk 8.5, or basically anything bug the latest 8.6.x release. That's because older versions have too many bugs that affect Python users, which mostly show up on our tracker as bug reports about

[issue46382] dataclass(slots=True) does not account for slots in base classes

2022-03-18 Thread Arie Bovenberg
Arie Bovenberg added the comment: @eric.smith awesome! What would you like to do about the __weakref__ slot? 1. take no action 2. create a separate ticket to discuss further 3. implement as done in attrs, now that we're changing __slots__ dataclass behavior anyway I wouldn't recommend

[issue36457] functools.singledispatchmethod interacts poorly with subclasses

2022-03-18 Thread Tim Mitchell
Change by Tim Mitchell : Added file: https://bugs.python.org/file50689/test_sdm.py ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue36457] functools.singledispatchmethod interacts poorly with subclasses

2022-03-18 Thread Tim Mitchell
Tim Mitchell added the comment: I've come up with a version that does not require a base class. Seems a bit hacky as the descriptor __get__ method now modifies the class to put the dispatch table in place the first time the method is accessed. -- Added file: