[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

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

[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

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

[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

[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

[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

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

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

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

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

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

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

[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

[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

[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../

[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 Batuhan Taskaya
Batuhan Taskaya added the comment: My source: https://www.ibm.com/support/pages/aix-support-lifecycle-information -- ___ 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.

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

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

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

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

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

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

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

[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

[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

[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 Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Support pathlike objects on dbm/shelve ___ Python tracker _

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

[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". -- _

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

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

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

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

[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

[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

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

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

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

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

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

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

[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

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

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

[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: https://

[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: /opt/py39b1/lib/python3.9/lib-dynload/readline.cpython-39-x86_

[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= --disable-dependenc

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

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

[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

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

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

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

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

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

[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: '=':

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

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

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

[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

[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: https://mail.py

[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: https:/

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

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

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

[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: https://mai

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

[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

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

[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

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

[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 "Delet

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

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

[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]: loader.loadTestsFromTestCase(Fu

[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 (appar

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

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

[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: https

[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

  1   2   >