[issue42195] Inconsistent __args__ between typing.Callable and collections.abc.Callable

2020-10-29 Thread Zac Hatfield-Dodds
Zac Hatfield-Dodds added the comment: Unfortunately I'm overcommitted for the next few weeks-months :-/ -- ___ Python tracker ___

[issue40255] Fixing Copy on Writes from reference counting

2020-10-29 Thread Inada Naoki
Inada Naoki added the comment: >> Fast shutdown option > > You can use os._exit(0). Yes. Instagram use it as `atexit.register(os._exit, 0)`. https://instagram-engineering.com/dismissing-python-garbage-collection-at-instagram-4dca40b29172 I think this hack can be supported in multiprocessing

[issue42160] unnecessary overhead in tempfile

2020-10-29 Thread Inada Naoki
Inada Naoki added the comment: New changeset 8e409cebad42032bb7d0f2cadd8b1e36081d98af by Eric W in branch 'master': bpo-42160: tempfile: Reduce overhead of pid check. (GH-22997) https://github.com/python/cpython/commit/8e409cebad42032bb7d0f2cadd8b1e36081d98af -- nosy: +methane

[issue42173] Drop Solaris support

2020-10-29 Thread jason matthews
jason matthews added the comment: Please do not drop support. Python is widely used in the "Solaris" community with most people downloading packages from Openindiana/Hipster or Joyent/SmartOS repos. Most "Solaris" users are not using Solaris proper. The download stats published in this

[issue42198] Clean up docs for Union and GenericAlias

2020-10-29 Thread miss-islington
miss-islington added the comment: New changeset a39068bf48766e5520e175eae8cda33531e16039 by Miss Skeleton (bot) in branch '3.9': bpo-42198: Link to GenericAlias in typing and expressions (GH-23030) https://github.com/python/cpython/commit/a39068bf48766e5520e175eae8cda33531e16039 --

[issue42195] Inconsistent __args__ between typing.Callable and collections.abc.Callable

2020-10-29 Thread Guido van Rossum
Guido van Rossum added the comment: Good find! I see that typing.Callable has adopted this structure precisely to enable caching. We should see if we can fix _collections_abc.Callable. It's still early in the life of 3.9 so I think this is reasonable. We'll need a subclass of GenericAlias

[issue42198] Clean up docs for Union and GenericAlias

2020-10-29 Thread miss-islington
Change by miss-islington : -- pull_requests: +21952 pull_request: https://github.com/python/cpython/pull/23033 ___ Python tracker ___

[issue42198] Clean up docs for Union and GenericAlias

2020-10-29 Thread miss-islington
miss-islington added the comment: New changeset 9129af6050b747f288baa9d4e7d43031647ed222 by kj in branch 'master': bpo-42198: Link to GenericAlias in typing and expressions (GH-23030) https://github.com/python/cpython/commit/9129af6050b747f288baa9d4e7d43031647ed222 -- nosy:

[issue41987] singledispatchmethod raises an error when relying on a forward declaration

2020-10-29 Thread Guido van Rossum
Guido van Rossum added the comment: I'm not an expert on singledispatch. It seems the get_type_hints() call is present in 3.8 as well. Could you investigate and find a root cause? Then maybe we can fix it. (If you come up with a PR that would be very much appreciated.) -- versions:

[issue42173] Drop Solaris support

2020-10-29 Thread Robert D. French
Robert D. French added the comment: Hello! I just want to lend my voice in favor of maintaining "Solarish" support as well, and offer what help I may for resolving issues. -- nosy: +robertdfrench ___ Python tracker

[issue41699] Potential memory leak with asyncio and run_in_executor

2020-10-29 Thread Kyle Stanley
Kyle Stanley added the comment: > Regularly calling executor.shutdown() and then instantiating a new > ThreadPoolExecutor in order to run an asyncio program does not seem like a > good API to me. Clarification: you're typically only supposed to instantiate a single ThreadPoolExecutor or

[issue42200] Support TLS 1.3 half-closed connections

