[issue37221] PyCode_New API change breaks backwards compatibility policy

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

[issue36993] zipfile: tuple IndexError on extract

2019-06-10 Thread alter-bug-tracer
alter-bug-tracer added the comment: @berker.peksag, first of all sorry for the late reply. We are not sure that we know how to do that. Our tests are generated automatically. What we can do is retest the lib with your temporary fixes in place, to see if they fix all the problems our software

[issue37129] Add os.RWF_APPEND flag for os.pwritev

2019-06-10 Thread Gregory P. Smith
Gregory P. Smith added the comment: This is just adding a missing constant (when defined at CPython compile time) to the os module. I suggest landing this in 3.8 as well assuming we're still in the beta cycles when the PR is ready. It isn't a functional change. -- nosy: +gregory.p.

[issue37219] empty set difference does not check types of values

2019-06-10 Thread Raymond Hettinger
Change by Raymond Hettinger : -- keywords: +patch pull_requests: +13832 stage: -> patch review pull_request: https://github.com/python/cpython/pull/13965 ___ Python tracker __

[issue37217] SSL socket segfaults during a connect() using a punycode domain containg a umlaut

2019-06-10 Thread Christian Heimes
Christian Heimes added the comment: Yes, this looks like a duplicate of issue30594. kmille, please contact Ubuntu and ask them to apply the fix to 16.04. By the way, your hostname is not correct. "xn--b" is an invalid punycode. The correct IDNA encoding for the domain looks like this: >>> "w

[issue37217] SSL socket segfaults during a connect() using a punycode domain containg a umlaut

2019-06-10 Thread Gregory P. Smith
Gregory P. Smith added the comment: oh that is likely it, the stacktrace i got in a pydebug build was a gc time refcount != 0 assertion. -- superseder: -> Refcounting mistake in _ssl.c ___ Python tracker _

[issue37217] SSL socket segfaults during a connect() using a punycode domain containg a umlaut

2019-06-10 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I couldn't get an ssl build with 3.5.4 to verify this but looking at changelog between 3.5.3 and 3.5.4 issue30594 might have fixed it since it reports a similar segfault. -- nosy: +xtreak ___ Python trac

[issue37220] test_idle crash on Windows 2.7 when run with -R:

2019-06-10 Thread Tal Einat
Tal Einat added the comment: Now that I've looked at the PR, it should likely be merged for all relevant branches to make the test more robust. -- ___ Python tracker ___

[issue37038] Make idlelib/run.py runnable.

2019-06-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: Yes, thank you. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue37217] SSL socket segfaults during a connect() using a punycode domain containg a umlaut

2019-06-10 Thread Gregory P. Smith
Gregory P. Smith added the comment: FWIW, I could reproduce this on early 3.5 versions but it appears to have been fixed between 3.5.3 and 3.5.4. I'm leaving this open in case anyone can tie it back to a particular change. -- components: +Extension Modules -ctypes nosy: +gregory.p.sm

[issue37220] test_idle crash on Windows 2.7 when run with -R:

2019-06-10 Thread Tal Einat
Tal Einat added the comment: Terry, we can also just revert the fix on the 2.7 branch, it's not crucial. -- ___ Python tracker ___

[issue28071] Stop set.difference when set is empty

2019-06-10 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Behavior change in msg306973 is tracked with issue37219 -- nosy: +xtreak ___ Python tracker ___ ___

[issue37038] Make idlelib/run.py runnable.

2019-06-10 Thread Tal Einat
Tal Einat added the comment: Terry, I believe this can be closed now that the fix has been merged? -- nosy: +taleinat ___ Python tracker ___ __

[issue37216] "Using Python on a Macintosh" chapter of "Python Setup and Usage" doc is out-of-date

2019-06-10 Thread Ned Deily
Change by Ned Deily : -- assignee: docs@python -> ned.deily title: mac installation document wrong for python 3.7.3 -> "Using Python on a Macintosh" chapter of "Python Setup and Usage" doc is out-of-date versions: +Python 3.8, Python 3.9 ___ Python

[issue37216] mac installation document wrong for python 3.7.3

2019-06-10 Thread Ned Deily
Ned Deily added the comment: New changeset c59b137bbfc7eb7a9386bb51c7fea838fc2a by Ned Deily (Makdon) in branch '3.7': [3.7] bpo-37216: Fix version and filename in Mac using document (GH-13963) https://github.com/python/cpython/commit/c59b137bbfc7eb7a9386bb51c7fea838fc2a --

