[issue34679] asyncio.add_signal_handler call fails if not on main thread

2019-08-23 Thread Łukasz Langa
Łukasz Langa added the comment: Please fix this ASAP, last 3.8 beta is scheduled for Monday. -- ___ Python tracker ___ ___ Python-bu

[issue37428] SSLContext.post_handshake_auth implicitly enables cert validation

2019-08-23 Thread Łukasz Langa
Łukasz Langa added the comment: Should this be closed? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue37440] httplib should enable post-handshake authentication for TLS 1.3

2019-08-23 Thread Łukasz Langa
Łukasz Langa added the comment: Should this be closed? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue29535] datetime hash is deterministic in some cases

2019-08-23 Thread Ashwin Ramaswami
Ashwin Ramaswami added the comment: Makes sense, thanks for the explanation. The risk is that if there is code that, say, converts a POST dictionary to a dictionary with numeric keys, that code could be exploited. Creating a non-deterministic hash doesn't necessarily preclude hash(x) = x for

[issue37930] make fails when compiling Python 2.6 from source (posixmodule.c)

2019-08-23 Thread Oguz_eren
Change by Oguz_eren : Added file: https://bugs.python.org/file48558/config.log ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue34521] Multiple tests (test_socket, test_multiprocessing_*) fail due to incorrect recvmsg(2) buffer lengths, causing failures on FreeBSD CURRENT

2019-08-23 Thread STINNER Victor
STINNER Victor added the comment: "AMD64 FreeBSD CURRENT Shared 2.7 #159 is complete: Success" https://buildbot.python.org/all/#/builders/169/builds/159 The FreeBSD 2.7 buildbot is back to green, I close the issue. Thanks everyone was helped to get these issues to be fixed! -- resol

[issue26024] Non-ascii Windows locale names

2019-08-23 Thread STINNER Victor
STINNER Victor added the comment: It seems like this bug has been fixed in Python 3.5, so I close the issue. What changed in Python 3.5 is that the *result* of locale.setlocale() is now the english name of the locale and so is compatible with the ASCII encoding. Vidar Fauske: > The Norwegian

[issue37930] make fails when compiling Python 2.6 from source (posixmodule.c)

2019-08-23 Thread Oguz_eren
New submission from Oguz_eren : I'm trying to compile Python 2.6.8 on Kubuntu 19.04. Current system version is Python 2.7.16. See below the error message I receive, during make. oguz@dikanka:~$ tar -xvzf Python-2.6.8.tgz oguz@dikanka:~$ cd Python-2.6.8/ oguz@dikanka:~/Python-2.6.8$ ./configu

[issue37929] IDLE: OK sometimes fails to close configdialog

2019-08-23 Thread Terry J. Reedy
New submission from Terry J. Reedy : If one opens configdialog when there is no Shell and then hits OK, the dialog fails to close. The following Squeezer-related traceback appears in associated console when there is one. Exception in Tkinter callback Traceback (most recent call last): File

[issue34521] Multiple tests (test_socket, test_multiprocessing_*) fail due to incorrect recvmsg(2) buffer lengths, causing failures on FreeBSD CURRENT

2019-08-23 Thread STINNER Victor
STINNER Victor added the comment: New changeset c3642219090f2564c1790330cbf0ba31f19dcaf4 by Victor Stinner in branch '2.7': bpo-34521: Fix FD transfer in multiprocessing on FreeBSD (GH-15422) https://github.com/python/cpython/commit/c3642219090f2564c1790330cbf0ba31f19dcaf4 -- _

[issue34521] Multiple tests (test_socket, test_multiprocessing_*) fail due to incorrect recvmsg(2) buffer lengths, causing failures on FreeBSD CURRENT

2019-08-23 Thread STINNER Victor
STINNER Victor added the comment: Note: I also wrote PR 15421 to remove temporary files created by these 2 tests. -- ___ Python tracker ___ ___

[issue34521] Multiple tests (test_socket, test_multiprocessing_*) fail due to incorrect recvmsg(2) buffer lengths, causing failures on FreeBSD CURRENT

2019-08-23 Thread STINNER Victor
STINNER Victor added the comment: I am able to reproduce test_multiprocessing.test_fd_transfer() failure on the FreeBSD CURRENT buildbot: CURRENT-amd64% ./python -m test -m test_fd_transfer test_multiprocessing (...) Tests result: FAILURE I converted my msg330654 patch into PR 15422: I conf

[issue34521] Multiple tests (test_socket, test_multiprocessing_*) fail due to incorrect recvmsg(2) buffer lengths, causing failures on FreeBSD CURRENT

2019-08-23 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +15121 pull_request: https://github.com/python/cpython/pull/15422 ___ Python tracker ___ __

[issue37915] Segfault in comparison between datetime.timezone.utc and pytz.utc

2019-08-23 Thread Ned Deily
Ned Deily added the comment: (Removing “3.7regression” as the problematic change for 3.7 had not yet been released.) -- keywords: -3.7regression ___ Python tracker ___ __

