[issue40521] [subinterpreters] Make free lists and unicode caches per-interpreter

2020-06-07 Thread STINNER Victor
STINNER Victor added the comment: See also bpo-40887: "Free lists are still used after being finalized (cleared)". -- ___ Python tracker ___ __

[issue22554] Idle: optionally auto-pop-up completion window for names

2020-06-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: I think my proposal was to auto popup name completion without having to hit tab. Maybe only if match. I withdraw it. Would have to check updated completion list after each char, maybe call after, and usually cancel. Never a request for this. --

[issue40881] --with-valgrind broken

2020-06-07 Thread STINNER Victor
STINNER Victor added the comment: New changeset c96a61e8163c2d25ed4ac77cf96201fd0bdb945c by Victor Stinner in branch 'master': bpo-40881: Fix unicode_release_interned() (GH-20699) https://github.com/python/cpython/commit/c96a61e8163c2d25ed4ac77cf96201fd0bdb945c -- _

[issue40881] --with-valgrind broken

2020-06-07 Thread STINNER Victor
STINNER Victor added the comment: Fixed. Thanks for the bug report Stefan! -- components: +Build resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.10 ___ Python tracker

[issue40889] Symmetric difference on dict_views is inefficient

2020-06-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: But hashes of items are not known. Hashes of keys are known, hashes of values and items are not. We can add a special case for dict views in the set constructor and inline the hashing code for tuples, but it will be a lot of code for pretty rare case. And

[issue39573] [C API] Make PyObject an opaque structure in the limited C API

2020-06-07 Thread STINNER Victor
STINNER Victor added the comment: See also bpo-40881 "--with-valgrind broken": unicode_release_interned() still used "Py_REFCNT(s) += 1;". It's now fixed by commit c96a61e8163c2d25ed4ac77cf96201fd0bdb945c. -- ___ Python tracker

[issue40904] Segfault from new PEG parser handling yield withing f-strings

2020-06-07 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +gvanrossum, lys.nikolaou, pablogsal ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue40904] Segfault from new PEG parser handling yield withing f-strings

2020-06-07 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +3.9regression versions: +Python 3.9 ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue40905] IDLE relabel Save on close

2020-06-07 Thread Terry J. Reedy
New submission from Terry J. Reedy : Currently [Yes] [No] [Cancel] Proposed (#13504) [Save] [Skip save] [Cancel close] -- assignee: terry.reedy components: IDLE messages: 370934 nosy: terry.reedy priority: normal severity: normal stage: needs patch status: open title: IDLE relabel S

[issue40314] python code order of magnitude faster than equivalent CPython code for simple import statement

2020-06-07 Thread STINNER Victor
STINNER Victor added the comment: Try maybe PYTHONPROFILEIMPORTTIME=1 env var to get stats on impots. -- nosy: +vstinner ___ Python tracker ___ ___

[issue40904] Segfault from new PEG parser handling yield withing f-strings

2020-06-07 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch pull_requests: +19916 stage: -> patch review pull_request: https://github.com/python/cpython/pull/20701 ___ Python tracker __

[issue40887] Free lists are still used after being finalized (cleared)

2020-06-07 Thread STINNER Victor
STINNER Victor added the comment: New changeset bcb198385dee469d630a184182df9dc1463e2c47 by Victor Stinner in branch 'master': bpo-40887: Don't use finalized free lists (GH-20700) https://github.com/python/cpython/commit/bcb198385dee469d630a184182df9dc1463e2c47 -- _

[issue40905] IDLE relabel Save on close

2020-06-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: iomenu.maybesave pops up messagebox.askyesnocancel There is no way to change button labels, so would need query with only buttons. Simpledialog would not work. -- ___ Python tracker

[issue40887] Free lists are still used after being finalized (cleared)

2020-06-07 Thread STINNER Victor
STINNER Victor added the comment: Thanks Stefan for the bug report. It's now fixed and I made sure that such bug cannot strike back. -- components: +Interpreter Core resolution: -> fixed stage: patch review -> resolved status: open -> closed type: -> resource usage versions: +Python

[issue34023] timedelta(seconds=x) strange results when type(x) == np.int32

2020-06-07 Thread Zackery Spytz
Zackery Spytz added the comment: Python 2 is EOL, so I think this issue should be closed. -- nosy: +ZackerySpytz ___ Python tracker ___ ___

[issue13504] Meta-issue for "Invent with Python" IDLE feedback

2020-06-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am closing this kitchen-sink as unneeded since there are issues for most everything I think worthwhile. 14 #40905 However, tkinter.messagebox dialogs have canned buttons that cannot be relabeled, so would have to use something else. U1 Run => Run... Custo

[issue2704] IDLE: Patch to make PyShell behave more like a Terminal interface

2020-06-07 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: +Python 3.10 -Python 3.6, Python 3.7 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue14576] IDLE: inconsistent use of HOMEDRIVE, HOMEPATH, and USERPROFILE on Windows

