[issue37267] os.dup() creates an inheritable fd when handling a character file on Windows

2019-06-17 Thread STINNER Victor
STINNER Victor added the comment: New changeset 28fca0c422b425a6be43be31add0a5328c16b0b8 by Victor Stinner (Zackery Spytz) in branch 'master': bpo-37267: Do not check for FILE_TYPE_CHAR in os.dup() on Windows (GH-14051) https://github.com/python/cpython/commit/28fca0c422b425a6be43be31add0a532

[issue37267] os.dup() creates an inheritable fd when handling a character file on Windows

2019-06-17 Thread miss-islington
Change by miss-islington : -- pull_requests: +13981 pull_request: https://github.com/python/cpython/pull/14140 ___ Python tracker ___ __

[issue37267] os.dup() creates an inheritable fd when handling a character file on Windows

2019-06-17 Thread miss-islington
Change by miss-islington : -- pull_requests: +13982 pull_request: https://github.com/python/cpython/pull/14141 ___ Python tracker ___ __

[issue37267] os.dup() creates an inheritable fd when handling a character file on Windows

2019-06-17 Thread STINNER Victor
STINNER Victor added the comment: According to the discussion in PR 14051: if os.dup() fails to make the new file descriptor new inheritable for a character device, the error must not be ignored. Instead, the caller is supposed to use os.dup(fd, inheritable=False). Before *this bugfix*, os.d

[issue35021] Assertion failures in datetimemodule.c.

2019-06-17 Thread Ned Deily
Ned Deily added the comment: Can we close this or is there anything further needed for this issue? -- nosy: +ned.deily ___ Python tracker ___ _

[issue36225] Lingering subinterpreters should be implicitly cleared on shutdown

2019-06-17 Thread Ned Deily
Ned Deily added the comment: Ping. It was marked as a 3.7regression but perhaps it should now be just targeted for 3.8. -- nosy: +ned.deily versions: +Python 3.9 ___ Python tracker

[issue37299] RuntimeWarning is NOT raised

2019-06-17 Thread Paul Ganssle
Paul Ganssle added the comment: I think the reason for the difference here is in the `no_error` function you never actually create the coroutine `true()`, so there's nothing to warn about. One thing that's confusing things about this example is that the `false()` evaluates to True, because i

[issue36688] _dummy_thread lacks an RLock implementaiton

2019-06-17 Thread Ned Deily
Ned Deily added the comment: Ping. This was marked as a 3.7regression and there is a PR waiting for review. Do we have plans to remove _dummy_thread in 3.8 or 3.9? -- nosy: +ned.deily versions: +Python 3.9 ___ Python tracker

[issue36403] AsyncIterator on 3.7: __aiter__ no longer honors finally blocks

2019-06-17 Thread Ned Deily
Ned Deily added the comment: Ping. This was marked as a 3.7regression. Is a change needed? -- ___ Python tracker ___ ___ Python-b

[issue34806] distutils tests fail with recent 3.7 branch

2019-06-17 Thread Ned Deily
Ned Deily added the comment: Since there has been no followup on this, I assume it is no longer a problem for anyone and am closing. -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker

[issue37189] PyRun_String not exported in python38.dll

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

[issue35998] test_asyncio: test_start_tls_server_1() TimeoutError on Fedora 29

2019-06-17 Thread Ned Deily
Ned Deily added the comment: What to do here? This was originally filed as a "release blocker" and I allowed 3.7.3 to go out without a resolution for it since we had agreed to @christian.heimes proposal to defer full support of OpenSSL 1.1.1 until 3.7.4. Now we are approaching code cutoff

[issue36403] AsyncIterator on 3.7: __aiter__ no longer honors finally blocks

2019-06-17 Thread Andrew Svetlov
Andrew Svetlov added the comment: >From my understanding yield inside __aiter__ is a forbidden construction. Even >if parser allows it the statement doesn't make any sense. I'm very interested to hear Yuri opinion. -- ___ Python tracker

[issue37189] PyRun_String not exported in python38.dll

