[issue39673] Map errno==ETIME to TimeoutError

2020-05-19 Thread Zackery Spytz
Change by Zackery Spytz : -- versions: +Python 3.10 -Python 3.9 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue39673] Map errno==ETIME to TimeoutError

2020-05-19 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch nosy: +ZackerySpytz nosy_count: 2.0 -> 3.0 pull_requests: +19538 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/20253 ___ Python tracker

[issue40693] pathlib.Path will be broken with os.chdir command.

2020-05-19 Thread SilentGhost
Change by SilentGhost : -- components: +Library (Lib) nosy: +pitrou stage: -> needs patch type: -> behavior versions: +Python 3.7 ___ Python tracker ___

[issue29590] Incorrect stack traces when re-entering a generator/coroutine stack via .throw()

2020-05-19 Thread Chris Jerdonek
Chris Jerdonek added the comment: I just filed a related issue to this that's also similar to issue 29587: https://bugs.python.org/issue40694 -- ___ Python tracker ___

[issue40694] gen.throw() with multiple yield froms skips intermediate exceptions

2020-05-19 Thread Chris Jerdonek
New submission from Chris Jerdonek : Here is another gen.throw() exception chain example similar to the examples in issue 29587: https://bugs.python.org/issue29587 def f(): yield def g(): try: raise RuntimeError('a') except Exception as exc: print(f'handling:

[issue40291] socket library support for CAN_J1939

2020-05-19 Thread miss-islington
miss-islington added the comment: New changeset 12fa658d0565c6c53d25f464f29ef596a0df5e2a by Miss Islington (bot) in branch '3.9': bpo-40291: Mention socket.CAN_J1939 in What's New (GH-20248) https://github.com/python/cpython/commit/12fa658d0565c6c53d25f464f29ef596a0df5e2a --

[issue40291] socket library support for CAN_J1939

2020-05-19 Thread miss-islington
miss-islington added the comment: New changeset 550f30c8f33a2ba844db2ce3da8a897b3e882c9a by karl ding in branch 'master': bpo-40291: Mention socket.CAN_J1939 in What's New (GH-20248) https://github.com/python/cpython/commit/550f30c8f33a2ba844db2ce3da8a897b3e882c9a --

[issue40291] socket library support for CAN_J1939

2020-05-19 Thread miss-islington
Change by miss-islington : -- pull_requests: +19537 pull_request: https://github.com/python/cpython/pull/20249 ___ Python tracker ___

[issue40291] socket library support for CAN_J1939

2020-05-19 Thread Karl Ding
Karl Ding added the comment: Should this be added to the What's New for 3.9? I see a smaller change that exposes the CAN_RAW_JOIN_FILTERS constant mentioned. I've created https://github.com/python/cpython/pull/20248 if this is needed. -- ___

[issue40291] socket library support for CAN_J1939

2020-05-19 Thread Karl Ding
Change by Karl Ding : -- pull_requests: +19536 pull_request: https://github.com/python/cpython/pull/20248 ___ Python tracker ___

[issue40693] pathlib.Path will be broken with os.chdir command.

2020-05-19 Thread Y Ono
Y Ono added the comment: It's the same as when executing `os.path.abspath`. -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue38946] IDLE on macOS 10.15 Catalina does not open double-clicked files if app already launched