2020-10-29 Thread Dima Tisnek
New submission from Dima Tisnek : (apologies if this was raised before, I couldn't find it in bugs, mailing lists or discourse). (also apologies if I misunderstood something about the protocol) Up to an including TLS 1.2, a single close notify terminates both upstream and downstream;

[issue41699] Potential memory leak with asyncio and run_in_executor

2020-10-29 Thread Sophia Wisdom
Sophia Wisdom added the comment: While not calling executor.shutdown() may leave some resources still used, it should be small and fixed. Regularly calling executor.shutdown() and then instantiating a new ThreadPoolExecutor in order to run an asyncio program does not seem like a good API to

[issue42173] Drop Solaris support

2020-10-29 Thread brett
brett added the comment: Between SmartOS, Illumos, and mainline Solaris, there is ample interest and support for ensuring that SunOS derivatives remain 1st class python platforms. Platform genocide is both unnecessary and unwarranted. -- nosy: +brett3

[issue41699] Potential memory leak with asyncio and run_in_executor

2020-10-29 Thread Kyle Stanley
Kyle Stanley added the comment: Also note that the difference in memory is much higher when an exception occurs (presumably because the exception is stored on future._exception and not cleaned up?): ``` [aeros:~/repos/cpython]$ ./python ~/programming/python/asyncio_run_in_exec_leak.py

[issue37355] SSLSocket.read does a GIL round-trip for every 16KB TLS record

2020-10-29 Thread Dima Tisnek
Dima Tisnek added the comment: Amazing! Would you consider making a pull request out of your branch? re: `PyErr_HasSignals` is a notable addition to the cpython API, it may need discussion, and (imo) documentation. -- nosy: +Dima.Tisnek ___

[issue41699] Potential memory leak with asyncio and run_in_executor

2020-10-29 Thread Kyle Stanley
Kyle Stanley added the comment: In the snippet provided, at least part of the resources are not finalized because executor.shutdown() was not called in the program (which should be done when creating a local instance of the executors, either explicitly or using the context manager). For the

[issue42173] Drop Solaris support

2020-10-29 Thread Alan Coopersmith
Change by Alan Coopersmith : -- nosy: +alanc ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39951] Ignore specific errors when closing ssl connections

2020-10-29 Thread Dima Tisnek
Dima Tisnek added the comment: https://bugs.python.org/issue39953 has landed and the errors are now more sensible: (that patch was not backported to 3.7, because it's not a security issue). Python 3.7.8 [SSL: KRB5_S_INIT] application data after close notify Python 3.8.5 [SSL:

[issue42173] Drop Solaris support

2020-10-29 Thread Peter Firmstone
Peter Firmstone added the comment: No, please continue supporting Illumos, I'm still using it. Illumos is still relevant on servers. -- nosy: +pfirmsto ___ Python tracker

[issue42173] Drop Solaris support

2020-10-29 Thread hajma
hajma added the comment: Like OmniOS, Oracle Solaris provides the 'six' (and many other) module prepackaged. You can review a clone of the development repository at https://github.com/oracle/solaris-userland/tree/master/components/python/six -- nosy: +tropikha...@gmail.com

[issue42188] forkserver not reused in child processes

2020-10-29 Thread Colin
Change by Colin : Added file: https://bugs.python.org/file49549/test.py ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue42188] forkserver not reused in child processes

2020-10-29 Thread Colin
Change by Colin : Removed file: https://bugs.python.org/file49547/test.py ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue42173] Drop Solaris support

2020-10-29 Thread Andy Fiddaman
Andy Fiddaman added the comment: Re: Downloads OmniOS makes modules like 'six' available through its own IPS packaging system (which is written in Python) so installations won't show up pypi stats. six is a core module on the platform so it is installed on 1000s of OmniOS machines (and

[issue42061] Document __format__ method for IPv[46]Address

2020-10-29 Thread Eric V. Smith
Eric V. Smith added the comment: Thanks for the contribution, @John-Ted! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue42173] Drop Solaris support

2020-10-29 Thread Andy Fiddaman
Andy Fiddaman added the comment: We at OmniOS (an illumos distribution) are in the process of upgrading to Python 3.9 and working on getting tests clean. We're in pretty good shape with a few local patches and only having to skip a few tests at the moment, and most of those patches should

[issue41987] singledispatchmethod raises an error when relying on a forward declaration

2020-10-29 Thread Ryan Sobol
Ryan Sobol added the comment: It's worth pointing out that a similar error is produced for a forward-referenced return type of a registered method, but only for python3.9. For example: from __future__ import annotations from functools import singledispatchmethod class Integer: def

[issue42173] Drop Solaris support

2020-10-29 Thread Joshua M. Clulow
Joshua M. Clulow added the comment: Hi! I'm a member of the illumos core team, and I'm also pretty keen for us to keep Python support! Some of our core OS build and packaging tooling is written in Python, and certainly applications like Synapse (Matrix) and Review Board are important to

[issue42173] Drop Solaris support

2020-10-29 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: I am using Python 3.8 installed via pkgsrc in SmartOS with some Zones running Python 3.9 self compiled code. More about the downloads stats: 4% packages in windows: I am pretty sure that most windows programmers install packages via conda-like tools.

[issue42061] Document __format__ method for IPv[46]Address

2020-10-29 Thread miss-islington
miss-islington added the comment: New changeset b626d2218c03127502025ccdf93d555e0487ea95 by Miss Skeleton (bot) in branch '3.9': bpo-42061: Document __format__ for IP addresses (GH-23018) https://github.com/python/cpython/commit/b626d2218c03127502025ccdf93d555e0487ea95 --

[issue42173] Drop Solaris support

2020-10-29 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: I think Solaris Support is still important and I could invest more time on it. About package downloads: 1. I routinely download packages in my laptop (Linux) and distribute them to a fleet of servers (Linux and Solaris) via ansible and similar. Many servers

[issue42173] Drop Solaris support

2020-10-29 Thread Ondřej Súkup
Ondřej Súkup added the comment: Oracle moved solaris 11.4 to +- rolling release mode, last SRU is 26 from 20.10.2020 with month release cadence. On another side, almost all informations are behind the Oracle paywall -- nosy: +mimi.vx ___ Python

[issue42173] Drop Solaris support

2020-10-29 Thread Sebastian Wiedenroth
Sebastian Wiedenroth added the comment: > Which Python version do you use? Myself currently mostly python 3.8 via pkgsrc on SmartOS (one of the illumos distributions). OmniOS ships 3.7: https://github.com/omniosorg/omnios-build/tree/master/build/python37 OpenIndiana ships at least 2.7,

[issue42061] Document __format__ method for IPv[46]Address

2020-10-29 Thread miss-islington
Change by miss-islington : -- pull_requests: +21951 pull_request: https://github.com/python/cpython/pull/23032 ___ Python tracker ___

[issue42061] Document __format__ method for IPv[46]Address

2020-10-29 Thread miss-islington
miss-islington added the comment: New changeset 3317466061509c83dce257caab3661d52571cab1 by Teugea Ioan-Teodor in branch 'master': bpo-42061: Document __format__ for IP addresses (GH-23018) https://github.com/python/cpython/commit/3317466061509c83dce257caab3661d52571cab1 -- nosy:

[issue42173] Drop Solaris support

2020-10-29 Thread STINNER Victor
STINNER Victor added the comment: > We (illumos) share the same uname "SunOS" and depend on this support. Which Python version do you use? https://blogs.oracle.com/solaris/future-of-python-on-solaris mentions Python 2.7 and 3.4. -- ___ Python

[issue42173] Drop Solaris support

2020-10-29 Thread STINNER Victor
STINNER Victor added the comment: I looked at PyPI download statistics of the "six" module over the last 180 days (6 months), grouped by operating system name: * SunOS: 3,975 downloads * TOTAL: 590,727,298 downloads SunOS is 0.0007% of all six downloads. For comparison, the top 4 is: *

[issue42173] Drop Solaris support

2020-10-29 Thread Sebastian Wiedenroth
Sebastian Wiedenroth added the comment: Please don't. Even if Oracle doesn't care anymore, the open source illumos community does. We (illumos) share the same uname "SunOS" and depend on this support. I have offered to host an illumos buildbot in the past and that offer is still valid. At

[issue42199] bytecode_helper assertNotInBytecode fails too eagerly

2020-10-29 Thread Maxwell Bernstein
Change by Maxwell Bernstein : -- keywords: +patch pull_requests: +21950 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23031 ___ Python tracker

[issue42199] bytecode_helper assertNotInBytecode fails too eagerly

2020-10-29 Thread Maxwell Bernstein
New submission from Maxwell Bernstein : assertNotInBytecode should only fail if: * the instr matches and the arg is unspecified, or * the instr matches, the arg is specified, and the arg matches But right now it fails in a third case because of the dangling self.fail() call. The self.fail()

[issue42197] Disable automatic update of frame locals during tracing

2020-10-29 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41588] Potential Memory leak with concurrent.futures.ThreadPoolExecutor's map

2020-10-29 Thread Kyle Stanley
Change by Kyle Stanley : -- nosy: +aeros, bquinlan, pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41699] Potential memory leak with asyncio and run_in_executor

2020-10-29 Thread Sophia Wisdom
Sophia Wisdom added the comment: It looks like it's not specific to the ThreadPoolExecutor. ``` import asyncio import concurrent def leaker_func(): list(range(int(1000))) # removed 1/0 because this causes issues with the ProcessPoolExecutor async def function(): loop =

[issue42180] Missing a plural in library/functions

2020-10-29 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue42180] Missing a plural in library/functions