2019-06-17 Thread STINNER Victor
STINNER Victor added the comment: Attached PR 14142 fix bpo-34646 regression. > It shouldn't break existing code because PyRun_String has a macro expansion > to PyRun_StringFlags. ABI compatibility between major releases is not > provided. Many applications don't use Python header files, bu

[issue37312] Remove deprecated _dummy_thread and dummy_threading modules

2019-06-17 Thread STINNER Victor
New submission from STINNER Victor : The _dummy_thread and dummy_threading modules are deprecated since Python 3.7 which now requires threading support. Attached PR removes these modules. -- components: Library (Lib) messages: 345810 nosy: vstinner priority: normal severity: normal sta

[issue37312] Remove deprecated _dummy_thread and dummy_threading modules

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

[issue36688] _dummy_thread lacks an RLock implementaiton

2019-06-17 Thread STINNER Victor
STINNER Victor added the comment: I created bpo-37312: "Remove deprecated _dummy_thread and dummy_threading modules" (in Python 3.9). -- nosy: +vstinner ___ Python tracker __

[issue37312] Remove deprecated _dummy_thread and dummy_threading modules

2019-06-17 Thread STINNER Victor
STINNER Victor added the comment: Python 3.7 has been modified to always require threading support: * https://bugs.python.org/issue31370 * https://mail.python.org/pipermail/python-dev/2017-September/149156.html commit a6a4dc816d68df04a7d592e0b6af8c7ecc4d4344 Author: Antoine Pitrou Date: Th

[issue36688] _dummy_thread lacks an RLock implementaiton

2019-06-17 Thread STINNER Victor
STINNER Victor added the comment: New changeset c5905f39bcf4ef895d42eede41bb5a2f071a501d by Victor Stinner (Joost Lek) in branch 'master': bpo-36688: Adding an implementation of RLock in _dummy_thread (GH-12943) https://github.com/python/cpython/commit/c5905f39bcf4ef895d42eede41bb5a2f071a501d

[issue36688] _dummy_thread lacks an RLock implementaiton

2019-06-17 Thread miss-islington
Change by miss-islington : -- pull_requests: +13985 pull_request: https://github.com/python/cpython/pull/14144 ___ Python tracker ___ __

[issue36688] _dummy_thread lacks an RLock implementaiton

2019-06-17 Thread miss-islington
Change by miss-islington : -- pull_requests: +13986 pull_request: https://github.com/python/cpython/pull/14145 ___ Python tracker ___ __

[issue36688] _dummy_thread lacks an RLock implementaiton

2019-06-17 Thread STINNER Victor
STINNER Victor added the comment: > Ping. This was marked as a 3.7regression and there is a PR waiting for > review. PR 12943 seems reasonable to me. I merged it. > Do we have plans to remove _dummy_thread in 3.8 or 3.9? I created bpo-37312 for Python 3.9. IMHO it's too late for 3.8.

[issue37193] Memory leak while running TCP/UDPServer with socketserver.ThreadingMixIn

2019-06-17 Thread STINNER Victor
STINNER Victor added the comment: PR 13893 with an additional lock sounds like a reasonable solution. The code should be skipped if the thread is a daemon thread. -- ___ Python tracker _

[issue24255] Replace debuglevel-related logic with logging

2019-06-17 Thread Aldwin Pollefeyt
Aldwin Pollefeyt added the comment: PR waiting review, Stage should be 'patch review' -- nosy: +aldwinaldwin ___ Python tracker ___ ___

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

2019-06-17 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +13987 pull_request: https://github.com/python/cpython/pull/14146 ___ Python tracker ___

[issue37193] Memory leak while running TCP/UDPServer with socketserver.ThreadingMixIn

2019-06-17 Thread STINNER Victor
STINNER Victor added the comment: Martin Panter: In addition to PR 13893 change, what do you think of also using a weakref? It might make the code even more reliable if something goes wrong. -- ___ Python tracker

[issue37313] test_concurrent_futures stopped after 25 hours on AMD64 Windows7 SP1 3.7

2019-06-17 Thread STINNER Victor
New submission from STINNER Victor : AMD64 Windows7 SP1 3.7: https://buildbot.python.org/all/#/builders/130/builds/935 0:23:27 load avg: 7.92 [412/416] test_plistlib passed -- running: test_venv (1 min 26 sec), test_concurrent_futures (23 min 26 sec) 0:23:32 load avg: 7.29 [413/416] test_argpa

