[issue43905] dataclasses.astuple (and .asdict) do deepcopy on all fields

2021-11-29 Thread miss-islington
miss-islington added the comment: New changeset 376b24e4f69cba53bae9856e9d076af47bb2b6c6 by Miss Islington (bot) in branch '3.9': bpo-43905: Expand dataclasses.astuple() and asdict() docs (GH-26154) https://github.com/python/cpython/commit/376b24e4f69cba53bae9856e9d076af47bb2b6c6

[issue43905] dataclasses.astuple (and .asdict) do deepcopy on all fields

2021-11-29 Thread Andrei Kulakov
Andrei Kulakov added the comment: Thank you for reviewing Eric! -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue45582] Rewrite getpath.c in Python

2021-11-29 Thread Steve Dower
Steve Dower added the comment: It's one data point (well, statistics over 1000 points), but it looks like it's actually a slight improvement in performance over the previous code on Windows :) before after min 23.103 22.154 25% 25.069 23.59925 50% 25.8125 24.2715 75% 26.65175

Python child process in while True loop blocks parent

2021-11-29 Thread Jen Kris via Python-list
I have a C program that forks to create a child process and uses execv to call a Python program.  The Python program communicates with the parent process (in C) through a FIFO pipe monitored with epoll().  The Python child process is in a while True loop, which is intended to keep it running

[issue45451] IDLE Shell GUI - remove window border

2021-11-29 Thread Raymond Hettinger
Raymond Hettinger added the comment: I request that this entire new feature be reverted. Having used it in classroom environment, it has been a catastrophe for teaching and is a significant regression in usability. Here are my notes so far: 1) As the OP says, this strong vertical line is

[issue44391] PC/launcher.c,one more argument than required

2021-11-29 Thread Vinay Sajip
Change by Vinay Sajip : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.9 ___ Python tracker ___

[issue44391] PC/launcher.c,one more argument than required

2021-11-29 Thread Vinay Sajip
Vinay Sajip added the comment: New changeset af39cfa6ca1e5dc4e5d28c1f09a875a14354e4ae by Miss Islington (bot) in branch '3.10': [3.10] bpo-44391: Remove unused argument from a varargs call. (GH-29843) (GH-29849)

Re: Failure to Display Top menu

2021-11-29 Thread Peter Mwale
Hello Christian, Am referring to menu marked in picture below. It's not coming on my window. On Sat, Nov 27, 2021, 20:19 Christian Gollwitzer wrote: > Am 26.11.21 um 21:38 schrieb Peter Mwale: > > Hello, my python 3.10 shell is not displaying the top menu. What should I > > do? > > > > You

Re: Python child process in while True loop blocks parent

2021-11-29 Thread Cameron Simpson
On 29Nov2021 21:34, Jen Kris wrote: >I have a C program that forks to create a child process and uses execv to call >a Python program.  The Python program communicates with the parent process (in >C) through a FIFO pipe monitored with epoll().  > >The Python child process is in a while True

[issue7951] Should str.format allow negative indexes when used for __getitem__ access?

2021-11-29 Thread Raymond Hettinger
Raymond Hettinger added the comment: I recommend not adding support for negative indexing to format() for accessing positional arguments. There is almost no reason to do this because it almost always makes the format string less readable, because the number of arguments is always known in

[issue45921] codecs module doesn't support iso-8859-6-i, iso-8859-6-e, iso-8859-8-i or iso-8859-8-i

2021-11-29 Thread Mark Sapiro
Mark Sapiro added the comment: The mailman-us...@python.org list received a post with the From: header containing a Hebrew display name RFC 2047 encoded with the iso-8859-8-i charset which threw a LookupError: unknown encoding: iso-8859-8-i exception in processing and shunted the message.

[issue45905] Provide a C API for introspectable frames for Cython and similar tools

2021-11-29 Thread da-woods
Change by da-woods : -- nosy: +da-woods ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45931] Directory.Build.props/targets leaks from folders above the repo

