[issue15386] Still getting two copies of importlib._bootstrap

2019-07-09 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +14469 pull_request: https://github.com/python/cpython/pull/14661 ___ Python tracker ___

[issue37525] test_ssl: test_pha_required_nocert() logs ResourceWarning

2019-07-09 Thread STINNER Victor
STINNER Victor added the comment: Duplicate of bpo-37322. -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> test_ssl: test_pha_required_nocert() emits a ResourceWarning ___ Python tracker

[issue37525] test_ssl: test_pha_required_nocert() logs ResourceWarning

2019-07-09 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +christian.heimes ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue11871] test_default_timeout() of test_threading.BarrierTests failure: BrokenBarrierError

2019-07-09 Thread STINNER Victor
STINNER Victor added the comment: test_threading failed on AMD64 Windows8.1 Refleaks 3.x, the unittest errors are missing, but unraisable exceptions look similar: https://buildbot.python.org/all/#/builders/80/builds/646 0:21:11 load avg: 7.30 [156/419/3] test_threading failed (2 min 56 sec)

[issue37525] test_ssl: test_pha_required_nocert() logs ResourceWarning

2019-07-09 Thread STINNER Victor
New submission from STINNER Victor : vstinner@apu$ ./python -u -m test test_ssl -v -m test_pha_required_nocert == CPython 3.9.0a0 (heads/master:110a47c4f4, Jul 8 2019, 23:52:00) [GCC 9.1.1 20190503 (Red Hat 9.1.1-1)] == Linux-5.1.15-300.fc30.x86_64-x86_64-with-glibc2.29 little-endian == cwd:

[issue37052] Add examples for mocking async for and async context manager in unittest.mock docs

2019-07-09 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- keywords: +patch pull_requests: +14467 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14660 ___ Python tracker

[issue37524] IDLE error on closing 3.8+ debug build

2019-07-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am pretty sure that this started sometime well after 3.7 was split off from master. Perhaps there was some change in python shutdown not backported to 3.7. -- ___ Python tracker

[issue37524] IDLE error on closing 3.8+ debug build

2019-07-09 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +ZackerySpytz ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37524] IDLE error on closing 3.8+ debug build

2019-07-09 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +taleinat ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37524] IDLE error on closing 3.8+ debug build

2019-07-09 Thread Terry J. Reedy
New submission from Terry J. Reedy : In Win Command Prompt, in master repository or 3.8 worktree with 32 bit debug build: F:\dev\3x>python Running Debug|Win32 interpreter... Python 3.9.0a0 (heads/master:110a47c4f4, Jul 9 2019, 01:31:55) [MSC v.1900 32 bit (Intel)] on win32 Type "help",

[issue18374] ast.parse gives wrong position (col_offset) for some BinOp-s

2019-07-09 Thread Carl Friedrich Bolz-Tereick
Change by Carl Friedrich Bolz-Tereick : -- pull_requests: +14466 pull_request: https://github.com/python/cpython/pull/14659 ___ Python tracker ___

[issue37491] IndexError in get_bare_quoted_string

2019-07-09 Thread Abhilash Raj
Abhilash Raj added the comment: Thanks for the explanation Terry! In this case, value becomes None (I think), which causes the IndexError. -- ___ Python tracker ___

[issue30755] locale.normalize() and getdefaultlocale() convert C.UTF-8 to en_US.UTF-8

2019-07-09 Thread Miro Hrončok
Miro Hrončok added the comment: >> C.UTF-8 doesn't exist and en_US.UTF-8 does > That can't happen It certainly can. Take for example RHEL 7 or 6. -- nosy: +hroncok, vstinner versions: +Python 3.8 ___ Python tracker

[issue37501] Test failures when CPython is built without docstrings

2019-07-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: Compiling without docstrings only affects compiled functions. (Is this option unix only, for servers?) This caused failures in 6 /test test functions. Running with -00 only affects python functions. It causes failure in 19 test function on Windows. For

[issue37390] Generate table of audit events for docs

2019-07-09 Thread Steve Dower
Steve Dower added the comment: Anyone from the docs team have any ideas here? We're going to present on this at EuroPython tomorrow and it'd be great to be able to point people at the docs. -- ___ Python tracker

[issue37523] zipfile: Raise ValueError for i/o operations on closed zipfile.ZipExtFile

2019-07-09 Thread Daniel Hillier
Change by Daniel Hillier : -- keywords: +patch pull_requests: +14465 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14658 ___ Python tracker ___

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

2019-07-09 Thread Brett Slatkin
Brett Slatkin added the comment: I believe the scope of this bug may be larger than it originally seemed. Now that ProactorEventLoop is the default for Python 3.8 (https://bugs.python.org/issue34687), I'm seeing this same problem on Windows when you try to call asyncio.new_event_loop() from

[issue37523] zipfile: Raise ValueError for i/o operations on closed zipfile.ZipExtFile

2019-07-09 Thread Daniel Hillier
New submission from Daniel Hillier : After closing a file object opened from a ZipFile, attempting i/o operations raises AttributeError because the underlying fd has been set to None. We should be raising ValueErrors consistent with io.FileIO behaviour. Similar inconsistencies exist for the

[issue36132] Python cannot access hci_channel field in sockaddr_hci

2019-07-09 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- nosy: +Jeffrey.Kintscher ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue30663] IDLE: Add lineno sidebar to editor window

2019-07-09 Thread Tal Einat
Tal Einat added the comment: Thanks for helping to move this forward, Louie! My worry with this approach is that all of the line numbers are redrawn upon scrolling, which would be likely to make scrolling less smooth, especially on low-end hardware (where IDLE is relatively often used).

[issue36993] zipfile: tuple IndexError on extract

2019-07-09 Thread Daniel Hillier
Daniel Hillier added the comment: I've pushed a PR which adds a test that generates corrupt zip64 files with different combinations of zip64 extra data lengths and zip64 flags (which determines how many fields are required in the extra data). It now raises a BadZipFile with a message naming

[issue30755] locale.normalize() and getdefaultlocale() convert C.UTF-8 to en_US.UTF-8

2019-07-09 Thread Gordon Messmer
Gordon Messmer added the comment: > I agree we shouldn't be aliasing C.UTF-8 to en_US.UTF-8 though What can we do about reverting that change? Python's current behavior causes unexpected exceptions, especially in containers. I'm currently debugging test failures in a Python application

[issue26806] IDLE not displaying RecursionError tracebacks and hangs

2019-07-09 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +14464 pull_request: https://github.com/python/cpython/pull/14657 ___ Python tracker ___

<    1   2