[issue1021318] PyThreadState_Next not thread safe

2019-12-10 Thread STINNER Victor
STINNER Victor added the comment: > This is actually true and it's quite easy to produce a bug that triggers a > segmentation fault when iterating over a large list of threads create > dynamically. This issue is closed. Would you be able to write a reproducer script? If yes, maybe open a

[issue1021318] PyThreadState_Next not thread safe

2019-12-10 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +eric.snow, pitrou, serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue24925] Allow doctest to find line number of __test__ strings if formatted as a triple quoted string.

2019-12-10 Thread Jurjen N.E. Bos
Jurjen N.E. Bos added the comment: I tried to make a pull request, but it fails on the format of news file name. At least the tests all pass. -- ___ Python tracker ___

[issue1021318] PyThreadState_Next not thread safe

2019-12-10 Thread STINNER Victor
STINNER Victor added the comment: I reopened the issue and changed the version to 3.9. -- resolution: out of date -> status: closed -> open versions: -Python 2.7, Python 3.5, Python 3.6, Python 3.7, Python 3.8 ___ Python tracker

[issue25160] Stop using deprecated imp module; imp should now emit a real DeprecationWarning

2019-12-10 Thread Łukasz Langa
Łukasz Langa added the comment: Make sure the standard library doesn't emit those warnings itself. -- nosy: +lukasz.langa ___ Python tracker ___

[issue39013] SyntaxError: 'break' outside loop for legal Expression

2019-12-10 Thread Artem Tepanov
Artem Tepanov added the comment: Thx, after upgrade to: Python 3.8.1rc1 (tags/v3.8.1rc1:b00a2b5, Dec 10 2019, 01:13:53) [MSC v.1916 64 bit (AMD64)] on win32 All works fine, ...but Could you "pushing the person" which responsible for Web-Site please?, because I got Interpreter from there:

[issue39014] test_concurrent_futures: test_crash() timed out on AMD64 Fedora Rawhide Refleaks 3.x

2019-12-10 Thread STINNER Victor
New submission from STINNER Victor : AMD64 Fedora Rawhide Refleaks 3.x: https://buildbot.python.org/all/#/builders/82/builds/12 0:15:30 load avg: 12.25 [308/420/1] test_concurrent_futures failed (15 min 26 sec) -- running: test_largefile (11 min 22 sec), test_io (2 min 9 sec), test_mailbox

[issue38614] test_asyncio: test_communicate() failed on AMD64 FreeBSD Shared 3.8

2019-12-10 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +17028 pull_request: https://github.com/python/cpython/pull/17554 ___ Python tracker ___

[issue1021318] PyThreadState_Next not thread safe

2019-12-10 Thread STINNER Victor
STINNER Victor added the comment: > We'd simply need to provide a new API to lock/unlock the interpreter's mutex. Are you talking about this lock? #define HEAD_LOCK(runtime) \ PyThread_acquire_lock((runtime)->interpreters.mutex, WAIT_LOCK) #define HEAD_UNLOCK(runtime) \

[issue25160] Stop using deprecated imp module; imp should now emit a real DeprecationWarning

2019-12-10 Thread Łukasz Langa
Łukasz Langa added the comment: I meant to comment on a different issue, the trigger is stuff like https://bugs.python.org/issue39015 (new deprecationwarnings being generated without cleaning up the standard library first). -- ___ Python tracker

[issue38999] Python launcher on Windows does not detect active venv

2019-12-10 Thread Eryk Sun
Eryk Sun added the comment: I don't think the "/usr/bin/env" case needs to limit qualified names like "python3[.x]" to registered installations. This is a choice made to simplify the implementation. If it finds a generic "python.exe" executable in PATH, for 3.5+ it is possible to query

[issue1021318] PyThreadState_Next not thread safe