2020-05-19 Thread Irv Kalb
Irv Kalb added the comment: If possible, I would like to raise the priority of this issue. I teach Python and I use IDLE every day. This bug makes using IDLE for teaching extremely difficult. Hopefully new information: I have just bought a new Mac, which is running Catalina (MacOS

[issue40693] pathlib.Path will be broken with os.chdir command.

2020-05-19 Thread Y Ono
New submission from Y Ono : ``` import os from pathlib import Path os.chdir(Path(__file__).parent) print(Path(__file__).absolute()) ``` I put the code into a file in `/tmp/test.py`, and execute it from `/tmp/` directory like below. Then the output showed `/tmp/scripts/scripts/test.py`. ``` $

[issue40682] random.Random.seed() with version=1 does not consistently match Python 2 behavior

2020-05-19 Thread Raymond Hettinger
Raymond Hettinger added the comment: The parts that are supposed to be stable are the seeding and the output of calls to random(). The sessions shown below show that this working as intended. The downstream algorithms such as randrange() are not protected by the reproducibility guarantees.

[issue32309] Implement asyncio.run_in_executor shortcut

2020-05-19 Thread STINNER Victor
STINNER Victor added the comment: Note for myself: Python 3.9 release manager (Lukasz) approved adding the feature to Python 3.9.0 beta2: https://github.com/python/cpython/pull/20212#pullrequestreview-414278938 -- nosy: +vstinner versions: +Python 3.9 -Python 3.7

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2020-05-19 Thread STINNER Victor
STINNER Victor added the comment: New changeset 0509c4547fc95cc32a91ac446a26192c3bfdf157 by Victor Stinner in branch 'master': bpo-40521: Fix update_slot() when INTERN_NAME_STRINGS is not defined (#20246) https://github.com/python/cpython/commit/0509c4547fc95cc32a91ac446a26192c3bfdf157

[issue40452] Tkinter/IDLE: preserve clipboard on closure

2020-05-19 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: +Python 3.10 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40452] Tkinter/IDLE: preserve clipboard on closure

2020-05-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: The #if 0 was added by Guido in 43ff8683fe68424b9c179ee4970bb865e11036d6 in 1998, before the tcl/tk clip fix for Windows. * Temporarily get rid of the registration of Tcl_Finalize() as a low-level Python exit handler. This can attempt to call Python code at

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2020-05-19 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +19535 pull_request: https://github.com/python/cpython/pull/20247 ___ Python tracker ___

[issue40679] show class name in method invocation TypeError

2020-05-19 Thread Chris Jerdonek
Chris Jerdonek added the comment: Thanks! I think it does. Also, I see now that using the __qualname__ is better than including the object's type for locating the method because you can have cases like super().foo() or even-- class A: def foo(self): pass def bar(): pass

[issue40645] Use OpenSSL's HMAC API

2020-05-19 Thread miss-islington
miss-islington added the comment: New changeset 6ed37430d31e915103ab5decd14d757eb2d159d5 by Miss Islington (bot) in branch '3.9': bpo-40645: restrict HMAC key len to INT_MAX (GH-20238) https://github.com/python/cpython/commit/6ed37430d31e915103ab5decd14d757eb2d159d5 --

[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2020-05-19 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +19534 pull_request: https://github.com/python/cpython/pull/20246 ___ Python tracker ___

[issue40645] Use OpenSSL's HMAC API

2020-05-19 Thread miss-islington
Change by miss-islington : -- pull_requests: +19533 pull_request: https://github.com/python/cpython/pull/20245 ___ Python tracker ___

[issue40645] Use OpenSSL's HMAC API

2020-05-19 Thread miss-islington
miss-islington added the comment: New changeset aca4670ad695d4b01c7880fe3d0af817421945bd by Christian Heimes in branch 'master': bpo-40645: restrict HMAC key len to INT_MAX (GH-20238) https://github.com/python/cpython/commit/aca4670ad695d4b01c7880fe3d0af817421945bd -- nosy:

[issue38870] Expose ast.unparse in the ast module

2020-05-19 Thread miss-islington
miss-islington added the comment: New changeset 059279d8706074489144f6ba8ccc8723e0b85007 by Miss Islington (bot) in branch '3.9': bpo-38870: invalid escape sequence (GH-20240) https://github.com/python/cpython/commit/059279d8706074489144f6ba8ccc8723e0b85007 --

[issue40514] [subinterpreters] Add --experimental-isolated-subinterpreters build option

2020-05-19 Thread STINNER Victor
STINNER Victor added the comment: New changeset 9512ad74b0fcaff023c1ade75313dc8e249aef78 by Victor Stinner in branch '3.9': [3.9] bpo-40514: Remove --with-experimental-isolated-subinterpreters in 3.9 (GH-20228)

[issue39631] Fix file association MIME type on Windows

2020-05-19 Thread miss-islington
miss-islington added the comment: New changeset 381ceeaa5980643fa1f958f112f373d7a197e6e8 by Miss Islington (bot) in branch '3.8': bpo-39631: Adds NEWS entry (GH-20227) https://github.com/python/cpython/commit/381ceeaa5980643fa1f958f112f373d7a197e6e8 --

[issue39631] Fix file association MIME type on Windows

2020-05-19 Thread miss-islington
miss-islington added the comment: New changeset 67bbb5d4381b6121a4f61ba945c58056e5894846 by Miss Islington (bot) in branch '3.7': bpo-39631: Adds NEWS entry (GH-20227) https://github.com/python/cpython/commit/67bbb5d4381b6121a4f61ba945c58056e5894846 --

[issue38870] Expose ast.unparse in the ast module

2020-05-19 Thread miss-islington
miss-islington added the comment: New changeset dd74b6fde31aff9aa46c4fc2a830c569764e1b63 by Batuhan Taskaya in branch 'master': bpo-38870: invalid escape sequence (GH-20240) https://github.com/python/cpython/commit/dd74b6fde31aff9aa46c4fc2a830c569764e1b63 --

[issue38870] Expose ast.unparse in the ast module

2020-05-19 Thread miss-islington
Change by miss-islington : -- pull_requests: +19532 pull_request: https://github.com/python/cpython/pull/20244 ___ Python tracker ___

[issue39631] Fix file association MIME type on Windows

2020-05-19 Thread Steve Dower
Change by Steve Dower : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue39631] Fix file association MIME type on Windows

2020-05-19 Thread miss-islington
Change by miss-islington : -- pull_requests: +19529 pull_request: https://github.com/python/cpython/pull/20241 ___ Python tracker ___

[issue39631] Fix file association MIME type on Windows

2020-05-19 Thread miss-islington
Change by miss-islington : -- pull_requests: +19530 pull_request: https://github.com/python/cpython/pull/20242 ___ Python tracker ___

[issue39631] Fix file association MIME type on Windows

2020-05-19 Thread miss-islington
Change by miss-islington : -- pull_requests: +19531 pull_request: https://github.com/python/cpython/pull/20243 ___ Python tracker ___

[issue39631] Fix file association MIME type on Windows

2020-05-19 Thread Steve Dower
Steve Dower added the comment: New changeset 92327a9913150f5bb55b2727a2c5d50f9b7b6e55 by Steve Dower in branch 'master': bpo-39631: Adds NEWS entry (GH-20227) https://github.com/python/cpython/commit/92327a9913150f5bb55b2727a2c5d50f9b7b6e55 --

[issue40684] make install doesn't respect configure --with-platlibdir=lib64

2020-05-19 Thread Ned Deily
Change by Ned Deily : -- nosy: +ned.deily ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38870] Expose ast.unparse in the ast module

2020-05-19 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- pull_requests: +19528 pull_request: https://github.com/python/cpython/pull/20240 ___ Python tracker ___

[issue40667] [Windows] Add global python and python3 commands

2020-05-19 Thread Steve Dower
Steve Dower added the comment: > To avoid this, process() can set a flag based on the image name that prevents > calling maybe_handle_shebang(). Or the other solution, which is stop treating "usr/bin/env" as "search PATH" - I'm sure there's another issue open somewhere saying this is the

[issue40692] Adjust test_concurrent_futures to run more of its tests if multiprocessing.synchronize is missing

2020-05-19 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch nosy: +python-dev nosy_count: 4.0 -> 5.0 pull_requests: +19527 stage: -> patch review pull_request: https://github.com/python/cpython/pull/20239 ___ Python tracker

[issue40682] random.Random.seed() with version=1 does not consistently match Python 2 behavior

2020-05-19 Thread Steven D'Aprano
Steven D'Aprano added the comment: 3.5 and 3.6 are now only accepting security fixes. Only the stability of random.random is guaranteed across versions, but you are calling randrange: https://docs.python.org/3/library/random.html#notes-on-reproducibility So I am pretty sure that this will

[issue40452] Tkinter/IDLE: preserve clipboard on closure

2020-05-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: After reporting my experiments above, msg369334, I made further failing efforts to simulate pasting into another process, as in 3 and 4. It might be that a concrete key event is needed. So I strongly suspect that the solution for IDLE is indeed a tkinter

[issue40692] Adjust test_concurrent_futures to run more of its tests if multiprocessing.synchronize is missing

2020-05-19 Thread Asheesh Laroia
New submission from Asheesh Laroia : Some parts of test_concurrent_futures make sense to run even on Python builds where multiprocessing.synchronize is absent. At the moment, test_concurrent_futures.py skips all tests in the file if multiprocessing.synchronize is missing from the Python

[issue40452] Tkinter/IDLE: preserve clipboard on closure

2020-05-19 Thread Tal Einat
Tal Einat added the comment: epaine, if you'd like to create a new PR based on these findings, I'd be happy to review it! -- ___ Python tracker ___

[issue40452] Tkinter/IDLE: preserve clipboard on closure

2020-05-19 Thread Tal Einat
Tal Einat added the comment: Indeed, adding a simple _tkinter.destroy() method which invokes Tcl_Finalize, and calling it in the Tk.destroy() method, makes copied text remain available after closing IDLE! I did the above to test my hypothesis, but I'm not sure it would be a proper fix.

[issue40691] misleading output from difflib unified_diff

2020-05-19 Thread Chris Danis
New submission from Chris Danis : When difflib.unified_diff is asked to produce a diff of inputs a.txt and b.txt (attached), with 10 context lines, it produces the following: --- codfw/groupLoadsBySection live +++ codfw/groupLoadsBySection generated @@ -90,37 +90,31 @@ }, "s4": {

[issue40691] misleading output from difflib unified_diff

2020-05-19 Thread Chris Danis
Change by Chris Danis : Added file: https://bugs.python.org/file49172/b.txt ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue40452] Tkinter/IDLE: preserve clipboard on closure

2020-05-19 Thread Tal Einat
Tal Einat added the comment: During finalization, TkFinalizeThread would call DeleteWindowsExitProc (registered via TkCreateThreadExitHandler). This in turn is set as a thread-exit handler via Tcl_CreateThreadExitHandler upon the first call to TkCreateThreadExitHandler. Now we're out of Tk

[issue40645] Use OpenSSL's HMAC API

2020-05-19 Thread Christian Heimes
Christian Heimes added the comment: Thanks, Victor! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40645] Use OpenSSL's HMAC API

2020-05-19 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +19526 pull_request: https://github.com/python/cpython/pull/20238 ___ Python tracker ___

[issue40690] unittest: if FunctionTestCase is imported, the loader loads "tests" from it

2020-05-19 Thread Vitalii
Change by Vitalii : -- keywords: +patch pull_requests: +19524 stage: -> patch review pull_request: https://github.com/python/cpython/pull/20237 ___ Python tracker ___

[issue40452] Tkinter/IDLE: preserve clipboard on closure

2020-05-19 Thread Tal Einat
Tal Einat added the comment: Indeed, you've got that pretty much correct. The call chain is: Tk.__init__ _tkinter_create_impl (called as _tkinter.create() from Python) Tkapp_New Tkapp_New does a lot of things. In particular, it calls Tcl_CreateInterp and later Tcl_AppInit. Tcl_AppInit

[issue40690] unittest: if FunctionTestCase is imported, the loader loads "tests" from it

2020-05-19 Thread Vitalii
New submission from Vitalii : In [2]: from unittest import FunctionTestCase In [3]:

[issue40667] [Windows] Add global python and python3 commands

2020-05-19 Thread Eryk Sun
Eryk Sun added the comment: If .py files are associated with py.exe, handling the shebang "#!/usr/bin/env python[3]" might spawn the python[3].exe launcher recursively if it handles shebangs (see bpo-40687). To avoid this, process() can set a flag based on the image name that prevents

[issue40689] The only supported minidom attribute iteration (NamedNodeMap) is O(n^2)

2020-05-19 Thread Niels Thykier
New submission from Niels Thykier : Hi, The only official supported iteration over all attributes on an element via the minidom XML API require an O(n²) iterator. It happens because the `item` method generates a list of all attribute names, look up the attribute name at the given index and

[issue40452] Tkinter/IDLE: preserve clipboard on closure

2020-05-19 Thread E. Paine
E. Paine added the comment: I'm (sadly) not particularly familiar with C, though I have tried to trace the calls of TkClipCleanup. As @taleinat mentioned, it is called by the TkCloseDisplay, though, in turn, I believe this method is called by the DeleteWindowsExitProc method. The name

[issue40679] show class name in method invocation TypeError

2020-05-19 Thread Dennis Sweeney
Dennis Sweeney added the comment: The attached PR isn't exactly what you requested, but it's a very minimal code change that uses the existing __qualname__ functionality to change the message to TypeError: A.foo() takes 1 positional argument but 2 were given Does that address those

[issue40679] show class name in method invocation TypeError

2020-05-19 Thread Dennis Sweeney
Change by Dennis Sweeney : -- keywords: +patch nosy: +Dennis Sweeney nosy_count: 2.0 -> 3.0 pull_requests: +19523 stage: -> patch review pull_request: https://github.com/python/cpython/pull/20236 ___ Python tracker

[issue40688] PEG Generator: Fix scripts to always use the correct parser

2020-05-19 Thread Lysandros Nikolaou
Change by Lysandros Nikolaou : -- keywords: +patch pull_requests: +19522 stage: -> patch review pull_request: https://github.com/python/cpython/pull/20235 ___ Python tracker

[issue40688] PEG Generator: Fix scripts to always use the correct parser

2020-05-19 Thread Lysandros Nikolaou
New submission from Lysandros Nikolaou : All the scripts in Tools/peg_generator/scripts need to be updated, since they mostly assume that ast.parse and compile use the old parser. We can use the _peg_parser extension module instead, but it well need some enhancements so that it also supports

[issue13248] deprecated in 3.2/3.3, should be removed in 3.5 or ???

2020-05-19 Thread Benjamin Peterson
Change by Benjamin Peterson : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue27501] Add typing.py class describing a PEP 3118 buffer object

2020-05-19 Thread Guido van Rossum
Change by Guido van Rossum : -- nosy: +gvanrossum ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40684] make install doesn't respect configure --with-platlibdir=lib64

2020-05-19 Thread Arfrever Frehtes Taifersar Arahesis
Change by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue40687] Windows py.exe launcher interacts badly with Windows store python.exe shim

2020-05-19 Thread Steve Dower
Steve Dower added the comment: If someone remembers where the other "shebangs on Windows don't make sense" issue is, I think we can close this one in favour of that. Though it's also an important point for issue40667 - if "python.exe" becomes the launcher, then this will get stuck in an

[issue40028] Math module method to find prime factors for non-negative int n

2020-05-19 Thread Mark Dickinson
Change by Mark Dickinson : -- versions: +Python 3.10 -Python 3.9 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue40679] show class name in method invocation TypeError

2020-05-19 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40687] Windows py.exe launcher interacts badly with Windows store python.exe shim

2020-05-19 Thread Ben Spiller
Change by Ben Spiller : -- type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32604] [subinterpreters] PEP 554 implementation: add interpreters module

2020-05-19 Thread Joannah Nanjekye
Joannah Nanjekye added the comment: New changeset 9d17cbf33df7cfb67ca0f37f6463ba5c18676641 by Joannah Nanjekye in branch 'master': bpo-32604: PEP 554 for use in test suite (GH-19985) https://github.com/python/cpython/commit/9d17cbf33df7cfb67ca0f37f6463ba5c18676641 --

[issue40687] Windows py.exe launcher interacts badly with Windows store python.exe shim

2020-05-19 Thread Ben Spiller
New submission from Ben Spiller : The py.exe launcher doc states "If no relevant options are set, the commands python and python2 will use the latest Python 2.x version installed" ... which was indeed working reliably until Microsoft added their weird python.exe shim (which either terminates

[issue40683] Beta release does not distribute zoneinfo or test_zoneinfo

2020-05-19 Thread Paul Ganssle
Paul Ganssle added the comment: No worries Łukasz, I figured it would be worth bringing up because normally the releases aren't so broken that they aren't usable in the common case. That said, this won't break any *existing* code, it'll just prevent people on Linux machines from using

[issue37616] [3.10 prep] zip path incorrect

2020-05-19 Thread STINNER Victor
Change by STINNER Victor : -- components: +Interpreter Core resolution: -> fixed versions: +Python 3.10 -Python 3.9 ___ Python tracker ___

[issue40683] Beta release does not distribute zoneinfo or test_zoneinfo

2020-05-19 Thread Łukasz Langa
Łukasz Langa added the comment: The beta releases are every three weeks now because of the release schedule being adjusted to allow Linux distributions to release the new version in the Autumn distributions. I understand that you're eager to have your feature up and running. I feel like

[issue40645] Use OpenSSL's HMAC API

2020-05-19 Thread STINNER Victor
STINNER Victor added the comment: Compiler warning on 64-bit Windows: c:\vstinner\python\3.9\modules\_hashopenssl.c(1427): warning C4244: 'function': conversion from 'Py_ssize_t' to 'int', possible loss of data -- nosy: +vstinner ___ Python

[issue40686] Compiler warnings in _zoneinfo.c on Windows build in 64-bit

2020-05-19 Thread STINNER Victor
New submission from STINNER Victor : c:\vstinner\python\3.9\modules\_zoneinfo.c(903): warning C4267: '=': conversion from 'size_t' to 'unsigned int', possible loss of data [C:\vstinner\python\3.9\PCbuild\_ zoneinfo.vcxproj] c:\vstinner\python\3.9\modules\_zoneinfo.c(904): warning C4267: '=':

[issue40683] Beta release does not distribute zoneinfo or test_zoneinfo

2020-05-19 Thread Paul Ganssle
Paul Ganssle added the comment: Victor has confirmed that this is working on Windows, so I think the current state of the 3.9 and master branches is now fixed. The last question remaining is whether this justifies a quick b2 release (or if there's another mechanism for a "fixup" release like

[issue37616] [3.10 prep] zip path incorrect

2020-05-19 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 2a561b5f6830aee39cf05dc70c24e26c3558dda0 by Pablo Galindo in branch 'master': bpo-37616: Handle version information more gracefully in getpath.c (GH-20214) https://github.com/python/cpython/commit/2a561b5f6830aee39cf05dc70c24e26c3558dda0

[issue40683] Beta release does not distribute zoneinfo or test_zoneinfo

2020-05-19 Thread miss-islington
miss-islington added the comment: New changeset b5bd4358fc2dea2e7c84d0c56974627fc43217cd by Miss Islington (bot) in branch '3.9': bpo-40683: Add zoneinfo to LIBSUBDIRS (GH-20229) https://github.com/python/cpython/commit/b5bd4358fc2dea2e7c84d0c56974627fc43217cd --

[issue40683] Beta release does not distribute zoneinfo or test_zoneinfo

2020-05-19 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 3.0 -> 4.0 pull_requests: +19521 pull_request: https://github.com/python/cpython/pull/20230 ___ Python tracker

[issue40683] Beta release does not distribute zoneinfo or test_zoneinfo

2020-05-19 Thread Paul Ganssle
Paul Ganssle added the comment: New changeset 2abededbc4165d2daa14ae9d74b1f33cce0593d7 by Paul Ganssle in branch 'master': bpo-40683: Add zoneinfo to LIBSUBDIRS (#20229) https://github.com/python/cpython/commit/2abededbc4165d2daa14ae9d74b1f33cce0593d7 --

[issue40683] Beta release does not distribute zoneinfo or test_zoneinfo

2020-05-19 Thread STINNER Victor
STINNER Victor added the comment: We have multiple "install" buildbot which only run tests on the *installed* Python. I understand that we missed the issue because not only the implementation was broken by "make install", but the whole test was missing as well :-p > Victor: Might be worth

[issue1294959] Add sys.platlibdir and configure --with-platlibdir to use /usr/lib64 on Fedora and SuSE

2020-05-19 Thread Michał Górny
Michał Górny added the comment: > Can you please propose a different wording? English is not my first language. Mine neither but I'll try. How about: 'Name of the platform-specific library directory. It is used to build the path of the standard library and C extension modules of the

[issue40685] IDLE not working

2020-05-19 Thread Eric V. Smith
Eric V. Smith added the comment: This is almost surely a problem in your environment, and not a bug in python. This bug tracker is for reporting bugs in python. I suggest you look for help elsewhere, such as the python-list mailing list (https://mail.python.org/mailman/listinfo/python-list)

[issue40683] Beta release does not distribute zoneinfo or test_zoneinfo

2020-05-19 Thread Paul Ganssle
Paul Ganssle added the comment: Victor: Might be worth updating your notes to indicate that any subdirectory (not just test subdirectories) need to go into LIBSUBDIRS. zoneinfo uses a subdirectory for both the tests and the zoneinfo module, and *neither* were included in the installation in

[issue1294959] Add sys.platlibdir and configure --with-platlibdir to use /usr/lib64 on Fedora and SuSE

2020-05-19 Thread STINNER Victor
STINNER Victor added the comment: I created bpo-40684: make install doesn't respect configure --with-platlibdir=lib64. -- ___ Python tracker ___

[issue40685] IDLE not working

2020-05-19 Thread Code436
New submission from Code436 : Randomlly Python IDLE doesn't launch (not even the editor) -- assignee: terry.reedy components: IDLE messages: 369364 nosy: Coder436, terry.reedy priority: normal severity: normal status: open title: IDLE not working versions: Python 3.8

[issue40684] make install doesn't respect configure --with-platlibdir=lib64

2020-05-19 Thread STINNER Victor
STINNER Victor added the comment: The Fedora package is built using --libdir=/usr/lib64 --with-platlibdir=lib64 which works around the issue: + /builddir/build/BUILD/Python-3.9.0b1/configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix=

[issue40684] make install doesn't respect configure --with-platlibdir=lib64

2020-05-19 Thread STINNER Victor
Change by STINNER Victor : -- versions: +Python 3.10 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40684] make install doesn't respect configure --with-platlibdir=lib64

2020-05-19 Thread STINNER Victor
New submission from STINNER Victor : bpo-1294959 added --with-platlibdir option to configure, but "make install" doesn't fully respect it. Example: ./configure --prefix /opt/py39b1 --with-platlibdir=lib64 make make install I get:

[issue1294959] Add sys.platlibdir and configure --with-platlibdir to use /usr/lib64 on Fedora and SuSE

2020-05-19 Thread STINNER Victor
Change by STINNER Victor : -- title: Add sys.platlibdir to use /usr/lib64 on Fedora and SuSE -> Add sys.platlibdir and configure --with-platlibdir to use /usr/lib64 on Fedora and SuSE ___ Python tracker

[issue40683] Beta release does not distribute test_zoneinfo

2020-05-19 Thread Paul Ganssle
Change by Paul Ganssle : -- keywords: +patch pull_requests: +19520 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/20229 ___ Python tracker

[issue40683] Beta release does not distribute test_zoneinfo

2020-05-19 Thread STINNER Victor
Change by STINNER Victor : -- title: Beta release does not distribute zoneinfo -> Beta release does not distribute test_zoneinfo ___ Python tracker ___

[issue40683] Beta release does not distribute zoneinfo

2020-05-19 Thread STINNER Victor
STINNER Victor added the comment: FYI my notes about adding new files and directories in Python: https://pythondev.readthedocs.io/files.html -- nosy: +vstinner ___ Python tracker

[issue1294959] Add sys.platlibdir to use /usr/lib64 on Fedora and SuSE

2020-05-19 Thread STINNER Victor
STINNER Victor added the comment: > Can we clarify the wording to clearly indicate it's to be used only for > Python modules/extensions and not system dynamic libs? Sure. Can you please propose a different wording? English is not my first language. --

[issue40682] random.Random.seed() with version=1 does not consistently match Python 2 behavior

2020-05-19 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- nosy: +mark.dickinson, rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue40683] Beta release does not distribute zoneinfo

2020-05-19 Thread Paul Ganssle
Paul Ganssle added the comment: I think I found the problem: these directories are not included in the Makefile.pre.in LIBSUBDIRS variable: https://github.com/python/cpython/blob/a355a06fcc7ef2232736dceb012ae623335cd7ab/Makefile.pre.in#L1373 PR incoming. --

[issue37790] subprocess.Popen() is sometimes slower in python3 under illumos

2020-05-19 Thread John Levon
John Levon added the comment: I checked, and the supposition this is due to lack of closefrom() doesn't seem to be correct. Running the test case and looking at 'truss' output, there is no large number of close() that one would expect if this was the issue. I don't see Alexander's 2-time

[issue40683] Beta release does not distribute zoneinfo

2020-05-19 Thread Paul Ganssle
New submission from Paul Ganssle : Apparently something is wrong with make install for beta 1 and the `zoneinfo` module is not installed with it (only _zoneinfo). When I run a local build `./python -c "import zoneinfo"` works, but when I do `make install` I get ImportError: $ bin/python3

[issue40682] random.Random.seed() with version=1 does not consistently match Python 2 behavior

2020-05-19 Thread Micah R Ledbetter
New submission from Micah R Ledbetter : When using the random.Random class, using the .seed() method with version=1 does not always reproduce the same results as the .seed() method did in Python 2. >From the docs, I did expect this, but on closer inspection, I can't tell >whether I made a

[issue40668] Catastrophic loss of precision in colorsys module

2020-05-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: It is correct. Colorspaces for RGB an YIQ are different. Not all RGB colors can be represented in YIQ and vice versa. For YIQ color (0, 1, 0) you need RGB color (0.9468822170900693, -0.27478764629897834, -1.1085450346420322), but the G and B components

[issue1294959] Add sys.platlibdir to use /usr/lib64 on Fedora and SuSE

2020-05-19 Thread Michał Górny
Michał Górny added the comment: Can we clarify the wording to clearly indicate it's to be used only for Python modules/extensions and not system dynamic libs? -- ___ Python tracker

[issue40514] [subinterpreters] Add --experimental-isolated-subinterpreters build option

2020-05-19 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +19519 pull_request: https://github.com/python/cpython/pull/20228 ___ Python tracker ___

  1   2   >