[issue37216] mac installation document wrong for python 3.7.3

2019-06-10 Thread Ned Deily
Ned Deily added the comment: New changeset fe5f8b9ce2e504d4510cc82129d595015d239634 by Ned Deily (Makdon) in branch '3.8': [3.8] bpo-37216: Fix version and filename in Mac using document (GH-13964) https://github.com/python/cpython/commit/fe5f8b9ce2e504d4510cc82129d595015d239634 --

[issue37219] empty set difference does not check types of values

2019-06-10 Thread Raymond Hettinger
Raymond Hettinger added the comment: Nice catch. Thanks. -- assignee: -> rhettinger priority: normal -> high ___ Python tracker ___ _

[issue19666] Format string for ASCII unicode or bytes-like object as readonly buffer

2019-06-10 Thread Gregory P. Smith
Gregory P. Smith added the comment: "needs patch" doesn't mean it has been accepted, it's just a common state for issues where nobody has written any code even as a proof of concept. Christian - is this still desired? -- nosy: +gregory.p.smith ___

[issue34886] subprocess.run throws exception when input and stdin are passed as kwargs

2019-06-10 Thread Gregory P. Smith
Gregory P. Smith added the comment: thanks! -- assignee: -> gregory.p.smith resolution: -> fixed stage: patch review -> commit review status: open -> closed versions: +Python 3.8, Python 3.9 ___ Python tracker

[issue35586] Open pyexpat compilation, Make shows error(missing separator)

2019-06-10 Thread Benjamin Peterson
Change by Benjamin Peterson : -- resolution: -> duplicate stage: patch review -> resolved status: open -> closed superseder: -> Makefile is not correctly generated when compiling pyextat with DXML_POOR_ENTROPY=1 ___ Python tracker

[issue35586] Open pyexpat compilation, Make shows error(missing separator)

2019-06-10 Thread Aaron Hurst
Aaron Hurst added the comment: I believe this bug can be closed now that the following have landed: New changeset 408a2ef1aceff1f4270c44552fa39ef93d9283e3 by Benjamin Peterson (aaronpaulhurst) in branch 'master': closes bpo-35184: Fix XML_POOR_ENTROPY option that breaks makesetup parsing of

[issue37216] mac installation document wrong for python 3.7.3

2019-06-10 Thread Roundup Robot
Change by Roundup Robot : -- pull_requests: +13831 pull_request: https://github.com/python/cpython/pull/13964 ___ Python tracker ___ ___

[issue37216] mac installation document wrong for python 3.7.3

2019-06-10 Thread Roundup Robot
Change by Roundup Robot : -- pull_requests: +13830 pull_request: https://github.com/python/cpython/pull/13963 ___ Python tracker ___ ___

[issue37216] mac installation document wrong for python 3.7.3

2019-06-10 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch pull_requests: +13829 stage: -> patch review pull_request: https://github.com/python/cpython/pull/13962 ___ Python tracker ___ __

[issue34028] Python 3.7.0 wont compile with SSL Support 1.1.0 > alledged missing X509_VERIFY_PARAM_set1_host() support

2019-06-10 Thread Phillip Middleton
Phillip Middleton added the comment: I have the same issue installing v3.7.3 on RHEL6.8. The standard version came with openssl v1.0.1c, which would not configure. I installed openssl 1.0.2s in /usr/local and created a file /etc/profile.d/openssl.sh adding the following lines: # /etc/profi

[issue35184] Makefile is not correctly generated when compiling pyextat with DXML_POOR_ENTROPY=1

2019-06-10 Thread miss-islington
miss-islington added the comment: New changeset 30fd7a476bbd6bb8096c1349698463fa8a3bca18 by Miss Islington (bot) in branch '3.7': closes bpo-35184: Fix XML_POOR_ENTROPY option that breaks makesetup parsing of pyexpat line in Setup. (GH-13064) https://github.com/python/cpython/commit/30fd7a47

[issue35184] Makefile is not correctly generated when compiling pyextat with DXML_POOR_ENTROPY=1