[issue36688] _dummy_thread lacks an RLock implementaiton

2019-06-17 Thread miss-islington
miss-islington added the comment: New changeset 351b0e793e35510e8cbbcbb455a1b9544e808cdd by Miss Islington (bot) in branch '3.7': bpo-36688: Adding an implementation of RLock in _dummy_thread (GH-12943) https://github.com/python/cpython/commit/351b0e793e35510e8cbbcbb455a1b9544e808cdd --

[issue36688] _dummy_thread lacks an RLock implementaiton

2019-06-17 Thread miss-islington
miss-islington added the comment: New changeset ad505918a1829e6fa2a48a7665234d60a9377e98 by Miss Islington (bot) in branch '3.8': bpo-36688: Adding an implementation of RLock in _dummy_thread (GH-12943) https://github.com/python/cpython/commit/ad505918a1829e6fa2a48a7665234d60a9377e98 --

[issue37299] RuntimeWarning is NOT raised

2019-06-17 Thread YoSTEALTH
YoSTEALTH added the comment: Yes, this was the previous conclusion. In a large code base, its hard to find such solution easily! There are many cases where `await` is not called and `RuntimeWarning` is not raised. Hard to narrow down the exact problem. Maybe there needs to be a better way t

[issue37314] Compilation failed on AMD64 Debian root 3.8: undefined reference to _PyTraceMalloc_NewReference

2019-06-17 Thread STINNER Victor
New submission from STINNER Victor : AMD64 Debian root 3.8: https://buildbot.python.org/all/#builders/211/builds/47 libpython3.8d.a(bytesobject.o): In function `_Py_NewReference': /root/buildarea/3.8.angelico-debian-amd64/build/./Include/object.h:439: undefined reference to `_PyTraceMalloc_New

[issue36688] _dummy_thread lacks an RLock implementaiton

2019-06-17 Thread STINNER Victor
STINNER Victor added the comment: Thanks Joost Lek for the fix and Karthikeyan Singaravelan for the bug report. It's now fixed in 3.7, 3.8 and master branches. I close the issue. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed _

[issue37267] os.dup() creates an inheritable fd when handling a character file on Windows

2019-06-17 Thread STINNER Victor
STINNER Victor added the comment: New changeset 71589491ad0da27f57789b97354f6094a91e2eb3 by Victor Stinner (Miss Islington (bot)) in branch '3.7': bpo-37267: Do not check for FILE_TYPE_CHAR in os.dup() on Windows (GH-14051) (GH-14141) https://github.com/python/cpython/commit/71589491ad0da27f

[issue37267] os.dup() creates an inheritable fd when handling a character file on Windows

2019-06-17 Thread STINNER Victor
STINNER Victor added the comment: New changeset 693945d45dfe50c843970cab3e3aa1fa3a3eddbe by Victor Stinner (Miss Islington (bot)) in branch '3.8': bpo-37267: Do not check for FILE_TYPE_CHAR in os.dup() on Windows (GH-14051) (GH-14140) https://github.com/python/cpython/commit/693945d45dfe50c8

[issue34631] Upgrade to OpenSSL 1.1.1c, 1.1.0k, and/or 1.0.2s

2019-06-17 Thread Ned Deily
Ned Deily added the comment: It looks we missed the window for 3.7.4 here. (I assume the Windows installer build is not using 1.1.1. Steve?) Talking with Christian about this in IRC, we agreed, the CI pipelines (Azure and travis) are now using 1.1.1c and I've put a request to the buildbot

[issue37267] os.dup() creates an inheritable fd when handling a character file on Windows

2019-06-17 Thread STINNER Victor
STINNER Victor added the comment: Thanks Zackery Spytz as usual! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue37315] Deprecate using math.factorial() with floats

2019-06-17 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : Currently math.factorial() accepts integer-like objects (including objects with defined __index__) as well as float instances with integral value (but not arbitrary float-like objects with defined __float__). I suppose this was happen because factorial()

