[issue41542] module `__all__` cannot detect function name with `φ`

2020-08-14 Thread Steven D'Aprano
Steven D'Aprano added the comment: On Fri, Aug 14, 2020 at 02:03:37PM +, Seth Woodworth wrote: > I'm exploring what unicode code points can be used as valid starting > characters for identifiers. I presume you have seen the documention here: https://docs.python.org/3/reference/lexical_an

[issue41513] Scale by power of two in math.hypot()

2020-08-14 Thread Tim Peters
Tim Peters added the comment: Cute: for any number of arguments, try computing h**2, then one at a time subtract a**2 (an argument squared) in descending order of magnitude. Call that (h**2 - a1**2 - a2**2 - ...) x. Then h -= x/(2*h) That should reduce errors too, although not nearly

[issue41513] Scale by power of two in math.hypot()

2020-08-14 Thread Raymond Hettinger
Raymond Hettinger added the comment: Update: def hypot(*coords): # Corrected, unfused: https://arxiv.org/pdf/1904.09481.pdf # Simplified version omits scaling and handling of wide ranges # Has 1 ulp error 0.44% of the time (0.54% per the paper). # Can be red

[issue41541] [PATCH] Make pty.spawn set window size

2020-08-14 Thread Soumendra Ganguly
Change by Soumendra Ganguly : -- title: Make pty.spawn set window size [ patch + before, after screenshots ] -> [PATCH] Make pty.spawn set window size ___ Python tracker ___ _

[issue41541] Make pty.spawn set window size [ patch + before, after screenshots ]

2020-08-14 Thread Soumendra Ganguly
Soumendra Ganguly added the comment: Additional note: I am using the i3wm window manager. No desktop environment. -- nosy: -mark.dickinson, meador.inge ___ Python tracker ___

[issue41541] Make pty.spawn set window size [ patch + before, after screenshots ]

2020-08-14 Thread Soumendra Ganguly
Change by Soumendra Ganguly : -- nosy: +mark.dickinson, meador.inge ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue41541] Make pty.spawn set window size [ patch + before, after screenshots ]

2020-08-14 Thread Soumendra Ganguly
Soumendra Ganguly added the comment: I am new to BPO. Just learned how to make someone nosy. @twouters, I have attached all resources. This is ready for a review. Thank you. -- nosy: +twouters ___ Python tracker

[issue41555] re.sub replaces twice

2020-08-14 Thread Ma Lin
Ma Lin added the comment: The re.sub() doc said: Changed in version 3.7: Empty matches for the pattern are replaced when adjacent to a previous non-empty match. IMO 3.7+ behavior is more reasonable, and it fixed a bug, see issue25054. -- nosy: +malin

[issue41541] Make pty.spawn set window size [ patch + before, after screenshots ]

2020-08-14 Thread Soumendra Ganguly
Soumendra Ganguly added the comment: Adding the test program [ test.py ] as an attachment. It was taken from https://docs.python.org/3/library/pty.html. How to reproduce issue: 1. Notice that the xterm window in before.png is not too wide; this makes the output of "ls" wrap around the xterm

[issue35786] get_lock() method is not present for Values created using multiprocessing.Manager()

2020-08-14 Thread Ned Deily
Change by Ned Deily : -- nosy: +davin, pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue35786] get_lock() method is not present for Values created using multiprocessing.Manager()

2020-08-14 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- nosy: +Jeffrey.Kintscher ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue41552] uuid.uuid1() on certain Macs does not generate unique IDs

2020-08-14 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- nosy: +Jeffrey.Kintscher ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue41513] Scale by power of two in math.hypot()

2020-08-14 Thread Raymond Hettinger
Raymond Hettinger added the comment: Per the referenced paper, here's what is involved in further reducing error: def hypot(*coords): # Corrected, unfused: https://arxiv.org/pdf/1904.09481.pdf # Simplified version omits scaling and handling of wide ranges. # Only ha

[issue41552] uuid.uuid1() on certain Macs does not generate unique IDs

2020-08-14 Thread Terry Greeniaus
Terry Greeniaus added the comment: xoring does not guarantee uniqueness and has a good chance of discarding it, so it seems like a bad idea to me. Suppose I have exactly two adapters with MAC addresses 0 and 3. Suppose you have exactly two adapters with MAC addresses 1 and 2. We'll both xor