2021-11-29 Thread David Federman
New submission from David Federman : When building with Visual Studio 2017+, any Directory.Build.props/targets above the repo in the file structure (eg. in the parent repo when the python repo is a submodule) will be imported automatically. -- components: Build messages: 407320 nosy:

Re: pyinstaller wrong classified as Windows virus

2021-11-29 Thread Benjamin Schollnick
>> Windows Defender has a setting to also use “Reputation Scoring”. >> What that simply means is that WDef will report back a hash to microsoft >> which is then checked to see if it is known. If it is known, then it has a >> reputation and based off that reputation Defender will either allow it

[issue45931] Directory.Build.props/targets leaks from folders above the repo

2021-11-29 Thread David Federman
Change by David Federman : -- keywords: +patch pull_requests: +28082 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29854 ___ Python tracker ___

Re: print('\N{flag: Mauritius}') not supported in py3.9

2021-11-29 Thread Cameron Simpson
On 29Nov2021 22:25, DL Neil wrote: >>> Probably a font issue. Not many fonts support the flags. >> >> Agree about the font support. Some terminal emulators make an effort to >> have fallback fonts for when your preferred font lacks a glyph. IIRC >> urxvt is such a terminal on Linux. > >Not sure

Re: frozenset can be altered by |=

2021-11-29 Thread Chris Angelico
On Tue, Nov 30, 2021 at 8:55 AM Marco Sulla wrote: > > I must say that I'm reading the documentation now, and it's a bit > confusing. In the docs, inplace operators as |= should not work. They > are listed under the set-only functions and operators. But, as we saw, > this is not completely true:

Re: Python child process in while True loop blocks parent

2021-11-29 Thread Barry
> On 29 Nov 2021, at 20:36, Jen Kris via Python-list > wrote: > > I have a C program that forks to create a child process and uses execv to > call a Python program. The Python program communicates with the parent > process (in C) through a FIFO pipe monitored with epoll(). > > The

[issue45933] Illegal Instrution (Core Dumped)

2021-11-29 Thread Tom E
New submission from Tom E : When compiling CPython 3.10 on Ubuntu 22.04, with GCC 11.2.0, it compiles successfully, but when trying to run it it just gives Illegal Instrution (Core Dumped). But when I build 3.9.9 its just fine... CPU is Intel Core i5-10400. -- messages: 407330 nosy:

[issue19022] Improve handling of type.__abstractmethods__ descriptor

2021-11-29 Thread Irit Katriel
Change by Irit Katriel : -- components: +Interpreter Core ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45917] Add math.exp2() function: 2^x

2021-11-29 Thread Mark Dickinson
Mark Dickinson added the comment: All done. Many thanks, Gideon! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue44391] PC/launcher.c,one more argument than required

2021-11-29 Thread Vinay Sajip
Vinay Sajip added the comment: New changeset 4141d94fa608cdf5c8cd3e62f7ea1c27fd41eb8d by Vinay Sajip in branch 'main': bpo-44391: Remove unused argument from a varargs call. (GH-29843) https://github.com/python/cpython/commit/4141d94fa608cdf5c8cd3e62f7ea1c27fd41eb8d --

[issue43905] dataclasses.astuple (and .asdict) do deepcopy on all fields

2021-11-29 Thread miss-islington
Change by miss-islington : -- pull_requests: +28081 pull_request: https://github.com/python/cpython/pull/29852 ___ Python tracker ___

[issue43905] dataclasses.astuple (and .asdict) do deepcopy on all fields

2021-11-29 Thread miss-islington
Change by miss-islington : -- pull_requests: +28080 pull_request: https://github.com/python/cpython/pull/29851 ___ Python tracker ___

[issue43905] dataclasses.astuple (and .asdict) do deepcopy on all fields

2021-11-29 Thread miss-islington
miss-islington added the comment: New changeset c1f93f0d378958dfae4f24aad0c0088e3e04e403 by andrei kulakov in branch 'main': bpo-43905: Expand dataclasses.astuple() and asdict() docs (GH-26154) https://github.com/python/cpython/commit/c1f93f0d378958dfae4f24aad0c0088e3e04e403 --

