[issue17576] PyNumber_Index() is not int-subclass friendly (or operator.index() docos lie)

2019-06-03 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: > Can we at least switch to PyLong_CheckExact? This is a behavior change and as such should be preceded by a period of warning. If we go this way I propose to add a FutureWarning for int subclasses with overridden __index__. As for turning the deprecated

[issue37132] Add a module for integer related math functions

2019-06-03 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Well, then closing this. -- resolution: -> rejected stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue33694] test_asyncio: test_start_tls_server_1() fails on Python on x86 Windows7 3.7 and 3.x

2019-06-03 Thread Yury Selivanov
Change by Yury Selivanov : -- nosy: -yselivanov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue35814] Syntax quirk with variable annotations

2019-06-03 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 8565f6b6db0fa9f65449b532a5056a98bad3dc37 by Pablo Galindo in branch 'master': bpo-35814: Allow unpacking in r.h.s of annotated assignment expressions (GH-13760) https://github.com/python/cpython/commit/8565f6b6db0fa9f65449b532a5056a98bad

[issue33694] test_asyncio: test_start_tls_server_1() fails on Python on x86 Windows7 3.7 and 3.x

2019-06-03 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +13656 pull_request: https://github.com/python/cpython/pull/13760 ___ Python tracker ___ ___

[issue34155] email.utils.parseaddr mistakenly parse an email

2019-06-03 Thread jpic
jpic added the comment: Thanks for your explanation, but in perspective with other invalid domains, such as "foo." currently resulting in an empty string too: >>> email.message_from_string('From: >>> a@foo.',policy=email.policy.default)['from'].addresses[0].domain '' Do you think this should

[issue31006] typing.NamedTuple should add annotations to its constructor (__new__) parameters.

2019-06-03 Thread Batuhan
Batuhan added the comment: IMHO this issue can be closed with this commit (https://github.com/python/typing/commit/435b29470c7d3e87055531f65681bee9746ab999) -- nosy: +BTaskaya ___ Python tracker ___

[issue34763] Python lacks 0x4E17

2019-06-03 Thread 林自均
林自均 added the comment: "丗" means "30" in Japanese. However, it is a variant Chinese character to "世", where "世" means "world" in Chinese. I'm not sure if this information makes any difference. -- nosy: +johnlinp ___ Python tracker

[issue37139] Inconsistent behavior of email.header.decode_header

2019-06-03 Thread Louis Abraham
New submission from Louis Abraham : Hi, (this is my first issue btw) I think has a broken behavior. It returns a list of `(decoded_string, charset)` pairs. However, `decoded_string` can be either a string or b

[issue34788] ipaddress module fails on rfc4007 scoped IPv6 addresses

2019-06-03 Thread Oleksandr Pavliuk
Change by Oleksandr Pavliuk : -- keywords: +patch pull_requests: +13657 stage: -> patch review pull_request: https://github.com/python/cpython/pull/13772 ___ Python tracker __

[issue32052] Provide access to buffer of asyncio.StreamReader

2019-06-03 Thread Bruce Merry
Bruce Merry added the comment: Ok, I'll open a separate issue to allow a tuple of possible separators. -- nosy: +bmerry ___ Python tracker ___

[issue37140] ctypes change made clang fail to build

2019-06-03 Thread Petr Viktorin
New submission from Petr Viktorin : Hello, I haven't investigated this fully yet, and won't be able to find time today. I'm forwarding the report here in case someone familiar with the code wants to take a look. On Fedora, "clang" fails to build with Python 3.8, probably due this change (whi

[issue35947] Update libffi_msvc to current version of libffi

2019-06-03 Thread Petr Viktorin
Petr Viktorin added the comment: Possible regression caused by this change: https://bugs.python.org/issue37140 -- nosy: +petr.viktorin ___ Python tracker ___ _

[issue37139] Inconsistent behavior of email.header.decode_header

2019-06-03 Thread SilentGhost
SilentGhost added the comment: This seem like a duplicate of #24797. I hope the answer given there applies. -- components: +email nosy: +SilentGhost, barry, r.david.murray resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> email.header.decode_header re

[issue37141] Allow multiple separators in StreamReader.readuntil

2019-06-03 Thread Bruce Merry
New submission from Bruce Merry : Text-based protocols sometimes allow a choice of newline separator - I work with one that allows either \r or \n. Unfortunately that doesn't work with StreamReader.readuntil, which only accepts a single separator, so I've had to do some hacky things to obtain

[issue37141] Allow multiple separators in StreamReader.readuntil

2019-06-03 Thread Andrew Svetlov
Andrew Svetlov added the comment: Would you make a PR? I guess to modify Stream.readuntil() StreamReader is deprecated, I'm not sure if we should add new functionality to this class. -- ___ Python tracker

[issue37140] ctypes change made clang fail to build

2019-06-03 Thread serge-sans-paille
Change by serge-sans-paille : -- nosy: +serge-sans-paille ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue36656] Race conditions due to os.link and os.symlink POSIX specification

