[issue35018] Sax parser provides no user access to lexical handlers

2020-08-09 Thread Stefan Behnel
Stefan Behnel added the comment: New changeset e28b8c93878072dc02b116108ef5443084290d47 by Zackery Spytz in branch 'master': bpo-35018: Sax parser should provide user access to lexical handlers (GH-20958) https://github.com/python/cpython/commit/e28b8c93878072dc02b116108ef5443084290d47

[issue35018] Sax parser provides no user access to lexical handlers

2020-08-09 Thread Stefan Behnel
Change by Stefan Behnel : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue40275] test.support has way too many imports

2020-08-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: Sorry, I forgot that for the website, 3.x means 3.8, which has only 1 x_helper module. 3.9 has 3 and 3.10 has 7. -- ___ Python tracker ___

[issue40275] test.support has way too many imports

2020-08-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: The buildbots were fixed with PR-21785. '#' prefixes an issue on bpo, a PR on github. Confusing, especially now that PR #s are catching up to issue #s. -- ___ Python tracker

[issue39102] Increase Enum performance

2020-08-09 Thread Inada Naoki
Change by Inada Naoki : -- nosy: +inada.naoki ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue40275] test.support has way too many imports

2020-08-09 Thread hai shi
hai shi added the comment: # Confusing, especially now that PR #s are catching up to issue #s. Maybe we need redefine the matching rule(I am not sure about it). -- versions: +Python 3.10 -Python 3.9 ___ Python tracker

[issue40740] Missing api-ms-win-core-path-l1-1.0.dll for python-3.9.0b1-amd64.exe Under Win7

2020-08-09 Thread Claudio Canepa
Claudio Canepa added the comment: At beta 5 the download page [0] says nothing about dropping win7 support. The installer, at least the one I tried ( python-3.9.0b5-amd64.exe ) will install on win7, and without warnings. It would be much better if it refused to install. -- nosy: +c

[issue40740] Missing api-ms-win-core-path-l1-1.0.dll for python-3.9.0b1-amd64.exe Under Win7

2020-08-09 Thread Claudio Canepa
Claudio Canepa added the comment: opps, [0] https://www.python.org/downloads/release/python-390b5/ -- ___ Python tracker ___ ___

[issue40740] Missing api-ms-win-core-path-l1-1.0.dll for python-3.9.0b1-amd64.exe Under Win7

2020-08-09 Thread Claudio Canepa
Claudio Canepa added the comment: also, no mention in https://pythondev.readthedocs.io/platforms.html -- ___ Python tracker ___ __

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

2020-08-09 Thread Shubham Kumar Jha
Change by Shubham Kumar Jha : -- keywords: +patch pull_requests: +20932 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21793 ___ Python tracker __

[issue40740] Missing api-ms-win-core-path-l1-1.0.dll for python-3.9.0b1-amd64.exe Under Win7

2020-08-09 Thread Paul Moore
Paul Moore added the comment: https://docs.python.org/3.9/using/windows.html should probably be updated: """ As specified in PEP 11, a Python release only supports a Windows platform while Microsoft considers the platform under extended support. This means that Python 3.9 supports Windows Vi

[issue41501] 0x80070643, can't install any version

2020-08-09 Thread Steve Dower
Steve Dower added the comment: The Python 3.8 and 3.3 installers will not conflict at all, as they are completely different. If that is your log file, we'll also need the file in your %TEMP% directory that includes "core_JustForMe" in the name, as that's the subinstaller that's failing. Un

[issue41458] Avoid overflow/underflow in math.prod()

2020-08-09 Thread Tim Peters
Tim Peters added the comment: More extensive testing convinces me that pairing multiplication is no real help at all - the error distributions appear statistically indistinguishable from left-to-right multiplication. I believe this has to do with the "condition numbers" of fp addition and m

[issue41511] Pathlib parents doesn't support slicing with negative indexes

2020-08-09 Thread Yaroslav
New submission from Yaroslav : As I can see, pathlib path parents don't support slicing with negative indexes: >>> import pathlib >>> path = pathlib.PosixPath("some/very/long/path/here") >>> path.parents[-1] ... raise IndexError(idx) IndexError: -1 That's kinda weird for python. I mean, i

[issue41468] Unrecoverable server exiting

2020-08-09 Thread Terry J. Reedy
Change by Terry J. Reedy : -- keywords: +patch pull_requests: +20933 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21798 ___ Python tracker ___ _

[issue41511] Pathlib parents doesn't support slicing with negative indexes

2020-08-09 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch nosy: +python-dev nosy_count: 1.0 -> 2.0 pull_requests: +20934 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21799 ___ Python tracker _