[issue34820] binascii.c:1578:1: error: the control flow of function ‘binascii_crc32’ does not match its profile data (counter ‘arcs’)

2021-11-29 Thread James Gerity
James Gerity added the comment: The Makefile issue was fixed in bpo-37725 (GitHub: https://github.com/python/cpython/commit/c6bbcd258302b4b9b3d4f3c39bb5f7ff0120ec67), but the change wasn't ported to the 3.7, 3.8 branches. Those versions are now security-only, so this issue can probably just

[issue43905] dataclasses.astuple (and .asdict) do deepcopy on all fields

2021-11-29 Thread Eric V. Smith
Eric V. Smith added the comment: Thanks, @andrei.avk! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed type: -> behavior ___ Python tracker

Re: Failure to Display Top menu

2021-11-29 Thread Calvin Spealman
This mailing list does not allow attachments. If you're trying to share a screenshot, post it to imgur or something like that and share a URL here. On Mon, Nov 29, 2021 at 2:12 PM Peter Mwale wrote: > Hello Christian, > Am referring to menu marked in picture below. It's not coming on my window.

Re: pyinstaller wrong classified as Windows virus

2021-11-29 Thread Mats Wichmann
On 11/29/21 12:04, Benjamin Schollnick wrote: Windows Defender has a setting to also use “Reputation Scoring”. What that simply means is that WDef will report back a hash to microsoft which is then checked to see if it is known. If it is known, then it has a reputation and based off that

Re: Negative subscripts

2021-11-29 Thread dn via Python-list
On 27/11/2021 21.23, Chris Angelico wrote: > On Sat, Nov 27, 2021 at 7:21 PM dn via Python-list > wrote: >> The expression list is evaluated once; it should yield an iterable >> object. An iterator is created for the result of the expression_list. >> The suite is then executed once for each

[issue45931] Directory.Build.props/targets leaks from folders above the repo

2021-11-29 Thread Steve Dower
Steve Dower added the comment: Nice catch, thanks! Did you start the CLA process already? (I personally would exempt this PR from it as "not sufficiently creative", but I'm not sure I'm allowed to do that anymore...) -- ___ Python tracker

Re: Python child process in while True loop blocks parent

2021-11-29 Thread Barry
> On 29 Nov 2021, at 20:36, Jen Kris via Python-list > wrote: > > I have a C program that forks to create a child process and uses execv to > call a Python program. The Python program communicates with the parent > process (in C) through a FIFO pipe monitored with epoll(). > > The

[issue45930] Lambda function bug

2021-11-29 Thread Eric V. Smith
Change by Eric V. Smith : -- resolution: -> not a bug stage: -> resolved status: open -> closed type: -> behavior ___ Python tracker ___

[issue19022] Improve handling of type.__abstractmethods__ descriptor

2021-11-29 Thread Irit Katriel
Change by Irit Katriel : -- versions: +Python 3.10, Python 3.11, Python 3.9 -Python 3.4 ___ Python tracker ___ ___ Python-bugs-list

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

2021-11-29 Thread Guido van Rossum
Guido van Rossum added the comment: There's a similar issue with concurrent.futures.Future, and really, anything that stores exceptions and later raises them can get in trouble if there's a way to get the exception raised multiple times. This is rarely noticed because usually the exception

[issue45917] Add math.exp2() function: 2^x

2021-11-29 Thread Mark Dickinson
Mark Dickinson added the comment: New changeset 6266e4af873a27c9d352115f2f7a1ad0885fc031 by Gideon in branch 'main': bpo-45917: Add math.exp2() method - return 2 raised to the power of x (GH-29829) https://github.com/python/cpython/commit/6266e4af873a27c9d352115f2f7a1ad0885fc031 --

Re: pyinstaller wrong classified as Windows virus

2021-11-29 Thread Benjamin Schollnick
Windows Defender has a setting to also use “Reputation Scoring”. What that simply means is that WDef will report back a hash to microsoft which is then checked to see if it is known. If it is known, then it has a reputation and based off that reputation Defender will either allow it to run or

Re: Negative subscripts

2021-11-29 Thread Chris Angelico
On Tue, Nov 30, 2021 at 6:45 AM dn via Python-list wrote: > > > > On 27/11/2021 21.23, Chris Angelico wrote: > > On Sat, Nov 27, 2021 at 7:21 PM dn via Python-list > > wrote: > >> The expression list is evaluated once; it should yield an iterable > >> object. An iterator is created for the

Re: print('\N{flag: Mauritius}') not supported in py3.9

2021-11-29 Thread dn via Python-list
On 30/11/2021 10.19, Cameron Simpson wrote: > On 29Nov2021 22:25, DL Neil wrote: Probably a font issue. Not many fonts support the flags. >>> >>> Agree about the font support. Some terminal emulators make an effort to >>> have fallback fonts for when your preferred font lacks a glyph. IIRC

[issue44391] PC/launcher.c,one more argument than required

2021-11-29 Thread Vinay Sajip
Vinay Sajip added the comment: New changeset 40a57532a5ad5dfd81ab6c72c5fb2e2dc4509199 by Miss Islington (bot) in branch '3.9': [3.9] bpo-44391: Remove unused argument from a varargs call. (GH-29843) (GH-29850) https://github.com/python/cpython/commit/40a57532a5ad5dfd81ab6c72c5fb2e2dc4509199

[issue26552] Failing ensure_future still creates a Task

2021-11-29 Thread Guido van Rossum
Change by Guido van Rossum : -- keywords: +easy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37699] Explicit mention of raised ValueError's after .detach() of underlying IO buffer