2019-06-03 Thread Tom Hale
Change by Tom Hale : -- title: Allow os.symlink(src, target, force=True) to prevent race conditions -> Race conditions due to os.link and os.symlink POSIX specification ___ Python tracker ___

[issue37141] Allow multiple separators in StreamReader.readuntil

2019-06-03 Thread Bruce Merry
Bruce Merry added the comment: I wasn't aware of that deprecation - it doesn't seem to be mentioned at https://docs.python.org/3.8/library/asyncio-stream.html. What is the replacement? -- ___ Python tracker __

[issue37139] Inconsistent behavior of email.header.decode_header

2019-06-03 Thread Louis Abraham
Louis Abraham added the comment: Indeed, this is exactly the same (I should have researched more, my bad). The problem is that I'm using mailbox.Maildir which uses the Compat32 API. Do you think I should create an issue for Maildir to support the new EmailMessage API? -- __

[issue34467] No mechanism to abort created coroutine or suppress not-awaited warning

2019-06-03 Thread Andrew Svetlov
Andrew Svetlov added the comment: Could you consider passing (async_func, args, kwargs) tuple instead async_func(*args, **kwargs) coroutine? Looks like it solves your problem and doesn't require asyncio changes -- ___ Python tracker

[issue36231] no "proper" header files on macOS 10.14 Mojave

2019-06-03 Thread Ned Deily
Change by Ned Deily : -- pull_requests: +13658 pull_request: https://github.com/python/cpython/pull/13773 ___ Python tracker ___ ___

[issue37134] [EASY] Use PEP570 syntax in the documentation

2019-06-03 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Thank you, Raymond, for sharing your concerns regarding this. I am sorry you disagree with this change. I would want to expose the reasons I think this is important and justified, but please, don't read this as a way of dismissing your concerns; I rea

[issue36048] Deprecate implicit truncating when convert Python numbers to C integers: use __index__, not __int__

2019-06-03 Thread Mark Dickinson
Change by Mark Dickinson : -- pull_requests: +13659 pull_request: https://github.com/python/cpython/pull/13740 ___ Python tracker ___ __

[issue37141] Allow multiple separators in StreamReader.readuntil

2019-06-03 Thread Andrew Svetlov
Andrew Svetlov added the comment: Docs will be updated soon. The change has landed a week ago, I had no time for docs update before 3.8 beta. Sorry for that. The idea is: StreamReader and StreamWriter are merged into just Stream, open_connection() is replaced with connect() etc. --

[issue37141] Allow multiple separators in StreamReader.readuntil

2019-06-03 Thread Bruce Merry
Bruce Merry added the comment: Ok. Does the new Stream still have a similar interface for readuntil i.e. is this still a relevant request against the new API? I'm happy to let deprecated APIs stay as-is. -- ___ Python tracker

[issue37141] Allow multiple separators in StreamReader.readuntil

2019-06-03 Thread Andrew Svetlov
Andrew Svetlov added the comment: Yes, Stream supports all StreamReader and StreamWriter methods -- ___ Python tracker ___ ___ Pyth

[issue17576] PyNumber_Index() is not int-subclass friendly (or operator.index() docos lie)

2019-06-03 Thread Mark Dickinson
Change by Mark Dickinson : -- nosy: -mark.dickinson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue36656] Race conditions due to os.link and os.symlink POSIX specification

2019-06-03 Thread Tom Hale
Tom Hale added the comment: Serhiy wrote > Detected problem is better than non-detected problem. I agree. I also assert that no problem (via a shutil wrapper) is better than a detected problem which may not be handled. While it's up to the programmer to handle exceptions, it's only systems

[issue37141] Allow multiple separators in Stream.readuntil

2019-06-03 Thread Bruce Merry
Bruce Merry added the comment: Ok, I've changed the issue title to refer to Stream. Since this would be a new feature, I assume it's off the table for 3.8, but I'll see if I get time to implement a PR in time for 3.9 (and get someone at work to sign off on the contributor agreement, which mi