[issue37299] RuntimeWarning is NOT raised

2019-06-17 Thread Andrew Svetlov
Andrew Svetlov added the comment: The solution is called static analyzers and "type hints". Mypy detects the absence of "await" pretty well. In turn, CPython does the best in runtime mode for detecting not-awaited awaitables when possible. I think we should close the issue, it doesn't show a

[issue35998] test_asyncio: test_start_tls_server_1() TimeoutError on Fedora 29

2019-06-17 Thread Andrew Svetlov
Andrew Svetlov added the comment: No idea what to do. SSL support is obviously broken. Current code is too complex to maintain. Yuri has a full reimplementation of ssl_proto.py in uvloop. It *seem* to work and can be backported. I'm sick now, can be ready to work back in a day or two. --

[issue37315] Deprecate using math.factorial() with floats

2019-06-17 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +13988 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14147 ___ Python tracker ___

[issue35031] test_asyncio test_start_tls_server_1 fails in AMD64 FreeBSD CURRENT buildbots

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

[issue37297] function changed when pickle bound method object

2019-06-17 Thread Géry
Change by Géry : -- nosy: +asvetlov, christian.heimes, vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35031] test_asyncio test_start_tls_server_1 fails in AMD64 FreeBSD CURRENT buildbots

2019-06-17 Thread STINNER Victor
STINNER Victor added the comment: Commit f6a47f3e316cede2a07a1f74a509f6d80ab8fef0 introduced a workaround on Windows and FreeBSD. It was removed by commit f0749da9a535375f05a2015e8960e8ae54877349 in bpo-35998... but then Windows restarted to fail: https://bugs.python.org/issue35998#msg345644

[issue34903] strptime %d handling of single digit day of month

2019-06-17 Thread Mike Gleen
Change by Mike Gleen : -- pull_requests: +13990 pull_request: https://github.com/python/cpython/pull/14149 ___ Python tracker ___ __

[issue35998] test_asyncio: test_start_tls_server_1() TimeoutError on Fedora 29

2019-06-17 Thread STINNER Victor
STINNER Victor added the comment: New changeset c034b7824f5a7c50f2946ab3931633200e31d903 by Victor Stinner in branch 'master': bpo-35031, test_asycio: disable TLS 1.3 in test_start_tls_server_1() (GH-14148) https://github.com/python/cpython/commit/c034b7824f5a7c50f2946ab3931633200e31d903 --

[issue35031] test_asyncio test_start_tls_server_1 fails in AMD64 FreeBSD CURRENT buildbots

2019-06-17 Thread miss-islington
Change by miss-islington : -- pull_requests: +13993 pull_request: https://github.com/python/cpython/pull/14151 ___ Python tracker ___ __

[issue37316] mmap.mmap() passes the wrong variable to PySys_Audit()

2019-06-17 Thread Zackery Spytz
New submission from Zackery Spytz : new_mmap_object() should pass the fd variable to PySys_Audit(), not fileno. Also, there's a missing call to va_end() in PySys_Audit() itself. -- components: Extension Modules messages: 345834 nosy: ZackerySpytz priority: normal severity: normal statu

[issue37301] CGIHTTPServer doesn't handle long POST requests

2019-06-17 Thread vsbogd
vsbogd added the comment: Yeah, I have seen this comment as well. As I see this code for the first time I am not very familiar with it. It seems that this explanation is related to the case when non-Python CGI script is executed: os.dup2(self.rfile.fileno(), 0)

[issue35998] test_asyncio: test_start_tls_server_1() TimeoutError on Fedora 29

2019-06-17 Thread miss-islington
miss-islington added the comment: New changeset 0040903bbae043225499babae23649d896ea2eec by Miss Islington (bot) in branch '3.7': bpo-35031, test_asycio: disable TLS 1.3 in test_start_tls_server_1() (GH-14148) https://github.com/python/cpython/commit/0040903bbae043225499babae23649d896ea2eec

[issue35031] test_asyncio test_start_tls_server_1 fails in AMD64 FreeBSD CURRENT buildbots