2021-11-29 Thread Brian Skinn
Brian Skinn added the comment: Indeed, I hadn't been thinking about the testing/maintenance burden to CPython or other implementations when I made the suggestion. I no longer have a strong opinion about this change, so I am happy to reject/close. -- resolution: -> rejected stage:

Re: pyinstaller wrong classified as Windows virus

2021-11-29 Thread Barry
> On 29 Nov 2021, at 00:03, anthony.flury via Python-list > wrote: > >  > On 26/11/2021 07:13, Ulli Horlacher wrote >>> But consider another possibility that your compiler software is compromised >> Then https://www.python.org/ftp/python/3.10.0/python-3.10.0-amd64.exe >> is infected. I doubt

[issue45931] Directory.Build.props/targets leaks from folders above the repo

2021-11-29 Thread Eric V. Smith
Change by Eric V. Smith : -- components: +Windows nosy: +paul.moore, steve.dower, tim.golden, zach.ware ___ Python tracker ___ ___

[issue45675] pkgutil.get_data() doesn't add subpackages to parent packages when importing

2021-11-29 Thread Matt Wozniski
Matt Wozniski added the comment: I wondered if it would be backwards compatible to make `pkgutil.get_data()` delegate to `importlib.resources.read_binary()`. It isn't, because `pkgutil.get_data()` accepts a relative path for the resource, and `importlib.resources.read_binary()` accepts only

[issue45582] Rewrite getpath.c in Python

2021-11-29 Thread Steve Dower
Steve Dower added the comment: Basically unchanged on Debian/WSL as well. There's a new conflict arisen, so I'll resolve that and then merge. -- ___ Python tracker ___

[issue44391] PC/launcher.c,one more argument than required

2021-11-29 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 6.0 -> 7.0 pull_requests: +28078 pull_request: https://github.com/python/cpython/pull/29849 ___ Python tracker

[issue44391] PC/launcher.c,one more argument than required

2021-11-29 Thread miss-islington
Change by miss-islington : -- pull_requests: +28079 pull_request: https://github.com/python/cpython/pull/29850 ___ Python tracker ___

[issue17005] Add a topological sort algorithm

2021-11-29 Thread Adrian Garcia Badaracco
Adrian Garcia Badaracco added the comment: As part of working on a tool that deals with dependencies, I was building my own topological sort. I iterated through various APIs (iterable of tasks, iterable of parallelizable groups of tasks, etc.) until I found the (now stdlib) version which

Re: Failure to Display Top menu