[issue41553] encoded-word abused for header line folding causes RFC 2047 violation

2020-08-14 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- nosy: +Jeffrey.Kintscher ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue41513] Scale by power of two in math.hypot()

2020-08-14 Thread Raymond Hettinger
Raymond Hettinger added the comment: This paper addresses the topic directly: https://arxiv.org/pdf/1904.09481.pdf I tried to reproduce the results shown in Table 1 of the paper. For clib hypot(), they get 1 ulp errors 12.91% of the time. On my build, using the same gaussian distribution,

[issue41541] Make pty.spawn set window size [ patch + before, after screenshots ]

2020-08-14 Thread Soumendra Ganguly
Change by Soumendra Ganguly : -- title: Make pty.spawn set window size [ + before, after screenshots ] -> Make pty.spawn set window size [ patch + before, after screenshots ] ___ Python tracker _

[issue41541] Make pty.spawn set window size [ + before, after screenshots ]

2020-08-14 Thread Soumendra Ganguly
Soumendra Ganguly added the comment: Screenshot: output of "ls" after the patch is applied. -- Added file: https://bugs.python.org/file49392/after.png ___ Python tracker ___ _

[issue41541] Make pty.spawn set window size [ + before, after screenshots ]

2020-08-14 Thread Soumendra Ganguly
Soumendra Ganguly added the comment: Screenshot: output of "ls" before the patch is applied. -- title: Make pty.spawn set window size -> Make pty.spawn set window size [ + before, after screenshots ] Added file: https://bugs.python.org/file49391/before.png ___

[issue41513] Scale by power of two in math.hypot()

2020-08-14 Thread Raymond Hettinger
Raymond Hettinger added the comment: > While we're doing this, any chance we could special-case > the two-argument hypot to use the libm hypot directly? Yes, that is an easy amendment (see below). I just tried it out on the macOs build but didn't see a change in accuracy from the current PR

[issue41555] re.sub replaces twice

2020-08-14 Thread S. Zhang
New submission from S. Zhang : The following command produced "name.tsvtsv" with version 3.7.1 and 3.8.5 instead of the expected "name.tsv" from version 2.7.5, 3.5.6, and 3.6.7. Changing * to + produced expected "name.tsv". python -c 'import re; v="name.txt";v = re.sub("[^\.]*$", "tsv", v);p

[issue41546] pprint() gives exception when ran from pythonw

2020-08-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: If you run in windowed mode, you are expected to either not use sys.stdout or to provide a working sys.stdout object. I am not sure if that is explicitly documented as I cannot find python.exe and pythonw.exe or .py or .pyw in the index and https://docs.pyt

[issue41553] encoded-word abused for header line folding causes RFC 2047 violation

2020-08-14 Thread Erik Quaeghebeur
Erik Quaeghebeur added the comment: We also shouldn't forget Resent-Message-Id. So in the header registry , 'message-id': MessageIDHeader, should be replaced by 'message-id': U

[issue41541] Make pty.spawn set window size

2020-08-14 Thread Soumendra Ganguly
Soumendra Ganguly added the comment: v0.2 moves _setwinsz block to parent after fork. -- Added file: https://bugs.python.org/file49390/pty.diff ___ Python tracker ___

[issue41521] Replace whitelist/blacklist with allowlist/denylist

2020-08-14 Thread STINNER Victor
STINNER Victor added the comment: > That said, I concur with Serhiy that there should be a discussion before > making a unilateral and stealthy change to the rules about how people are > allowed to write technical prose. I suggest you to join the discussion there: https://github.com/python/d

[issue41183] Workaround or fix for SSL ".._KEY_TOO_SMALL" test failures

2020-08-14 Thread Miro Hrončok
Miro Hrončok added the comment: Does testing with the environment variable OPENSSL_CONF=/non-existing-file workaround the remaining issues? -- ___ Python tracker ___ _

[issue41516] venv activate scripts do not pass ShellCheck

2020-08-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: (3.6 only gets security fixes.) Please be more specific: venv produces 6 types of scripts. Which type(s) are seen as buggy? Can you paste a script produced by venv and its ShellCheck output? (The web site has a paste-in box.) Have you used ShellCheck?

[issue41183] Workaround or fix for SSL ".._KEY_TOO_SMALL" test failures