2019-06-10 Thread miss-islington
miss-islington added the comment: New changeset 5b94b857f590db80aab69c31f88dd2a4978f8329 by Miss Islington (bot) in branch '3.8': closes bpo-35184: Fix XML_POOR_ENTROPY option that breaks makesetup parsing of pyexpat line in Setup. (GH-13064) https://github.com/python/cpython/commit/5b94b857

[issue37221] PyCode_New API change breaks backwards compatibility policy

2019-06-10 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- nosy: +scoder ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue37220] test_idle crash on Windows 2.7 when run with -R:

2019-06-10 Thread Terry J. Reedy
Change by Terry J. Reedy : -- keywords: -patch title: test_idle crash on Windows when run with -R: -> test_idle crash on Windows 2.7 when run with -R: type: -> crash versions: +Python 3.7, Python 3.8, Python 3.9 ___ Python tracker

[issue35184] Makefile is not correctly generated when compiling pyextat with DXML_POOR_ENTROPY=1

2019-06-10 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 408a2ef1aceff1f4270c44552fa39ef93d9283e3 by Benjamin Peterson (aaronpaulhurst) in branch 'master': closes bpo-35184: Fix XML_POOR_ENTROPY option that breaks makesetup parsing of pyexpat line in Setup. (GH-13064) https://github.com/python/cpy

[issue35184] Makefile is not correctly generated when compiling pyextat with DXML_POOR_ENTROPY=1

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

[issue35184] Makefile is not correctly generated when compiling pyextat with DXML_POOR_ENTROPY=1

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

[issue36422] tempfile.TemporaryDirectory() removes entire directory tree even if it's a mount-point

2019-06-10 Thread Jeffrey Kintscher
Jeffrey Kintscher added the comment: tempfile.TemporaryDirectory() relies upon shutil.rmtree() to do the actual cleanup. Up through 3.7, it simply calls shutil.rmtree(). 3.8 adds some more logic using the onerror callback parameter of shutil.rmtree() to try changing the permissions on otherw

[issue37221] PyCode_New API change breaks backwards compatibility policy

2019-06-10 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I have created PR13959 in case we decide to go with the PyCode_NewEx path. -- keywords: -patch stage: patch review -> needs patch ___ Python tracker

[issue37221] PyCode_New API change breaks backwards compatibility policy

2019-06-10 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch pull_requests: +13825 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/13959 ___ Python tracker ___

[issue37220] test_idle crash on Windows when run with -R:

2019-06-10 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +13826 pull_request: https://github.com/python/cpython/pull/13958 ___ Python tracker ___ __

[issue33758] Unexpected success of test_get_type_hints_modules_forwardref in test_typing

2019-06-10 Thread Benjamin Peterson
Benjamin Peterson added the comment: In particular, test_typing has an unexpected success if you run it after test___all__. It would be nice at least to change the expected fail to a skip, since it's so subtle. -- nosy: +benjamin.peterson ___ Pyth

[issue37216] mac installation document wrong for python 3.7.3

2019-06-10 Thread makdon
makdon added the comment: Thanks xtreak. I am a beginner on python mailing list and now i've learn how to get a link to the email. And i found a version error on windows installation document on version 3.6.8 that the picture is still using version 3.5: https://docs.python.org/3.6/using/wi

[issue37220] test_idle crash on Windows when run with -R:

2019-06-10 Thread Terry J. Reedy
Change by Terry J. Reedy : -- keywords: +patch pull_requests: +13824 stage: test needed -> patch review pull_request: https://github.com/python/cpython/pull/13957 ___ Python tracker __

[issue37220] test_idle crash on Windows when run with -R:

2019-06-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: The #37177 patch touched SearchDialogBase.py and test_searchdialogbase.py. I reproduced a premature stop if the full IDLE suite is run, but don't understand all of the results. After fresh update and rebuild: python -m test -ugui test_idle 3.9 runs fine, no

[issue37221] PyCode_New API change breaks backwards compatibility policy

2019-06-10 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Thanks, Nick for opening this issue. If everyone agrees this is the best path forward I can make a PR. Take into account that doing such rename will break again the projects that have adapted already (primarily only Cython). I would like to give some

[issue36918] ValueError warning in test_urllib due to io.IOBase destructor

2019-06-10 Thread STINNER Victor
STINNER Victor added the comment: I proposed PR 13955: a fix in 2 lines. -- ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue37223] test_io logs Exception ignored in: warnings