2021-11-29 Thread dn via Python-list
On 30/11/2021 07.43, Peter Mwale wrote: > Hello Christian, > Am referring to menu marked in picture below. It's not coming on my window. > > > On Sat, Nov 27, 2021, 20:19 Christian Gollwitzer wrote: > >> Am 26.11.21 um 21:38 schrieb Peter Mwale: >>> Hello, my python 3.10 shell is not

[issue45653] Freeze the encodings module.

2021-11-29 Thread Guido van Rossum
Guido van Rossum added the comment: New changeset 02b5ac6091ada0c2df99c4e1eae37ddccbcd91f0 by Kumar Aditya in branch 'main': bpo-45653: fix test_embed on windows (GH-29814) https://github.com/python/cpython/commit/02b5ac6091ada0c2df99c4e1eae37ddccbcd91f0 -- nosy: +gvanrossum

[issue18531] Undocumented different between METH_KEYWORDS and **kws

2021-11-29 Thread Irit Katriel
Irit Katriel added the comment: This seems fixed in 3.11: >>> from collections import defaultdict >>> '{foo}{bar}'.format(**defaultdict(str)) Traceback (most recent call last): File "", line 1, in KeyError: 'foo' -- nosy: +iritkatriel status: open -> pending

[issue23819] test_asyncio fails when run under -O

2021-11-29 Thread Guido van Rossum
Guido van Rossum added the comment: I'd be happy to mentor someone who wants to tackle this. -- keywords: +easy ___ Python tracker ___

[issue43905] dataclasses.astuple (and .asdict) do deepcopy on all fields

2021-11-29 Thread miss-islington
miss-islington added the comment: New changeset 32f1491a9770b7f2989507ecf8f13ef35dd95b0b by Miss Islington (bot) in branch '3.10': bpo-43905: Expand dataclasses.astuple() and asdict() docs (GH-26154) https://github.com/python/cpython/commit/32f1491a9770b7f2989507ecf8f13ef35dd95b0b

[issue37699] Explicit mention of raised ValueError's after .detach() of underlying IO buffer

2021-11-29 Thread Irit Katriel
Irit Katriel added the comment: What is the advantage of making the doc more specific in this manner? If we do change the doc like this, we need to add unit test ensuring that this is the behaviour, and we need are committing cpython (and all other python implementations) to behave like

[issue45917] Add math.exp2() function: 2^x

2021-11-29 Thread Tim Peters
Tim Peters added the comment: Bad news: on Windows, exp2(x) is way worse then pow(2, x). Here I changed the loop of Mark's little driver like so: differ = really_bad = 0 worst = 0.0 for n in range(100_000): x = random.uniform(-1000.0, 999.0) + random.random() if

Re: frozenset can be altered by |=

2021-11-29 Thread Marco Sulla
I must say that I'm reading the documentation now, and it's a bit confusing. In the docs, inplace operators as |= should not work. They are listed under the set-only functions and operators. But, as we saw, this is not completely true: they work but they don't mutate the original object. The same

[issue45932] EmailMessage incorrectly splits reply-to header

2021-11-29 Thread Alexander Mohr
New submission from Alexander Mohr : If you have a reply-to list that contains a name with a comma it must be quoted, however if the line length is just right python with split the name incorrectly and not keep the quote. Note that the CC line keeps the quote in the name but the reply-to

[issue45847] Port module setup to PY_STDLIB_MOD() macro and addext()

2021-11-29 Thread Christian Heimes
Christian Heimes added the comment: GH-29768 broke builds on platforms without sem_open (e.g. wasm). GH-29833 fixes the issue. emcc -Wsign-compare -g -O0 -Wall-std=c99 -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wstrict-prototypes

[issue37658] In some cases asyncio.wait_for can lead to socket leak.

2021-11-29 Thread miss-islington
Change by miss-islington : -- pull_requests: +28062 pull_request: https://github.com/python/cpython/pull/29832 ___ Python tracker ___

[issue43498] "dictionary changed size during iteration" error in _ExecutorManagerThread

