[issue38334] zipfile: Seeking encrypted file breaks after seeking backwards

2019-10-26 Thread Daniel Hillier
Daniel Hillier added the comment: I also think that the `read_init` method in my PR is a useful refactor as it locates all the state that needs to be (re)set when starting a read into the same location. At the moment this state is set in 1) __init__ and 2) the seek method when seeking back

[issue37309] idlelib/NEWS.txt for 3.9.0 and backports

2019-10-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 6d6418a075f272aeab93c6f2ec15c10257b94e1d by Terry Jan Reedy in branch '3.8': [3.8] bpo-37309: First idlelib/NEWS.txt for 3.8.1 (GH-16947) https://github.com/python/cpython/commit/6d6418a075f272aeab93c6f2ec15c10257b94e1d --

[issue37309] idlelib/NEWS.txt for 3.9.0 and backports

2019-10-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset a8fb9327fb9387b404d4b6ce55c608125f66b9ae by Terry Jan Reedy in branch 'master': bpo-37309: First idlelib/NEWS.txt for 3.9.0 (GH-16947) https://github.com/python/cpython/commit/a8fb9327fb9387b404d4b6ce55c608125f66b9ae --

[issue37309] idlelib/NEWS.txt for 3.9.0 and backports

2019-10-26 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +16477 pull_request: https://github.com/python/cpython/pull/16949 ___ Python tracker ___

[issue37309] idlelib/NEWS.txt for 3.9.0 and backports

2019-10-26 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +16476 pull_request: https://github.com/python/cpython/pull/16948 ___ Python tracker ___

[issue37309] idlelib/NEWS.txt for 3.9.0 and backports

2019-10-26 Thread Terry J. Reedy
Change by Terry J. Reedy : -- keywords: +patch pull_requests: +16475 stage: commit review -> patch review pull_request: https://github.com/python/cpython/pull/16947 ___ Python tracker

[issue34162] idlelib/NEWS.txt for 3.8.0 (and backports)

2019-10-26 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue34790] Deprecate passing coroutine objects to asyncio.wait()

2019-10-26 Thread Kyle Stanley
Kyle Stanley added the comment: > Actually, since Andrew also agrees that we need to deprecate passing > coroutines to wait(), I'll keep this issue open until we add an actual > DeprecationWarning in 3.8. Since 3.8 has been released and the deprecation notice is in the 3.8 whatsnew

[issue34162] idlelib/NEWS.txt for 3.8.0 (and backports)

2019-10-26 Thread miss-islington
miss-islington added the comment: New changeset bc30db1ee70b6708aa436868e548aef919567448 by Miss Skeleton (bot) in branch '3.7': bpo-34162: Last idlelib/NEWS.txt items for 3.8.0. (GH-16943) https://github.com/python/cpython/commit/bc30db1ee70b6708aa436868e548aef919567448 --

[issue34162] idlelib/NEWS.txt for 3.8.0 (and backports)

2019-10-26 Thread miss-islington
miss-islington added the comment: New changeset 7a3b1a6f0b0a5ac6e9af4c5ee8b89a2fca96efb6 by Miss Skeleton (bot) in branch '3.8': bpo-34162: Last idlelib/NEWS.txt items for 3.8.0. (GH-16943) https://github.com/python/cpython/commit/7a3b1a6f0b0a5ac6e9af4c5ee8b89a2fca96efb6 --

[issue34162] idlelib/NEWS.txt for 3.8.0 (and backports)

2019-10-26 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: +Python 3.9 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34162] idlelib/NEWS.txt for 3.8.0 (and backports)

2019-10-26 Thread miss-islington
Change by miss-islington : -- pull_requests: +16473 pull_request: https://github.com/python/cpython/pull/16944 ___ Python tracker ___

[issue34162] idlelib/NEWS.txt for 3.8.0 (and backports)

2019-10-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset e31a79a5b44357b409d71949dc5308889970f9ab by Terry Jan Reedy in branch 'master': bpo-34162: Last idlelib/NEWS.txt items for 3.8.0. (GH-16943) https://github.com/python/cpython/commit/e31a79a5b44357b409d71949dc5308889970f9ab --