2019-06-10 Thread STINNER Victor
STINNER Victor added the comment: Once bpo-36918 will be fixed, I will backport changes to Python 3.8. -- ___ Python tracker ___ __

[issue37223] test_io logs Exception ignored in: warnings

2019-06-10 Thread STINNER Victor
STINNER Victor added the comment: New changeset b589cef9c4dada2fb84ce0fae5040ecf16d9d5ef by Victor Stinner in branch 'master': bpo-37223: test_io: silence destructor errors (GH-13954) https://github.com/python/cpython/commit/b589cef9c4dada2fb84ce0fae5040ecf16d9d5ef -- _

[issue36918] ValueError warning in test_urllib due to io.IOBase destructor

2019-06-10 Thread STINNER Victor
STINNER Victor added the comment: Well, maybe Python GC can be enhanced. In the meanwhile, I would like to make these warnings quiet since they are very annoying when I have to analyze buildbot warnings. Moreover, this issues blocks my bpo-37069. Maybe open a separated issue to propose to en

[issue36402] threading._shutdown() race condition: test_threading test_threads_join_2() fails randomly

2019-06-10 Thread Kubilay Kocak
Change by Kubilay Kocak : -- nosy: +koobs ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue36918] ValueError warning in test_urllib due to io.IOBase destructor

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

[issue36918] ValueError warning in test_urllib due to io.IOBase destructor

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

[issue37224] test__xxsubinterpreters failed on AMD64 Windows8.1 Refleaks 3.8

2019-06-10 Thread STINNER Victor
STINNER Victor added the comment: See bpo-33356. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue37224] test__xxsubinterpreters failed on AMD64 Windows8.1 Refleaks 3.8

2019-06-10 Thread STINNER Victor
New submission from STINNER Victor : https://buildbot.python.org/all/#/builders/224/builds/5 0:46:02 load avg: 1.53 [259/423/1] test__xxsubinterpreters failed -- running: test_httplib (1 min 6 sec), test_mmap (16 min 42 sec) beginning 6 repetitions 123456 ..Exception in thread Thread-28: Trace

[issue37223] test_io logs Exception ignored in: warnings

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

[issue37223] test_io logs Exception ignored in: warnings

2019-06-10 Thread STINNER Victor
STINNER Victor added the comment: New changeset 4f6f7c5a611905fb6b81671547f268c226bc646a by Victor Stinner in branch 'master': bpo-18748: Fix _pyio.IOBase destructor (closed case) (GH-13952) https://github.com/python/cpython/commit/4f6f7c5a611905fb6b81671547f268c226bc646a --

[issue18748] io.IOBase destructor silence I/O error on close() by default

2019-06-10 Thread STINNER Victor
STINNER Victor added the comment: New changeset 4f6f7c5a611905fb6b81671547f268c226bc646a by Victor Stinner in branch 'master': bpo-18748: Fix _pyio.IOBase destructor (closed case) (GH-13952) https://github.com/python/cpython/commit/4f6f7c5a611905fb6b81671547f268c226bc646a -- __

[issue37223] test_io logs Exception ignored in: warnings

2019-06-10 Thread STINNER Victor
STINNER Victor added the comment: PR 13952 fix many errors, but not of all them. test_io.PyBufferedWriterTest.test_misbehaved_io() logs a warning, whereas test_io.CBufferedWriterTest.test_misbehaved_io() doesn't. It seems like _pyio.BufferedWriter lacks bpo-32228 fix. Extract of the C imple

[issue18748] io.IOBase destructor silence I/O error on close() by default

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

[issue37223] test_io logs Exception ignored in: warnings

2019-06-10 Thread STINNER Victor
STINNER Victor added the comment: See also bpo-36918 (test_urllib) and bpo-37069 (regrtest: log unraisable exceptions and uncaught thread exceptions). -- ___ Python tracker _

[issue18748] io.IOBase destructor silence I/O error on close() by default

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

[issue37223] test_io logs Exception ignored in: warnings