2021-11-29 Thread Mark Ao
Mark Ao added the comment: I'm experiencing the same issue on Python 3.10.0 when I execute the code that uses concurrent.futures.ProcessPoolExecutor. Exception in thread Thread-1: Traceback (most recent call last): File "/usr/local/lib/python3.10/threading.py", line 1009, in

[issue37658] In some cases asyncio.wait_for can lead to socket leak.

2021-11-29 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset 934a82623793e9d52b85f74d5395d65927a52205 by Sam Bull in branch 'main': bpo-37658: Actually return result in race condition (GH-29202) https://github.com/python/cpython/commit/934a82623793e9d52b85f74d5395d65927a52205 --

[issue37658] In some cases asyncio.wait_for can lead to socket leak.

2021-11-29 Thread miss-islington
Change by miss-islington : -- pull_requests: +28063 pull_request: https://github.com/python/cpython/pull/29831 ___ Python tracker ___

[issue45847] Port module setup to PY_STDLIB_MOD() macro and addext()

2021-11-29 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +28064 pull_request: https://github.com/python/cpython/pull/29833 ___ Python tracker ___

[issue45922] Many method, function, built-in... are not clickable and should be

2021-11-29 Thread Alex Waygood
Alex Waygood added the comment: I'm already attempting something similar over at https://bugs.python.org/issue45840 (though that issue is for one specific piece of documentation). See also my attached PR, and the comments on it :) -- nosy: +AlexWaygood, eric.araujo versions:

[issue45739] The Python implementation of Decimal does not support the "N" format

2021-11-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: You are right about an uppercase converter. I forget this. I withdraw this proposition. It seems that even if we add support of "N" to all numeric formatting it will not cover all use cases. "n" is a locale specific variant of "g", but other formats

[issue45847] Port module setup to PY_STDLIB_MOD() macro and addext()

2021-11-29 Thread Christian Heimes
Christian Heimes added the comment: New changeset 4dc198dedd66e3247aa934fb91c9a158c3eea15a by Christian Heimes in branch 'main': bpo-45847: Fix _multiprocessing on platforms without sem_open (GH-29833) https://github.com/python/cpython/commit/4dc198dedd66e3247aa934fb91c9a158c3eea15a

[issue43498] "dictionary changed size during iteration" error in _ExecutorManagerThread

2021-11-29 Thread Andrew Svetlov
Change by Andrew Svetlov : -- assignee: -> asvetlov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43498] "dictionary changed size during iteration" error in _ExecutorManagerThread

2021-11-29 Thread Andrew Svetlov
Andrew Svetlov added the comment: Thanks for the report. Atomic copy (`list(self.processes.values()`) should fix the bug, sure. I doubt if writing a reliable test for this situation is possible; multithreading is hard. I think we can accept a patch without a test but with an inline comment

[issue45922] Many method, function, built-in... are not clickable and should be

2021-11-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: It is a good idea in general. Please go ahead, I am sure that the PR will be accepted. But keep in mind that not always additional links make the documentation better. The rule of tumb is to not add multiple links to the same entity in one paragraph. In

Re: print('\N{flag: Mauritius}') not supported in py3.9

2021-11-29 Thread dn via Python-list
On 29/11/2021 12.06, Cameron Simpson wrote: > On 29Nov2021 09:19, Chris Angelico wrote: >> On Mon, Nov 29, 2021 at 8:10 AM dn via Python-list >> wrote: >>> However, when trying the above, with our local flag in (Fedora Linux, >>> Gnome) Terminal or PyCharm's Run terminal; the two letters "N" and

[issue45614] traceback of exception with non-unicode __module__

2021-11-29 Thread Irit Katriel
Irit Katriel added the comment: New changeset 4d2cc3ed46d2453bad92243128e237e7febca714 by Irit Katriel in branch '3.10': bpo-45614: Fix traceback display for exceptions with invalid module name (GH-29726) (GH-29826)

[issue45870] There's no readline module on Windows Python (cmd.Cmd)