2019-12-10 Thread Julien Danjou
Julien Danjou added the comment: This is actually true and it's quite easy to produce a bug that triggers a segmentation fault when iterating over a large list of threads create dynamically. That makes PyThreadState_Next barely usable for any program that has a few threads. The head mutex

[issue1021318] PyThreadState_Next not thread safe

2019-12-10 Thread Julien Danjou
Julien Danjou added the comment: It'd be great if you could reopen it. I'm interested in fixing it properly. It's impossible to "solve" in Python 2 since the head mutex is not accessible (it's static in pystate.c) but this is doable with Python 3 (yay). We'd simply need to provide a new API

[issue1021318] PyThreadState_Next not thread safe

2019-12-10 Thread Julien Danjou
Julien Danjou added the comment: Yes, that's the one  -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39015] DeprecationWarnings of implicitly truncations by __int__ appearing in the standard library

2019-12-10 Thread Łukasz Langa
New submission from Łukasz Langa : The original issue was bpo-36048. Some call sites were not updated and now 3.8.0 and 3.8.1rc1 are emitting a lot of warnings like: :219: DeprecationWarning: an integer is required (got type float). Implicit conversion to integers using __int__ is

[issue39013] SyntaxError: 'break' outside loop for legal Expression

2019-12-10 Thread Steven D'Aprano
Steven D'Aprano added the comment: I don't know, why *can't* you execute that code? It works fine for me. Although I'm not using the exact same version of 3.8 that you are using. Could you copy and paste (not a screen shot or photo!) the text of your interactive session, including the error

[issue31114] 'make install' fails when the configure 'prefix' is '/' and DESTDIR is used

2019-12-10 Thread Xavier de Gaye
Change by Xavier de Gaye : -- nosy: -xdegaye ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue30386] Add a build infrastructure for Android

2019-12-10 Thread Xavier de Gaye
Change by Xavier de Gaye : -- resolution: -> works for me stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue39013] SyntaxError: 'break' outside loop for legal Expression

2019-12-10 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> while False: break => SyntaxError: 'break' outside loop ___ Python tracker

[issue39011] ElementTree attributes replace "\r" with "\n"

2019-12-10 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: See https://www.w3.org/TR/REC-xml/#sec-line-ends. -- nosy: +serhiy.storchaka ___ Python tracker ___

[issue39004] test_largefile: TestSocketSendfile.test_it() failed on AMD64 Fedora Stable Refleaks 3.x

2019-12-10 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: New changeset 82374979ec7e01e23385dca1d02b2aa3de16fea5 by Giampaolo Rodola in branch 'master': bpo-39004: increment large sendfile() test timeout (GH-17552) https://github.com/python/cpython/commit/82374979ec7e01e23385dca1d02b2aa3de16fea5 --

[issue39013] SyntaxError: 'break' outside loop for legal Expression