2020-10-29 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset b76a8400217827e604ebb543f45156f3caacd9a0 by Rafael Fontenelle in branch 'master': bpo-42180: fix plural in arguments and control (GH-23015) https://github.com/python/cpython/commit/b76a8400217827e604ebb543f45156f3caacd9a0 --

[issue42192] Python Windows .exe Installer ignores /TargetDir if there is an existing installation

2020-10-29 Thread Steve Dower
Steve Dower added the comment: Unfortunately, this is deliberate, or at least deliberate enough to not consider it a bug. The installer from python.org is intended to only support a single install per-machine. In general, if you simply copy the installation folder to a new location it

[issue42198] Clean up docs for Union and GenericAlias

2020-10-29 Thread Ken Jin
Change by Ken Jin : -- pull_requests: +21949 pull_request: https://github.com/python/cpython/pull/23030 ___ Python tracker ___ ___

[issue42191] lib.argparse._check_value() using repr instead of str

2020-10-29 Thread paul j3
paul j3 added the comment: Do you realize that `choices` can be a dictionary? And since you want the user to supply a key, not a value, you might not want to use a type that does the conversion. To illustrate consider two ways of using a simple dictionary. import argparse adict = {'a':

[issue42191] lib.argparse._check_value() using repr instead of str

2020-10-29 Thread paul j3
paul j3 added the comment: In the Help formatting, choice_strs = [str(choice) for choice in action.choices] The use of `repr` in this check_value() error message was, I think, deliberate. For simple choices like strings and numbers it doesn't matter. But for other cases, it may help

[issue42196] Python Windows Installation Error 0x800705aa

2020-10-29 Thread Eryk Sun
Eryk Sun added the comment: 0x8007_05AA is ERROR_NO_SYSTEM_RESOURCES (1450, 0x05AA) returned as an HRESULT value. This error is usually due to a system call failing with the status code STATUS_INSUFFICIENT_RESOURCES. From "Pyhon39InstallLog.txt", apparently the installer failed to create an

[issue42198] Clean up docs for Union and GenericAlias

2020-10-29 Thread Ken Jin
Ken Jin added the comment: 4. types.GenericAlias's __call__ signature of (origin, args) is not documented anywhere, I'll create a PR to types.rst eventually. -- ___ Python tracker

[issue41699] Potential memory leak with asyncio and run_in_executor

2020-10-29 Thread Daniel Alley
Daniel Alley added the comment: This seems likely to be a duplicate of https://bugs.python.org/issue41588, as run_in_executor(None, ...) submits tasks to a ThreadPoolExecutor underneath the hood. -- nosy: +dralley ___ Python tracker

[issue42198] Clean up docs for Union and GenericAlias

2020-10-29 Thread Ken Jin
Change by Ken Jin : -- keywords: +patch pull_requests: +21948 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23029 ___ Python tracker ___

[issue42197] Disable automatic update of frame locals during tracing

2020-10-29 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch nosy: +python-dev nosy_count: 1.0 -> 2.0 pull_requests: +21947 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23028 ___ Python tracker

[issue42198] Clean up docs for Union and GenericAlias

2020-10-29 Thread Ken Jin
New submission from Ken Jin : This is an umbrella issue to clean up docs for Union and GenericAlias. To-do (not in order): 1. Update links in typing, subscription and union to point to GenericAlias. 2. Park GenericAlias and Union under a new section 'Type Annotation Types' in stdtypes for

[issue42111] Make the xxlimited module an example of best extension module practices

2020-10-29 Thread hai shi
Change by hai shi : -- nosy: +shihai1991 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42171] Add PEP 573 to the stable ABI