[issue34162] idlelib/NEWS.txt for 3.8.0 (and backports)

2019-10-26 Thread miss-islington
Change by miss-islington : -- pull_requests: +16474 pull_request: https://github.com/python/cpython/pull/16945 ___ Python tracker ___

[issue38598] IDLE: Disable F5, etc, in Shell and Output windows.

2019-10-26 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue38598] IDLE: Disable F5, etc, in Shell and Output windows.

2019-10-26 Thread miss-islington
miss-islington added the comment: New changeset e3a477aa072a737d5119b0778d14d9f3ddb9f587 by Miss Skeleton (bot) in branch '3.8': bpo-38598: Do not try to compile IDLE shell or output windows (GH-16939) https://github.com/python/cpython/commit/e3a477aa072a737d5119b0778d14d9f3ddb9f587

[issue34162] idlelib/NEWS.txt for 3.8.0 (and backports)

2019-10-26 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +16472 pull_request: https://github.com/python/cpython/pull/16943 ___ Python tracker ___

[issue38598] IDLE: Disable F5, etc, in Shell and Output windows.

2019-10-26 Thread miss-islington
miss-islington added the comment: New changeset 849b1b9f6c538085839f8059e0d6a5536d2fdb52 by Miss Skeleton (bot) in branch '3.7': bpo-38598: Do not try to compile IDLE shell or output windows (GH-16939) https://github.com/python/cpython/commit/849b1b9f6c538085839f8059e0d6a5536d2fdb52

[issue38598] IDLE: Disable F5, etc, in Shell and Output windows.

2019-10-26 Thread miss-islington
Change by miss-islington : -- pull_requests: +16471 pull_request: https://github.com/python/cpython/pull/16942 ___ Python tracker ___

[issue38598] IDLE: Disable F5, etc, in Shell and Output windows.

2019-10-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset e3f90b217a5152275b180b466bd503658a734462 by Terry Jan Reedy in branch 'master': bpo-38598: Do not try to compile IDLE shell or output windows (GH-16939) https://github.com/python/cpython/commit/e3f90b217a5152275b180b466bd503658a734462

[issue38598] IDLE: Disable F5, etc, in Shell and Output windows.

2019-10-26 Thread miss-islington
Change by miss-islington : -- pull_requests: +16470 pull_request: https://github.com/python/cpython/pull/16941 ___ Python tracker ___

[issue21622] ctypes.util incorrectly fails for libraries without DT_SONAME

2019-10-26 Thread Javier Castillo II
Change by Javier Castillo II : -- pull_requests: +16469 pull_request: https://github.com/python/cpython/pull/16940 ___ Python tracker ___

[issue38334] zipfile: Seeking encrypted file breaks after seeking backwards

2019-10-26 Thread Daniel Hillier
Daniel Hillier added the comment: Thanks for looking at the PR. I got carried away refactoring the decrypter for a future scenario where there could be different decrypters (possibly using certificates too) :) Your PR is much simpler. Would you also be able to take a look at some other

[issue38440] Possible new issues with IDLE

2019-10-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: Given this, I reproduced the issue on Windows for both 3.7 and 3.8. The bug is trying to compile the Shell window, after it has been saved, or an Output window, with a prompt to save, for any of F5, Shift-F5, and Alt-X. There is no existing issue I know

[issue38598] IDLE: Disable F5, etc, in Shell and Output windows.

2019-10-26 Thread Terry J. Reedy
Change by Terry J. Reedy : -- keywords: +patch pull_requests: +16468 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/16939 ___ Python tracker

[issue38598] IDLE: Disable F5, etc, in Shell and Output windows.

2019-10-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: Trying to compile grep output is also bad. The ultimate fix is to subclass the specialized code editor from the general text editor, instead of vice versa as at present, but I leave that for later, and will simply check if the window about to be compiled

[issue38312] curses: add `set_tabsize` and `set_escdelay`

2019-10-26 Thread Anthony Sottile
Change by Anthony Sottile : -- keywords: +patch pull_requests: +16467 stage: -> patch review pull_request: https://github.com/python/cpython/pull/16938 ___ Python tracker ___