2019-12-10 Thread Artem Tepanov
Artem Tepanov added the comment: Python 3.8.0 (tags/v3.8.0:fa919fd, Oct 14 2019, 19:37:50) [MSC v.1916 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> while False: ... if False: ... break ... File "", line 3 SyntaxError:

[issue39013] SyntaxError: 'break' outside loop for legal Expression

2019-12-10 Thread Artem Tepanov
Artem Tepanov added the comment: Using cmd: C:\Users\ATepanov>python -V Python 3.8.0 C:\Users\ATepanov>python C:\Users\ATepanov\Desktop\Outside_The_Loop.py File "C:\Users\ATepanov\Desktop\Outside_The_Loop.py", line 3 break ^ SyntaxError: 'break' outside loop In Interactive: Python

[issue39013] SyntaxError: 'break' outside loop for legal Expression

2019-12-10 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks for the confirmation. The issue was found after 3.8.0 release. The fix is in 3.8.1RC1 and will be made as 3.8.1 in couple of weeks. Normally regressions are not listed at downloads page but are tagged as regression in the tracker like the

[issue24925] Allow doctest to find line number of __test__ strings if formatted as a triple quoted string.

2019-12-10 Thread Roundup Robot
Change by Roundup Robot : -- pull_requests: +17027 stage: test needed -> patch review pull_request: https://github.com/python/cpython/pull/17553 ___ Python tracker ___

[issue37535] Client SSLSocket with select.select() always returns readable with OpenSSL 1.1.1

2019-12-10 Thread Wator Sead
Wator Sead added the comment: So, that means there are some additional optional operations after do_handshake(), the data is needed. Thanks for explanation! -- ___ Python tracker

[issue39013] SyntaxError: 'break' outside loop for legal Expression

2019-12-10 Thread Artem Tepanov
New submission from Artem Tepanov : Why I can't execute this code: while False: if False: break print('WTF?') When I use repl.it or PyCharm on my work (Python 3.7) all works fine, yes I know this code looks silly, but it is a legal expression. About CPython Interpreter:

[issue39013] SyntaxError: 'break' outside loop for legal Expression

2019-12-10 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This seems to be same as issue38640 . Can you please try 3.8.1RC1 to see if it's fixed? https://www.python.org/downloads/release/python-381rc1/ -- nosy: +xtreak ___ Python tracker

[issue35827] C API dictionary views type checkers are not documented

2019-12-10 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: They were added in a22e8bdfd92cd4f1bc3d60e91df6410c4efde6a0. Additional types like PyDictRevIterKey_Type were added later. I am not sure that all these types should be exposed in the public C API. -- nosy: +christian.heimes, serhiy.storchaka

[issue39004] test_largefile: TestSocketSendfile.test_it() failed on AMD64 Fedora Stable Refleaks 3.x

2019-12-10 Thread STINNER Victor
STINNER Victor added the comment: Let's say that it's enough to hide the race condition :-) I close the issue. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue31485] Tkinter widget.unbind(sequence, funcid) unbind all bindings

2019-12-10 Thread Giovanni Lombardo
Giovanni Lombardo added the comment: http://docs.python.org/devguide/triaging.html#assigned-to -- nosy: +glombardo ___ Python tracker ___

[issue38594] importlib.metadata documentation deficiencies

2019-12-10 Thread Jason R. Coombs
Jason R. Coombs added the comment: New changeset b7a0109cd2bafaa21a4d50aad307e901c68f9156 by Jason R. Coombs in branch 'master': bpo-39022, bpo-38594: Sync with importlib_metadata 1.3 (GH-17568) https://github.com/python/cpython/commit/b7a0109cd2bafaa21a4d50aad307e901c68f9156 --

[issue39022] Synchronize importlib.metadata with importlib_metadata 1.3

2019-12-10 Thread miss-islington
Change by miss-islington : -- pull_requests: +17042 pull_request: https://github.com/python/cpython/pull/17569 ___ Python tracker ___

[issue38594] importlib.metadata documentation deficiencies

2019-12-10 Thread miss-islington
Change by miss-islington : -- pull_requests: +17043 pull_request: https://github.com/python/cpython/pull/17569 ___ Python tracker ___

[issue39023] random.seed with string and version 1 not deterministic in 3.5.2

2019-12-10 Thread Mark Dickinson
Mark Dickinson added the comment: I think this was already fixed in 3.5, but the fix would have gone in later than the 3.5.2 release: see issue #27706. 3.5.3 and later should have the fix. -- nosy: +mark.dickinson ___ Python tracker

[issue39022] Synchronize importlib.metadata with importlib_metadata 1.3

2019-12-10 Thread Jason R. Coombs
Jason R. Coombs added the comment: New changeset b738237d6792acba85b1f6e6c8993a812c7fd815 by Jason R. Coombs (Miss Islington (bot)) in branch '3.8': bpo-39022, bpo-38594: Sync with importlib_metadata 1.3 (GH-17568) (GH-17569)

[issue39001] possible problem with 64-bit mingw DECREF

