[issue43036] TOS-behaviour documentation is

2021-01-27 Thread Xavier Morel
New submission from Xavier Morel : I was looking at the disassembly of a fairly straightforward listcomp: [e for e in s if e[0]] 1 0 BUILD_LIST 0 2 LOAD_FAST0 (.0) >>4 FOR_ITER16 (to 22) 6

[issue43035] FileNotFoundError in distutils\file_util.py copy_tree

2021-01-27 Thread Christian Heimes
Christian Heimes added the comment: It looks like you version number is confusing setuptools and distutils. Setuptools even warns you about the invalid version number: UserWarning: The version specified ('2.3.0-pre-alpha-1+c8273a4c-1-preview') is an invalid version, this may not work as

[issue43035] FileNotFoundError in distutils\file_util.py copy_tree

2021-01-27 Thread Karthik Nishanth
Karthik Nishanth added the comment: Sorry, I did use the `setup` function from `from setuptools import setup` I marked the component as Distutils because I noticed setuptools called distutils internally in the stacktrace -- ___ Python tracker

[issue43035] FileNotFoundError in distutils\file_util.py copy_tree

2021-01-27 Thread Christian Heimes
Christian Heimes added the comment: distutils is a legacy package. setuptools is the successor of distutils. Could you please try again with setuptools? -- nosy: +christian.heimes ___ Python tracker

[issue43035] FileNotFoundError in distutils\file_util.py copy_tree

2021-01-27 Thread Karthik Nishanth
New submission from Karthik Nishanth : I am making a bdist_wheel for a private python binary module. `python setup.py bdist_wheel` fails on a very specific windows VM repeatedly. This works fine on both a regular windows machine & linux machines. Attached the complete distutils verbose logs.

[issue42979] _zoneinfo: zoneinfomodule_exec() doesn't check for PyDateTime_IMPORT failure

2021-01-27 Thread STINNER Victor
STINNER Victor added the comment: New changeset 895591c1f0bdec5ad357fe6a5fd0875990061357 by Miss Islington (bot) in branch '3.9': bpo-42979: _zoneinfo exec function checks for PyDateTime_IMPORT failure (GH-24333) (GH-24351)

[issue42979] _zoneinfo: zoneinfomodule_exec() doesn't check for PyDateTime_IMPORT failure

2021-01-27 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +23172 pull_request: https://github.com/python/cpython/pull/24352 ___ Python tracker ___

[issue3353] make built-in tokenizer available via Python C API

2021-01-27 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I am -1 exposing the C-API of the tokenizer. For the new parser several modifications of the C tokenizer had to be done and some of them modify existing behaviour slightly. I don't want to corner ourselves in a place where we cannot make improvements

[issue42979] _zoneinfo: zoneinfomodule_exec() doesn't check for PyDateTime_IMPORT failure

2021-01-27 Thread STINNER Victor
STINNER Victor added the comment: Thanks for the fix Hai Shi! > By the way, the import machinery should raise a SystemError if a module exec > function raises an exception *and* reports a success: see > _Py_CheckFunctionResult(). It's already the case. Example: >>> import _zoneinfo

[issue42307] make install must not copy python.o into $prefix/lib/python3.10/config-3.10-x86_64-linux-gnu/

2021-01-27 Thread Miro Hrončok
Change by Miro Hrončok : -- nosy: +hroncok ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42979] _zoneinfo: zoneinfomodule_exec() doesn't check for PyDateTime_IMPORT failure

2021-01-27 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 2.0 -> 3.0 pull_requests: +23171 pull_request: https://github.com/python/cpython/pull/24351 ___ Python tracker

[issue42979] _zoneinfo: zoneinfomodule_exec() doesn't check for PyDateTime_IMPORT failure

2021-01-27 Thread STINNER Victor
STINNER Victor added the comment: New changeset eeb701adc0fc29ba803fddf133d917ff45639a00 by Hai Shi in branch 'master': bpo-42979: _zoneinfo exec function checks for PyDateTime_IMPORT failure (GH-24333) https://github.com/python/cpython/commit/eeb701adc0fc29ba803fddf133d917ff45639a00

[issue43031] aarch64 RHEL7 LTO + PGO 3.7: "make" hangs when running test_asyncio

2021-01-27 Thread STINNER Victor
STINNER Victor added the comment: I close the issue. I added a timeout (20 min) in master when running tests for a PGO build. > I created https://github.com/python/buildmaster-config/pull/228 to skip PGO > builds on Python 3.7, since test_asyncio hangs on PGO builds. Done. I remove all

[issue43031] aarch64 RHEL7 LTO + PGO 3.7: "make" hangs when running test_asyncio

2021-01-27 Thread STINNER Victor
STINNER Victor added the comment: New changeset 6790005a9a30ae3eca69d1957fb072171643a366 by Victor Stinner in branch 'master': bpo-43031: Set a timeout when running tests in PGO build (GH-24339) https://github.com/python/cpython/commit/6790005a9a30ae3eca69d1957fb072171643a366 --

[issue43033] Incorrect handling of PyObject_SetAttrString() in the _zoneinfo module

2021-01-27 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue43033] Incorrect handling of PyObject_SetAttrString() in the _zoneinfo module

2021-01-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset cb77c5e1ddd9328e4706f8fdf893aa6bf697942c by Miss Islington (bot) in branch '3.9': bpo-43033: Fix the handling of PyObject_SetAttrString() in _zoneinfo.c (GH-24345) (GH-24349)

[issue43030] signed/unsigned mismatch in Py_UNICODE_ISSPACE macro

2021-01-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: No, it is not enough, because we do not want to use ch as index if it is negative. -- ___ Python tracker ___

[issue43030] signed/unsigned mismatch in Py_UNICODE_ISSPACE macro

2021-01-27 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch nosy: +serhiy.storchaka nosy_count: 3.0 -> 4.0 pull_requests: +23170 stage: -> patch review pull_request: https://github.com/python/cpython/pull/24350 ___ Python tracker

[issue43033] Incorrect handling of PyObject_SetAttrString() in the _zoneinfo module

2021-01-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 5327f370344a627f1578d8183d197feb286371c6 by Zackery Spytz in branch 'master': bpo-43033: Fix the handling of PyObject_SetAttrString() in _zoneinfo.c (GH-24345) https://github.com/python/cpython/commit/5327f370344a627f1578d8183d197feb286371c6

[issue43033] Incorrect handling of PyObject_SetAttrString() in the _zoneinfo module

2021-01-27 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 1.0 -> 2.0 pull_requests: +23169 pull_request: https://github.com/python/cpython/pull/24349 ___ Python tracker

<    1   2