[issue17576] PyNumber_Index() is not int-subclass friendly (or operator.index() docos lie)

2019-06-03 Thread Mark Dickinson
Mark Dickinson added the comment: I've closed the PR. Reassigning back to Ethan. -- assignee: mark.dickinson -> ethan.furman nosy: +ethan.furman ___ Python tracker ___ ___

[issue36231] no "proper" header files on macOS 10.14 Mojave

2019-06-03 Thread Ned Deily
Ned Deily added the comment: New changeset 0288dd6a5192074fcd5aa0db5d3513c3880209ca by Ned Deily in branch 'master': bpo-36231: Support building on macOS without /usr/include (GH-13773) https://github.com/python/cpython/commit/0288dd6a5192074fcd5aa0db5d3513c3880209ca -- __

[issue37135] test_multiprocessing_spawn segfaults on AMD64 FreeBSD CURRENT Shared 3.x

2019-06-03 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I am unable to reproduce this locally, will post here a backtrace if I manage to do so. -- ___ Python tracker ___ ___

[issue33694] test_asyncio: test_start_tls_server_1() fails on Python on x86 Windows7 3.7 and 3.x

2019-06-03 Thread Ned Deily
Change by Ned Deily : -- pull_requests: +13660 pull_request: https://github.com/python/cpython/pull/13773 ___ Python tracker ___ ___

[issue37116] Use PEP 570 syntax for positional-only parameters

2019-06-03 Thread STINNER Victor
STINNER Victor added the comment: See also bpo-37134. -- nosy: +vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue37134] [EASY] Use PEP570 syntax in the documentation

2019-06-03 Thread STINNER Victor
STINNER Victor added the comment: See also bpo-37116. -- nosy: +vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue37116] Use PEP 570 syntax for positional-only parameters

2019-06-03 Thread STINNER Victor
STINNER Victor added the comment: > New changeset 2085bd0877e17ad4d98a4586d5eabb6faecbb190 by Serhiy Storchaka in > branch 'master': > bpo-37116: Use PEP 570 syntax for positional-only parameters. (GH-13700) > https://github.com/python/cpython/commit/2085bd0877e17ad4d98a4586d5eabb6faecbb190 O

[issue35431] Add a function for computing binomial coefficients to the math module

2019-06-03 Thread Steven D'Aprano
Steven D'Aprano added the comment: For what its worth, there are concrete, practical applications for binomial coefficients with negative arguments. They are used in fractional calculus https://nrich.maths.org/1365 which in turn has applications in physics, chemistry and other sciences: ht

[issue37142] test_asyncio timed out on AMD64 FreeBSD CURRENT Shared 3.x

2019-06-03 Thread STINNER Victor
New submission from STINNER Victor : https://buildbot.python.org/all/#/builders/168/builds/1135 running: test_asyncio (23 min 23 sec) running: test_asyncio (23 min 53 sec) running: test_asyncio (24 min 23 sec) running: test_asyncio (24 min 53 sec) 0:38:48 load avg: 0.32 [423/423/1] test_asyncio

[issue37142] test_asyncio timed out on AMD64 FreeBSD CURRENT Shared 3.x

2019-06-03 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +pablogsal ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue37143] multiprocessing crashed with EXCEPTION_ACCESS_VIOLATION on Python on x86 Windows7 3.x

2019-06-03 Thread STINNER Victor
New submission from STINNER Victor : Maybe it's related to bpo-33608: https://bugs.python.org/issue33608#msg340143 https://buildbot.python.org/all/#/builders/58/builds/2558 0:42:36 load avg: 5.63 [299/423/1] test_venv crashed (Exit code 1) Timeout (0:35:00)! Thread 0x0e00 (most recent cal

[issue37142] test_asyncio timed out on AMD64 FreeBSD CURRENT Shared 3.x

2019-06-03 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- components: +asyncio nosy: +asvetlov, yselivanov ___ Python tracker ___ ___ Python-bugs-list

[issue33608] Add a cross-interpreter-safe mechanism to indicate that an object may be destroyed.

2019-06-03 Thread STINNER Victor
STINNER Victor added the comment: > So far so good. :) I'll keep an eye on things and if the buildbots are still > happy then I'll add back _PyEval_FinishPendingCalls() in _Py_FinalizeEx() in > a few days. Another crash, on Windows: https://bugs.python.org/issue37143 It sounds like the exa