2019-12-10 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39020] [AIX] module _curses fails to build since ESCDELAY has been added

2019-12-10 Thread Michael Felt
Michael Felt added the comment: quote: Interesting, a comment in curses.h: * Notes: * a. ESCDELAY was an undocumented feature under AIX curses. * It gives the ESC expire time in milliseconds. iirc - that is a symbolic link to ncurses.h from ncurses-devel RPM package, not

[issue39012] nuget package published as 3.8.1-c1 instead of rc1

2019-12-10 Thread miss-islington
Change by miss-islington : -- pull_requests: +17039 pull_request: https://github.com/python/cpython/pull/17567 ___ Python tracker ___

[issue39012] nuget package published as 3.8.1-c1 instead of rc1

2019-12-10 Thread Steve Dower
Steve Dower added the comment: New changeset d0802d07d2c864b95480a9b24c7cc050e19189d5 by Steve Dower in branch 'master': bpo-39012: Fix RC version suffix for nuget release files (GH-17564) https://github.com/python/cpython/commit/d0802d07d2c864b95480a9b24c7cc050e19189d5 --

[issue39012] nuget package published as 3.8.1-c1 instead of rc1

2019-12-10 Thread Steve Dower
Change by Steve Dower : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue39022] Synchronize importlib.metadata with importlib_metadata 1.3

2019-12-10 Thread Jason R. Coombs
Change by Jason R. Coombs : -- keywords: +patch pull_requests: +17040 stage: -> patch review pull_request: https://github.com/python/cpython/pull/17568 ___ Python tracker ___

[issue38594] importlib.metadata documentation deficiencies

2019-12-10 Thread Jason R. Coombs
Change by Jason R. Coombs : -- keywords: +patch pull_requests: +17041 stage: -> patch review pull_request: https://github.com/python/cpython/pull/17568 ___ Python tracker ___

[issue39023] random.seed with string and version 1 not deterministic in 3.5.2

2019-12-10 Thread Michael Thompson
New submission from Michael Thompson : Version 3.5.2, the "rand string seed" is not deterministic in code sample below across multiple invocations of the program. Python 3.6.8 works fine. #!/usr/bin/env python3 import random lis = '94' random.seed(lis, version=1) w = random.random() * 100

[issue39023] random.seed with string and version 1 not deterministic in 3.5.2

2019-12-10 Thread Michael Thompson
Michael Thompson added the comment: Thanks. I found 3.6 works for me. --Mike On Tue, Dec 10, 2019 at 5:10 PM Mark Dickinson wrote: > > Mark Dickinson added the comment: > > I think this was already fixed in 3.5, but the fix would have gone in > later than the 3.5.2 release: see issue

[issue39016] Negative Refcount in Python 3.8

2019-12-10 Thread Christian Tismer
Christian Tismer added the comment: On 10.12.19 17:57, Pablo Galindo Salgado wrote: > > Pablo Galindo Salgado added the comment: > >> No, this appears to be impossible. > > Oh, I see. Apologies then for the misunderstunding. No problem! You could as well have been right. I tried to move

[issue38594] importlib.metadata documentation deficiencies

2019-12-10 Thread Jason R. Coombs
Jason R. Coombs added the comment: I'm hoping those documentation edits address the deficiencies, but if not, we can take another stab at it. Feel free to re-open as needed. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed

[issue39022] Synchronize importlib.metadata with importlib_metadata 1.3

2019-12-10 Thread Jason R. Coombs
Change by Jason R. Coombs : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue38594] importlib.metadata documentation deficiencies

2019-12-10 Thread Jason R. Coombs
Jason R. Coombs added the comment: New changeset b738237d6792acba85b1f6e6c8993a812c7fd815 by Jason R. Coombs (Miss Islington (bot)) in branch '3.8': bpo-39022, bpo-38594: Sync with importlib_metadata 1.3 (GH-17568) (GH-17569)