2020-10-29 Thread hai shi
Change by hai shi : -- nosy: +shihai1991 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41796] _ast module state should be made per interpreter

2020-10-29 Thread hai shi
Change by hai shi : -- nosy: +shihai1991 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42029] Remove dynload_dl.c

2020-10-29 Thread STINNER Victor
STINNER Victor added the comment: New changeset 5776663675b48f011d428a5874cc3c79d1deb59e by Victor Stinner in branch 'master': bpo-42029: Remove IRIX code (GH-23023) https://github.com/python/cpython/commit/5776663675b48f011d428a5874cc3c79d1deb59e --

[issue42197] Disable automatic update of frame locals during tracing

2020-10-29 Thread Fabio Zadrozny
New submission from Fabio Zadrozny : Right now, when a debugger is active, the number of local variables can affect the tracing speed quite a lot. For instance, having tracing setup in a program such as the one below takes 4.64 seconds to run, yet, changing all the variables to have the same

[issue42196] Python Windows Installation Error 0x800705aa

2020-10-29 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- components: +Windows nosy: +paul.moore, steve.dower, tim.golden, zach.ware ___ Python tracker ___

[issue42196] Python Windows Installation Error 0x800705aa

2020-10-29 Thread shakir_juolay
New submission from shakir_juolay : I have recently changed my laptop and my Admin copied everything from D:\Users\sjuolay folder from the old laptop to new laptop. Both Windows 10. I had Python 3.8 64bit on the old laptop. I am trying to install Python 3.9 64bit on my new laptop. But I