[issue26219] implement per-opcode cache in ceval

2019-06-03 Thread Inada Naoki
Inada Naoki added the comment: New changeset 91234a16367b56ca03ee289f7c03a34d4cfec4c8 by Inada Naoki in branch 'master': bpo-26219: per opcode cache for LOAD_GLOBAL (GH-12884) https://github.com/python/cpython/commit/91234a16367b56ca03ee289f7c03a34d4cfec4c8 -- _

[issue26219] implement per-opcode cache in ceval

2019-06-03 Thread Inada Naoki
Inada Naoki added the comment: I committed cache only for LOAD_GLOBAL, which is much simpler than LOAD_ATTR or LOAD_METHOD. Caches for other instructions will be implemented 3.9 or later. -- ___ Python tracker

[issue33694] test_asyncio: test_start_tls_server_1() fails on Python on x86 Windows7 3.7 and 3.x

2019-06-03 Thread Inada Naoki
Change by Inada Naoki : -- pull_requests: +13661 pull_request: https://github.com/python/cpython/pull/12884 ___ Python tracker ___ _

[issue35537] use os.posix_spawn in subprocess

2019-06-03 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: -11628 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue35537] use os.posix_spawn in subprocess

2019-06-03 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: -11627 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue35537] use os.posix_spawn in subprocess

2019-06-03 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: -11626 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue35537] use os.posix_spawn in subprocess

2019-06-03 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: -11594 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue35537] use os.posix_spawn in subprocess

2019-06-03 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: -11593 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue35537] use os.posix_spawn in subprocess

2019-06-03 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: -11249 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue35537] use os.posix_spawn in subprocess

2019-06-03 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: -11248 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue26219] implement per-opcode cache in ceval

2019-06-03 Thread Inada Naoki
Change by Inada Naoki : -- pull_requests: +13662 pull_request: https://github.com/python/cpython/pull/13775 ___ Python tracker ___ _

[issue35537] use os.posix_spawn in subprocess

2019-06-03 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: -11595 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue35537] use os.posix_spawn in subprocess

2019-06-03 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: -11334 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue35537] use os.posix_spawn in subprocess

2019-06-03 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: -11258 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue35537] use os.posix_spawn in subprocess

2019-06-03 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: -11335 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue35537] use os.posix_spawn in subprocess

2019-06-03 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: -11523 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue35537] use os.posix_spawn in subprocess

2019-06-03 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: -11524 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue35537] use os.posix_spawn in subprocess

2019-06-03 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: -11587 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue35537] use os.posix_spawn in subprocess

2019-06-03 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: -11476 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue35537] use os.posix_spawn in subprocess

2019-06-03 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: -11584 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue35537] use os.posix_spawn in subprocess

2019-06-03 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: -11583 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue35537] use os.posix_spawn in subprocess

2019-06-03 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: -10917 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue35537] use os.posix_spawn in subprocess

2019-06-03 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: -10918 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue35537] use os.posix_spawn in subprocess

2019-06-03 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: -11257 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue35537] use os.posix_spawn in subprocess

2019-06-03 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: -11586 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue35537] use os.posix_spawn in subprocess

2019-06-03 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: -11263 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue35537] use os.posix_spawn in subprocess

2019-06-03 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: -11264 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue35431] Add a function for computing binomial coefficients to the math module

2019-06-03 Thread Mark Dickinson
Mark Dickinson added the comment: Given that (a) we're right up against feature freeze, and (b) the discussions about API already happened in plenty of good time some months ago, leading to agreement on the initial API, I think we should avoid any last-minute changes and stick with what we h

[issue26219] implement per-opcode cache in ceval

2019-06-03 Thread Inada Naoki
Inada Naoki added the comment: New changeset 395420e2a35937fa9777fc3c8b0086629db95e27 by Inada Naoki in branch 'master': bpo-26219: remove unused code (GH-13775) https://github.com/python/cpython/commit/395420e2a35937fa9777fc3c8b0086629db95e27 -- ___

[issue33694] test_asyncio: test_start_tls_server_1() fails on Python on x86 Windows7 3.7 and 3.x

2019-06-03 Thread Inada Naoki
Change by Inada Naoki : -- pull_requests: +13663 pull_request: https://github.com/python/cpython/pull/13775 ___ Python tracker ___ _

[issue37030] Lib/cmd.py: Hide undocumented commands in help and completenames