[issue39010] ProactorEventLoop raises unhandled ConnectionResetError

2019-12-10 Thread Jonathan Slenders
Jonathan Slenders added the comment: Even simpler, the following code will crash after so many iterations: ``` import asyncio loop = asyncio.get_event_loop() while True: loop.call_soon_threadsafe(loop.stop) loop.run_forever() ``` Adding a little sleep of 0.01s after `run_forever()`

[issue39023] random.seed with string and version 1 not deterministic in 3.5.2

2019-12-10 Thread Raymond Hettinger
Change by Raymond Hettinger : -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue39021] multiprocessing is_alive() between children processes

2019-12-10 Thread Matt
New submission from Matt : I'm trying to evaluate process' state between two "sibling" processes (processes created by the same parent process); using the .is_alive() and exitcode to evaluate whether a process has been init'd, started, finished successfully or unsuccessfully. The reference

[issue39022] Synchronize importlib.metadata with importlib_metadata 1.2

2019-12-10 Thread Jason R. Coombs
New submission from Jason R. Coombs : Calling for another refresh of importlib.metadata from the third-party package. History at https://importlib-metadata.readthedocs.io/en/latest/changelog%20(links).html. -- messages: 358233 nosy: jaraco priority: normal severity: normal status:

[issue39012] nuget package published as 3.8.1-c1 instead of rc1

2019-12-10 Thread miss-islington
miss-islington added the comment: New changeset 00e2fe4f214eadd5714751968e158c78a8a3f04b by Miss Islington (bot) in branch '3.8': bpo-39012: Fix RC version suffix for nuget release files (GH-17564) https://github.com/python/cpython/commit/00e2fe4f214eadd5714751968e158c78a8a3f04b --

[issue39022] Synchronize importlib.metadata with importlib_metadata 1.3

2019-12-10 Thread Jason R. Coombs
Jason R. Coombs added the comment: New changeset b7a0109cd2bafaa21a4d50aad307e901c68f9156 by Jason R. Coombs in branch 'master': bpo-39022, bpo-38594: Sync with importlib_metadata 1.3 (GH-17568) https://github.com/python/cpython/commit/b7a0109cd2bafaa21a4d50aad307e901c68f9156 --

[issue39017] Infinite loop in the tarfile module

2019-12-10 Thread Ethan Furman
Change by Ethan Furman : -- stage: -> test needed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33762] Make tempfiles subclass IOBase

2019-12-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: TemporaryFile() returns an instance of _TemporaryFileWrapper. isinstance(TemporaryFile(), io.IOBase) is a sensible thing to do and would be True if _TemporaryFileWrapper subclassed the appropriate io base file. The base class for IDLE's stdxxx pseudofiles

[issue39022] Synchronize importlib.metadata with importlib_metadata 1.3

2019-12-10 Thread Jason R. Coombs
Change by Jason R. Coombs : -- title: Synchronize importlib.metadata with importlib_metadata 1.2 -> Synchronize importlib.metadata with importlib_metadata 1.3 ___ Python tracker

[issue38594] importlib.metadata documentation deficiencies

2019-12-10 Thread Jason R. Coombs
Jason R. Coombs added the comment: I've merged the recommended changes into importlib_metadata 1.3 and I'm including those changes in issue39022. -- ___ Python tracker ___

[issue37228] UDP sockets created by create_datagram_endpoint() allow by default multiple processes to bind the same port

2019-12-10 Thread Kyle Stanley
Kyle Stanley added the comment: > since the release for 3.7.1 and 3.7.6 are coming up soon. Clarification: should be "since the release for 3.8.1 and 3.7.6 are coming up soon", that was a typo. -- ___ Python tracker

[issue37228] UDP sockets created by create_datagram_endpoint() allow by default multiple processes to bind the same port