2019-06-10 Thread STINNER Victor
New submission from STINNER Victor : bpo-18748 modified io.IOBase finalizer to no longer silence close() exception in develoment and in debug mode. The commit 472f794a33221ea835a2fbf6c9f12aa2bd66d1b0 fixed a few destructor errors in test_io, but there are still a few: test_uninitialized (tes

[issue18748] io.IOBase destructor silence I/O error on close() by default

2019-06-10 Thread STINNER Victor
STINNER Victor added the comment: I created bpo-37223: test_io logs Exception ignored in: warnings. -- ___ Python tracker ___ ___

[issue16270] urllib hangs when closing connection

2019-06-10 Thread Dan Hemberger
Change by Dan Hemberger : -- pull_requests: +13820 pull_request: https://github.com/python/cpython/pull/13951 ___ Python tracker ___ ___

[issue37222] urllib missing voidresp breaks CacheFTPHandler

2019-06-10 Thread Dan Hemberger
Change by Dan Hemberger : -- keywords: +patch pull_requests: +13819 stage: -> patch review pull_request: https://github.com/python/cpython/pull/13951 ___ Python tracker ___ __

[issue36373] Deprecate explicit loop parameter in all public asyncio APIs

2019-06-10 Thread Emmanuel Arias
Change by Emmanuel Arias : -- pull_requests: +13818 pull_request: https://github.com/python/cpython/pull/13950 ___ Python tracker ___ __

[issue37222] urllib missing voidresp breaks CacheFTPHandler

2019-06-10 Thread Dan Hemberger
New submission from Dan Hemberger : When using the CacheFTPHandler in the most basic of contexts, a URLError will be thrown if you try to reuse any of the FTP instances stored in the handler. This makes CacheFTPHandler unusable for its intended purpose. Note that the default FTPHandler circum

[issue37221] PyCode_New API change breaks backwards compatibility policy

2019-06-10 Thread STINNER Victor
STINNER Victor added the comment: PyCode_New() and types.CodeType constructor are actively discussed: * https://mail.python.org/archives/list/python-...@python.org/thread/VXDPH2TUAHNPT5K6HBUIV6VASBCKKY2K/ * bpo-36896 * bpo-36886 -- nosy: +vstinner ___

[issue37221] PyCode_New API change breaks backwards compatibility policy

2019-06-10 Thread Nick Coghlan
New submission from Nick Coghlan : The Porting section of the What's New guide is for changes where the old behaviour was at best arguably correct, but it's still possible someone was relying on it behaving exactly the way it used to. It isn't for us to say "We broke all extensions that use t

[issue18808] Thread.join returns before PyThreadState is destroyed

2019-06-10 Thread STINNER Victor
STINNER Victor added the comment: _thread._set_sentinel() and threading.Thread._tstate_lock is a great enhancement, as Py_EndInterprter() which now calls threading._shutdown(). FYI I found yet another race condition, this time in threading._shutdown(). See bpo-36402 follow-up: "threading._sh

[issue36402] threading._shutdown() race condition: test_threading test_threads_join_2() fails randomly

2019-06-10 Thread STINNER Victor
Change by STINNER Victor : -- title: test_threading: test_threads_join_2() failed with "Fatal Python error: Py_EndInterpreter: not the last thread" on AMD64 FreeBSD CURRENT Shared 3.x -> threading._shutdown() race condition: test_threading test_threads_join_2() fails randomly __

[issue33591] ctypes does not support fspath protocol

2019-06-10 Thread Robert
Robert added the comment: Can anyone do a review? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue36402] test_threading: test_threads_join_2() failed with "Fatal Python error: Py_EndInterpreter: not the last thread" on AMD64 FreeBSD CURRENT Shared 3.x

2019-06-10 Thread STINNER Victor
STINNER Victor added the comment: test_threading: test_threads_join_2() was added by commit 7b47699 in 2013, but the test failed randomly since it was added. It's just that failures were ignored until I created https://bugs.python.org/issue36402 last March. In fact, when the test failed rand

[issue36402] test_threading: test_threads_join_2() failed with "Fatal Python error: Py_EndInterpreter: not the last thread" on AMD64 FreeBSD CURRENT Shared 3.x

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

[issue36402] test_threading: test_threads_join_2() failed with "Fatal Python error: Py_EndInterpreter: not the last thread" on AMD64 FreeBSD CURRENT Shared 3.x