2019-06-03 Thread Rémi Lapeyre
Rémi Lapeyre added the comment: It will be done automatically after someone validated the PR. -- nosy: +remi.lapeyre ___ Python tracker ___

[issue37144] tarfile.open: improper handling of path-like object

2019-06-03 Thread DM
New submission from DM : According to the documentation, tarfile.open accepts a path-like object since Python 3.6 However, it is not the case when writing a compressed gzip (w|gz). See the attached file for minimal POC Note 1: tested on 3.6 and 3.7 Note 2: https://docs.python.org/3.6/library/

[issue37143] multiprocessing crashed with EXCEPTION_ACCESS_VIOLATION on Python on x86 Windows7 3.x

2019-06-03 Thread STINNER Victor
STINNER Victor added the comment: On Windows 10, I ran "python -m test test_venv -m test_multiprocessing -F" for 8 min, and "python -m test test_multiprocessing_spawn" in parallel. I failed to reproduce the issue. -- ___ Python tracker

[issue37135] test_multiprocessing_spawn segfaults on AMD64 FreeBSD CURRENT Shared 3.x

2019-06-03 Thread STINNER Victor
STINNER Victor added the comment: https://bugs.python.org/issue33608#msg340075: > My procedure to reproduce the crash on FreeBSD: > https://bugs.python.org/issue36114#msg337092 I ran this test for 20 min on the FreeBSD CURRENT buildbot: I failed to reproduce the bug. -- ___

[issue37137] test_asyncio: test_cancel_gather_2() dangling thread

2019-06-03 Thread STINNER Victor
STINNER Victor added the comment: https://buildbot.python.org/all/#/builders/167/builds/1188 Variant: test_cancel_both_task_and_inner_future (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests) ... ok test_cancel_current_task (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests

[issue37137] test_asyncio: test_cancel_gather_2() dangling thread

2019-06-03 Thread STINNER Victor
STINNER Victor added the comment: See also bpo-34037: "asyncio: BaseEventLoop.close() shutdowns the executor without waiting causing leak of dangling threads". -- ___ Python tracker

[issue37137] test_asyncio: test_cancel_gather_2() dangling thread

2019-06-03 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +13664 stage: -> patch review pull_request: https://github.com/python/cpython/pull/13779 ___ Python tracker ___ _

[issue37135] test_multiprocessing_spawn segfaults on AMD64 FreeBSD CURRENT Shared 3.x

2019-06-03 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Adding the release manager to consider this -- nosy: +lukasz.langa ___ Python tracker ___

[issue33608] Add a cross-interpreter-safe mechanism to indicate that an object may be destroyed.

2019-06-03 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +13665 pull_request: https://github.com/python/cpython/pull/13780 ___ Python tracker ___ __

[issue33608] Add a cross-interpreter-safe mechanism to indicate that an object may be destroyed.

2019-06-03 Thread STINNER Victor
STINNER Victor added the comment: > It sounds like the exactly same bug is back: same crash on same buildbots. Since it became clear to me that the change broke multiple buildbots and nobody is able to investigate the issue, I wrote PR 13780 to revert the change: https://pythondev.readthedocs

[issue34763] Treat U+4E17 as a numeric value

2019-06-03 Thread Raymond Hettinger
Change by Raymond Hettinger : -- title: Python lacks 0x4E17 -> Treat U+4E17 as a numeric value ___ Python tracker ___ ___ Python-bug

[issue36974] Implement PEP 590

2019-06-03 Thread Jeroen Demeyer
Change by Jeroen Demeyer : -- pull_requests: +13666 pull_request: https://github.com/python/cpython/pull/13781 ___ Python tracker ___ __

[issue37087] Adding native id support for openbsd

2019-06-03 Thread STINNER Victor
STINNER Victor added the comment: New changeset 0b9956e9162d8723c2a30ff316ecc25e54459fb1 by Victor Stinner (David Carlier) in branch 'master': bpo-37087: Adding native ID support for OpenBSD (GH-13654) https://github.com/python/cpython/commit/0b9956e9162d8723c2a30ff316ecc25e54459fb1 ---

[issue34155] email.utils.parseaddr mistakenly parse an email

2019-06-03 Thread Abhilash Raj
Abhilash Raj added the comment: I agree that we currently abandon parsing (raise `HeaderParseError`) when we encounter a unexpected token when parsing domain (expected token is dot-atom-text). However, that mechanism is meant to signal the higher level parser that we should look for a diffe