2019-06-17 Thread miss-islington
miss-islington added the comment: New changeset 0040903bbae043225499babae23649d896ea2eec by Miss Islington (bot) in branch '3.7': bpo-35031, test_asycio: disable TLS 1.3 in test_start_tls_server_1() (GH-14148) https://github.com/python/cpython/commit/0040903bbae043225499babae23649d896ea2eec

[issue35998] test_asyncio: test_start_tls_server_1() TimeoutError on Fedora 29

2019-06-17 Thread miss-islington
Change by miss-islington : -- pull_requests: +13994 pull_request: https://github.com/python/cpython/pull/14151 ___ Python tracker ___ __

[issue37316] mmap.mmap() passes the wrong variable to PySys_Audit()

2019-06-17 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch pull_requests: +13995 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14152 ___ Python tracker ___ __

[issue35031] test_asyncio test_start_tls_server_1 fails in AMD64 FreeBSD CURRENT buildbots

2019-06-17 Thread STINNER Victor
STINNER Victor added the comment: New changeset c034b7824f5a7c50f2946ab3931633200e31d903 by Victor Stinner in branch 'master': bpo-35031, test_asycio: disable TLS 1.3 in test_start_tls_server_1() (GH-14148) https://github.com/python/cpython/commit/c034b7824f5a7c50f2946ab3931633200e31d903 --

[issue37231] Optimize calling special methods

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

[issue35998] test_asyncio: test_start_tls_server_1() TimeoutError on Fedora 29

2019-06-17 Thread miss-islington
Change by miss-islington : -- pull_requests: +13992 stage: resolved -> patch review pull_request: https://github.com/python/cpython/pull/14150 ___ Python tracker ___ __

[issue35031] test_asyncio test_start_tls_server_1 fails in AMD64 FreeBSD CURRENT buildbots

2019-06-17 Thread miss-islington
Change by miss-islington : -- pull_requests: +13991 pull_request: https://github.com/python/cpython/pull/14150 ___ Python tracker ___ __

[issue34631] Upgrade to OpenSSL 1.1.1c, 1.1.0k, and/or 1.0.2s

2019-06-17 Thread Ned Deily
Ned Deily added the comment: > (I assume the Windows installer build is not using 1.1.1. Steve?) After doing a little more homework and better understanding PCbuild/get_externals.bat, https://github.com/python/cpython-source-deps, and https://github.com/python/cpython-bin-deps and their twi

[issue35998] test_asyncio: test_start_tls_server_1() TimeoutError on Fedora 29

2019-06-17 Thread miss-islington
miss-islington added the comment: New changeset a5ddbfbf50715e3d4b90ad367ed6827c6cbcc52f by Miss Islington (bot) in branch '3.8': bpo-35031, test_asycio: disable TLS 1.3 in test_start_tls_server_1() (GH-14148) https://github.com/python/cpython/commit/a5ddbfbf50715e3d4b90ad367ed6827c6cbcc52f

[issue35031] test_asyncio test_start_tls_server_1 fails in AMD64 FreeBSD CURRENT buildbots

2019-06-17 Thread miss-islington
miss-islington added the comment: New changeset a5ddbfbf50715e3d4b90ad367ed6827c6cbcc52f by Miss Islington (bot) in branch '3.8': bpo-35031, test_asycio: disable TLS 1.3 in test_start_tls_server_1() (GH-14148) https://github.com/python/cpython/commit/a5ddbfbf50715e3d4b90ad367ed6827c6cbcc52f

[issue33725] Python crashes on macOS after fork with no exec

2019-06-17 Thread Ned Deily
Ned Deily added the comment: As far as I can tell, the only thing left to do for this issue is to add a documentation warning to the 3.7 documents similar to what was added to 3.8 but without the change in default. A PR would be nice. -- ___ Pyth

[issue37315] Deprecate using math.factorial() with floats

2019-06-17 Thread Mark Dickinson
Mark Dickinson added the comment: +1 from me; let's make `factorial` consistent with the other integer-based math module functions. -- ___ Python tracker ___ ___

[issue34506] Traceback logged when SSL handshake fails

