[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 are

[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 ___ __

[issue39631] Fix file association MIME type on Windows

2020-05-19 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +19518 pull_request: https://github.com/python/cpython/pull/20227 ___ Python tracker ___ _

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

2020-05-19 Thread Steve Dower
Change by Steve Dower : -- keywords: +patch pull_requests: +19517 stage: -> patch review pull_request: https://github.com/python/cpython/pull/20226 ___ Python tracker ___

[issue39026] pystate.h contains non-relative of initconfig.h include causing macOS Framework include failure

2020-05-19 Thread STINNER Victor
STINNER Victor added the comment: > 2. Remove cpython/initconfig.h from cpython/pystate.h Let's start with that and see if it's enough to fix the issue. -- ___ 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: If you don't use the new --with-platlibdir configuration option, Python 3.9 behaves exactly as Python 3.8: there is zero change. Python 3.9 only builds a different sys.path if sys.platlibdir is different than "lib". -- _

[issue37616] [3.10 prep] zip path incorrect

2020-05-19 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +vstinner nosy_count: 3.0 -> 4.0 pull_requests: +19516 pull_request: https://github.com/python/cpython/pull/20225 ___ Python tracker ___ ___

[issue40681] shelve.open() should accept pathlib.Path

2020-05-19 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Support pathlike objects on dbm/shelve ___ Python tracker _

[issue31963] AMD64 Debian PGO 3.x buildbot: compilation failed with an internal compiler error in create_edge

2020-05-19 Thread STINNER Victor
STINNER Victor added the comment: > I need help for compiling and building Python-3.7.7. My system is Ubuntu > 16.04 LTS, gcc 5.4.0 20160609 You have different options: * Upgrade Ubuntu to the newer LTS to get a more recent C compiler * Don't use PGO Also, you might use a pre-built package

[issue40681] shelve.open() should accept pathlib.Path

2020-05-19 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: Duplicate of bpo-40563 -- nosy: +BTaskaya ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue40681] shelve.open() should accept pathlib.Path

2020-05-19 Thread Rémi Lapeyre
New submission from Rémi Lapeyre : This should target Python3.10, current behavior is: Python 3.10.0a0 (heads/master:19e3e00264, May 19 2020, 14:40:31) [Clang 11.0.3 (clang-1103.0.32.29)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import shelve, pathlib

[issue39631] Fix file association MIME type on Windows

2020-05-19 Thread miss-islington
miss-islington added the comment: New changeset 46fc3ec056ff7ce65e9b96f14bd0b06aa1d0c62d by Miss Islington (bot) in branch '3.8': bpo-39631: Fix file association MIME type in the Windows installer (GH-20205) https://github.com/python/cpython/commit/46fc3ec056ff7ce65e9b96f14bd0b06aa1d0c62d -

[issue39631] Fix file association MIME type on Windows

2020-05-19 Thread miss-islington
miss-islington added the comment: New changeset 076da79bc75b9aac8b7bc9685253fa7162c25698 by Miss Islington (bot) in branch '3.7': bpo-39631: Fix file association MIME type in the Windows installer (GH-20205) https://github.com/python/cpython/commit/076da79bc75b9aac8b7bc9685253fa7162c25698 -

[issue40677] IO_REPARSE_TAG_APPEXECLINK is not defined in old Windows SDK

2020-05-19 Thread miss-islington
miss-islington added the comment: New changeset 76d9a9cdc11c7b0153f9717d6edd1b681d5d1da5 by Miss Islington (bot) in branch '3.9': bpo-40677: Define IO_REPARSE_TAG_APPEXECLINK explicitly (GH-20206) https://github.com/python/cpython/commit/76d9a9cdc11c7b0153f9717d6edd1b681d5d1da5 --

[issue39631] Fix file association MIME type on Windows

2020-05-19 Thread miss-islington
miss-islington added the comment: New changeset c06983bc30e02700552c91be45559ca27fabc08e by Miss Islington (bot) in branch '3.9': bpo-39631: Fix file association MIME type in the Windows installer (GH-20205) https://github.com/python/cpython/commit/c06983bc30e02700552c91be45559ca27fabc08e -

[issue40677] IO_REPARSE_TAG_APPEXECLINK is not defined in old Windows SDK

2020-05-19 Thread miss-islington
miss-islington added the comment: New changeset 560d6436611900bc23d3dd1158acbe6fa39b2c9b by Miss Islington (bot) in branch '3.8': bpo-40677: Define IO_REPARSE_TAG_APPEXECLINK explicitly (GH-20206) https://github.com/python/cpython/commit/560d6436611900bc23d3dd1158acbe6fa39b2c9b --

[issue39631] Fix file association MIME type on Windows

2020-05-19 Thread Steve Dower
Steve Dower added the comment: Actually, now that I've gone and hit merge, I've changed my mind about the NEWS entry. I'll add it. -- ___ Python tracker ___ _

[issue40677] IO_REPARSE_TAG_APPEXECLINK is not defined in old Windows SDK

2020-05-19 Thread Steve Dower
Steve Dower added the comment: Thanks! -- 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: +19515 pull_request: https://github.com/python/cpython/pull/20220 ___ Python tracker ___ __

[issue39631] Fix file association MIME type on Windows

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

[issue40677] IO_REPARSE_TAG_APPEXECLINK is not defined in old Windows SDK

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

[issue40677] IO_REPARSE_TAG_APPEXECLINK is not defined in old Windows SDK

2020-05-19 Thread Steve Dower
Steve Dower added the comment: New changeset 711f9e180a48baba62301735b7f1a58ef0d0e93a by Minmin Gong in branch 'master': bpo-40677: Define IO_REPARSE_TAG_APPEXECLINK explicitly (GH-20206) https://github.com/python/cpython/commit/711f9e180a48baba62301735b7f1a58ef0d0e93a -- _

[issue40677] IO_REPARSE_TAG_APPEXECLINK is not defined in old Windows SDK

2020-05-19 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 5.0 -> 6.0 pull_requests: +19512 pull_request: https://github.com/python/cpython/pull/20217 ___ Python tracker _

[issue33065] IDLE debugger: failure stepping through module loading

2020-05-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: SO duplicate. https://stackoverflow.com/questions/61310989/python-idle-importing-xlrd-error-generated-in-debug-mode-attributeerror-mo -- ___ Python tracker _

[issue39631] Fix file association MIME type on Windows

2020-05-19 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 6.0 -> 7.0 pull_requests: +19511 pull_request: https://github.com/python/cpython/pull/20216 ___ Python tracker _

[issue38787] PEP 573: Module State Access from C Extension Methods

2020-05-19 Thread Petr Viktorin
Change by Petr Viktorin : -- pull_requests: +19510 pull_request: https://github.com/python/cpython/pull/20215 ___ Python tracker ___ ___

[issue39631] Fix file association MIME type on Windows

2020-05-19 Thread Steve Dower
Steve Dower added the comment: New changeset 8c862e51248c5ebfec787badec88eb58c9267e1e by Zackery Spytz in branch 'master': bpo-39631: Fix file association MIME type in the Windows installer (GH-20205) https://github.com/python/cpython/commit/8c862e51248c5ebfec787badec88eb58c9267e1e

[issue40452] Tkinter/IDLE: preserve clipboard on closure

2020-05-19 Thread Tal Einat
Tal Einat added the comment: Note that Tcl/Tk once had exactly the same issue on Windows, and they added specific code to "render" to the clipboard upon exit if the current app is the "clipboard owner". https://core.tcl-lang.org/tk/tktview/732662 This was fixed here: https://core.tcl-lang.

[issue40680] thread_cputime isn't supported by AIX5

2020-05-19 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: My source: https://www.ibm.com/support/pages/aix-support-lifecycle-information -- ___ Python tracker ___ ___

[issue40680] thread_cputime isn't supported by AIX5

2020-05-19 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: Does AIX 5.3 officially supported by IBM? As far as I can locate, it is deprecated long time ago. -- nosy: +BTaskaya ___ Python tracker ___

[issue40680] thread_cputime isn't supported by AIX5

2020-05-19 Thread Michael Felt
New submission from Michael Felt : issue40192 introduced the use of nanosecond reporting of time. The new routine called is not available in AIX 5.3: xlc_r -O -I/opt/include -O2 -qmaxmem=-1 -qarch=pwr5 -O -I../git/python-3.9/Include/internal -IObjects -IInclude -IPython -I. -I../

[issue40452] Tkinter/IDLE: preserve clipboard on closure

2020-05-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: I ran your tkinter code on Windows, without IDLE, and the clipboard was clear thereafter. I added 'test.mainloop()' and observed the following. 1. Close immediately, clipboard is clear, as before. 2. Paste 'Testing again' into 'text' with ^V and close, and cl

[issue40509] In argparse, allow REMAINDER(...) arguments in a mutually exclusive group

2020-05-19 Thread Shani Armon
Shani Armon added the comment: Bumping, since no reply was made to my previous comment. If this is not relevant at all can this be closed or marked as such, so that it may be raised in python-dev? -- ___ Python tracker

[issue37616] [3.10 prep] zip path incorrect

2020-05-19 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- nosy: +pablogsal nosy_count: 2.0 -> 3.0 pull_requests: +19509 pull_request: https://github.com/python/cpython/pull/20214 ___ Python tracker ___

[issue40124] Clearer assertion error

2020-05-19 Thread Chris Jerdonek
Chris Jerdonek added the comment: How about we review Phil's PR, which adds a message to the assertion. And then we can keep this issue open to discuss converting the assertion to an exception. I think Phil's PR is an improvement. -- nosy: +chris.jerdonek ___

[issue32309] Implement asyncio.run_in_executor shortcut

2020-05-19 Thread miss-islington
miss-islington added the comment: New changeset e2991308c9b49547d9762157ac913dda94b5eb32 by Miss Islington (bot) in branch '3.9': bpo-32309: Implement asyncio.to_thread() (GH-20143) https://github.com/python/cpython/commit/e2991308c9b49547d9762157ac913dda94b5eb32 -- ___

[issue32309] Implement asyncio.run_in_executor shortcut

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

[issue39976] Add "**other_popen_kwargs" to subprocess API signatures in docs

2020-05-19 Thread Chris Jerdonek
Chris Jerdonek added the comment: New changeset 05525fff8a46f4d479cc029e4ea57b35b153f015 by Miss Islington (bot) in branch '3.7': bpo-39976: Add **other_popen_kwargs to subprocess docs (GH-20145) https://github.com/python/cpython/commit/05525fff8a46f4d479cc029e4ea57b35b153f015 -- _

[issue39976] Add "**other_popen_kwargs" to subprocess API signatures in docs

2020-05-19 Thread Chris Jerdonek
Chris Jerdonek added the comment: New changeset 257e11cebde6b29177a206abd1e395367799ed42 by Miss Islington (bot) in branch '3.8': bpo-39976: Add **other_popen_kwargs to subprocess docs (GH-20145) https://github.com/python/cpython/commit/257e11cebde6b29177a206abd1e395367799ed42 -- _

[issue39976] Add "**other_popen_kwargs" to subprocess API signatures in docs

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

[issue39976] Add "**other_popen_kwargs" to subprocess API signatures in docs

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

[issue31963] AMD64 Debian PGO 3.x buildbot: compilation failed with an internal compiler error in create_edge

2020-05-19 Thread Albert Christianto
Albert Christianto added the comment: Hi admins, I need help for compiling and building Python-3.7.7. My system is Ubuntu 16.04 LTS, gcc 5.4.0 20160609 this is the configuration cmd for compling python ./configure --enable-optimizations --enable-shared when i compiled it, i get these similar

[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: > Not at all. This means that it is possible to do so. It remains optional. ...but then sys.platlibdir is going to incorrectly list 'lib', isn't it? According to https://docs.python.org/3.9/library/sys.html#sys.platlibdir it's used 'to build the path of platfo

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

2020-05-19 Thread Miro Hrončok
Miro Hrončok added the comment: > Does this mean that platforms using /usr/lib64 for shared libraries are now > forced to install Python into /usr/lib64/python*? Not at all. This means that it is possible to do so. It remains optional. -- ___ Pytho

[issue26317] _scproxy and Python Launcher fail to build wtih GNU gcc on macOS 10.13+

2020-05-19 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis added the comment: Also there was FLAFS typo in this line, which is probably not needed at all: OBJCFLAFS=@OBJCFLAGS@ AC_SUBST(OBJCXX) was added, but there was no usage of @OBJCXX@ anywhere... -- nosy: +Arfrever ___

[issue40679] show class name in method invocation TypeError

2020-05-19 Thread Chris Jerdonek
New submission from Chris Jerdonek : When calling an instance method incorrectly, you will often get a TypeError that is some variation of the following: Traceback (most recent call last): File "/.../test.py", line 6, in a.foo(1) TypeError: foo() takes 1 positional argum

[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: Does this mean that platforms using /usr/lib64 for shared libraries are now forced to install Python into /usr/lib64/python*? -- nosy: +mgorny ___ Python tracker ___

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

2020-05-19 Thread Jakub Stasiak
Change by Jakub Stasiak : -- nosy: +jstasiak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

<    1   2