[issue34155] email.utils.parseaddr mistakenly parse an email

2019-06-03 Thread Abhilash Raj
Abhilash Raj added the comment: slight typo in the previous message: s/fallback to `get_unstructured` /fallback to *something*/g -- ___ Python tracker ___ ___

[issue37137] test_asyncio: test_cancel_gather_2() dangling thread

2019-06-03 Thread STINNER Victor
STINNER Victor added the comment: New changeset 49a7e347976c9b39149ac7505b11ad6e9e2bdeec by Victor Stinner in branch 'master': bpo-37137: Fix test_asyncio: use TestCase.set_event_loop() (GH-13779) https://github.com/python/cpython/commit/49a7e347976c9b39149ac7505b11ad6e9e2bdeec --

[issue33608] Add a cross-interpreter-safe mechanism to indicate that an object may be destroyed.

2019-06-03 Thread Eric Snow
Eric Snow added the comment: Please wait on reverting. I'm going to investigate. @koobs, yeah, I'll send you a key. Thanks! :) -- ___ Python tracker ___ ___

[issue33608] Add a cross-interpreter-safe mechanism to indicate that an object may be destroyed.

2019-06-03 Thread Eric Snow
Eric Snow added the comment: FWIW, the failures before were in test_io and test_multiprocessing_spawn, not test_asyncio. -- ___ Python tracker ___ ___

[issue35431] Add a function for computing binomial coefficients to the math module

2019-06-03 Thread Raymond Hettinger
Raymond Hettinger added the comment: I don't have a preference one way or the other (both ways have plausible arguments, error checking vs utility beyond simple combinatorics, and both ways have ample precedents). That said, if we're going to ultimately relax the constraints, it would be be

[issue37087] Adding native id support for openbsd

2019-06-03 Thread STINNER Victor
STINNER Victor added the comment: Thanks David Carlier :-) -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___ _

[issue33608] Add a cross-interpreter-safe mechanism to indicate that an object may be destroyed.

2019-06-03 Thread Eric Snow
Eric Snow added the comment: I had really hoped to get this in for 3.8, as I may need it. However, realistically I doubt it will take just a few minutes to resolve this. With the beta 1 targeted for today it makes sense to revert my change. :( (I may still try to convince our fearless RM t

[issue37139] Inconsistent behavior of email.header.decode_header

2019-06-03 Thread SilentGhost
SilentGhost added the comment: There seems to be some work started in #32975. Perhaps, you'd like to revive it or contribute otherwise? -- ___ Python tracker ___

[issue34763] Treat U+4E17 as a numeric value

2019-06-03 Thread Xiang Zhang
Xiang Zhang added the comment: unicode.org doesn't list "丗" as numeric so I think there is nothing we can do. -- resolution: -> not a bug stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue33608] Add a cross-interpreter-safe mechanism to indicate that an object may be destroyed.

2019-06-03 Thread STINNER Victor
STINNER Victor added the comment: > FWIW, the failures before were in test_io and test_multiprocessing_spawn, not test_asyncio. I am not aware of a test_asyncio issue related to this issue, only crashes in multiprocessing. I bet on a similar crash than the previous attempt, during shutdown. -

[issue33608] Add a cross-interpreter-safe mechanism to indicate that an object may be destroyed.

2019-06-03 Thread STINNER Victor
STINNER Victor added the comment: New changeset e225bebc1409bcf68db74a35ed3c31222883bf8f by Victor Stinner in branch 'master': Revert "bpo-33608: Factor out a private, per-interpreter _Py_AddPendingCall(). (gh-13714)" (GH-13780) https://github.com/python/cpython/commit/e225bebc1409bcf68db74a

[issue33608] Add a cross-interpreter-safe mechanism to indicate that an object may be destroyed.

2019-06-03 Thread STINNER Victor
STINNER Victor added the comment: What annoy me the most in this issue is that I am unable to reproduce it. Even directly on the FreeBSD CURRENT buildbot, I failed to reproduce rhe crash even when I stressed the buildbot and the test. On the other side, when the CI runs the test suite, crash

[issue33608] Add a cross-interpreter-safe mechanism to indicate that an object may be destroyed.

2019-06-03 Thread STINNER Victor
STINNER Victor added the comment: My bet is that multiprocessing triggers a bug in daemon threads. Multiprocessing is using and abusing daemon threads. For example, as I wrote, test_venv misuses the multiprocessing API and implicitly let Python release (or maybe not!) "resources" where "reso

  1   2   3   >