[issue37926] regression: PySys_SetArgvEx(0, NULL, 0): SystemError: Python-3.8.0b3/Objects/unicodeobject.c:2089: bad argument to internal function

2019-08-23 Thread STINNER Victor
STINNER Victor added the comment: I tested my fix manually using example from msg350262 and gcc -O3 (./configure && make): I can reproduce the crash without the change, and I confirm that my change fix the crash. Thanks Miro for the bug report: the fix will be included in next Python 3.8 be

[issue37926] regression: PySys_SetArgvEx(0, NULL, 0): SystemError: Python-3.8.0b3/Objects/unicodeobject.c:2089: bad argument to internal function

2019-08-23 Thread STINNER Victor
STINNER Victor added the comment: New changeset ca9ae94a2aba35d94ac1ec081f9bcac3a13aebd3 by Victor Stinner in branch '3.8': bpo-37926: Fix PySys_SetArgvEx(0, NULL, 0) crash (GH-15415) (GH-15420) https://github.com/python/cpython/commit/ca9ae94a2aba35d94ac1ec081f9bcac3a13aebd3 -- __

[issue37925] --embed not included in python3.8-config usage/--help

2019-08-23 Thread Batuhan
Batuhan added the comment: I can work on this. -- nosy: +BTaskaya ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscr

[issue37928] test_glob.test_selflink() fails randomly on AMD64 Fedora Rawhide Clang Installed 3.x

2019-08-23 Thread STINNER Victor
New submission from STINNER Victor : The test failed and then passed when re-run in verbose mode: https://buildbot.python.org/all/#/builders/188/builds/858 FAIL: test_selflink (test.test_glob.SymlinkLoopGlobTests) -- Traceback

[issue37531] Fix regrtest timeout for subprocesses: regrtest -jN --timeout=SECONDS

2019-08-23 Thread STINNER Victor
STINNER Victor added the comment: New changeset 767434c39c8f3c6a8af1b3282d8382ccf809fe21 by Victor Stinner in branch 'master': bpo-37531: Fix regrtest _timedout() function on timeout (GH-15419) https://github.com/python/cpython/commit/767434c39c8f3c6a8af1b3282d8382ccf809fe21 -- ___

[issue37926] regression: PySys_SetArgvEx(0, NULL, 0): SystemError: Python-3.8.0b3/Objects/unicodeobject.c:2089: bad argument to internal function

2019-08-23 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +15120 pull_request: https://github.com/python/cpython/pull/15420 ___ Python tracker ___ __

[issue37923] Combining typing.get_type_hints and inspect.signature

2019-08-23 Thread Ivan Levkivskyi
Ivan Levkivskyi added the comment: Somewhat related to https://bugs.python.org/issue37496 -- nosy: +eric.snow, yselivanov ___ Python tracker ___ __

[issue37915] Segfault in comparison between datetime.timezone.utc and pytz.utc

2019-08-23 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 1b1796df3a4292067a174faa11b1a852f79e98e3 by Pablo Galindo in branch '3.7': [3.7] bpo-37915: Fix comparison between tzinfo objects and timezone objects (GH-15390) (GH-15417) https://github.com/python/cpython/commit/1b1796df3a4292067a174fa

[issue37915] Segfault in comparison between datetime.timezone.utc and pytz.utc

2019-08-23 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +3.7regression -patch nosy: +ned.deily resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.7, Python 3.9 ___ Python tracker

[issue37926] regression: PySys_SetArgvEx(0, NULL, 0): SystemError: Python-3.8.0b3/Objects/unicodeobject.c:2089: bad argument to internal function

2019-08-23 Thread STINNER Victor
STINNER Victor added the comment: New changeset c48682509dc49b43fe914fe6c502bc390345d1c2 by Victor Stinner in branch 'master': bpo-37926: Fix PySys_SetArgvEx(0, NULL, 0) crash (GH-15415) https://github.com/python/cpython/commit/c48682509dc49b43fe914fe6c502bc390345d1c2 -- __

[issue37531] Fix regrtest timeout for subprocesses: regrtest -jN --timeout=SECONDS

2019-08-23 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +15119 pull_request: https://github.com/python/cpython/pull/15419 ___ Python tracker ___ __

[issue37915] Segfault in comparison between datetime.timezone.utc and pytz.utc

2019-08-23 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +15118 pull_request: https://github.com/python/cpython/pull/15417 ___ Python tracker ___ ___

[issue37926] regression: PySys_SetArgvEx(0, NULL, 0): SystemError: Python-3.8.0b3/Objects/unicodeobject.c:2089: bad argument to internal function

2019-08-23 Thread STINNER Victor
STINNER Victor added the comment: Oops, it's my fault! PR 15415 fix the crash. The regression was introduced by: commit 74f6568bbd3e70806ea3219e8bacb386ad802ccf Author: Victor Stinner Date: Fri Mar 15 15:08:05 2019 +0100 bpo-36301: Add _PyWstrList structure (GH-12343) Simplified chan