2019-12-10 Thread Ned Deily
Ned Deily added the comment: Actually, 3.6.10rc1 is currently blocked by this so if you do have time to work on it first, that would be great. -- ___ Python tracker ___

[issue37228] UDP sockets created by create_datagram_endpoint() allow by default multiple processes to bind the same port

2019-12-10 Thread Kyle Stanley
Kyle Stanley added the comment: > The backport to 3.7 seems straightforward so I did it to unblock 3.7.6rc1. > The backport to 3.6 is a bit more complicated and 3.6.10rc1 can wait a bit > longer so I'll leave that for Kyle along with the various What's New entries. Thanks, Ned. I'll

[issue39024] Compiling relative paths test fails (install via pyenv)

2019-12-10 Thread Ned Deily
Ned Deily added the comment: Thanks for the report. This problem is being tracked in Issue38295. -- nosy: +ned.deily resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> test_relative_path of test_py_compile fails on macOS 10.15 Catalina

[issue33762] Make tempfiles subclass IOBase

2019-12-10 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I have doubts that making _TemporaryFileWrapper a subclass of IOBase can make it simpler. It can make it more complex. _TemporaryFileWrapper is a proxy class with the __getattr__ method which not just return attributes of the underlying file, but wraps

[issue37228] UDP sockets created by create_datagram_endpoint() allow by default multiple processes to bind the same port

2019-12-10 Thread Ned Deily
Ned Deily added the comment: New changeset b23c0840ce07e03f2705fb08d94f8f03e5c5d5b8 by Ned Deily (Kyle Stanley) in branch '3.6': [3.6] bpo-37228: Fix loop.create_datagram_endpoint()'s usage of SO_REUSEADDR (GH-17311). (GH-17571)

[issue37228] UDP sockets created by create_datagram_endpoint() allow by default multiple processes to bind the same port

2019-12-10 Thread Ned Deily
Ned Deily added the comment: New changeset 95157c6a281ccfc7a92a17dfb8d7b5338cad5cb7 by Ned Deily in branch '3.7': bpo-37228: Fix loop.create_datagram_endpoint()'s usage of SO_REUSEADDR (GH-17311) (GH-17570) https://github.com/python/cpython/commit/95157c6a281ccfc7a92a17dfb8d7b5338cad5cb7

[issue37228] UDP sockets created by create_datagram_endpoint() allow by default multiple processes to bind the same port

2019-12-10 Thread Ned Deily
Change by Ned Deily : -- pull_requests: +17044 stage: -> patch review pull_request: https://github.com/python/cpython/pull/17570 ___ Python tracker ___

[issue37228] UDP sockets created by create_datagram_endpoint() allow by default multiple processes to bind the same port

2019-12-10 Thread Kyle Stanley
Kyle Stanley added the comment: Oh okay, I'll work on the 3.6 backport first then. -- ___ Python tracker ___ ___ Python-bugs-list

[issue39024] Compiling relative paths test fails (install via pyenv)

2019-12-10 Thread John94
New submission from John94 : Installed the below versions using pyenv on macOS 10.15.2, once installed I ran tests on all versions and they all failed on the "test_py_compile" test. 2.7.17 - https://pastebin.com/iFCA7FZb 3.6.9 - https://pastebin.com/UYfUqK9p 3.7.5 -

[issue39024] Compiling relative paths test fails (install via pyenv)

2019-12-10 Thread John94
Change by John94 : Removed file: https://bugs.python.org/file48771/2_7_17.txt ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue37228] UDP sockets created by create_datagram_endpoint() allow by default multiple processes to bind the same port

2019-12-10 Thread Kyle Stanley
Kyle Stanley added the comment: Now that the backports for 3.6-3.8 are merged, I'll work on the What's New entries next. Waiting on feedback from Larry Hastings regarding the potential 3.5 backport, I'll add him to the nosy list. -- nosy: +larry

[issue37228] UDP sockets created by create_datagram_endpoint() allow by default multiple processes to bind the same port

