[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 list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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.1916 64 bit 
(AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import ibm_db
Traceback (most recent call last):
  File "", line 1, in 
ImportError: DLL load failed while importing ibm_db: The specified module could 
not be found.
>>> quit()

I have correctly set PATH and LIB to point to python installation. I have also 
updated LIB to point to correct runtime dependencies. 
Seeing through procmon, python is unable to resolve the runtime lib dependency 
path from PATH. The same steps work just fine for python 3.7 and other 
versions. This problem is only seen on windows. Linux and MAC works fine.

I am attaching the process monitor snippets for python 3.8(failing case) as 
well as python (3.7) success case.

Can you kindly look into it and share insights on what could lead to this 
problem and any possible resolution/s that are currently available. I tried 
with python 3.8.2 as same problem there as well.

Attached are the procmon logs for python 3.7(success case) and python 
3.8(failing case).

python 3.7 : python3.7.log
python 3.8 : python3.8_1.log , python3.8_2.log

--
components: Installation
files: python3.8_1.png
messages: 370964
nosy: sabakauser
priority: normal
severity: normal
status: open
title: Unable to import module due to python unable to resolve dependecies
type: behavior
versions: Python 3.8
Added file: https://bugs.python.org/file49220/python3.8_1.png

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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


--
nosy: +miss-islington

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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().

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 
that doesn't call __hash__() when the hash value has already been computed and 
stored.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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.mapping.copy()
MISSING = object()
for key, value in other:
existing = new.get(key, MISSING)
if existing is MISSING:
# (key, value) in (other - self)
new[key] = value
elif existing == value:
# (key, value) in (self & other)
del new[key]
else:
# (key, value) in (self - other)
new[key] = value
return new.items()
else:
return set(self) ^ set(other)

I believe this wouldn't require any re-hashing. It would also allow for 
non-hashable values.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 True:
tagname = _make_filename() if name is None else name
try:
self._mmap = mmap.mmap(-1, size if create else 0,
tagname, create=create)
break
except FileExistsError:
if name is not None:
raise

self._name = tagname
self._size = len(self._mmap)

The new mmap `create` parameter would default to None, which uses the current 
behavior that allows either opening or creating a file mapping with no sanity 
checking (e.g. a valid fd gets passed in, but it opens an unrelated file 
mapping via tagname). If `create` is true, and there's an existing file mapping 
named `tagname`, then raise FileExistsError. If `create` is false, call 
OpenFileMappingW instead of CreateFileMappingW. In this case, `fileno` must be 
-1, `length` is allowed to be 0, and `tagname` must be a non-empty string. If 
`length` is 0, map the entire file mapping and get the size via VirtualQuery: 
RegionSize.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 for *specific* components of the build in every 
circumstance.

The following is a bug related to Python 3.7+ and the uuid.h / linking problem:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229562

The current patch just ignores the third-party (/usr/local) version of uuid.h, 
allowing the build to proceed with the headers provided by base:

https://bz-attachments.freebsd.org/attachment.cgi?id=200603

The proper/permanent solution might be to allow a --with-uuid= style 
build argument

This issue of conflicting / multiple library versions and include order has 
also come up in various forms for other third party library support in Python, 
such as gettext (libintl), expat, ssl, libffi, curses)

See the following FreeBSD Python port block for the libintl example:

https://svnweb.freebsd.org/ports/head/lang/python37/Makefile?revision=536776&view=markup#l71

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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/9f495908c5bd3645ed1af82d7bae6782720dab77


--
nosy: +miss-islington

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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/64409117361499058b1bf95e6efec31f7bb3c0d0


--
nosy: +miss-islington

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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/972ab0327675e695373fc6272d5ac24e187579ad


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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... Customized allows specification of argv.
U2 Integrated pip not allowed.
U3 Detecting 2x code.  No.
U4, reread "I'd move the final >>> prompt to a small separate window on its own 
at the bottom of the interactive shell window. This way, the top area is 
read-only" I intend to do this.

--
dependencies:  -Help button on preference window doesn't work, IDLE - add an 
"Interrupt Execution" to shell menu, IDLE Debugger: Improve GUI, IDLE does not 
supply a default ext of .py on Windows or OS X for new file saves, IDLE editor 
line numbers, IDLE: Remove tear-off menu feature, IDLE: Revise Mac OS X key 
bindings., IDLE: make .py default added extension on save, Include version info 
in Windows shortcuts
resolution:  -> works for me
stage:  -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 3.10

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 Save on close
type: enhancement
versions: Python 3.10

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 since hashes of values should be calculated in 
any case, and the significant time will be spent on allocating 2-tuples, the 
benefit of such optimization will be minor.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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.

--
resolution:  -> rejected
stage: needs patch -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40887] Leaks in new free lists

2020-06-07 Thread STINNER Victor


Change by STINNER Victor :