[issue38557] PyTuple_GetSlice docs minor inaccuracy

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

[issue38334] zipfile: Seeking encrypted file breaks after seeking backwards

2019-10-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: PR 16937 is simpler. It does not change the decrypter. -- ___ Python tracker ___ ___

[issue38334] zipfile: Seeking encrypted file breaks after seeking backwards

2019-10-26 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +16466 pull_request: https://github.com/python/cpython/pull/16937 ___ Python tracker ___

[issue38598] IDLE: Disable F5, etc, in Shell, even after saving

2019-10-26 Thread Terry J. Reedy
New submission from Terry J. Reedy : When the Shell is active, the Run menu is disabled, but its shortcuts are not. These are F5 Run Module, Shift-F5 Run ... Custom, and Alt-X Check Module. If Shell has not been saved, the shortcuts do nothing, but once Shell has been saved, they try to

[issue38597] C Extension import limit

2019-10-26 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- components: +Interpreter Core, Windows nosy: +paul.moore, steve.dower, tim.golden, zach.ware ___ Python tracker ___

[issue38597] C Extension import limit

2019-10-26 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- components: -Extension Modules ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue38434] sys.addaudithook event is not documented

2019-10-26 Thread miss-islington
miss-islington added the comment: New changeset 11f0f11c4859f5ca201cd40b379b13c65f05ec91 by Miss Skeleton (bot) in branch '3.8': bpo-38434: Fixes some audit event documentation (GH-16932) https://github.com/python/cpython/commit/11f0f11c4859f5ca201cd40b379b13c65f05ec91 -- nosy:

[issue38557] PyTuple_GetSlice docs minor inaccuracy

2019-10-26 Thread miss-islington
miss-islington added the comment: New changeset 4992dc6610fb354e36c0012a47ea9613b61c9038 by Miss Skeleton (bot) in branch '3.8': bpo-38557: Improve documentation for list and tuple C API. (GH-16925) https://github.com/python/cpython/commit/4992dc6610fb354e36c0012a47ea9613b61c9038

[issue38557] PyTuple_GetSlice docs minor inaccuracy

2019-10-26 Thread miss-islington
miss-islington added the comment: New changeset 334fc923b3a7a8d0d163692befd2a27b98b481df by Miss Skeleton (bot) in branch '3.7': bpo-38557: Improve documentation for list and tuple C API. (GH-16925) https://github.com/python/cpython/commit/334fc923b3a7a8d0d163692befd2a27b98b481df

[issue38557] PyTuple_GetSlice docs minor inaccuracy

2019-10-26 Thread miss-islington
miss-islington added the comment: New changeset 7356e10820b160d14b0ce0aba5427a8f9e757aa7 by Miss Skeleton (bot) in branch '2.7': bpo-38557: Improve documentation for list and tuple C API. (GH-16925) https://github.com/python/cpython/commit/7356e10820b160d14b0ce0aba5427a8f9e757aa7

[issue38434] sys.addaudithook event is not documented

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

[issue38434] sys.addaudithook event is not documented

2019-10-26 Thread miss-islington
Change by miss-islington : -- pull_requests: +16465 pull_request: https://github.com/python/cpython/pull/16936 ___ Python tracker ___

[issue38434] sys.addaudithook event is not documented

2019-10-26 Thread Steve Dower
Steve Dower added the comment: New changeset 894e30ce0bcc1c509eb01c8ffa9ba6d7701aeaaf by Steve Dower in branch 'master': bpo-38434: Fixes some audit event documentation (GH-16932) https://github.com/python/cpython/commit/894e30ce0bcc1c509eb01c8ffa9ba6d7701aeaaf --

[issue38557] PyTuple_GetSlice docs minor inaccuracy

2019-10-26 Thread miss-islington
Change by miss-islington : -- pull_requests: +16464 pull_request: https://github.com/python/cpython/pull/16935 ___ Python tracker ___

[issue38557] PyTuple_GetSlice docs minor inaccuracy