2020-08-14 Thread Miro Hrončok
Change by Miro Hrončok : -- nosy: +hroncok nosy_count: 2.0 -> 3.0 pull_requests: +21005 pull_request: https://github.com/python/cpython/pull/21882 ___ Python tracker ___ ___

[issue41527] smart quotes in Lib/pydoc_data/topics.py file

2020-08-14 Thread Ned Deily
Ned Deily added the comment: Sorry, my previous response was incomplete and I closed this prematurely. Re-opening. -- resolution: duplicate -> stage: resolved -> status: closed -> open superseder: Python '--help' has corrupted text. -> ___ Pytho

[issue41527] smart quotes in Lib/pydoc_data/topics.py file

2020-08-14 Thread Ned Deily
Change by Ned Deily : -- Removed message: https://bugs.python.org/msg375424 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue41549] IDLE leaks `_` into hint box

2020-08-14 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I think that I understood what is the issue. 1. Open the IDLE editor, type "foo" and press . The pop-up list does not contain "foo". 2. Switch to the IDLE shell, type "foo = 1" and press . 3. Switch back to the IDLE editor (the cursor points after "foo") an

[issue39994] Redundant code in pprint module.

2020-08-14 Thread Mariatta
Mariatta added the comment: @Palak Kumar Jha, you created a PR for this ticket but it seems that your GitHub account is inactive/has been removed. Do you have a new GitHub account? Are you still interested in continuing on this PR? -- nosy: +Mariatta

[issue41527] smart quotes in Lib/pydoc_data/topics.py file

2020-08-14 Thread Ned Deily
Ned Deily added the comment: The topics file is regenerated by the release manager immediately before tagging a new release. That's what all those commits are. The commands to do so are: cd Doc make venv pydoc-topcs cp build/pydoc-topics/topics.py ../Lib/pydoc_data/topics.py So, once the

[issue41545] gc API requiring matching number of gc.disable - gc.enable calls

2020-08-14 Thread Ammar Askar
Ammar Askar added the comment: > I'd expected the GC to be truly enabled only on the second call to > `enable()`, but apparently it's enabled on the first call :( Both > `gc.enable()` and `gc.disable()` just write `1`/`0` to `gcstate->enabled`, > respectively. I don't think this API makes m

[issue41546] pprint() gives exception when ran from pythonw

2020-08-14 Thread Luiz
Luiz added the comment: If this is normal behavior, then why does print() not produce any error? Shouldn't it say that it can't print because there's no stdout? That's not very consistent, both functions have almost the same name yet produce very different results. -- _

[issue41521] Replace whitelist/blacklist with allowlist/denylist

2020-08-14 Thread Raymond Hettinger
Raymond Hettinger added the comment: > I would prefer avoiding python-dev, since there are many > trolls there who like to argue but not try to fix problem. It's not a good precedent to define as trolls anyone who might legitimately disagree, nor is it a good precedent to bypass discussion e

[issue41549] IDLE leaks `_` into hint box

2020-08-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: I cannot reproduce from the description. More details: OS and maybe version, exact Python version (only most recent releases count as completions have been touched recently), exact key presses and click in which windows. Step 2 should be irrelevant. Step

[issue41025] C implementation of ZoneInfo cannot be subclassed

2020-08-14 Thread Paul Ganssle
Change by Paul Ganssle : -- stage: patch review -> backport needed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscr

[issue41025] C implementation of ZoneInfo cannot be subclassed

2020-08-14 Thread Paul Ganssle
Paul Ganssle added the comment: Marking as release blocker to put it on the checklist. Feel free to demote it if you decide it should be deferred to 3.9.1. -- priority: high -> release blocker resolution: -> fixed ___ Python tracker

[issue41025] C implementation of ZoneInfo cannot be subclassed

2020-08-14 Thread Paul Ganssle
Paul Ganssle added the comment: Łukasz: Would it be possible to backport / cherry-pick the changes from PR GH-21876 (https://github.com/python/cpython/pull/21876) into the 3.9.0 branch? I think this is a fairly severe issue considering that pendulum is planning to use a zoneinfo subclass. It

[issue41554] PR proceeds to "awaiting core review" when changes are requested

2020-08-14 Thread Irit Katriel
Irit Katriel added the comment: It appears (as per core-mentoring list) that this is the intended behavior. -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker

[issue41510] Mentions of pdb.set_trace() in library/functions and library/sys incorrectly states that set_trace expects no arguments

2020-08-14 Thread Joannah Nanjekye
Change by Joannah Nanjekye : -- nosy: +ronaldoussoren ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue41550] SimpleQueues put blocks if feeded with strings greater than 2**16-13 chars

2020-08-14 Thread Irit Katriel
Irit Katriel added the comment: You probably need to use Queue instead of SimpleQueue: https://docs.python.org/3.8/library/multiprocessing.html#multiprocessing.Queue -- ___ Python tracker __

[issue14527] How to link with a non-system libffi?

2020-08-14 Thread Joshua Merchant
Change by Joshua Merchant : -- nosy: +Joshua Merchant ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue41552] uuid.uuid1() on certain Macs does not generate unique IDs