[issue42194] Docs for argparse.BooleanOptionalAction missing "New in version 3.9"

2020-10-29 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +paul.j3, rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue42163] _replace() no longer works on platform.uname_result objects

2020-10-29 Thread Jason R. Coombs
Jason R. Coombs added the comment: Please take a look at the PR. Let me know what you think about the limited compatibility it adds (still doesn't allow _replace on 'processor'). -- ___ Python tracker

[issue40255] Fixing Copy on Writes from reference counting

2020-10-29 Thread STINNER Victor
STINNER Victor added the comment: > Fast shutdown option You can use os._exit(0). -- ___ Python tracker ___ ___ Python-bugs-list

[issue42189] copy.deepcopy() no longer works on platform.uname_result objects

2020-10-29 Thread Jason R. Coombs
Change by Jason R. Coombs : -- keywords: +patch pull_requests: +21945 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23010 ___ Python tracker ___

[issue42189] copy.deepcopy() no longer works on platform.uname_result objects

2020-10-29 Thread Jason R. Coombs
Jason R. Coombs added the comment: Acknowledged. Thanks for the report. I'll likely address this issue alongside the other (same PR). -- assignee: -> jaraco ___ Python tracker

[issue42194] Docs for argparse.BooleanOptionalAction missing "New in version 3.9"

2020-10-29 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch nosy: +python-dev nosy_count: 2.0 -> 3.0 pull_requests: +21944 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23026 ___ Python tracker

[issue42195] Inconsistent __args__ between typing.Callable and collections.abc.Callable

2020-10-29 Thread Zac Hatfield-Dodds
New submission from Zac Hatfield-Dodds : The two ways of getting a parametrised Callable have inconsistent __args__: >>> import collections.abc, typing >>> typing.Callable[[int, int], int].__args__ (int, int, int) >>> collections.abc.Callable[[int, int], int].__args__

[issue42194] Docs for argparse.BooleanOptionalAction missing "New in version 3.9"

2020-10-29 Thread shangxiao
shangxiao added the comment: Here's the section in the docs for BooleanOptionalAction: https://docs.python.org/3.9/library/argparse.html#action -- title: BooleanOptionalAction missing "New in version 3.9" -> Docs for argparse.BooleanOptionalAction missing "New in version 3.9"

[issue42156] Currency not correct for all locales

2020-10-29 Thread Eric V. Smith
Change by Eric V. Smith : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue38894] Path.glob() sometimes misses files that match