2019-10-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset d898d20e8c228229eb68e545f544db13f246f216 by Serhiy Storchaka in branch 'master': bpo-38557: Improve documentation for list and tuple C API. (GH-16925) https://github.com/python/cpython/commit/d898d20e8c228229eb68e545f544db13f246f216

[issue38557] PyTuple_GetSlice docs minor inaccuracy

2019-10-26 Thread miss-islington
Change by miss-islington : -- pull_requests: +16463 pull_request: https://github.com/python/cpython/pull/16934 ___ Python tracker ___

[issue38557] PyTuple_GetSlice docs minor inaccuracy

2019-10-26 Thread miss-islington
Change by miss-islington : -- pull_requests: +16462 stage: -> patch review pull_request: https://github.com/python/cpython/pull/16933 ___ Python tracker ___

[issue38434] sys.addaudithook event is not documented

2019-10-26 Thread Steve Dower
Change by Steve Dower : -- keywords: +patch pull_requests: +16461 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/16932 ___ Python tracker

[issue37289] regression in Cython when pickling objects

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

[issue38597] C Extension import limit

2019-10-26 Thread Kevin Schlossser
New submission from Kevin Schlossser : System Windows 7 x64 SP2 Ram 16GB 6 Core AMD @ 3.2ghz CPython 3.7.2 C Extension (pyd) import cap. There seems to be a cap on the number of extensions that a package is able to contain. I am able to import 123 extension modules that my package has but

[issue38440] Possible new issues with IDLE

2019-10-26 Thread Raymond Hettinger
Raymond Hettinger added the comment: Reproducer for the jump-to-top bug: * Start an IDLE interactive shell session * Run: File Save As tmp.py * Press F5 to run the shell session (this is an error) Effects: * A message box with "Invalid Syntax" appears * The cursor jumps to the top row and

[issue37289] regression in Cython when pickling objects

2019-10-26 Thread Thomas Caswell
Thomas Caswell added the comment: I believe this can be closed, the regression has been fixed and there is now a test to prevent it from coming back. -- ___ Python tracker

[issue38589] Bad target address assigned in Python Manuals shortcut on Python installation

2019-10-26 Thread Y3Kv Bv
Y3Kv Bv added the comment: Here you go. -- Added file: https://bugs.python.org/file48679/Python 3.8.0 (64-bit)_20191026201510_005_doc_AllUsers.log ___ Python tracker ___

[issue38591] Deprecate Process Child Watchers

2019-10-26 Thread Kyle Stanley
Kyle Stanley added the comment: > But it spawns a new Python thread per process which can be a blocker issue if > a server memory is limited. I understand that there's *some* overhead associated with spawning a new thread, but from my impression it's not substantial enough to make a

[issue38589] Bad target address assigned in Python Manuals shortcut on Python installation

2019-10-26 Thread Steve Dower
Steve Dower added the comment: If you look in your %TEMP% directory, you'll find a set of log files from your Python install (maybe sort by date). One of these will end in "doc". Could you share that file? -- ___ Python tracker

[issue38591] Deprecate Process Child Watchers

2019-10-26 Thread Kyle Stanley
Kyle Stanley added the comment: > > If asyncio is only run from the main thread, FastChildWatcher is safe, fast > > and has low memory footprint, no? > Unfortunately, no. FastChildWatcher is safe if you can guarantee that no code > executed in asyncio main thread AND thread pools spawn

[issue38535] Incorrect col_offset for decorators with zero arguments (empty parentheses)

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

[issue38558] Data Structures documentation out of sync with new Walrus operator

2019-10-26 Thread Matt Ward
Matt Ward added the comment: You're welcome! On Fri, Oct 25, 2019 at 10:53 PM Ammar Askar wrote: > > Ammar Askar added the comment: > > Thank you for the report Matt! > > -- > nosy: +ammar2 > resolution: -> fixed > stage: patch review -> resolved > status: open -> closed >

[issue38535] Incorrect col_offset for decorators with zero arguments (empty parentheses)