2020-08-14 Thread Vedran Čačić
Vedran Čačić added the comment: +1 on xoring all MAC addresses to get NodeID. Since it is only done once at import time, it shouldn't be too expensive (many other things including OS calls are done at initialization). But yes, if the problem goes away with new version of _uuid, then the fix i

[issue41550] SimpleQueues put blocks if feeded with strings greater than 2**16-13 chars

2020-08-14 Thread Irit Katriel
Irit Katriel added the comment: I've now reproduced it on osX, with string length of 65515. It takes a different code path than the windows version, and I was able to see more. This seems to be the sequence of events that leads to the hang: import multiprocessing.reduction import struct imp

[issue41546] pprint() gives exception when ran from pythonw

2020-08-14 Thread Steve Dower
Steve Dower added the comment: This is normal, if obscure, behaviour. Pythonw starts without a console, and so stdout is not connected to anything. As a result, you can't print (or pprint). You'll need to set sys.stdout to something or provide a file if you want to print output. If someone

[issue41025] C implementation of ZoneInfo cannot be subclassed

2020-08-14 Thread Paul Ganssle
Paul Ganssle added the comment: New changeset 33d3c64095bcdf9066a3441f6dda5d2e2f4118a8 by Miss Islington (bot) in branch '3.9': bpo-41025: Fix subclassing for zoneinfo.ZoneInfo (GH-20965) (GH-21876) https://github.com/python/cpython/commit/33d3c64095bcdf9066a3441f6dda5d2e2f4118a8 --

[issue41553] encoded-word abused for header line folding causes RFC 2047 violation

2020-08-14 Thread Erik Quaeghebeur
Erik Quaeghebeur added the comment: Note that In-Reply-To can also contain multiple message ids: . It should be treated the same as References. When you say that a message_id parser exists, then that means it is not applied to the Message-Id

[issue41548] Tk Window rendering on macOS Big Sur

2020-08-14 Thread Aivar Annamaa
Aivar Annamaa added the comment: A related discussion is here: https://core.tcl-lang.org/tk/tktview/dcb35fbd78a0bc31ad409cf717f16a472ca3f627 -- nosy: +Aivar.Annamaa ___ Python tracker __

[issue41553] encoded-word abused for header line folding causes RFC 2047 violation

2020-08-14 Thread R. David Murray
R. David Murray added the comment: It's not really an abuse. It is, however, buggy. It should be being applied *only* when the header contains unstructured text. Unfortunately I made the choice to treat any header that doesn't have a specific parser as unstructured, and that was a wrong c

[issue40994] Very confusing documenation for abc.Collections

2020-08-14 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch nosy: +python-dev nosy_count: 6.0 -> 7.0 pull_requests: +21004 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21880 ___ Python tracker _

[issue41542] module `__all__` cannot detect function name with `φ`

2020-08-14 Thread Seth Woodworth
Seth Woodworth added the comment: @Steven, I'm exploring what unicode code points can be used as valid starting characters for identifiers. I'm looping over the code point ranges with the XID_START property and attempting to add them to globals() to see if they maintain the same representa

[issue41554] PR proceeds to "awaiting core review" when changes are requested

2020-08-14 Thread Eric V. Smith
Eric V. Smith added the comment: I think this belongs under https://github.com/python/bedevere -- nosy: +eric.smith ___ Python tracker ___

[issue41554] PR proceeds to "awaiting core review" when changes are requested

2020-08-14 Thread Filipe Laíns
Change by Filipe Laíns : -- nosy: +FFY00 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.o