2019-06-10 Thread STINNER Victor
STINNER Victor added the comment: Other references to test_threads_join_2() failures: * bpo-36989: fails once AIX * bpo-27791: 2 failures in 2016 in "AMD64 FreeBSD 10 Shared 3.x" buildbots (I closed the issue with: "Sadly, such bug is hard to reproduce. I didn't look at buildbots recently, a

[issue37220] test_idle crash on Windows when run with -R:

2019-06-10 Thread Zachary Ware
New submission from Zachary Ware : See for example https://buildbot.python.org/all/#/builders/33/builds/613 This build ended when I logged into the machine and clicked the "Close the program" button on the "python_d.exe crashed" dialog box. Here's the details from that dialog: Problem signa

[issue36402] test_threading: test_threads_join_2() failed with "Fatal Python error: Py_EndInterpreter: not the last thread" on AMD64 FreeBSD CURRENT Shared 3.x

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

[issue36905] test_typing.GetTypeHintTests.test_get_type_hints_modules_forwardref unexpected success while running whole test suite sequentially

2019-06-10 Thread Benjamin Peterson
Change by Benjamin Peterson : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Unexpected success of test_get_type_hints_modules_forwardref in test_typing ___ Python tracker

[issue37219] empty set difference does not check types of values

2019-06-10 Thread Anthony Sottile
New submission from Anthony Sottile : This is a regression from python2.x behaviour: $ python2 Python 2.7.15rc1 (default, Nov 12 2018, 14:31:15) [GCC 7.3.0] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> x = set() >>> x.difference(123) Traceback (most rece

[issue36402] test_threading: test_threads_join_2() failed with "Fatal Python error: Py_EndInterpreter: not the last thread" on AMD64 FreeBSD CURRENT Shared 3.x

2019-06-10 Thread STINNER Victor
STINNER Victor added the comment: threading._shutdown() uses threading.enumerate() which iterations on threading._active. threading.Thread registers itself into threading._active using its _bootstrap_inner() method. It unregisters itself when _bootstrap_inner() completes, whereas its is_ali

[issue37218] Default hmac.new() digestmod has not been removed from documentation

2019-06-10 Thread Alex Willmer
Change by Alex Willmer : -- keywords: +patch pull_requests: +13814 stage: -> patch review pull_request: https://github.com/python/cpython/pull/13947 ___ Python tracker ___ ___

[issue24412] setUpClass equivalent for addCleanup

2019-06-10 Thread Lisa Roach
Change by Lisa Roach : -- stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing

[issue37218] Default hmac.new() digestmod has not been removed from documentation

2019-06-10 Thread Alex Willmer
Alex Willmer added the comment: Scratch the part about documented signature, it's still `hmac.new(... digestmod=None)`, the check happens in the body of the function -- ___ Python tracker __

[issue37218] Default hmac.new() digestmod has not been removed from documentation

2019-06-10 Thread Alex Willmer
New submission from Alex Willmer : Until Python 3.8 hmc.new() defaulted the digestmod argument to 'hmac-md5'. This was deperecated, to be removed in Python 3.8. In Python 3.8.0b1 it is gone, e.g. Python 3.8.0b1 (default, Jun 6 2019, 03:44:52) [GCC 7.4.0] on linux Type "help", "copyright", "c

[issue36402] test_threading: test_threads_join_2() failed with "Fatal Python error: Py_EndInterpreter: not the last thread" on AMD64 FreeBSD CURRENT Shared 3.x

2019-06-10 Thread STINNER Victor
STINNER Victor added the comment: Oh. Using PR 13889, I'm able to reproduce the bug up to Python 3.4. Example at commit commit e76cbc781044ee01b059f3702c580e66266b84c5 (tag: v3.4.10): $ wget 'https://github.com/python/cpython/pull/13889.patch' $ git apply 13889.patch $ ./python -m test -F -m

[issue36402] test_threading: test_threads_join_2() failed with "Fatal Python error: Py_EndInterpreter: not the last thread" on AMD64 FreeBSD CURRENT Shared 3.x

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

[issue13889] str(float) and round(float) issues with FPU precision

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

[issue26806] IDLE not displaying RecursionError tracebacks and hangs

2019-06-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: [Initially written before you posted the PR] Serhiy's result suggests that 25 might not always be enough and he suggested 50. Plus IDLE sometimes makes more calls internally. Lets go with at least 30. I agree that "get...(set...(n)) == n" (when n is positiv

[issue26806] IDLE not displaying RecursionError tracebacks and hangs

2019-06-10 Thread Tal Einat
Tal Einat added the comment: See PR GH-13944. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue37217] SSL socket segfaults during a connect() using a punycode domain containg a umlaut

2019-06-10 Thread kmille
New submission from kmille : Hey, chs@gw-sss-nb8:~$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description:Ubuntu 16.04.4 LTS Release:16.04 Codename: xenial chs@gw-sss-nb8:~$ python3 --version Python 3.5.2 chs@gw-sss-nb8:~$ cat segfault.py import ssl i

[issue26806] IDLE not displaying RecursionError tracebacks and hangs

2019-06-10 Thread Tal Einat
Change by Tal Einat : -- keywords: +patch pull_requests: +13811 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/13944 ___ Python tracker ___

[issue37206] Incorrect application of Argument Clinic to dict.pop()

2019-06-10 Thread Ned Deily
Ned Deily added the comment: As I noted on the PR: "I'm not going to get into whether this PR is appropriate for 3.8 but, assuming it were, I would be very concerned about making a change of this size and complexity in 3.7 at this stage in its lifecycle." -- nosy: +lukasz.langa, ned.

[issue37130] pathlib does not handle '..' directory

2019-06-10 Thread Brett Cannon
Change by Brett Cannon : -- assignee: -> brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue26806] IDLE not displaying RecursionError tracebacks and hangs