2020-06-07 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: +Python 3.10 -Python 3.6, Python 3.7 ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue22354] Idle: highlite tabs

2020-06-07 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: +Python 3.10 -Python 3.6, Python 3.7 ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue20579] OS X IDLE keyboard accelerators fail or misbehave with Cocoa Tk

2020-06-07 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: +Python 3.10 -Python 3.6, Python 3.7 ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue24760] IDLE settings dialog shouldn't be modal

2020-06-07 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: +Python 3.10 -Python 3.6, Python 3.7 ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue40904] Segfault from new PEG parser handling yield withing f-strings

2020-06-07 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 972ab0327675e695373fc6272d5ac24e187579ad by Pablo Galindo in branch 'master': bpo-40904: Fix segfault in the new parser with f-string containing yield statements with no value (GH-20701) https://github.com/python/cpython/commit/972ab0327

[issue40904] Segfault from new PEG parser handling yield withing f-strings

2020-06-07 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Thanks, Steve for the report! -- nosy: -miss-islington ___ Python tracker ___ ___ Python-

[issue40904] Segfault from new PEG parser handling yield withing f-strings

2020-06-07 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 4.0 -> 5.0 pull_requests: +19917 pull_request: https://github.com/python/cpython/pull/20702 ___ Python tracker _

[issue40904] Segfault from new PEG parser handling yield withing f-strings

2020-06-07 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue27621] Finish IDLE Query dialog appearance and behavior.

2020-06-07 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: +Python 3.10 -Python 3.6 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue24893] Tk occasionally mispositions Text() insert cursor on mouse click.

2020-06-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: Perhaps this should be closed as 3rd party. I doubt _tkinter messes with clicks. -- components: +macOS -IDLE versions: +Python 3.10 -Python 3.6, Python 3.7 ___ Python tracker

[issue18903] IDLE file-completion is case-sensitive in Windows

2020-06-07 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: +Python 3.10 -Python 3.6, Python 3.7 ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue39791] New `files()` api from importlib_resources.

2020-06-07 Thread Jason R. Coombs
Jason R. Coombs added the comment: New changeset 843c27765652e2322011fb3e5d88f4837de38c06 by Jason R. Coombs in branch 'master': bpo-39791 native hooks for importlib.resources.files (GH-20576) https://github.com/python/cpython/commit/843c27765652e2322011fb3e5d88f4837de38c06 --

[issue39791] New `files()` api from importlib_resources.

2020-06-07 Thread miss-islington
Change by miss-islington : -- pull_requests: +19918 pull_request: https://github.com/python/cpython/pull/20703 ___ Python tracker ___ __

[issue6804] IDLE: Detect Python files even if name doesn't end in .py

2020-06-07 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: +Python 3.10 -Python 3.6, Python 3.7 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue15808] IDLE: Update offline doc locations

2020-06-07 Thread Terry J. Reedy
Change by Terry J. Reedy : -- title: Possibility of setting custom key bindings for "Additional help sources" menu items -> IDLE: Update offline doc locations versions: +Python 3.10 -Python 3.6, Python 3.7 ___ Python tracker

[issue40904] Segfault from new PEG parser handling yield withing f-strings

2020-06-07 Thread miss-islington
miss-islington added the comment: New changeset 64409117361499058b1bf95e6efec31f7bb3c0d0 by Miss Islington (bot) in branch '3.9': bpo-40904: Fix segfault in the new parser with f-string containing yield statements with no value (GH-20701) https://github.com/python/cpython/commit/644091173614

[issue15808] IDLE: Update offline doc locations for linux

2020-06-07 Thread Terry J. Reedy
Change by Terry J. Reedy : -- title: IDLE: Update offline doc locations -> IDLE: Update offline doc locations for linux ___ Python tracker ___

[issue39791] New `files()` api from importlib_resources.

2020-06-07 Thread miss-islington
miss-islington added the comment: New changeset 9cf1be46e3692d565461afd3afa326d124d743dd by Miss Islington (bot) in branch '3.9': bpo-39791 native hooks for importlib.resources.files (GH-20576) https://github.com/python/cpython/commit/9cf1be46e3692d565461afd3afa326d124d743dd -- ___

[issue40903] Segfault in new PEG parser

2020-06-07 Thread miss-islington
miss-islington added the comment: New changeset 9f495908c5bd3645ed1af82d7bae6782720dab77 by Pablo Galindo in branch 'master': bpo-40903: Handle multiple '=' in invalid assignment rules in the PEG parser (GH-20697) https://github.com/python/cpython/commit/9f495908c5bd3645ed1af82d7bae6782720da