[issue33727] Server.wait_closed() doesn't always wait for its transports to fihish

2020-08-14 Thread Tom
Tom added the comment: I ran into this while working on an asyncio application using asyncio.start_server. >From the documentation, I expected the combination of `close` and `wait_closed` to wait until all connection handlers have finished. Instead, handlers remaining running with open connect

[issue41552] uuid.uuid1() on certain Macs does not generate unique IDs

2020-08-14 Thread Ronald Oussoren
Ronald Oussoren added the comment: Note that recent commits to the trunk and 3.8 and 3.9 branches have added a _uuid module using libuuid (and the comparable Windows API). I'd expect that this extension will also be used on macOS. I'd advise to check if this issue is still present when using

[issue41554] PR proceeds to "awaiting core review" when changes are requested

2020-08-14 Thread Irit Katriel
New submission from Irit Katriel : When I click on "review" I get three options: comment, approve, and request changes. I assumed that "request changes" would block the PR until the changes were made, but instead in the case of PR 19046 it proceeded to "awaiting core review", which seems to imp

[issue41552] uuid.uuid1() on certain Macs does not generate unique IDs

2020-08-14 Thread Rémi Lapeyre
Rémi Lapeyre added the comment: > The question then is: is there any way for the uuid module to recognize and > ignore such interfaces other than by the hardcoded MAC address? Could uuid1 xor all mac addresses on MacOS? The result would be deterministic and unique as long as there is at least

[issue40994] Very confusing documenation for abc.Collections

2020-08-14 Thread Sydney Pemberton
Sydney Pemberton added the comment: Yes, that would be great. I will figure out how to do that shortly. On Fri, Aug 14, 2020 at 3:23 AM Irit Katriel wrote: > > Irit Katriel added the comment: > > Sydney, do you want to create a PR for this? I'm happy to if you don't. > > -- > >

[issue41546] pprint() gives exception when ran from pythonw

2020-08-14 Thread Luiz
Luiz added the comment: I'm on Windows 7. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue37296] pdb next vs __next__

2020-08-14 Thread Ronald Oussoren
Ronald Oussoren added the comment: Please add more information on how to reproduce the problem. The current description is not complete enough to be able to determine if there is a bug and if so where that bug is. -- nosy: +ronaldoussoren ___ Pyth

[issue41540] Test test_maxcontext_exact_arith (_decimal) consumes all memory on AIX

2020-08-14 Thread David Edelsohn
David Edelsohn added the comment: AIX systems at OSUOSL have been part of the GNU Compile Farm for a decade. It also is the system on which I have been running the Python Buildbot. Any Compile Farm user has access to AIX. https://cfarm.tetaneutral.net/users/new/ Also, IBM is in the process

[issue41552] uuid.uuid1() on certain Macs does not generate unique IDs

2020-08-14 Thread Vedran Čačić
Vedran Čačić added the comment: I'd like to point out that _even_ if you do reuse MAC address: 1. node IDs don't have to be derived from MAC addresses only (though in practice they usually are - I'm just saying the RFC gives you permission to include other information in it). 2. The time res

[issue41553] encoded-word abused for header line folding causes RFC 2047 violation

2020-08-14 Thread Erik Quaeghebeur
New submission from Erik Quaeghebeur : Encoded-word is apparently used for header line folding sometimes. This appears to me as an abuse of this encoding technique. However, that is not the main issue: it also causes a violation of RFC 2074, as it also encodes message id's: https://tools.ietf.

[issue41541] Make pty.spawn set window size

2020-08-14 Thread Soumendra Ganguly
Soumendra Ganguly added the comment: Note that defining _login_pty() was not a cosmetic change; it is reused in spawn(). -- ___ Python tracker ___ ___

[issue41548] Tk Window rendering on macOS Big Sur

2020-08-14 Thread Terry J. Reedy
Change by Terry J. Reedy : -- components: -IDLE title: IDLE Window rendering on macOS Big Sur -> Tk Window rendering on macOS Big Sur ___ Python tracker ___ _

[issue40553] Python 3.8.2 Mac freezing/not responding when saving new programs

2020-08-14 Thread Ned Deily
Ned Deily added the comment: James, thanks very much for your detailed instructions. Alas, once again, I am unable to reproduce the hanging behavior under apparently similar conditions (10.5.6, Documents folder on iCloud, etc). I know this is frustrating to all of us. I have one new concrete

[issue41552] uuid.uuid1() on certain Macs does not generate unique IDs

2020-08-14 Thread Ned Deily
Ned Deily added the comment: FWIW, I see similar behavior on a 2017 MBP running with 10.15.6 or 11.0 (Big Sur) beta 4. That's ... odd that there is a non-unique MAC address. (Not surprisingly, there is no such problem on an iMac that doesn't have the touchbar subsystem.) That particular inte