2019-12-10 Thread Ned Deily
Ned Deily added the comment: The backport to 3.7 seems straightforward so I did it to unblock 3.7.6rc1. The backport to 3.6 is a bit more complicated and 3.6.10rc1 can wait a bit longer so I'll leave that for Kyle along with the various What's New entries. --

[issue37228] UDP sockets created by create_datagram_endpoint() allow by default multiple processes to bind the same port

2019-12-10 Thread Kyle Stanley
Change by Kyle Stanley : -- pull_requests: +17045 pull_request: https://github.com/python/cpython/pull/17571 ___ Python tracker ___

[issue38947] dataclass defaults behave inconsistently for init=True/init=False when default is a descriptor

2019-12-10 Thread PCManticore
Change by PCManticore : -- nosy: +Claudiu.Popa ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39017] Infinite loop in the tarfile module

2019-12-10 Thread jvoisin
New submission from jvoisin : While playing with fuzzing and Python, I stumbled upon an infinite loop in Python's tarfile module: just open the attached file with `tarfile.open('timeout-a52710a313fdb35fb428c3399277cb640fe2f686')`, and Python will be endlessly stuck in the `_proc_pax`

[issue39018] IndexError exception on corrupted zip file

2019-12-10 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: master produces the below error while 3.8.0 produces IndexError. I guess it's fixed by one of the reports. ./python ../backups/bpo39018.py ../crash-23b7d72644702df94bfcfaab4c25b01ff31c0b38 Traceback (most recent call last): File

[issue39010] ProactorEventLoop raises unhandled ConnectionResetError