--
pull_requests: +19915
pull_request: https://github.com/python/cpython/pull/20700

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2020-06-07 Thread STINNER Victor


Change by STINNER Victor :


--
title: Leaks in new free lists -> Free lists are still used after being 
finalized (cleared)

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40881] --with-valgrind broken

2020-06-07 Thread STINNER Victor


STINNER Victor  added the comment:

Regression introduced by my commit fe2978b3b940fe2478335e3a2ca5ad22338cdf9c: 
bpo-39573. I wrote a PR 20699 to fix unicode_release_interned().

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24265] IDLE -s and (-, -c command, or -r file) produces error message

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
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40903] Segfault in new PEG parser

2020-06-07 Thread Pablo Galindo Salgado


Change by Pablo Galindo Salgado :


--
assignee:  -> pablogsal

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18318] Idle: stop depending on console output

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
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue37614] Pasteing 🌹into idle makes it exit

2020-06-07 Thread Terry J. Reedy


Terry J. Reedy  added the comment:

The crash issue is fixed, but editing does not work correctly.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40887] Leaks in new free lists

2020-06-07 Thread STINNER Victor


STINNER Victor  added the comment:


New changeset 7907f8cbc6923240edb0b5b63adafb871c4c8875 by Victor Stinner in 
branch 'master':
bpo-40887: Fix finalize_interp_clear() for free lists (GH-20698)
https://github.com/python/cpython/commit/7907f8cbc6923240edb0b5b63adafb871c4c8875


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40881] --with-valgrind broken

2020-06-07 Thread STINNER Victor


Change by STINNER Victor :


--
keywords: +patch
pull_requests: +19914
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/20699

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40887] Leaks in new free lists

2020-06-07 Thread STINNER Victor


STINNER Victor  added the comment:

I'm curious about this bug, so I looked at code changes.

Before Python 3.6, warnings.c "garbage" is declared as a static variable. It is 
initialized once but never cleared.

In Python 3.7, the variable moved into _PyRuntimeState.gc.

In Python 3.8, _PyGC_Fini() started to clear the "garbage" list. This function 
is called by Py_FinalizeEx() *after* PyList_Fini().

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue14304] Implement utf-8-bmp codec

2020-06-07 Thread STINNER Victor


Change by STINNER Victor :


--
nosy:  -vstinner

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2020-06-07 Thread Steve Stagg


New submission from Steve Stagg :

The following command causes python to segfault:

$ echo "f'{yield}'" | python/bin/python3

Bisect tracked this down to:

c5fc15685202cda73f7c3f5c6f299b0945f58508 (bpo-40334: PEP 617 implementation: 
New PEG parser for CPython (GH-19503))

The illegal access is coming out of `fstring_shift_children_locations`
as n->v.Yield.value is None.

Correspondingly, the following produces the expected output:

$ echo "f'{yield 1}'" | python/bin/python3

Suggesting there's a missing check for no yield value in this code.

--
components: Interpreter Core
messages: 370923
nosy: stestagg
priority: normal
severity: normal
status: open
title: Segfault from new PEG parser handling yield withing f-strings
type: crash
versions: Python 3.10

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40887] Leaks in new free lists

2020-06-07 Thread STINNER Victor


STINNER Victor  added the comment:

> Lists and tuples sometimes leak (starting 69ac6e58f and later):

It's not a regression. It's just that bpo-40521 helped Valgrind to detect such 
bug :-)

I wrote bpo-20698 to fix this issue.

I'm also working on a more generic approach to ensure that we don't add new 
objects to free lists after free lists are cleared.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40887] Leaks in new free lists

2020-06-07 Thread STINNER Victor


Change by STINNER Victor :


--
keywords: +patch
pull_requests: +19913
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/20698

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30422] Add roadmap.txt section to idlelib

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
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24813] Redesign Help => About IDLE, make it non-modal

2020-06-07 Thread Terry J. Reedy


Terry J. Reedy  added the comment:

Still needs to make non-modal and consider other ideas.

--
nosy:  -kbk, roger.serwy
versions: +Python 3.10 -Python 3.6, Python 3.7

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue30751] IDLE: Display entry errors for key sequence entry in entry box

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
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue14304] Implement utf-8-bmp codec

2020-06-07 Thread Terry J. Reedy

Terry J. Reedy  added the comment:

October 2019, Serhiy solved the display issue with a _tkinter patch for #13153.
bpo-13153: Use OS native encoding for converting between Python and Tcl. 
(GH-16545)
https://github.com/python/cpython/commit/06cb94bc8419b9a24df6b0d724fcd8e40c6971d6
In Windows IDLE Shell
>>> ''.join(map(chr, [76, 246, 119, 105, 115, 0x1F40D]))
'Löwis🐍'
except that the snake is black and white.  (Many astral chars have no glyph and 
appear as a box.) In console REPL, the snake shows as box box space box.

