[issue35134] Add a new Include/cpython/ subdirectory for the "CPython API" with implementation details

2018-11-26 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +9981 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue35320] Writable __spec__.has_location attribute

2018-11-26 Thread Géry
New submission from Géry : How to reproduce: Assign the __spec__.has_location attribute of any module. Observed result: __spec__.has_location is a writable. Expected result: __spec__.has_location should be read-only, as defined in PEP 451: https://www.python.org/dev/peps/pep-0451/#attributes

[issue35303] A reference leak in _operator.c's methodcaller_repr()

2018-11-26 Thread Josh Rosenberg
Josh Rosenberg added the comment: This is completely fixed, right? Just making sure there is nothing left to be done to close the issue. -- nosy: +josh.r ___ Python tracker _

[issue35303] A reference leak in _operator.c's methodcaller_repr()

2018-11-26 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue35308] webbrowser regression: BROWSER env var not respected

2018-11-26 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue35314] fnmatch failed with leading caret (^)

2018-11-26 Thread Josh Rosenberg
Josh Rosenberg added the comment: Finished typing this while Serhiy was closing, but just for further explanation: This isn't a bug. fnmatch provides "shell-style" wildcards, but that doesn't mean it supports every shell's extensions to the globbing syntax. It doesn't even claim support for

[issue35134] Add a new Include/cpython/ subdirectory for the "CPython API" with implementation details

2018-11-26 Thread STINNER Victor
STINNER Victor added the comment: New changeset dd12aa0aea733820807ec4f99e4e476064a0ee41 by Victor Stinner in branch 'master': bpo-35134: Create Include/cpython/pylifecycle.h (GH-10731) https://github.com/python/cpython/commit/dd12aa0aea733820807ec4f99e4e476064a0ee41 -- ___

[issue35134] Add a new Include/cpython/ subdirectory for the "CPython API" with implementation details

2018-11-26 Thread STINNER Victor
STINNER Victor added the comment: New changeset ffedd9ad2a8be4bf82a4d8f2bac3eaee5b44191e by Victor Stinner in branch 'master': bpo-35134: Create Include/cpython/dictobject.h (GH-10732) https://github.com/python/cpython/commit/ffedd9ad2a8be4bf82a4d8f2bac3eaee5b44191e --

[issue35320] Writable __spec__.has_location attribute

2018-11-26 Thread Géry
Change by Géry : -- nosy: -maggyero ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/m

[issue35321] None _frozen_importlib.__spec__.origin attribute

2018-11-26 Thread Géry
New submission from Géry : How to reproduce: In Python: > import _frozen_importlib > print(_frozen_importlib.__spec__.origin) Observed result: The __spec__.origin attribute of the _frozen_importlib module is None. Expected result: The __spec__.origin attribute of the _frozen_importlib module sh

[issue35320] Writable __spec__.has_location attribute

2018-11-26 Thread Géry
Change by Géry : -- nosy: +maggyero ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/ma

[issue35134] Add a new Include/cpython/ subdirectory for the "CPython API" with implementation details

2018-11-26 Thread STINNER Victor
STINNER Victor added the comment: New changeset f2a9d5c8378cd7eca90b3b197e2cc0989da55014 by Victor Stinner in branch 'master': bpo-35134: Create Include/cpython/pystate.h (GH-10733) https://github.com/python/cpython/commit/f2a9d5c8378cd7eca90b3b197e2cc0989da55014 -- ___

[issue35314] fnmatch failed with leading caret (^)

2018-11-26 Thread Cyker Way
Cyker Way added the comment: Thank you for confirmation. Knowing it is not fully POSIX-compliant helps with understanding. I'm asking this because I had interoperability issues writing python scripts providing shell-like utilities for filename expansion and the result may surprise users. Th

[issue35322] test_datetime leaks memory

2018-11-26 Thread STINNER Victor
New submission from STINNER Victor : test_datetime currently leaks memory blocks: test_datetime leaked [3, 4, 3] memory blocks, sum=10 Attached patch should be added to Lib/test/ to only run a minimum set of tests which reproduce the bug. -- files: datetimetester.py messages: 330482

[issue35322] test_datetime leaks memory

2018-11-26 Thread STINNER Victor
Change by STINNER Victor : Added file: https://bugs.python.org/file47949/datetimetester.py ___ Python tracker ___ ___ Python-bugs-list maili

[issue35322] test_datetime leaks memory

2018-11-26 Thread STINNER Victor
STINNER Victor added the comment: C:\vstinner\python\master>python -m test -R 3:20 -u all test_datetime Running Debug|x64 interpreter... Run tests sequentially 0:00:00 [1/1] test_datetime beginning 23 repetitions 12345678901234567890123 ... test_datetime leaked [1, 2, 1, 1,

[issue34482] datetime: Tests for potential crashes due to non-UTF-8-encodable strings

2018-11-26 Thread STINNER Victor
STINNER Victor added the comment: It seems like thie issue introduced a memory leak: bpo-35322 . -- nosy: +vstinner ___ Python tracker ___

[issue34212] Cygwin link failure with builtin modules since issue30860

2018-11-26 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset da324d53d420347344236ff64cf5eb9b675d6f86 by Benjamin Peterson (E. M. Bray) in branch 'master': closes bpo-34212: Build core extension modules with Py_BUILD_CORE_BUILTIN. (GH-8712) https://github.com/python/cpython/commit/da324d53d42034734423

[issue34212] Cygwin link failure with builtin modules since issue30860

2018-11-26 Thread miss-islington
Change by miss-islington : -- pull_requests: +9982 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue35323] Windows x86 executable installer can't install