[issue41550] SimpleQueues put blocks if feeded with strings greater than 2**16-13 chars

2020-08-14 Thread Irit Katriel
Irit Katriel added the comment: On windows 10 it's hanging for me from string length of 8175. Stepping through the code, the hang is in the call to _winapi.WaitForMultipleObjects, in PipeConnection._send_bytes, Lib/multiprocessing/connection.py:288 -- nosy: +iritkatriel __

[issue40204] Docs build error with Sphinx 3.0 due to invalid C declaration

2020-08-14 Thread STINNER Victor
STINNER Victor added the comment: New changeset bb0b08540cc93e56f3f1bde1b39ce086d9e35fe1 by Victor Stinner in branch 'master': bpo-40204: Fix reference to terms in the doc (GH-21865) https://github.com/python/cpython/commit/bb0b08540cc93e56f3f1bde1b39ce086d9e35fe1 -- __

[issue41548] IDLE Window rendering on macOS Big Sur

2020-08-14 Thread Ned Deily
Ned Deily added the comment: OK, I can reproduce the window resizing stuttering on macOS 11 Big Sur (Intel) Developer Beta 4 using the most recent python.org Python 3.8.5 binary installer; the stuttering does not occur with macOS 10.5.6 Catalina or earlier systems. We have been using an olde

[issue33786] @asynccontextmanager doesn't work well with async generators

2020-08-14 Thread Andrew Svetlov
Andrew Svetlov added the comment: Thank you very much, Ned! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue33786] @asynccontextmanager doesn't work well with async generators

2020-08-14 Thread Ned Deily
Ned Deily added the comment: I'm still not sure exactly what happened here but it looks like the backport to 3.7 (PR 7506) from the original fix in master (pre-3.8) (PR 7467) failed but the backport to 3.6 (PR 7507) succeeded. And then it was backported a second time to 3.6 (PR 7514) which

[issue33786] @asynccontextmanager doesn't work well with async generators

2020-08-14 Thread Ned Deily
Ned Deily added the comment: New changeset cf79cbf4479e395bf7c4df2907f5a444639b4f6f by Miss Islington (bot) in branch '3.7': bpo-33786: Fix asynchronous generators to handle GeneratorExit in athrow() (GH-7467) (GH-21878) https://github.com/python/cpython/commit/cf79cbf4479e395bf7c4df2907f5a4

[issue41552] uuid.uuid1() on macOS doesn't generate unique IDs

2020-08-14 Thread Terry Greeniaus
New submission from Terry Greeniaus : I'm using Python 3.8.5 on a 2016 MacBook Pro running macOS Catalina 10.15.3. This model has a touch bar and macOS communicates with the touch bar via a dedicated "iBridge" network interface. The iBridge network interface uses a fixed MAC address that is

[issue41551] test.support has way too many imports in libregrtest

2020-08-14 Thread శ్రీనివాస్ రెడ్డి తాటిపర్తి
New submission from Srinivas Reddy Thatiparthy(శ్రీనివాస్ రెడ్డి తాటిపర్తి) : This issue is inspired from this comment - https://bugs.python.org/msg375367 -- ___ Python tracker __

[issue41551] test.support has way too many imports in libregrtest

2020-08-14 Thread శ్రీనివాస్ రెడ్డి తాటిపర్తి
Change by Srinivas Reddy Thatiparthy(శ్రీనివాస్ రెడ్డి తాటిపర్తి) : -- components: Tests nosy: thatiparthy priority: normal severity: normal status: open title: test.support has way too many imports in libregrtest versions: Python 3.10 ___ Python tr

[issue41550] SimpleQueues put blocks if feeded with strings greater than 2**16-13 chars