2019-12-10 Thread Jonathan Slenders
Jonathan Slenders added the comment: It looks like the following code will reproduce the issue: ``` import asyncio import threading loop = asyncio.get_event_loop() while True: def test(): loop.call_soon_threadsafe(loop.stop) threading.Thread(target=test).start()

[issue39019] Missing class getitems in standard library classes

2019-12-10 Thread Batuhan
New submission from Batuhan : After working on issue 38994 and issue 38978, I decided to write a simple AST analyzer to find class getitem syntax usage in typeshed. It discovered a few classes (I am not sure if there are more). As @brett.cannon suggested in PR 17498 I'll prepare individual

[issue38614] test_asyncio: test_communicate() failed on AMD64 FreeBSD Shared 3.8

2019-12-10 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +17031 pull_request: https://github.com/python/cpython/pull/17559 ___ Python tracker ___

[issue39019] Missing class getitems in standard library classes

2019-12-10 Thread Batuhan
Change by Batuhan : -- pull_requests: +17032 pull_request: https://github.com/python/cpython/pull/17560 ___ Python tracker ___ ___

[issue39019] Missing class getitems in standard library classes

2019-12-10 Thread Batuhan
Change by Batuhan : -- pull_requests: +17035 pull_request: https://github.com/python/cpython/pull/17563 ___ Python tracker ___ ___

[issue39020] [AIX] module _ctypes fails to build since ESCDELAY has been added

2019-12-10 Thread Michael Felt
New submission from Michael Felt : Did not notice this earlier - as the buildbot does not report it: issue38312 introduced a regression with regard to AIX. Not sure how to classify component (as Build, C API, or Library, so left blank) Failed to build these modules: _curses

[issue39019] Missing class getitems in standard library classes

2019-12-10 Thread Batuhan
Change by Batuhan : -- components: +Library (Lib) nosy: +levkivskyi versions: +Python 3.9 ___ Python tracker ___ ___

[issue39019] Missing class getitems in standard library classes

2019-12-10 Thread Batuhan
Change by Batuhan : -- keywords: +patch pull_requests: +17030 stage: -> patch review pull_request: https://github.com/python/cpython/pull/17558 ___ Python tracker ___

[issue39019] Missing class getitems in standard library classes

2019-12-10 Thread Batuhan
Change by Batuhan : -- pull_requests: +17033 pull_request: https://github.com/python/cpython/pull/17561 ___ Python tracker ___ ___

[issue38614] test_asyncio: test_communicate() failed on AMD64 FreeBSD Shared 3.8

2019-12-10 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +17034 pull_request: https://github.com/python/cpython/pull/17562 ___ Python tracker ___

[issue33762] temp file isn't IOBase

2019-12-10 Thread Sergii Tkachenko
Sergii Tkachenko added the comment: Confirming this to be a thing on Python 3.7.5 / OS X 10.15.1. In [31]: f = tempfile.NamedTemporaryFile() In [32]: isinstance(f, io.IOBase) Out[32]: False -- nosy: +sergiitk versions: +Python 3.7 -Python 3.6 ___

[issue33762] temp file isn't IOBase

2019-12-10 Thread Sergii Tkachenko
Sergii Tkachenko added the comment: Affected as well: Python 3.8.0 (default, Nov 3 2019, 10:55:54) [Clang 11.0.0 (clang-1100.0.33.8)] on darwin -- versions: +Python 3.8 -Python 3.7 ___ Python tracker

[issue28249] doctest.DocTestFinder reports incorrect line numbers with exclude_empty=False

2019-12-10 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39016] Negative Refcount in Python 3.8

2019-12-10 Thread Christian Tismer
New submission from Christian Tismer : By the new Py_TPFLAGS_METHOD_DESCRIPTOR flag, a new code path is activated, and when extension types like PySide create a new class, we observe negative refcounts. The reason is that the code in typeobject.c fkt. type_mro_modified calls

[issue39010] ProactorEventLoop raises unhandled ConnectionResetError

2019-12-10 Thread Jonathan Slenders
Jonathan Slenders added the comment: Thanks Victor for the reply. It looks like it's the self-socket in the BaseProactorEventLoop that gets closed. It's exactly this FD for which the exception is raised. We don't close the event loop anywhere. I also don't see `_close_self_pipe` being

[issue39016] Negative Refcount in Python 3.8

2019-12-10 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: >From the PR: Christian, can you open the PR against master instead? We will backport the change to 3.8 after is merged. -- nosy: +pablogsal ___ Python tracker

[issue38576] CVE-2019-18348: CRLF injection via the host part of the url passed to urlopen()

2019-12-10 Thread Matej Cepl
Change by Matej Cepl : -- nosy: +mcepl ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39016] Negative Refcount in Python 3.8

2019-12-10 Thread Christian Tismer
Christian Tismer added the comment: No, this appears to be impossible. The function "type_mro_modified" exists as well, but there is no "if (custom) {" branch at all! On 10.12.19 17:21, Pablo Galindo Salgado wrote: > > Pablo Galindo Salgado added the comment: > >>From the PR: > >

[issue39016] Negative Refcount in Python 3.8

2019-12-10 Thread Christian Tismer
Change by Christian Tismer : -- keywords: +patch pull_requests: +17029 stage: -> patch review pull_request: https://github.com/python/cpython/pull/17555 ___ Python tracker

[issue39016] Negative Refcount in Python 3.8

2019-12-10 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: > No, this appears to be impossible. Oh, I see. Apologies then for the misunderstunding. -- ___ Python tracker ___

[issue39018] IndexError exception on corrupted zip file

2019-12-10 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Bisecting gives me the commit as da6ce58dd5ac109485af45878fca6bfd265b43e9 where exception message is improved with issue36993 -- nosy: +serhiy.storchaka ___ Python tracker

[issue39018] IndexError exception on corrupted zip file

2019-12-10 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue39015] DeprecationWarnings of implicitly truncations by __int__ appearing in the standard library

2019-12-10 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: How did you get warnings? -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue39015] DeprecationWarnings of implicitly truncations by __int__ appearing in the standard library

2019-12-10 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

  1   2   >