[issue41511] Pathlib parents doesn't support slicing with negative indexes

2020-08-09 Thread Yaroslav
Yaroslav added the comment: Here's opened PR: https://github.com/python/cpython/pull/21799 -- ___ Python tracker ___ ___ Python-bug

[issue41458] Avoid overflow/underflow in math.prod()

2020-08-09 Thread Raymond Hettinger
Raymond Hettinger added the comment: IIRC, both Factor and Julia use pairwise multiplication. I'm guessing that the reason is that if you have an associative-reduce higher order function, you tend to use it everywhere even in cases where the benefits are negligible ;-) -- _

[issue41468] Unrecoverable server exiting

2020-08-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset f2e161c27964a59bc5ab20d96f87ba5862c6222d by Terry Jan Reedy in branch 'master': bpo-41468: Improve and test IDLE run error exit (GH-21798) https://github.com/python/cpython/commit/f2e161c27964a59bc5ab20d96f87ba5862c6222d -- _

[issue41468] Unrecoverable server exiting

2020-08-09 Thread miss-islington
Change by miss-islington : -- pull_requests: +20936 pull_request: https://github.com/python/cpython/pull/21801 ___ Python tracker ___ __

[issue41468] Unrecoverable server exiting

2020-08-09 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 3.0 -> 4.0 pull_requests: +20935 pull_request: https://github.com/python/cpython/pull/21800 ___ Python tracker _

[issue41468] Unrecoverable server exiting

2020-08-09 Thread miss-islington
miss-islington added the comment: New changeset 61f23cb62d6bdd72b61fc36abf4c1492493d71af by Miss Islington (bot) in branch '3.8': bpo-41468: Improve and test IDLE run error exit (GH-21798) https://github.com/python/cpython/commit/61f23cb62d6bdd72b61fc36abf4c1492493d71af -- ___

[issue41468] Unrecoverable server exiting

2020-08-09 Thread miss-islington
miss-islington added the comment: New changeset a9fa66377fbd9ea2fca1483345a8c27d1b32d5b4 by Miss Islington (bot) in branch '3.9': bpo-41468: Improve and test IDLE run error exit (GH-21798) https://github.com/python/cpython/commit/a9fa66377fbd9ea2fca1483345a8c27d1b32d5b4 -- ___

[issue41511] Pathlib parents doesn't support slicing with negative indexes

2020-08-09 Thread Rémi Lapeyre
Rémi Lapeyre added the comment: This is a duplicate of 21041, it would be better to change the title of your PR so that it points to this bug report and to continue the discussion there. -- nosy: +remi.lapeyre versions: -Python 3.5, Python 3.6, Python 3.7, Python 3.8, Python 3.9

[issue41511] Pathlib parents doesn't support slicing with negative indexes

2020-08-09 Thread Rémi Lapeyre
Rémi Lapeyre added the comment: *This is a duplicate of issue 21041 -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue26228] pty.spawn hangs on FreeBSD 9.3, 10.x

2020-08-09 Thread Soumendra Ganguly
Soumendra Ganguly added the comment: Hi! Can anyone please take a look at https://bugs.python.org/issue41494 [ https://github.com/python/cpython/pull/21752 ]? I think these are related. I wrote a new function called wspawn, which is like spawn+the following differences. 1. It sets window s

[issue29070] Integration tests for pty.spawn on Linux and all other platforms

2020-08-09 Thread Soumendra Ganguly
Soumendra Ganguly added the comment: Hi! Can anyone please take a look at https://bugs.python.org/issue41494 [ https://github.com/python/cpython/pull/21752 ]? I think these are related. I wrote a new function called wspawn, which is like spawn+the following differences. 1. It sets window s

[issue41494] Adds window resizing support to Lib/pty.py [ SIGWINCH ]

2020-08-09 Thread Soumendra Ganguly
Soumendra Ganguly added the comment: Possibly related issues: https://bugs.python.org/issue29070 https://bugs.python.org/issue26228 Since wspawn does not depend on OSError, it might be a possible [ not necessarily the only way ] of solving the above issues. -- _

[issue40860] Exception in multiprocessing/context.py under load

2020-08-09 Thread Irit Katriel
Irit Katriel added the comment: The source code for the Process class is here: https://github.com/python/cpython/blob/master/Lib/multiprocessing/process.py You can see that join and start both modify the global, non thread safe _children set. I'm guessing this is where you're seeing interfer

[issue41468] Unrecoverable server exiting

2020-08-09 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue41512] Microsoft Store app IDLE (Python 3.8.5) cannot save files