2020-08-14 Thread Raphael Grewe
New submission from Raphael Grewe : Hi at all, Maybe I am using the put function incorrectly, but it is not possible to add larger strings there. The programm keeps locked and is doing nothing. I tested it on latest Debian Buster. Python 3.7.3 (default, Jul 25 2020, 13:03:44) Please check

[issue33786] @asynccontextmanager doesn't work well with async generators

2020-08-14 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 7.0 -> 8.0 pull_requests: +21003 stage: backport needed -> patch review pull_request: https://github.com/python/cpython/pull/21878 ___ Python tracker

[issue39584] multiprocessing.shared_memory: MacOS crashes by running attached Python code

2020-08-14 Thread Vinay Sharma
Change by Vinay Sharma : -- keywords: +patch pull_requests: +21002 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21877 ___ Python tracker ___ ___

[issue40468] IDLE: configdialog tab rearrange

2020-08-14 Thread Cheryl Sabella
Cheryl Sabella added the comment: See also issue #33051. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41539] print blocks with multiprocessing and buffered output

2020-08-14 Thread Ned Deily
Change by Ned Deily : -- nosy: +davin, pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue41549] IDLE leaks `_` into hint box

2020-08-14 Thread wyz23x2
New submission from wyz23x2 : Reproduce: 1. Open shell and enter an expression, say 1+1. 2. Create a new file and save. 3. Enter a letter and press Tab. `_` appears in the box. -- assignee: terry.reedy components: IDLE messages: 375383 nosy: terry.reedy, wyz23x2 priority: normal severit

[issue41546] pprint() gives exception when ran from pythonw

2020-08-14 Thread Ned Deily
Ned Deily added the comment: Thanks for the report. Just to be clear, this is running on Windows? And, if so, which version? -- components: +Windows nosy: +ned.deily, paul.moore, steve.dower, tim.golden, zach.ware ___ Python tracker

[issue41548] IDLE Window rendering on macOS Big Sur

2020-08-14 Thread Ned Deily
Ned Deily added the comment: Thanks for your report. The screen capture link is not publically available (requires a login). Please find another way to provide it; you can upload and attach an image file to this issue ("Choose File" button). Also, please provide the complete Python version

[issue40782] AbstactEventLoop.run_in_executor is listed as an async method, but should actually return a Future

2020-08-14 Thread Ned Deily
Change by Ned Deily : -- components: +asyncio ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue41540] Test test_maxcontext_exact_arith (_decimal) consumes all memory on AIX

2020-08-14 Thread Stefan Krah
Stefan Krah added the comment: > So, this issue with v3.10 (master) appeared to me as a regression. I understand that from your point of view it appears as a regression. However, quoting the C standard, 7.20.3 Memory management functions: "The pointer returned points to the start (lowest byt

[issue40994] Very confusing documenation for abc.Collections

2020-08-14 Thread Irit Katriel
Irit Katriel added the comment: Sydney, do you want to create a PR for this? I'm happy to if you don't. -- ___ Python tracker ___ _

[issue41540] Test test_maxcontext_exact_arith (_decimal) consumes all memory on AIX

2020-08-14 Thread Stefan Krah
Stefan Krah added the comment: > Core developers have full access to AIX system for the asking. Back to you, > Stefan. That sounds great. Can we contact you directly, or have I missed an earlier announcement from someone else giving out AIX access? Or are you working on it and I misunderst

[issue40994] Very confusing documenation for abc.Collections

2020-08-14 Thread Irit Katriel
Irit Katriel added the comment: Looks like this is not the first time this has come up: https://stackoverflow.com/questions/39789876/why-collections-callable-provides-contains-hash-len-and-ca The link directly to the #collections.abc.Callable section is what makes it confusing: https://pyt

[issue41545] gc API requiring matching number of gc.disable - gc.enable calls

2020-08-14 Thread Yonatan Goldschmidt
Yonatan Goldschmidt added the comment: > If this race condition is a bug in gc, then we should fix that. > If it is a bug in your code, surely you should fix that rather than disable > gc. It's neither: it is something related to the combination of some 3rd party libraries I'm using (if you

[issue40782] AbstactEventLoop.run_in_executor is listed as an async method, but should actually return a Future

2020-08-14 Thread James Barrett
James Barrett added the comment: https://github.com/python/cpython/pull/21852 -- ___ Python tracker ___ ___ Python-bugs-list mailin