[issue37926] regression: PySys_SetArgvEx(0, NULL, 0): SystemError: Python-3.8.0b3/Objects/unicodeobject.c:2089: bad argument to internal function

2019-08-23 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +15117 stage: -> patch review pull_request: https://github.com/python/cpython/pull/15415 ___ Python tracker ___ _

[issue37915] Segfault in comparison between datetime.timezone.utc and pytz.utc

2019-08-23 Thread miss-islington
miss-islington added the comment: New changeset 5c77730300c0358d7bebd2bb39ea5d10222a3d9a by Miss Islington (bot) in branch '3.8': bpo-37915: Fix comparison between tzinfo objects and timezone objects (GH-15390) https://github.com/python/cpython/commit/5c77730300c0358d7bebd2bb39ea5d10222a3d9a

[issue37585] Comparing PyDictValues does not give expected results

2019-08-23 Thread Kyle Stanley
Kyle Stanley added the comment: Reopening the issue for adding the documentation clarification, that comparing the values view of two dictionaries will always return false (as was suggested in the ML discussion https://mail.python.org/archives/list/python-...@python.org/message/K3SYX4DER3WAO

[issue26589] Add HTTP Response code 451

2019-08-23 Thread Raymond Hettinger
Change by Raymond Hettinger : -- resolution: fixed -> status: closed -> open ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue26589] Add HTTP Response code 451

2019-08-23 Thread Raymond Hettinger
Change by Raymond Hettinger : -- pull_requests: +15116 pull_request: https://github.com/python/cpython/pull/15413 ___ Python tracker ___ ___

[issue37927] No Instantiation Restrictions for AbstractBaseClasses derived from builtin types

2019-08-23 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This looks like a duplicate of issue35362. I would prefer closing one of them to keep the discussion in one place. This looks like a variant of this issue : issue35063 -- nosy: +xtreak ___ Python tracker

[issue37927] No Instantiation Restrictions for AbstractBaseClasses derived from builtin types

2019-08-23 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue37927] No Instantiation Restrictions for AbstractBaseClasses derived from builtin types

2019-08-23 Thread Talha Ahmed
New submission from Talha Ahmed : I have been experimenting a little with the `abc` module in python. A la >>> import abc In the normal case you expect your ABC class to not be instantiated if it contains an unimplemented `abstractmethod`. You know like as follows: >>> class MyClass(

[issue33830] Error in the output of one example in the httplib docs

2019-08-23 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Closing this since PRs have been merged. Thanks Aifu LIU for the report. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue37926] regression: PySys_SetArgvEx(0, NULL, 0): SystemError: Python-3.8.0b3/Objects/unicodeobject.c:2089: bad argument to internal function

2019-08-23 Thread Miro Hrončok
New submission from Miro Hrončok : There is a regression between Python 3.7 and 3.8 when using PySys_SetArgvEx(0, NULL, 0). Consider this example: #include int main() { Py_Initialize(); PySys_SetArgvEx(0, NULL, 0); /* HERE */ PyRun_SimpleString("from time import time,ctime\n"

[issue14112] tutorial intro talks of "shallow copy" concept without explanation

2019-08-23 Thread Raymond Hettinger
Raymond Hettinger added the comment: How about we just like "shallow copy" to the copy module docs. That way, a person can follow-up with more detail if they're interested, yet still can read-on without interruption if they choose (this entry occurs *very* early in the tutorial). -

[issue24533] Increased Test Coverage for Lib/random.py

2019-08-23 Thread Raymond Hettinger
Raymond Hettinger added the comment: The test code now includes this: def test_shuffle_random_argument(self): # Test random argument to shuffle. shuffle = self.gen.shuffle mock_random = unittest.mock.Mock(return_value=0.5) seq = bytearray(b'abcdefghijk')

[issue17642] IDLE add font resizing hot keys and wheel

2019-08-23 Thread Raymond Hettinger
Raymond Hettinger added the comment: > Key or wheel patches will probably be 3.6 only. I still have hopes that this will happen. Am I correct in thinking that it wouldn't be difficult to map CMD-plus and CMD-minus (or for Windows Cntl-plus and Cntl-minus) to a function that increases or dec

[issue24726] OrderedDict has strange behaviour when dict.__setitem__ is used.

2019-08-23 Thread Raymond Hettinger
Raymond Hettinger added the comment: See also: https://bugs.python.org/msg131551 -- ___ Python tracker ___ ___ Python-bugs-list ma

[issue13397] Option for XMLRPC clients to automatically transform Fault exceptions into standard exceptions

2019-08-23 Thread Raymond Hettinger
Change by Raymond Hettinger : -- resolution: -> rejected stage: needs patch -> resolved status: open -> closed ___ Python tracker ___ _

<    1   2