[issue40903] Segfault in new PEG parser

2020-06-07 Thread miss-islington
Change by miss-islington : -- pull_requests: +19919 pull_request: https://github.com/python/cpython/pull/20704 ___ Python tracker ___ __

[issue40741] Upgrade to SQLite v3.32 in Windows and macOS builds

2020-06-07 Thread Ned Deily
Change by Ned Deily : -- pull_requests: +19920 pull_request: https://github.com/python/cpython/pull/20705 ___ Python tracker ___ ___

[issue40741] Upgrade to SQLite v3.32 in Windows and macOS builds

2020-06-07 Thread Ned Deily
Ned Deily added the comment: New changeset 37eed5a9ee7c802e7151ee9939ed604032886639 by Ned Deily in branch 'master': bpo-40741: Update macOS installer to use SQLite 3.32.2. (GH-20705) https://github.com/python/cpython/commit/37eed5a9ee7c802e7151ee9939ed604032886639 -- _

[issue40741] Upgrade to SQLite v3.32 in Windows and macOS builds

2020-06-07 Thread miss-islington
Change by miss-islington : -- pull_requests: +19923 pull_request: https://github.com/python/cpython/pull/20708 ___ Python tracker ___ __

[issue40741] Upgrade to SQLite v3.32 in Windows and macOS builds

2020-06-07 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 7.0 -> 8.0 pull_requests: +19921 pull_request: https://github.com/python/cpython/pull/20706 ___ Python tracker _

[issue40741] Upgrade to SQLite v3.32 in Windows and macOS builds

2020-06-07 Thread miss-islington
Change by miss-islington : -- pull_requests: +19922 pull_request: https://github.com/python/cpython/pull/20707 ___ Python tracker ___ __

[issue40741] Upgrade to SQLite v3.32 in Windows and macOS builds

2020-06-07 Thread miss-islington
miss-islington added the comment: New changeset d1c449a5c6e1cd1f245ec8b721c0f32675d63872 by Miss Islington (bot) in branch '3.7': bpo-40741: Update macOS installer to use SQLite 3.32.2. (GH-20705) https://github.com/python/cpython/commit/d1c449a5c6e1cd1f245ec8b721c0f32675d63872 --

[issue40741] Upgrade to SQLite v3.32 in Windows and macOS builds

2020-06-07 Thread miss-islington
miss-islington added the comment: New changeset 1e72fb2b78277c89b66e92396c84da912a8fa81f by Miss Islington (bot) in branch '3.9': bpo-40741: Update macOS installer to use SQLite 3.32.2. (GH-20705) https://github.com/python/cpython/commit/1e72fb2b78277c89b66e92396c84da912a8fa81f --

[issue40741] Upgrade to SQLite v3.32 in Windows and macOS builds

2020-06-07 Thread miss-islington
miss-islington added the comment: New changeset 264e4fd9619dfab3d9de7f78a46efd8772b03ea6 by Miss Islington (bot) in branch '3.8': bpo-40741: Update macOS installer to use SQLite 3.32.2. (GH-20705) https://github.com/python/cpython/commit/264e4fd9619dfab3d9de7f78a46efd8772b03ea6 --

[issue34023] timedelta(seconds=x) strange results when type(x) == np.int32

2020-06-07 Thread Inada Naoki
Change by Inada Naoki : -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-

[issue40900] uuid module build fix on FreeBSD proposal

2020-06-07 Thread Kubilay Kocak
Kubilay Kocak added the comment: FreeBSD base provides uuid.h (uuid(3)) but uuid libraries/headers can be provided by e2fsprogs-libuuid (for example) in another location, for example /usr/local/ Pythons build system doesn't provide sufficient granularity to pass include/library locations fo

[issue40902] Speed up PEG parser by using operator precedence for binary operators

2020-06-07 Thread Andy Lester
Change by Andy Lester : -- nosy: +petdance ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue40889] Symmetric difference on dict_views is inefficient

2020-06-07 Thread Raymond Hettinger
Raymond Hettinger added the comment: It really depends on whether the key hashes are cheap or not. -- ___ Python tracker ___ ___ Py

[issue40882] memory leak in multiprocessing.shared_memory.SharedMemory in Windows

2020-06-07 Thread Eryk Sun
Eryk Sun added the comment: Thanks for working on the PR, Zackery. Would you be interested in working on improvements to mmap for 3.10? With support in mmap, the Windows-specific initialization of SharedMemory could be as simple as the following: # Windows Named Shared Memory while

[issue40889] Symmetric difference on dict_views is inefficient

2020-06-07 Thread Dennis Sweeney
Dennis Sweeney added the comment: What about returning another dict_items instead of a set? As in (using the convention `d.items().mapping is d`): dict_items = type({}.items()) def __xor__(self: dict_items, other): if isinstance(other, dict_items): new = self.map