2019-06-10 Thread Tal Einat
Tal Einat added the comment: Setting the recursion limit too low also causes issues in a plain Python interactive session. With current master (to be 3.9) on Win10, I get issues with values up to 6. In IDLE values up to 20 cause an immediate exception similar to the one described by Serhiy.

[issue26806] IDLE not displaying RecursionError tracebacks and hangs

2019-06-10 Thread Tal Einat
Tal Einat added the comment: > 'max(n, 50)' should have been 'min(n, 50)' Tal, does you comment avove about > the former apply when corrected to the latter? Yes. To use your terms, I prefer incrementing over thresholding. > This is all that is needed for getrecursionlimit. If we go with in

[issue37107] ensurepip --upgrade doesn't change the version of pip used by venv

2019-06-10 Thread Steve Dower
Steve Dower added the comment: I'm with Petr here. ensurepip/venv should only go as far as we support, which is the version of the wheels included in our bundle. We should continue having the stdlib pretend that PyPI doesn't exist. External network access would justify the longer option, in

[issue34850] Emit a syntax warning for "is" with a literal

2019-06-10 Thread Brett Cannon
Change by Brett Cannon : -- nosy: +brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue37216] mac installation document wrong for python 3.7.3

2019-06-10 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Relevant email : https://mail.python.org/pipermail/docs/2019-June/041030.html -- components: +macOS nosy: +ned.deily, ronaldoussoren, xtreak ___ Python tracker ___

[issue37216] mac installation document wrong for python 3.7.3

2019-06-10 Thread makdon
New submission from makdon : According the mail in docs mailing list, there's a typo in python installation document on Macos. I will check it and create a PR if necessary. The email says: https://docs.python.org/3/using/mac.html#getting-and-installing-macpython says "What you get after in

[issue36842] Implement PEP 578

2019-06-10 Thread miss-islington
miss-islington added the comment: New changeset bac6e63fd63960a1ab862befab42de05d32667c2 by Miss Islington (bot) in branch '3.8': bpo-37215: Fix dtrace issue introduce by bpo-36842 (GH-13940) https://github.com/python/cpython/commit/bac6e63fd63960a1ab862befab42de05d32667c2 -- _

[issue37215] Build with dtrace is broken on some systems

2019-06-10 Thread miss-islington
miss-islington added the comment: New changeset bac6e63fd63960a1ab862befab42de05d32667c2 by Miss Islington (bot) in branch '3.8': bpo-37215: Fix dtrace issue introduce by bpo-36842 (GH-13940) https://github.com/python/cpython/commit/bac6e63fd63960a1ab862befab42de05d32667c2 -- _

[issue37215] Build with dtrace is broken on some systems

2019-06-10 Thread miss-islington
miss-islington added the comment: New changeset 8a8b59c9794674b50b2242698c29038034f4864c by Miss Islington (bot) (Christian Heimes) in branch 'master': bpo-37215: Fix dtrace issue introduce by bpo-36842 (GH-13940) https://github.com/python/cpython/commit/8a8b59c9794674b50b2242698c29038034f486

[issue37215] Build with dtrace is broken on some systems

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

[issue36842] Implement PEP 578

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

  1   2   >