2020-10-29 Thread daniel hahler
Change by daniel hahler : -- nosy: +blueyed nosy_count: 4.0 -> 5.0 pull_requests: +21943 pull_request: https://github.com/python/cpython/pull/23025 ___ Python tracker ___

[issue24120] pathlib.(r)glob stops on PermissionDenied exception

2020-10-29 Thread daniel hahler
Change by daniel hahler : -- nosy: +blueyed nosy_count: 7.0 -> 8.0 pull_requests: +21942 pull_request: https://github.com/python/cpython/pull/23025 ___ Python tracker ___

[issue42194] BooleanOptionalAction missing "New in version 3.9"

2020-10-29 Thread shangxiao
New submission from shangxiao : The section that describes BooleanOptionalAction just requires a "New in version 3.9" tag -- assignee: docs@python components: Documentation messages: 379867 nosy: docs@python, shangxiao priority: normal severity: normal status: open title:

[issue41261] 3.9-dev SEGV in object_recursive_isinstance in ast.literal_eval

2020-10-29 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +21940 pull_request: https://github.com/python/cpython/pull/23024 ___ Python tracker ___

[issue41631] _ast module: get_global_ast_state() doesn't work with Mercurial lazy import

2020-10-29 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +21941 pull_request: https://github.com/python/cpython/pull/23024 ___ Python tracker ___

[issue41194] Python 3.9.0b3 crash on compile() in PyAST_Check() when the _ast module is loaded more than once

2020-10-29 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +21939 pull_request: https://github.com/python/cpython/pull/23024 ___ Python tracker ___

[issue41796] _ast module state should be made per interpreter

2020-10-29 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +21938 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23024 ___ Python tracker ___

[issue42143] Corruptions in func_dealloc() with partially-created function object

2020-10-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 60324d26b58c89d68abb23fb42f1563d395c3910 by Miss Skeleton (bot) in branch '3.9': bpo-42143: Ensure PyFunction_NewWithQualName() can't fail after creating the func object (GH-22953) (GH-23021)

[issue42143] Corruptions in func_dealloc() with partially-created function object

2020-10-29 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.8, Python 3.9 ___ Python tracker ___

[issue42029] Remove dynload_dl.c

2020-10-29 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +21937 pull_request: https://github.com/python/cpython/pull/23023 ___ Python tracker ___

[issue42193] Improve socket.bind error message

2020-10-29 Thread flying sheep
Change by flying sheep : -- components: +IO versions: +Python 3.8 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue42193] Improve socket.bind error message

2020-10-29 Thread flying sheep
New submission from flying sheep : In the end of my stack trace, I just see File "...", line 174, in bind_sockets sock.bind(sockaddr) OSError: [Errno 99] Cannot assign requested address It would be useful if it would tell me which socket that was in the error message.

[issue42143] Corruptions in func_dealloc() with partially-created function object

2020-10-29 Thread miss-islington
miss-islington added the comment: New changeset 9ede1b071bf5250ba5f2d04d7ba86a24c06d41a1 by Miss Skeleton (bot) in branch '3.8': bpo-42143: Ensure PyFunction_NewWithQualName() can't fail after creating the func object (GH-22953)

[issue42143] Corruptions in func_dealloc() with partially-created function object

2020-10-29 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 1.0 -> 2.0 pull_requests: +21935 pull_request: https://github.com/python/cpython/pull/23021 ___ Python tracker