2019-06-17 Thread Andrew Svetlov
Andrew Svetlov added the comment: I believe the issue is a duplicate for #37035 at least regarding traceback logging. It can be closed, OSError exceptions are not logged anymore. -- ___ Python tracker

[issue34506] Traceback logged when SSL handshake fails

2019-06-17 Thread Aymeric Augustin
Aymeric Augustin added the comment: Yes, that seems reasonable. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue37313] test_concurrent_futures stopped after 25 hours on AMD64 Windows7 SP1 3.7

2019-06-17 Thread Jeremy Kloth
Jeremy Kloth added the comment: The test run was stopped by me terminating the stuck processes on the buildbot worker itself. This happens approximately once a month or so. As of late, its been stuck in test_concurrent_futures, but it can get stuck in any test that uses multiprocessing (the

[issue4198] os.path.normcase gets fooled on windows with mapped linux network drive

2019-06-17 Thread Mark Summerfield
Mark Summerfield added the comment: When running a VirtualBox Windows 7 guest on Linux I have found that os.path.samefile() returns False when the filenames are the same, e.g., f = r'V:\pdfs\boson1.pdf' same = os.path.samefile(f, f) print(same) # expected True; got False I mention it here be

[issue34506] Traceback logged when SSL handshake fails

2019-06-17 Thread Andrew Svetlov
Change by Andrew Svetlov : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Don't log OSError exceptions in asyncio transports ___ Python tracker ___

[issue37231] Optimize calling special methods

2019-06-17 Thread Inada Naoki
Inada Naoki added the comment: New changeset 0456df4a55ec9a4e8f4425df92bbe63a290f3f2f by Inada Naoki (Jeroen Demeyer) in branch 'master': bpo-37231: remove _PyObject_FastCall_Prepend (GH-14153) https://github.com/python/cpython/commit/0456df4a55ec9a4e8f4425df92bbe63a290f3f2f -- ___

[issue36922] Implement Py_TPFLAGS_METHOD_DESCRIPTOR

2019-06-17 Thread Inada Naoki
Inada Naoki added the comment: New changeset 2e9954d3472a23919b96323fcd5bb6c1d6927155 by Inada Naoki (Jeroen Demeyer) in branch 'master': bpo-36922: use Py_TPFLAGS_METHOD_DESCRIPTOR in lookup_maybe_method() (GH-13865) https://github.com/python/cpython/commit/2e9954d3472a23919b96323fcd5bb6c1d6

[issue36922] Implement Py_TPFLAGS_METHOD_DESCRIPTOR

2019-06-17 Thread miss-islington
Change by miss-islington : -- pull_requests: +13997 pull_request: https://github.com/python/cpython/pull/14155 ___ Python tracker ___ __

[issue36922] Implement Py_TPFLAGS_METHOD_DESCRIPTOR

2019-06-17 Thread miss-islington
miss-islington added the comment: New changeset 988fff5d0e7fccecbf776c08ec56695820b3b4a8 by Miss Islington (bot) in branch '3.8': bpo-36922: use Py_TPFLAGS_METHOD_DESCRIPTOR in lookup_maybe_method() (GH-13865) https://github.com/python/cpython/commit/988fff5d0e7fccecbf776c08ec56695820b3b4a8

[issue37312] Remove deprecated _dummy_thread and dummy_threading modules

2019-06-17 Thread STINNER Victor
STINNER Victor added the comment: New changeset 8bf08ee45b7c2341f0d0175b91892843a37c23da by Victor Stinner in branch 'master': bpo-37312: Remove _dummy_thread and dummy_threading modules (GH-14143) https://github.com/python/cpython/commit/8bf08ee45b7c2341f0d0175b91892843a37c23da --

[issue37312] Remove deprecated _dummy_thread and dummy_threading modules

2019-06-17 Thread STINNER Victor
STINNER Victor added the comment: Bye bye dummy_threading. As explained in PR 14143, I kept a reference to dummy_threading in 2to3 on purpose. Keep it there is fine, it helps to port legacy Python 2 code to Python 3. -- resolution: -> fixed stage: patch review -> resolved status: op

[issue37194] Move new vector private declarations to the internal C API

2019-06-17 Thread STINNER Victor
STINNER Victor added the comment: New changeset 2ff58a24e8a1c7e290d025d69ebaea0bbead3b8c by Victor Stinner in branch 'master': bpo-37194: Add a new public PyObject_CallNoArgs() function (GH-13890) https://github.com/python/cpython/commit/2ff58a24e8a1c7e290d025d69ebaea0bbead3b8c --

[issue37194] Move new vector private declarations to the internal C API

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

[issue36732] test_asyncio: test_huge_content_recvinto() fails randomly

2019-06-17 Thread STINNER Victor
STINNER Victor added the comment: New failure on AMD64 Windows7 SP1 3.8: https://buildbot.python.org/all/#/builders/208/builds/75 == ERROR: test_huge_content_recvinto (test.test_asyncio.test_sock_lowlevel.SelectEventLoopTests

[issue37194] Move new vector private declarations to the internal C API

2019-06-17 Thread STINNER Victor
STINNER Victor added the comment: New changeset 1ce2656f13e726b3b99d4c968926908cff1f460a by Victor Stinner in branch 'master': bpo-37194: Complete PyObject_CallXXX() docs (GH-14156) https://github.com/python/cpython/commit/1ce2656f13e726b3b99d4c968926908cff1f460a -- ___

[issue37194] Move new vector private declarations to the internal C API

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

[issue37194] Move new vector private declarations to the internal C API

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

[issue37194] Move new vector private declarations to the internal C API

2019-06-17 Thread STINNER Victor
STINNER Victor added the comment: > bpo-37191: the new vector APIs declare "static inline" functions which are no > C89 compatible and so cause compilation issues on pygobject3, python-dbus, > xen (for example). bpo-37191 have been fixed, so this issue can now be closed. -- resoluti

[issue32545] Unable to install Python 3.7.0a4 on Windows 10 - Error 0x80070643: Failed to install MSI package.

2019-06-17 Thread prince parker
prince parker added the comment: >From the log record, everything I can advise is that it neglected to open the >document containing data about progressing introduces. At a supposition, >another introduce was running (possibly fizzled?) and didn't tidy up >appropriately. https://antimalware

[issue37194] Move new vector private declarations to the internal C API

2019-06-17 Thread STINNER Victor
STINNER Victor added the comment: New changeset 71031cf4ed5ac9e330c8890b92379d9df383925b by Victor Stinner in branch '3.8': bpo-37194: Complete PyObject_CallXXX() docs (GH-14156) (GH-14157) https://github.com/python/cpython/commit/71031cf4ed5ac9e330c8890b92379d9df383925b -- ___

[issue37194] Move new vector private declarations to the internal C API

2019-06-17 Thread STINNER Victor
STINNER Victor added the comment: New changeset ac4202ee4d53d6c0a07109e03795b70d91edbbb3 by Victor Stinner in branch '3.7': bpo-37194: Complete PyObject_CallXXX() docs (GH-14156) (GH-14158) https://github.com/python/cpython/commit/ac4202ee4d53d6c0a07109e03795b70d91edbbb3 -- ___

[issue37194] Move new vector private declarations to the internal C API

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

[issue37315] Deprecate using math.factorial() with floats

2019-06-17 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 231aad38493c871dd32930a21d256cbacd2ae20c by Serhiy Storchaka in branch 'master': bpo-37315: Deprecate accepting floats in math.factorial(). (GH-14147) https://github.com/python/cpython/commit/231aad38493c871dd32930a21d256cbacd2ae20c

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

2019-06-17 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 1b8a46d59734a77cd1f5ffcf3bdfcaafd58a87e7 by Serhiy Storchaka in branch 'master': bpo-35431: Test math.comb() and math.perm() for OverflowError only on CPython. (GH-14146) https://github.com/python/cpython/commit/1b8a46d59734a77cd1f5ffcf3bdfca

[issue37315] Deprecate using math.factorial() with floats

2019-06-17 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue37317] asyncio gather doesn't handle custom exceptions that inherit from BaseException