2021-11-29 Thread keeely
keeely added the comment: Regrettably I cannot submit a PR for the docs because I value my online anonymity and Python submissions require a real name (IIRC), but my suggestion would be pretty simple. Taking as an example, for termios (https://docs.python.org/3/library/termios.html), we

[issue45922] Many method, function, built-in... are not clickable and should be

2021-11-29 Thread Arthur Milchior
Arthur Milchior added the comment: Thanks for the warning about double link. I agree with you. I guess it's another reason why it would be non trivial to automate here. -- ___ Python tracker

[issue45870] There's no readline module on Windows Python (cmd.Cmd)

2021-11-29 Thread keeely
keeely added the comment: I'm attaching an example usage of cmd + readline to show how you can have context-specific history for sub-shells. WARNING: WRITES FILES TO CWD! In the event that someone does implement this on Windows it would be nice if this worked. That doesn't mean

[issue45614] traceback of exception with non-unicode __module__

2021-11-29 Thread Irit Katriel
Irit Katriel added the comment: New changeset 5b6aa6ce20b5b3b45dec2ebd6355e248cdf2fbcc by Irit Katriel in branch '3.9': bpo-45614: Fix traceback display for exceptions with invalid module name (GH-29726) (GH-29827)

[issue45614] traceback of exception with non-unicode __module__

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

[issue45921] codecs module doesn't support iso-8859-6-i, iso-8859-6-e, iso-8859-8-i or iso-8859-8-i

2021-11-29 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Even though these are IANA recognized encodings, we need to apply he same logic as we do for all new encodings, which essentially boils down to: Are these encoding in wider spread use today ? Reading through the RFC 1556, it seems that the added -i or

[issue40280] Consider supporting emscripten/webassembly as a build target

2021-11-29 Thread Christian Heimes
Christian Heimes added the comment: New changeset b3f443a35e08a473d52868621e9b268259139cb2 by Erlend Egeberg Aasland in branch 'main': bpo-40280: Disable unusable core extension modules on emscripten (GH-29834) https://github.com/python/cpython/commit/b3f443a35e08a473d52868621e9b268259139cb2

[issue45881] Cross compiling on Linux is untested, undocumented, and broken

2021-11-29 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +28066 pull_request: https://github.com/python/cpython/pull/29835 ___ Python tracker ___

[issue37658] In some cases asyncio.wait_for can lead to socket leak.

2021-11-29 Thread miss-islington
miss-islington added the comment: New changeset 305236e03a274850be8ed399ea3390ee71519ef4 by Miss Islington (bot) in branch '3.10': bpo-37658: Actually return result in race condition (GH-29202) https://github.com/python/cpython/commit/305236e03a274850be8ed399ea3390ee71519ef4 --

[issue23819] test_asyncio fails when run under -O

2021-11-29 Thread STINNER Victor
Change by STINNER Victor : -- nosy: -vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40280] Consider supporting emscripten/webassembly as a build target

2021-11-29 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- nosy: +erlendaasland nosy_count: 11.0 -> 12.0 pull_requests: +28065 pull_request: https://github.com/python/cpython/pull/29834 ___ Python tracker

[issue45921] codecs module doesn't support iso-8859-6-i, iso-8859-6-e, iso-8859-8-i or iso-8859-8-i

2021-11-29 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- versions: +Python 3.11 -Python 3.6, Python 3.7, Python 3.8, Python 3.9 ___ Python tracker ___ ___

[issue43498] "dictionary changed size during iteration" error in _ExecutorManagerThread

2021-11-29 Thread Alex Waygood
Change by Alex Waygood : -- nosy: +colesbury ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45923] Improve performance of sys.settracing based tools.

2021-11-29 Thread Mark Shannon
New submission from Mark Shannon : In our quest for performance, the performance of sys.settracing based tools has probably gotten worse. 1. How do we measure this? 2. How do fix this? We will initially use coverage.py as proxy for all sys.settracing based tools when measuring performance.

[issue45847] Port module setup to PY_STDLIB_MOD() macro and addext()

2021-11-29 Thread Christian Heimes
Christian Heimes added the comment: New changeset f7a62f24053c82cf38c3db5848d9ff014470fa40 by Erlend Egeberg Aasland in branch 'main': bpo-45847: Make socket module conditional (GH-29769) https://github.com/python/cpython/commit/f7a62f24053c82cf38c3db5848d9ff014470fa40 --