[issue40889] Symmetric difference on dict_views is inefficient

2020-06-07 Thread Raymond Hettinger
Raymond Hettinger added the comment: > What about returning another dict_items instead of a set? That API ship has already sailed. The published API guarantees that a set is returned — there is no changing that. The question is whether we care enough to provide an optimized implementation t

[issue40897] Inheriting from Generic causes inspect.signature to always return (*args, **kwargs) for constructor (and all subclasses)

2020-06-07 Thread Guido van Rossum
Guido van Rossum added the comment: So does that make this "not a bug"? Or is there something to document? For technical reasons we can't just add a __init__ method to Generic, and I doubt that it's feasible to change inspect.signature(). -- ___ P

[issue22021] shutil.make_archive() root_dir do not work

2020-06-07 Thread miss-islington
Change by miss-islington : -- pull_requests: +19924 pull_request: https://github.com/python/cpython/pull/20709 ___ Python tracker ___ __

[issue22021] shutil.make_archive() root_dir do not work

2020-06-07 Thread miss-islington
miss-islington added the comment: New changeset 7633371dace67aaa21eb4b86f889441571ec4167 by Lysandros Nikolaou in branch 'master': bpo-22021: Update root_dir and base_dir documentation in shutil (GH-10367) https://github.com/python/cpython/commit/7633371dace67aaa21eb4b86f889441571ec4167 ---

[issue7105] weak dict iterators are fragile because of unpredictable GC runs

2020-06-07 Thread Guido van Rossum
Change by Guido van Rossum : -- nosy: -gvanrossum ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue22021] shutil.make_archive() root_dir do not work

2020-06-07 Thread miss-islington
Change by miss-islington : -- pull_requests: +19925 pull_request: https://github.com/python/cpython/pull/20710 ___ Python tracker ___ __

[issue22021] shutil.make_archive() root_dir do not work

2020-06-07 Thread miss-islington
Change by miss-islington : -- pull_requests: +19926 pull_request: https://github.com/python/cpython/pull/20711 ___ Python tracker ___ __

[issue22021] shutil.make_archive() root_dir do not work

2020-06-07 Thread miss-islington
Change by miss-islington : -- pull_requests: +19927 pull_request: https://github.com/python/cpython/pull/20712 ___ Python tracker ___ __

[issue22021] shutil.make_archive() root_dir do not work

2020-06-07 Thread miss-islington
miss-islington added the comment: New changeset d5489a964fadc028c7086218702daf6fae087340 by Miss Islington (bot) in branch '3.7': bpo-22021: Update root_dir and base_dir documentation in shutil (GH-10367) https://github.com/python/cpython/commit/d5489a964fadc028c7086218702daf6fae087340

[issue22021] shutil.make_archive() root_dir do not work

2020-06-07 Thread miss-islington
miss-islington added the comment: New changeset be5ed59e29106634a0d02d96ed35fb71ed61cb6d by Miss Islington (bot) in branch '3.9': bpo-22021: Update root_dir and base_dir documentation in shutil (GH-10367) https://github.com/python/cpython/commit/be5ed59e29106634a0d02d96ed35fb71ed61cb6d

[issue22021] shutil.make_archive() root_dir do not work

2020-06-07 Thread miss-islington
miss-islington added the comment: New changeset 12dfbae2ec30e7c90499129b17b6049bfd9bb2b6 by Miss Islington (bot) in branch '3.8': bpo-22021: Update root_dir and base_dir documentation in shutil (GH-10367) https://github.com/python/cpython/commit/12dfbae2ec30e7c90499129b17b6049bfd9bb2b6

[issue40906] Unable to import module due to python unable to resolve dependecies

2020-06-07 Thread Saba Kauser
New submission from Saba Kauser : Hi, I am building python ibm_db C extension for Python 3.8 support. while the binary is generated successfully and installed to site-packages, I am unable to load the same. The error I get is: Python 3.8.0 (tags/v3.8.0:fa919fd, Oct 14 2019, 19:37:50) [MSC v.1

[issue40906] Unable to import module due to python unable to resolve dependecies

2020-06-07 Thread Saba Kauser
Change by Saba Kauser : Added file: https://bugs.python.org/file49221/python3.7.png ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue40902] Speed up PEG parser by using operator precedence for binary operators

2020-06-07 Thread Guido van Rossum
Guido van Rossum added the comment: I think this can wait until after beta 2. -- nosy: +gvanrossum ___ Python tracker ___ ___ Pytho

[issue40906] Unable to import module due to python unable to resolve dependecies

2020-06-07 Thread Saba Kauser
Change by Saba Kauser : Added file: https://bugs.python.org/file49222/python3.8_2.png ___ Python tracker ___ ___ Python-bugs-list mailing li

<    1   2