2019-06-17 Thread Carlos Mermingas
New submission from Carlos Mermingas : asyncio.gather doesn't handle custom exception exceptions that inherit from BaseException in the same manner that it handles those that inherit from Exception, regardless of whether return_exceptions is set to True or False. In the example below, I am us

[issue37317] asyncio gather doesn't handle custom exceptions that inherit from BaseException

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

[issue37194] Move new vector private declarations to the internal C API

2019-06-17 Thread STINNER Victor
STINNER Victor added the comment: New changeset 5352cc41fa4eb5f0dc847709392e88473b8593b0 by Victor Stinner in branch 'master': bpo-37194: Add PyObject_CallNoArgs() rationale (GH-14159) https://github.com/python/cpython/commit/5352cc41fa4eb5f0dc847709392e88473b8593b0 --

[issue37318] builtins.True exists but can't be accessed

2019-06-17 Thread ChrisRands
New submission from ChrisRands : On Python 3: >>> import builtins >>> 'True' in dir(builtins) True >>> builtins.True File "", line 1 builtins.True ^ SyntaxError: invalid syntax >>> So "True" is a keyword, I guess this explains the behaviour, but still seems odd to me?

[issue37288] Fix Windows build when --no-tkinter is specified

2019-06-17 Thread Steve Dower
Steve Dower added the comment: New changeset 00f6493084c385033fe5574314223217d9a26672 by Steve Dower (Paul Monson) in branch 'master': bpo-37288: Fix Windows build when --no-tkinter is specified (GH-14096) https://github.com/python/cpython/commit/00f6493084c385033fe5574314223217d9a26672 ---