[issue42143] Corruptions in func_dealloc() with partially-created function object

2020-10-29 Thread miss-islington
Change by miss-islington : -- pull_requests: +21936 pull_request: https://github.com/python/cpython/pull/23022 ___ Python tracker ___

[issue42143] Corruptions in func_dealloc() with partially-created function object

2020-10-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 350526105fa9b131d8b941ae753378b741dabb2f by Yonatan Goldschmidt in branch 'master': bpo-42143: Ensure PyFunction_NewWithQualName() can't fail after creating the func object (GH-22953)

[issue42192] Python Windows .exe Installer ignores /TargetDir if there is an existing installation

2020-10-29 Thread Martin Gfeller
Martin Gfeller added the comment: Windows Version is Windows 10, version 1803 (build 17134.1726). -- ___ Python tracker ___ ___

[issue42189] copy.deepcopy() no longer works on platform.uname_result objects

2020-10-29 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- nosy: +jaraco ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34204] Bump the default pickle protocol in shelve

2020-10-29 Thread Cheryl Sabella
Change by Cheryl Sabella : -- nosy: -miss-islington resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue34204] Bump the default pickle protocol in shelve

2020-10-29 Thread miss-islington
miss-islington added the comment: New changeset df59273c7a384ea8c890fa8e9b80c92825df841c by Zackery Spytz in branch 'master': bpo-34204: Use pickle.DEFAULT_PROTOCOL in shelve (GH-19639) https://github.com/python/cpython/commit/df59273c7a384ea8c890fa8e9b80c92825df841c -- nosy:

[issue42183] Stack overflow error with asyncio.all_tasks and wait_for

2020-10-29 Thread Andrew Svetlov
Andrew Svetlov added the comment: The fix is ready -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42183] Stack overflow error with asyncio.all_tasks and wait_for

2020-10-29 Thread Andrew Svetlov
Change by Andrew Svetlov : -- keywords: +patch pull_requests: +21934 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23020 ___ Python tracker ___

[issue42192] Python Windows .exe Installer ignores /TargetDir if there is an existing installation

2020-10-29 Thread Martin Gfeller
New submission from Martin Gfeller : I would like to install Python in a new location, completely separate and not affecting an existing installation of the same version. Despite I use /TargetDir=newdir, the installer goes into the "Modify Setup" dialog. If I chose "Modify", it shows my

[issue42183] Stack overflow error with asyncio.all_tasks and wait_for

2020-10-29 Thread Andrew Svetlov
Change by Andrew Svetlov : -- type: -> crash versions: +Python 3.10, Python 3.7 ___ Python tracker ___ ___ Python-bugs-list

[issue42183] Stack overflow error with asyncio.all_tasks and wait_for

2020-10-29 Thread Andrew Svetlov
Andrew Svetlov added the comment: Update: the bug is present in all supported Python versions bug sometimes may be hidden by race conditions. -- ___ Python tracker ___

[issue42191] lib.argparse._check_value() using repr instead of str

2020-10-29 Thread Aschwin
Change by Aschwin : -- title: lib.argparse._check_value() using repre instead of str -> lib.argparse._check_value() using repr instead of str ___ Python tracker ___

[issue42183] Stack overflow error with asyncio.all_tasks and wait_for

2020-10-29 Thread Andrew Svetlov
Andrew Svetlov added the comment: I cannot reproduce on 3.9 but 3.8.6 crashes on `repr`: File "/home/andrew/.pyenv/versions/3.8.6/lib/python3.8/asyncio/base_futures.py", line 31 in format_cb File "/home/andrew/.pyenv/versions/3.8.6/lib/python3.8/asyncio/base_futures.py", line 34 in

[issue42191] lib.argparse._check_value() using repre instead of str

2020-10-29 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +paul.j3, rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue42191] lib.argparse._check_value() using repre instead of str

2020-10-29 Thread Aschwin
New submission from Aschwin : When using a custom type in add_argument(), the error message on an incorrect value uses repr instead of str, which looks ugly. Example code: login2account = { c.account.login: c.account for c in self.admin.get_accounts() } action_add_parser.add_argument(

  1   2   >