2018-11-26 Thread liang feng
New submission from liang feng <1590...@139.com>: see log -- files: Python 3.7.1 (32-bit)_20181127100820.log messages: 330486 nosy: outofthink priority: normal severity: normal status: open title: Windows x86 executable installer can't install versions: Python 3.7 Added file: https:

[issue34212] Cygwin link failure with builtin modules since issue30860

2018-11-26 Thread miss-islington
miss-islington added the comment: New changeset 716a8089b04095acaba493925751df194a4916bb by Miss Islington (bot) in branch '3.7': closes bpo-34212: Build core extension modules with Py_BUILD_CORE_BUILTIN. (GH-8712) https://github.com/python/cpython/commit/716a8089b04095acaba493925751df194a49

[issue35323] Windows x86 executable installer can't install

2018-11-26 Thread liang feng
liang feng <1590...@139.com> added the comment: the file didn't download complete,change other computer download, it's fine -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker

[issue34893] Add 2to3 fixer to change send and recv methods of socket object.

2018-11-26 Thread Benjamin Peterson
Benjamin Peterson added the comment: I concur with Raymond. Thank you for the patch, but this seems too error-prone to commit. -- resolution: -> rejected stage: -> resolved status: open -> closed ___ Python tracker

[issue34978] check type of object in fix_dict.py in 2to3

2018-11-26 Thread Benjamin Peterson
Benjamin Peterson added the comment: I'm disinclined to change the fix here after it's existed in this for for 10 years. -- resolution: -> rejected stage: -> resolved status: open -> closed ___ Python tracker

[issue35320] Writable __spec__.has_location attribute

2018-11-26 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue35324] ssl: FileNotFoundError when do handshake

2018-11-26 Thread joseph...@yahoo.com
New submission from joseph...@yahoo.com : After upgrade my python from 3.6 to 3.7, one of my program got following error msgs and I suppose it is related to the 'ssl' module: Traceback (most recent call last): File "M:\SUPPOR~1\ONEDAY~1\ODD2\lib\site-packages\urllib3\connectionpool.py", lin

[issue35320] Writable __spec__.has_location attribute

2018-11-26 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I think a setter was added for has_location (msg205384) and docs were updated as part of the patch but the PEP was not updated? . A setter for has_location : https://hg.python.org/cpython/rev/e961a166dc70 -- ___

[issue35310] select which was interrupted by EINTR isn't re-run if the timeout has passed

2018-11-26 Thread Brian Maissy
Brian Maissy added the comment: The current behavior is: > select() is not retried, and the rlist is returned as-is (with fds in it > which are not ready for reading) Yes, this is a bug. It results in select() indicating that fd are ready for reading when they, in fact, are not. --

[issue35310] select which was interrupted by EINTR isn't re-run if the timeout has passed

2018-11-26 Thread Brian Maissy
Change by Brian Maissy : -- nosy: +oranav ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue33954] float.__format__('n') fails with _PyUnicode_CheckConsistency assertion error for locales with non-ascii thousands separator

2018-11-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Objects/unicodeobject.c: In function ‘_PyUnicode_FastFill’: Objects/unicodeobject.c:10126:24: warning: passing argument 2 of ‘unicode_fill’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] unicode_fill(kind, data, fill_char, s

[issue35325] imp.find_module() return value documentation discrepancy

2018-11-26 Thread Stefan Bauer (TraceTronic)
New submission from Stefan Bauer (TraceTronic) : I’d like to report a discrepancy between the documentation and implementation of the method imp.find_module(). The documentation currently says “If the module does not live in a fil

[issue31961] subprocess._execute_child doesn't accept a single PathLike argument for args

2018-11-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Gregory, could you please make a look at PR 5914? Differences from PR 4329: * Any item of args can be an iterable of bytes and path-like objects on Windows (not just a first item as in PR 4329). * Accepts bytes and path-like objects as executable on Window

[issue31241] ast col_offset wrong for list comprehensions, generators and tuples

2018-11-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset b619b097923155a7034c05c4018bf06af9f994d0 by Serhiy Storchaka in branch 'master': bpo-31241: Fix AST node position for list and generator comprehensions. (GH-10633) https://github.com/python/cpython/commit/b619b097923155a7034c05c4018bf06af9f99

[issue31241] ast col_offset wrong for list comprehensions, generators and tuples

2018-11-26 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.8 -Python 3.5, Python 3.6 ___ Python tracker __

<    1   2