Pasting astral characters into edited code 'works' except that editing 
following code is messy because the astral char is multiple chars internally 
and the visible cursor no longer matches the internal index.  (But pasting such 
no longer crashes IDLE.)

--
resolution:  -> out of date
stage: patch review -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue35228] Index search in CHM help crashes viewer

2020-06-07 Thread Václav Dvořák

Václav Dvořák  added the comment:

@steve.dower: I have cp1250 and I've had this issue for years now, on several 
Windows versions. Hoping Microsoft will fix it is obviously futile; can I ask 
for the Python community to apply the workaround suggested by Ma Lin please? 
Thanks.

--
nosy: +Václav Dvořák

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40903] Segfault in new PEG parser

2020-06-07 Thread Pablo Galindo Salgado


Change by Pablo Galindo Salgado :


--
keywords: +patch
nosy: +pablogsal
nosy_count: 1.0 -> 2.0
pull_requests: +19912
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/20697

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40889] Symmetric difference on dict_views is inefficient

2020-06-07 Thread Raymond Hettinger


Change by Raymond Hettinger :


--
nosy: +Dennis Sweeney

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue22460] idle editor: replace all in selection

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
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23069] IDLE's F5 Run Module doesn't transfer effects of future import

2020-06-07 Thread Terry J. Reedy


Terry J. Reedy  added the comment:

The only currently active __future__ import is 'annotations'.
https://docs.python.org/3/reference/compound_stmts.html#index-23
The is currently scheduled to be needed indefinitely (until '4.0').

--
versions: +Python 3.10 -Python 3.6, Python 3.7

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23616] Idle: conflict between loop execution and undo shortcut.

2020-06-07 Thread Terry J. Reedy


Change by Terry J. Reedy :


--
nosy:  -kbk, roger.serwy
versions: +Python 3.10 -Python 3.6, Python 3.7

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue22133] IDLE: Set correct WM_CLASS on X11

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
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24860] Can IDLE's query box be improved

2020-06-07 Thread Terry J. Reedy


Terry J. Reedy  added the comment:

Thanks for the push.  query.py now has several subclasses which I believe 
covers all simple queries.

--
resolution:  -> out of date
stage: patch review -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40903] Segfault in new PEG parser

2020-06-07 Thread Steve Stagg


New submission from Steve Stagg :

The input `p=p=` causes python 3.10 to crash.

I bisected the change, and the behavior appears to have been introduced by 
16ab07063cb564c1937714bd39d6915172f005b5 (bpo-40334: Correctly identify invalid 
target in assignment errors (GH-20076) )

Steps to reproduce:

$ echo 'p=p=' | /path/to/python3.10
=== SIGSEGV (Address boundary error)


Analysis:

This code is an invalid assignment, and the parser tries to generate a useful 
message for this case (invalid_assignment_rule).

However, the `target` of the assignment is a Name node.

The invalid_assignment_rule function tries to identify the target of the 
assignment, to create a useful description for the error menssage by calling 
`_PyPegen_get_invalid_target`, passing in the Name Node.

`PyPegen_get_invalid_target` returns NULL if the type is a Name type 
(pegen.c:2114).

The result of this call is then passed unconditionally to 
_PyPegen_get_expr_name, which is expecting a statement, not NULL.

Error happens here: pegen.c:164
`_PyPegen_get_expr_name(expr_ty e)` is being called with `e = 0x0`

--
components: Interpreter Core
messages: 370916
nosy: stestagg
priority: normal
severity: normal
status: open
title: Segfault in new PEG parser
type: crash
versions: Python 3.10

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2020-06-07 Thread Pablo Galindo Salgado


Change by Pablo Galindo Salgado :


--
keywords: +patch
pull_requests: +19911
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/20696

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2020-06-07 Thread Pablo Galindo Salgado


Change by Pablo Galindo Salgado :


--
components: +Interpreter Core
versions: +Python 3.10, Python 3.9

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2020-06-07 Thread Pablo Galindo Salgado


Change by Pablo Galindo Salgado :


--
assignee:  -> pablogsal

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2020-06-07 Thread Pablo Galindo Salgado


New submission from Pablo Galindo Salgado :

Check https://github.com/we-like-parsers/cpython/issues/132 for context.

--
messages: 370915
nosy: pablogsal
priority: normal
severity: normal
status: open
title: Speed up PEG parser by using operator precedence for binary operators

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue25032] IDLE - same menubar across application

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
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24252] IDLE removes elements from tracebacks.

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
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40890] Dict views should be introspectable

2020-06-07 Thread Raymond Hettinger


Raymond Hettinger  added the comment:

Do you see any easy way to have some_mapping_proxy.items().mapping return 
some_mapping_proxy rather than unmasking the proxied dict?

--
keywords:  -easy (C), patch

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



  1   2   >