[issue37288] Fix Windows build when --no-tkinter is specified

2019-06-17 Thread miss-islington
Change by miss-islington : -- pull_requests: +14002 pull_request: https://github.com/python/cpython/pull/14160 ___ Python tracker ___ __

[issue35360] Update SQLite to 3.26 in Windows and macOS installer builds

2019-06-17 Thread Steve Dower
Steve Dower added the comment: Has anyone tried building with the newer SQLite and confirmed that the tests and any scenarios they use still work? We don't currently have a SQLite expert to do these kinds of things. -- ___ Python tracker

[issue37288] Fix Windows build when --no-tkinter is specified

2019-06-17 Thread Steve Dower
Steve Dower added the comment: Thanks, Paul! -- assignee: -> steve.dower resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ _

[issue37297] function changed when pickle bound method object

2019-06-17 Thread Géry
Géry added the comment: @George Xie There is an issue with the Python workaround `multiprocessing.reduction.register(types.MethodType, my_reduce)` that you proposed. If you then instantiate a `multiprocessing.Manager()` you get this exception: > python Python 3.7.3 (v3.7.3:ef4ec6ed12, Mar 2

[issue37297] function changed when pickle bound method object

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

[issue34631] Upgrade to OpenSSL 1.1.1c, 1.1.0k, and/or 1.0.2s

2019-06-17 Thread Steve Dower
Steve Dower added the comment: The canonical source of versions used on Windows is in PCbuild/python.props I'll pull the 1.1.1c sources into cpython-source-deps and run a build. If all goes smoothly, we can consider it, but I don't have a huge amount of time for CPython this week I'm afraid.

[issue37288] Fix Windows build when --no-tkinter is specified

2019-06-17 Thread miss-islington
miss-islington added the comment: New changeset 79d8204c4f02d02b3c6570de94c85863c27ddecb by Miss Islington (bot) in branch '3.8': bpo-37288: Fix Windows build when --no-tkinter is specified (GH-14096) https://github.com/python/cpython/commit/79d8204c4f02d02b3c6570de94c85863c27ddecb

[issue34631] Upgrade to OpenSSL 1.1.1c, 1.1.0k, and/or 1.0.2s

2019-06-17 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +14003 pull_request: https://github.com/python/cpython/pull/14161 ___ Python tracker ___ _

[issue37299] RuntimeWarning is NOT raised

2019-06-17 Thread Matthew Cowles
Matthew Cowles added the comment: I disagree with the decision not to fix this bug. If a RuntimeWarning is warranted when a temporary variable is used, it's warranted when the value is used directly, without a temporary variable. -- nosy: +mdcowles __

  1   2   3   >