2020-08-09 Thread evaldas
New submission from evaldas : OS: x64 Windows 10 Professional 1903 Python: Python 3.8 package (3.8.5) installed from Microsoft Store Steps to reproduce the bug: 1. Create empty file (right click anywhere, "New" -> "Text document", rename to "insert_filename_here.py"). File size is 0 bytes. 2

[issue41512] Microsoft Store app IDLE (Python 3.8.5) cannot save files

2020-08-09 Thread evaldas
Change by evaldas : -- type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

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

2020-08-09 Thread Raymond Hettinger
New submission from Raymond Hettinger : I'd like to resurrect Serhiy's idea for using power-of-two scaling in math.hypot() rather than dividing each coordinate by the maximum value. I drafted a patch. It looks to be a little faster than what we have now and is generally (but not always) more

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

2020-08-09 Thread Raymond Hettinger
Change by Raymond Hettinger : -- keywords: +patch pull_requests: +20937 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21803 ___ Python tracker __

[issue41512] Microsoft Store app IDLE (Python 3.8.5) cannot save files

2020-08-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: Already fixed, will be in 3.9.0rc1 (tomorrow) and 3.8.6 (Sept). In meanwhile, create new files within IDLE with File => New. -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> IDLE: edit/save files created by Wind

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

2020-08-09 Thread Raymond Hettinger
Change by Raymond Hettinger : Added file: https://bugs.python.org/file49378/test_hypot.py ___ Python tracker ___ ___ Python-bugs-list mailin

[issue41458] Avoid overflow/underflow in math.prod()

2020-08-09 Thread Tim Peters
Tim Peters added the comment: Or, like I did, they succumbed to an untested "seemingly plausible" illusion ;-) I generated 1,000 random vectors (in [0.0, 10.0)) of length 100, and for each generated 10,000 permutations. So that's 10 million 100-element products overall. The convert-to-deci

[issue40860] Exception in multiprocessing/context.py under load

2020-08-09 Thread Arkady
Arkady added the comment: I have switched to os.fork() I am doing something like this https://gist.github.com/larytet/3ca9f9a32b1dc089a24cb7011455141f -- ___ Python tracker _

[issue41511] Pathlib parents doesn't support slicing with negative indexes

2020-08-09 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Closing it as duplicate of issue21041. Thanks Remi. Yaroslav, feel free to discuss it in the other issue. -- nosy: +xtreak resolution: -> duplicate stage: patch review -> resolved status: open -> closed superseder: -> pathlib.PurePath.pare

[issue27477] IDLE: Switch search dialogs to ttk widgets, and other refinement

2020-08-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: 5.0 History list? 1 for all boxes; start fresh each session -- ___ Python tracker ___ ___ Python-

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

2020-08-09 Thread Raymond Hettinger
Change by Raymond Hettinger : Removed file: https://bugs.python.org/file49378/test_hypot.py ___ Python tracker ___ ___ Python-bugs-list mail

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

2020-08-09 Thread Raymond Hettinger
Raymond Hettinger added the comment: Added a revised script for testing accuracy measured in ULPs. -- Added file: https://bugs.python.org/file49379/test_hypot.py ___ Python tracker __

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

2020-08-09 Thread Raymond Hettinger
Change by Raymond Hettinger : Added file: https://bugs.python.org/file49380/test_hypot.py ___ Python tracker ___ ___ Python-bugs-list mailin

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

2020-08-09 Thread Raymond Hettinger
Change by Raymond Hettinger : Removed file: https://bugs.python.org/file49379/test_hypot.py ___ Python tracker ___ ___ Python-bugs-list mail

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

2020-08-09 Thread Raymond Hettinger
Change by Raymond Hettinger : -- Removed message: https://bugs.python.org/msg375095 ___ Python tracker ___ ___ Python-bugs-list mail

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

2020-08-09 Thread Raymond Hettinger
Raymond Hettinger added the comment: Added a revised script for testing accuracy measured in ULPs. It shows an improvement for all dimensions tested, with the best for 2 dimensions. Also, the maximum error is now 1 ulp; formerly, it was 2 ulps. 2 dimensions div-by-max:

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

2020-08-09 Thread Arcadiy Ivanov
Arcadiy Ivanov added the comment: >From what I understand an RC1 is being released for 3.9. This is a gentle >reminder that there is no fix for this yet. -- ___ Python tracker __

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

2020-08-09 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +lukasz.langa ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

[issue41500] InterpolationSyntaxError reading the (windows) environment with unresolved environment variables

2020-08-09 Thread Pauser
Pauser added the comment: Thanks a lot for the fast response ... did not expect this ;) I have looked into many threads and I will try to implement my own interpolation to use the current basic interpolation and process the current environment. So thanks a lot, stay healthy and have a nice d