2019-10-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 493fef60a7600f83fe6916ed89d0fb0c0aab484d by Serhiy Storchaka in branch '2.7': [2.7] bpo-38535: Fix positions for AST nodes for calls without arguments in decorators. (GH-16861). (GH-16931)

[issue38535] Incorrect col_offset for decorators with zero arguments (empty parentheses)

2019-10-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 91fc9cf43cc2e3a2f236ef9944cf1f4bed701545 by Serhiy Storchaka in branch '3.7': [3.7] bpo-38535: Fix positions for AST nodes for calls without arguments in decorators. (GH-16861). (GH-16930)

[issue38535] Incorrect col_offset for decorators with zero arguments (empty parentheses)

2019-10-26 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +16460 pull_request: https://github.com/python/cpython/pull/16931 ___ Python tracker ___

[issue38535] Incorrect col_offset for decorators with zero arguments (empty parentheses)

2019-10-26 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +16459 pull_request: https://github.com/python/cpython/pull/16930 ___ Python tracker ___

[issue38535] Incorrect col_offset for decorators with zero arguments (empty parentheses)

2019-10-26 Thread miss-islington
miss-islington added the comment: New changeset ba3a566328e8df49741059b24a41480e248bf6d7 by Miss Skeleton (bot) in branch '3.8': bpo-38535: Fix positions for AST nodes for calls without arguments in decorators. (GH-16861)

[issue38535] Incorrect col_offset for decorators with zero arguments (empty parentheses)

2019-10-26 Thread miss-islington
Change by miss-islington : -- pull_requests: +16458 pull_request: https://github.com/python/cpython/pull/16929 ___ Python tracker ___

[issue38535] Incorrect col_offset for decorators with zero arguments (empty parentheses)

2019-10-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 26ae9f6d3d755734c9f371b9356325afe5764813 by Serhiy Storchaka in branch 'master': bpo-38535: Fix positions for AST nodes for calls without arguments in decorators. (GH-16861)

[issue38596] simple example give a Linux core dumped with atk-bridge

2019-10-26 Thread Feștilă George Cătălin
Feștilă George Cătălin added the comment: No. I don't have a reproducer script for this issue with Linux OS. The mytext is a class from another script named my_notepad. The problem comes with time when I use the menu to change the syntax value, as you can see: self.syntax =

[issue38570] Shlex does not parse commands containing single quotes correctly

2019-10-26 Thread timonegk
timonegk added the comment: Okay, thanks a lot. I am closing this since it is not a bug then. -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker

[issue38596] simple example give a Linux core dumped with atk-bridge

2019-10-26 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Can you please attach a simple reproducer script without any third party modules like qtwidgets to ensure crash is due to CPython and not due to the code in third party module itself. -- nosy: +xtreak

[issue35714] Document that the null character '\0' terminates a struct format spec

2019-10-26 Thread Zackery Spytz
Zackery Spytz added the comment: I've created a patch to reject null characters in the format string. -- nosy: +ZackerySpytz ___ Python tracker ___

[issue38591] Deprecate Process Child Watchers

2019-10-26 Thread Andrew Svetlov
Andrew Svetlov added the comment: My non-LTS Ubuntu also has 5.3 kernel but I'm talking about the oldest supported RHEL/CentOS. That's why pidfd_open() cannot be a single implementation. It's so new; my local man-pages system has not a record about the API yet (but the web has:

[issue38596] simple example give a Linux core dumped with atk-bridge

2019-10-26 Thread Feștilă George Cătălin
New submission from Feștilă George Cătălin : My simple notepad code with QtWidgets.QPlainTextEdit() give me a crash dump on Linux Fedora 30 with python3 Python 3.7.4 (default, Jul 9 2019, 16:32:37) [GCC 9.1.1 20190503 (Red Hat 9.1.1-1)] on linux [mythcat@desk pyqt5_examples]$ uname -a Linux

[issue35714] Document that the null character '\0' terminates a struct format spec

2019-10-26 Thread Mark Dickinson
Mark Dickinson added the comment: I agree with Serhiy. Any other unrecognised character would raise an error. The null character should do the same. -- nosy: +mark.dickinson ___ Python tracker