[issue45902] Bytes and bytesarrays can be sorted with a much faster count sort.

2021-11-29 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: On 26.11.2021 10:56, Ruben Vorderman wrote: > > $ python -m timeit -c "from bytes_sort import bytes_sort" "bytes_sort(b'')" > 50 loops, best of 5: 495 nsec per loop Shouldn't this read: $ python -m timeit -s "from bytes_sort import bytes_sort"

[issue45114] bad example for os.stat

2021-11-29 Thread jiahua wang
Change by jiahua wang : -- keywords: +patch nosy: +wangjiahua nosy_count: 2.0 -> 3.0 pull_requests: +28074 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29845 ___ Python tracker

[issue45723] Improve and simplify configure.ac checks

2021-11-29 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- pull_requests: +28075 pull_request: https://github.com/python/cpython/pull/29846 ___ Python tracker ___

[Python-announce] ANN: astropy 5.0 released

2021-11-29 Thread Thomas Robitaille
Dear colleagues, We are very happy to announce the v5.0 release of astropy, a core Python package for Astronomy: http://www.astropy.org The astropy core package is a community-driven Python package intended to contain much of the core functionality and common tools needed for astronomy and

[issue45927] timeit accepts -c/--clock and -t/--time without any functionality

2021-11-29 Thread Marc-Andre Lemburg
New submission from Marc-Andre Lemburg : >From the code: opts, args = getopt.getopt(args, "n:u:s:r:tcpvh", ["number=", "setup=", "repeat=", "time", "clock", "process", "verbose",

[issue44675] Cross-platform issues with private methods and multiprocessing

2021-11-29 Thread Andrei Kulakov
Andrei Kulakov added the comment: If we are not going to fix this issue in pickling at this time, I think it makes sense to raise an error with a good, clear explanation in multiprocessing.Process(target=self.__method), which is affected by this and caused some confusion in this issue:

[issue24301] gzip module failing to decompress valid compressed file

2021-11-29 Thread Ruben Vorderman
Ruben Vorderman added the comment: >From the spec: https://datatracker.ietf.org/doc/html/rfc1952 2.2. File format A gzip file consists of a series of "members" (compressed data sets). The format of each member is specified in the following section. The members simply

[issue45875] gzip.decompress performance can be improved with memoryviews

2021-11-29 Thread Ruben Vorderman
Change by Ruben Vorderman : -- stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue45476] [C API] Disallow using PyFloat_AS_DOUBLE() as l-value

2021-11-29 Thread STINNER Victor
STINNER Victor added the comment: PyBytes_AS_STRING() and PyByteArray_AS_STRING() are used to modify string characters, but not used directly as l-value. Search in PyPI top 5000 packages: $ ./search_pypi_top_5000.sh '(PyByteArray|PyBytes)_AS_.*[^!<>=]=[^=]'

[issue44391] PC/launcher.c,one more argument than required

2021-11-29 Thread Vinay Sajip
Change by Vinay Sajip : -- keywords: +patch pull_requests: +28072 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29843 ___ Python tracker ___

[issue45847] Port module setup to PY_STDLIB_MOD() macro and addext()

2021-11-29 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +28073 pull_request: https://github.com/python/cpython/pull/29844 ___ Python tracker ___

[issue45926] singledispatchmethod doesn't handle named arguments

2021-11-29 Thread Alex Waygood
Alex Waygood added the comment: This is arguably a duplicate of https://bugs.python.org/issue41122 -- nosy: +AlexWaygood, lukasz.langa, rhettinger versions: +Python 3.11 ___ Python tracker

[issue45912] [argparse] Print texts starting with capital letters and finish with dot for more formality

2021-11-29 Thread Eric V. Smith
Eric V. Smith added the comment: I agree with @iritkatriel. Also, such a change to argparse would be too disruptive. So, I'm going to close this. -- components: +Library (Lib) -Parser nosy: +eric.smith resolution: -> wont fix stage: -> resolved status: open -> closed type: ->

  1   2   >