[issue19692] Rename Py_SAFE_DOWNCAST

2019-08-04 Thread Inada Naoki


Inada Naoki  added the comment:

While Py_SAFE_DOWNCAST is not documented, it doesn't start with underscore.
How many 3rd party code are broken by changing the name?

--
nosy: +inada.naoki

___
Python tracker 

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



[issue37623] namedtuple integration for importlib.abc.Loader

2019-08-04 Thread Andrew Yurisich


Andrew Yurisich  added the comment:

If anyone is interested in the progress I was able to make as a result of this 
discussion, feel free to check out 
https://github.com/captain-kark/python-module-resources/blob/d85453ff4f5022127874a5842449d95bb5eda234/module_resources/module_resources.py
 and leave you feedback or comments.

--

___
Python tracker 

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



[issue32912] Raise non-silent warning for invalid escape sequences

2019-08-04 Thread Nathaniel Smith


Nathaniel Smith  added the comment:

I think we haven't *actually* done a proper DeprecationWarning period for this. 
We tried, but because of the issue with byte-compiling, the warnings were 
unconditionally suppressed for most users -- even the users who are diligent 
enough to enable warnings and look at warnings in their test suites.

I can see a good argument for making the change, but if we're going to do it 
then it's obviously the kind of change that requires a proper deprecation 
period, and that hasn't happened.

Maybe .pyc files need to be extended to store a list of syntax-related 
DeprecationWarnings and SyntaxWarnings, that are re-issued every time the .pyc 
is loaded? Then we'd at least have the technical capability to deprecate this 
properly.

--
nosy: +njs

___
Python tracker 

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



[issue35224] PEP 572: Assignment Expressions

2019-08-04 Thread Guido van Rossum


Guido van Rossum  added the comment:

Can you suggest a PEP update too, for the case that goes beyond the PEP?
And please provide examples (not everybody knows immediately what
"outermost iterable expression" refers to. :-)

--

___
Python tracker 

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



[issue35224] PEP 572: Assignment Expressions

2019-08-04 Thread Nick Coghlan


Nick Coghlan  added the comment:

Thanks Guido. The former test cases that the new PR removes are the following:

res = [i := i for i in range(5)]
res = [i := 0 for i, j in [(1, 2), (3, 4)]]
res = [(i := 0, j := 1) for i, j in [(1, 2), (3, 4)]]
res = [(i := i, j := j) for i, j in [(1, 2), (3, 4)]]
res = [(i := j, j := i) for i, j in [(1, 2), (3, 4)]]

These all raise TargetScopeError with the PR applied:

>>> res = [i := i for i in range(5)]
  File "", line 1
TargetScopeError: named expression cannot rebind comprehension iteration 
variable
>>> res = [i := 0 for i, j in [(1, 2), (3, 4)]]
  File "", line 1
TargetScopeError: named expression cannot rebind comprehension iteration 
variable
>>> res = [(i := 0, j := 1) for i, j in [(1, 2), (3, 4)]]
  File "", line 1
TargetScopeError: named expression cannot rebind comprehension iteration 
variable
>>> res = [(i := i, j := j) for i, j in [(1, 2), (3, 4)]]
  File "", line 1
TargetScopeError: named expression cannot rebind comprehension iteration 
variable
>>> res = [(i := j, j := i) for i, j in [(1, 2), (3, 4)]]
  File "", line 1
TargetScopeError: named expression cannot rebind comprehension iteration 
variable

--

___
Python tracker 

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



[issue35224] PEP 572: Assignment Expressions

2019-08-04 Thread Nick Coghlan


Nick Coghlan  added the comment:

#37757 now has an associated PR adding the missing TargetScopeError cases: 
https://github.com/python/cpython/pull/15131

There's one case where it goes beyond what the PEP specifies: because the 
outermost iterable expression gets evaluated in a different scope from the rest 
of the comprehension, it just flat out prohibits the use of assignment 
expressions in comprehension iterable expressions.

This was one of the cases where we explicitly didn't want the CPython 
implementation behaviour to leak into the language specification (as name 
binding in the outermost iterable expression would create an unrelated binding 
in the containing scope, while name binding in other iterable expressions would 
rebind any conflicting iteration variable in the comprehension), so the current 
PR takes the more conservative path, and defers allowing name binding in the 
iterable expressions until a specific use case for doing so is presented).

--

___
Python tracker 

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



[issue37760] Refactor makeunicodedata.py: dedupe parsing, use dataclass

2019-08-04 Thread Greg Price


Greg Price  added the comment:

Just posted three PRs:
 * GH-15128 and GH-15129 are both quite small
 * GH-15130 is the first of two patches factoring out common parsing logic.

Two remaining patches go on top of GH-15130.  Here are drafts, in case they're 
helpful for reference:
* Patch 2/2 factoring out common parsing logic: 
https://github.com/gnprice/cpython/commit/0a32a7111
* Patch converting the big tuples to a dataclass: 
https://github.com/gnprice/cpython/commit/6d8103bbc

I figure they may be easiest to review after the PR they depend on is merged, 
so my plan is to send PRs for them each in turn.

--

___
Python tracker 

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



[issue37757] TargetScopeError not raised for comprehension scope conflict

2019-08-04 Thread Guido van Rossum


Guido van Rossum  added the comment:

Thanks for being part of the village raising this child!

--
nosy: +gvanrossum

___
Python tracker 

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



[issue37757] TargetScopeError not raised for comprehension scope conflict

2019-08-04 Thread Nick Coghlan


Change by Nick Coghlan :


--
keywords: +patch
pull_requests: +14871
stage: needs patch -> patch review
pull_request: https://github.com/python/cpython/pull/15131

___
Python tracker 

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



[issue35224] PEP 572: Assignment Expressions

2019-08-04 Thread Guido van Rossum


Guido van Rossum  added the comment:

Thanks for catching that this was still incomplete.

> Also, a major procedural note: it is NOT OK to merge a PEP implementation 
> that completely ignores parts of the PEP. The merged tests are actively 
> forcing NON-compliance with the accepted PEP, since they're requiring 
> implementations to accept code that the PEP explicitly states should be 
> disallowed.

It was known the implementation was unfinished in this respect, but it was 
deemed better to merge what we had lest the work be lost in merge conflicts, 
and iterate in later betas. I've written some code that uses the walrus 
operator and have found it quite solid. The early existence of an 
implementation (albeit incomplete) has also helped get support for this in mypy 
(https://github.com/python/mypy/pull/6899).

I don't recall being aware that there were tests that specifically *checked* 
that the implementation was incomplete, and that's obviously wrong.

--

___
Python tracker 

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



[issue37760] Refactor makeunicodedata.py: dedupe parsing, use dataclass

2019-08-04 Thread Greg Price


Change by Greg Price :


--
pull_requests: +14870
pull_request: https://github.com/python/cpython/pull/15130

___
Python tracker 

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



[issue37760] Refactor makeunicodedata.py: dedupe parsing, use dataclass

2019-08-04 Thread Greg Price


Change by Greg Price :


--
pull_requests: +14869
pull_request: https://github.com/python/cpython/pull/15129

___
Python tracker 

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



[issue37760] Refactor makeunicodedata.py: dedupe parsing, use dataclass

2019-08-04 Thread Greg Price


Change by Greg Price :


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

___
Python tracker 

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



[issue37760] Refactor makeunicodedata.py: dedupe parsing, use dataclass

2019-08-04 Thread Greg Price


New submission from Greg Price :

I spent some time yesterday on #18236, and I have a patch for it.

Most of that work happens in the script Tools/unicode/makeunicode.py , and 
along the way I made several changes there that I found made it somewhat nicer 
to work on, and I think will help other people reading that script too.  I'd 
like to try to merge those improvements first.

The main changes are:

 * As the script has grown over the years, it's gained many copies and 
reimplementations of logic to parse the standard format of the Unicode 
character database.  I factored those out into a single place, which makes the 
parsing code shorter and the interesting parts stand out more easily.

 * The main per-character record type in the script's data structures is a 
length-18 tuple.  Using the magic of dataclasses, I converted this so that e.g. 
the code says `record.numeric_value` instead of `record[8]`.

There's no radical restructuring or rewrite here; this script has served us 
well.  I've kept these changes focused where there's a high ratio of value, in 
future ease of development, to cost, in a reviewer's effort as well as mine.

I'll send PRs of my changes shortly.

--
components: Unicode
messages: 349020
nosy: Greg Price, ezio.melotti, vstinner
priority: normal
severity: normal
status: open
title: Refactor makeunicodedata.py: dedupe parsing, use dataclass
type: enhancement
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



[issue37759] Polish whatsnew for 3.8

2019-08-04 Thread Raymond Hettinger


Change by Raymond Hettinger :


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

___
Python tracker 

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



[issue35224] PEP 572: Assignment Expressions

2019-08-04 Thread Raymond Hettinger


Raymond Hettinger  added the comment:

FWIW, I'm working on an improved whatsnew entry in 
https://github.com/python/cpython/pull/15127

--

___
Python tracker 

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



[issue37759] Polish whatsnew for 3.8

2019-08-04 Thread Raymond Hettinger


New submission from Raymond Hettinger :

Beginning significant edits to whatsnew, adding examples and motivations, 
improving organization and clarity.

Work in progress.

--
assignee: rhettinger
components: Documentation
messages: 349018
nosy: rhettinger
priority: high
severity: normal
status: open
title: Polish whatsnew for 3.8
versions: Python 3.8

___
Python tracker 

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



[issue35224] PEP 572: Assignment Expressions

2019-08-04 Thread Nick Coghlan


Nick Coghlan  added the comment:

Also, a major procedural note: it is NOT OK to merge a PEP implementation that 
completely ignores parts of the PEP. The merged tests are actively forcing 
NON-compliance with the accepted PEP, since they're requiring implementations 
to accept code that the PEP explicitly states should be disallowed.

Those rules were added because the behaviour in CPython leaks CPython 
implementation details that we *don't want* to be part of the language 
specification.

--

___
Python tracker 

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



[issue37758] unicodedata checksum-tests only test 1/17th of Unicode's codepoints

2019-08-04 Thread Greg Price


Greg Price  added the comment:

Sent two small PRs!

The first one, GH-15125, makes the substantive test change I described above.

The second one, GH-15126, is a small pure refactor to that test file, just 
cleaning out some bits that made sense when it was first written (as a script) 
but are confusing now that it's a `unittest` test module.  Took me a couple of 
minutes to sort those out when I first dug into this file, and I figure it'd be 
kind to the next person to save them the same effort.

--

___
Python tracker 

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



[issue37758] unicodedata checksum-tests only test 1/17th of Unicode's codepoints

2019-08-04 Thread Greg Price


Change by Greg Price :


--
pull_requests: +14866
pull_request: https://github.com/python/cpython/pull/15126

___
Python tracker 

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



[issue36419] IDLE autocomplete: refactor and polish code and tests

2019-08-04 Thread Terry J. Reedy


Terry J. Reedy  added the comment:

All three goals done.  Most or all of the 7% not covered is the part of the 
file I did not touch.

--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed
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



[issue37758] unicodedata checksum-tests only test 1/17th of Unicode's codepoints

2019-08-04 Thread Greg Price


Change by Greg Price :


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

___
Python tracker 

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



[issue37758] unicodedata checksum-tests only test 1/17th of Unicode's codepoints

2019-08-04 Thread Greg Price


New submission from Greg Price :

The unicodedata module has two test cases which run through the database and 
make a hash of its visible outputs for all codepoints, comparing the hash 
against a checksum.  These are helpful regression tests for making sure the 
behavior isn't changed by patches that didn't intend to change it.

But Unicode has grown since Python first gained support for it, when Unicode 
itself was still rather new.  These test cases were added in commit 6a20ee7de 
back in 2000, and they haven't needed to change much since then... but they 
should be changed to look beyond the Basic Multilingual Plane 
(`range(0x1)`) and cover all 17 planes of Unicode's final form.

Spotted in discussion on GH-15019 
(https://github.com/python/cpython/pull/15019#discussion_r308947884 ).  I have 
a patch for this which I'll send shortly.

--
components: Tests
messages: 349014
nosy: Greg Price
priority: normal
severity: normal
status: open
title: unicodedata checksum-tests only test 1/17th of Unicode's codepoints
type: enhancement
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



[issue35224] PEP 572: Assignment Expressions

2019-08-04 Thread Nick Coghlan


Nick Coghlan  added the comment:

https://bugs.python.org/issue37757 separates out the TargetScopeError handling 
for conflicts between assignment expressions and comprehension iteration 
variables.

--

___
Python tracker 

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



[issue37757] TargetScopeError not raised for comprehension scope conflict

2019-08-04 Thread Nick Coghlan


New submission from Nick Coghlan :

While implementing PEP 572, Emily noted that the check for conflicts between 
assignment operators and comprehension iteration variables had not yet been 
implemented: https://bugs.python.org/issue35224#msg334331

Damien George came across this discrepancy while implementing assignment 
expressions for MicroPython.

The proposed discussion regarding whether or not the PEP should be changed 
didn't happen, and the PEP itself misses the genuinely confusing cases where 
even an assignment expression that *never executes* will still make the 
iteration variable leak:

>>> [i for i in range(5)]
[0, 1, 2, 3, 4]
>>> [i := 10 for i in range(5)]
[10, 10, 10, 10, 10]
>>> i
10
>>> [False and (i := 10) for i in range(5)]
[False, False, False, False, False]
>>> i
4

And that side effect happens even if the assignment expression is nested 
further down in an inner loop:

>>> [(i, j, k) for i in range(2) for j in range(2) for k in range(2)]
[(0, 0, 0), (0, 0, 1), (0, 1, 0), (0, 1, 1), (1, 0, 0), (1, 0, 1), (1, 1, 0), 
(1, 1, 1)]
>>> i
Traceback (most recent call last):
  File "", line 1, in 
NameError: name 'i' is not defined
>>> [(i, j, k) for i in range(2) for j in range(2) for k in range(2) if True or 
>>> (i:=10)]
[(0, 0, 0), (0, 0, 1), (0, 1, 0), (0, 1, 1), (1, 0, 0), (1, 0, 1), (1, 1, 0), 
(1, 1, 1)]
>>> i
1

I'm at the PyCon AU sprints today, and will be working on a PR to make these 
cases raise TargetScopeError as specified in the PEP.

--
assignee: ncoghlan
messages: 349012
nosy: Damien George, emilyemorehouse, ncoghlan
priority: deferred blocker
severity: normal
stage: needs patch
status: open
title: TargetScopeError not raised for comprehension scope conflict
type: behavior
versions: Python 3.8, Python 3.9

___
Python tracker 

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



[issue35224] PEP 572: Assignment Expressions

2019-08-04 Thread Nick Coghlan


Nick Coghlan  added the comment:

Did the documentation PR get pushed/merged? Emily mentioned having one in 
progress above, but it doesn't appear in the linked PRs.

--
nosy: +ncoghlan

___
Python tracker 

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



[issue36419] IDLE autocomplete: refactor and polish code and tests

2019-08-04 Thread miss-islington


miss-islington  added the comment:


New changeset 4969192f99046bc0f6453185082c00f7a6e132ec by Miss Islington (bot) 
in branch '3.7':
bpo-36419: IDLE - Refactor autocompete and improve testing. (GH-15121)
https://github.com/python/cpython/commit/4969192f99046bc0f6453185082c00f7a6e132ec


--

___
Python tracker 

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



[issue36419] IDLE autocomplete: refactor and polish code and tests

2019-08-04 Thread miss-islington


miss-islington  added the comment:


New changeset 5349f8cd784220fc6599830c56d3f0614de2b8cb by Miss Islington (bot) 
in branch '3.8':
bpo-36419: IDLE - Refactor autocompete and improve testing. (GH-15121)
https://github.com/python/cpython/commit/5349f8cd784220fc6599830c56d3f0614de2b8cb


--
nosy: +miss-islington

___
Python tracker 

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



[issue36419] IDLE autocomplete: refactor and polish code and tests

2019-08-04 Thread miss-islington


Change by miss-islington :


--
pull_requests: +14864
pull_request: https://github.com/python/cpython/pull/15124

___
Python tracker 

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



[issue36419] IDLE autocomplete: refactor and polish code and tests

2019-08-04 Thread miss-islington


Change by miss-islington :


--
pull_requests: +14863
pull_request: https://github.com/python/cpython/pull/15123

___
Python tracker 

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



[issue36419] IDLE autocomplete: refactor and polish code and tests

2019-08-04 Thread Terry J. Reedy


Terry J. Reedy  added the comment:


New changeset 1213123005d9f94bb5027c0a5256ea4d3e97b61d by Terry Jan Reedy in 
branch 'master':
bpo-36419: IDLE - Refactor autocompete and improve testing. (#15121)
https://github.com/python/cpython/commit/1213123005d9f94bb5027c0a5256ea4d3e97b61d


--

___
Python tracker 

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



[issue35892] Fix awkwardness of statistics.mode() for multimodal datasets

2019-08-04 Thread Raymond Hettinger


Change by Raymond Hettinger :


--
pull_requests: +14862
pull_request: https://github.com/python/cpython/pull/15122

___
Python tracker 

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



[issue37748] IDLE: Re-order run menu

2019-08-04 Thread Terry J. Reedy


Change by Terry J. Reedy :


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



[issue36419] IDLE autocomplete: refactor and polish code and tests

2019-08-04 Thread Terry J. Reedy


Change by Terry J. Reedy :


--
keywords: +patch
pull_requests: +14861
stage: test needed -> patch review
pull_request: https://github.com/python/cpython/pull/15121

___
Python tracker 

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



[issue37645] Replace PyEval_GetFuncName/PyEval_GetFuncDesc

2019-08-04 Thread Jeroen Demeyer


Jeroen Demeyer  added the comment:

Another solution would be to change the __str__ of various function objects to 
a prettier output. For example, we currently have

>>> def f(): pass
>>> print(f)


We could change this to

>>> def f(): pass
>>> print(f)
f()

and then use "%S" to display the functions in error messages. But I have a 
feeling that this is a more controversial change than PR 14890.

--

___
Python tracker 

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



[issue37748] IDLE: Re-order run menu

2019-08-04 Thread miss-islington


miss-islington  added the comment:


New changeset a96f0367d4c84ed42f8dc80c88c10f334498f36c by Miss Islington (bot) 
in branch '3.7':
bpo-37748: Re-order the Run menu. (GH-15115)
https://github.com/python/cpython/commit/a96f0367d4c84ed42f8dc80c88c10f334498f36c


--

___
Python tracker 

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



[issue37748] IDLE: Re-order run menu

2019-08-04 Thread miss-islington


miss-islington  added the comment:


New changeset 9c95fc752c1465202df67fa894ef326c8ebb8cac by Miss Islington (bot) 
in branch '3.8':
bpo-37748: Re-order the Run menu. (GH-15115)
https://github.com/python/cpython/commit/9c95fc752c1465202df67fa894ef326c8ebb8cac


--
nosy: +miss-islington

___
Python tracker 

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



[issue35707] time.sleep() should support objects with __float__

2019-08-04 Thread Jeroen Demeyer


Jeroen Demeyer  added the comment:

> If we want to support other numerical types with loss in double rounding, the 
> most reliable way is to represent them as fractions (x.as_integer_ratio() or 
> (x.numerator, x.denominator))

See 
https://discuss.python.org/t/pep-3141-ratio-instead-of-numerator-denominator/2037/24?u=jdemeyer
 for a proposal to define __ratio__ for this.

--

___
Python tracker 

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



[issue37748] IDLE: Re-order run menu

2019-08-04 Thread Terry J. Reedy


Terry J. Reedy  added the comment:


New changeset 14070299cdc0faf36975f0cc2d51824a9abf3db0 by Terry Jan Reedy in 
branch 'master':
bpo-37748: Re-order the Run menu. (GH-15115)
https://github.com/python/cpython/commit/14070299cdc0faf36975f0cc2d51824a9abf3db0


--

___
Python tracker 

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



[issue37748] IDLE: Re-order run menu

2019-08-04 Thread miss-islington


Change by miss-islington :


--
pull_requests: +14859
pull_request: https://github.com/python/cpython/pull/15119

___
Python tracker 

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



[issue37748] IDLE: Re-order run menu

2019-08-04 Thread miss-islington


Change by miss-islington :


--
pull_requests: +14860
pull_request: https://github.com/python/cpython/pull/15120

___
Python tracker 

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



[issue28292] Make Calendar.itermonthdates() behave consistently in edge cases

2019-08-04 Thread Raymond Hettinger


Raymond Hettinger  added the comment:


New changeset 0c16f6b307f7607e29b98b8fbb99cbca28f91a48 by Raymond Hettinger 
(Miss Islington (bot)) in branch '3.8':
bpo-28292: Mark calendar.py helper functions as private. (GH-15113) (GH-15116)
https://github.com/python/cpython/commit/0c16f6b307f7607e29b98b8fbb99cbca28f91a48


--

___
Python tracker 

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



[issue28292] Make Calendar.itermonthdates() behave consistently in edge cases

2019-08-04 Thread Raymond Hettinger


Change by Raymond Hettinger :


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



[issue37646] eval() in a list comprehension

2019-08-04 Thread Raymond Hettinger


Raymond Hettinger  added the comment:

After more thought, I think the existing behavior is probably what we want.  
There may not be a clean way to allow access and updates to non-locals.  Even 
if a way was found, it may tie our hands and preclude other implementation 
changes down the road.  Also, such a feature may be at odds with the current 
API which allows the execution environment to be retargeted.  There is also a 
risk of introducing new security issues.

I've attached a PR to update the eval() docs to reflect the actual behavior.

--

___
Python tracker 

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



[issue37646] eval() in a list comprehension

2019-08-04 Thread Raymond Hettinger


Change by Raymond Hettinger :


--
keywords: +patch
pull_requests: +14858
stage: resolved -> patch review
pull_request: https://github.com/python/cpython/pull/15117

___
Python tracker 

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



[issue28292] Make Calendar.itermonthdates() behave consistently in edge cases

2019-08-04 Thread Raymond Hettinger


Raymond Hettinger  added the comment:


New changeset b1c8ec010fb4eb2654ca994e95144c8f2fea07fb by Raymond Hettinger in 
branch 'master':
bpo-28292: Mark calendar.py helper functions as private. (GH-15113)
https://github.com/python/cpython/commit/b1c8ec010fb4eb2654ca994e95144c8f2fea07fb


--

___
Python tracker 

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



[issue28292] Make Calendar.itermonthdates() behave consistently in edge cases

2019-08-04 Thread miss-islington


Change by miss-islington :


--
pull_requests: +14857
pull_request: https://github.com/python/cpython/pull/15116

___
Python tracker 

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



[issue37748] IDLE: Re-order run menu

2019-08-04 Thread Terry J. Reedy


Change by Terry J. Reedy :


--
keywords: +patch
pull_requests: +14856
stage: needs patch -> patch review
pull_request: https://github.com/python/cpython/pull/15115

___
Python tracker 

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



[issue34621] uuid.UUID objects can't be unpickled in older Python versions (<3.7)

2019-08-04 Thread Tal Einat


Tal Einat  added the comment:

Note that the original fix, in PR GH-9133, contained a bug: UUID objects with 
`is_safe` set to `SafeUUID.unknown` would cause an exception if unpickled with 
Python <3.7.

This was reported by Thomas Wiebe in a comment to a commit in that PR:
https://github.com/python/cpython/commit/d53f1cabe8837697df4acb70c9c6537461b5eeda#commitcomment-31396021

This is now fixed, see PR GH-14834.

--

___
Python tracker 

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



[issue1382562] --install-base not honored on win32

2019-08-04 Thread Joannah Nanjekye


Joannah Nanjekye  added the comment:

Similar to issue21710

--
nosy: +nanjekyejoannah

___
Python tracker 

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



[issue34621] uuid.UUID objects can't be unpickled in older Python versions (<3.7)

2019-08-04 Thread Tal Einat


Tal Einat  added the comment:


New changeset a2ea9448c677706d6318eaa71101f08df7604eb9 by Tal Einat in branch 
'3.7':
[3.7] bpo-34621: backwards-compatible pickle UUID with is_safe=unknown 
(GH-14834)
https://github.com/python/cpython/commit/a2ea9448c677706d6318eaa71101f08df7604eb9


--

___
Python tracker 

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



[issue36324] Inverse cumulative normal distribution function

2019-08-04 Thread Raymond Hettinger


Raymond Hettinger  added the comment:


New changeset d7d607c000a28432f87d24d2a5a9315c51017041 by Raymond Hettinger 
(Miss Islington (bot)) in branch '3.8':
bpo-36324: Update comments to include the target hash sums (GH-15110) (GH-15112)
https://github.com/python/cpython/commit/d7d607c000a28432f87d24d2a5a9315c51017041


--

___
Python tracker 

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



[issue28292] Make Calendar.itermonthdates() behave consistently in edge cases

2019-08-04 Thread Raymond Hettinger


Change by Raymond Hettinger :


--
pull_requests: +14855
stage: resolved -> patch review
pull_request: https://github.com/python/cpython/pull/15113

___
Python tracker 

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



[issue36324] Inverse cumulative normal distribution function

2019-08-04 Thread miss-islington


Change by miss-islington :


--
pull_requests: +14854
pull_request: https://github.com/python/cpython/pull/15112

___
Python tracker 

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



[issue36324] Inverse cumulative normal distribution function

2019-08-04 Thread Raymond Hettinger


Raymond Hettinger  added the comment:


New changeset 8183bb8150edcac6a7525bfb7708d08837ecb095 by Raymond Hettinger in 
branch 'master':
bpo-36324: Update comments to include the target hash sums (GH-15110)
https://github.com/python/cpython/commit/8183bb8150edcac6a7525bfb7708d08837ecb095


--

___
Python tracker 

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



[issue36279] os.wait3() leaks some uninitialized stack when no processes exist

2019-08-04 Thread Zackery Spytz


Change by Zackery Spytz :


--
pull_requests: +14853
pull_request: https://github.com/python/cpython/pull/15111

___
Python tracker 

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



[issue15266] Perform the same checks as PyPI for Description field

2019-08-04 Thread Joannah Nanjekye


Joannah Nanjekye  added the comment:

@Giovanni ,

If you look closely, the issue still has the easy issue label that is why you 
still see it in the "Easy issues" list. Which means he has not removed the 
label yet.

--
nosy: +nanjekyejoannah

___
Python tracker 

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



[issue36324] Inverse cumulative normal distribution function

2019-08-04 Thread Raymond Hettinger


Change by Raymond Hettinger :


--
pull_requests: +14852
pull_request: https://github.com/python/cpython/pull/15110

___
Python tracker 

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



[issue37449] Move ensurepip off of pkgutil and to importlib.resources

2019-08-04 Thread Joannah Nanjekye


Change by Joannah Nanjekye :


--
keywords: +patch
pull_requests: +14851
stage: needs patch -> patch review
pull_request: https://github.com/python/cpython/pull/15109

___
Python tracker 

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



[issue37449] Move ensurepip off of pkgutil and to importlib.resources

2019-08-04 Thread Joannah Nanjekye


Joannah Nanjekye  added the comment:

To be exact, the change should use importlib.resources.read_binary which reads 
bytes like pkgutil.get_data().

--

___
Python tracker 

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



[issue37706] IDLE: fix sidebar click-drag bug and macOS test failures

2019-08-04 Thread Terry J. Reedy


Terry J. Reedy  added the comment:

Tal, thanks for the fix.  Ned, thanks for the quick confirmation.  Closing.

Ned, I don't understand you last comment.  The only CI testing on macOS is done 
by Azure.  My understanding is that Azure runs a virtual console on Mac as well 
as linux, so it can run GUI (tk) tests.  But it is using the 'wrong' tcl/tk on 
Mac.

Steve, can you comment?

--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed
title: IDLE test_sidebar test_(click/drag)_selection fail on macOS 8.6 -> IDLE: 
fix sidebar click-drag bug and macOS test failures

___
Python tracker 

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



[issue37706] IDLE test_sidebar test_(click/drag)_selection fail on macOS 8.6

2019-08-04 Thread miss-islington


miss-islington  added the comment:


New changeset 9e0c48a002c144d910a46a74b76b02179502b9aa by Miss Islington (bot) 
in branch '3.7':
bpo-37706: IDLE - fix sidebar code bug and drag tests (GH-15103)
https://github.com/python/cpython/commit/9e0c48a002c144d910a46a74b76b02179502b9aa


--

___
Python tracker 

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



[issue37706] IDLE test_sidebar test_(click/drag)_selection fail on macOS 8.6

2019-08-04 Thread miss-islington


miss-islington  added the comment:


New changeset 1d2b4dba6ccbeb90ef797034b775c0f1ed17d1a0 by Miss Islington (bot) 
in branch '3.8':
bpo-37706: IDLE - fix sidebar code bug and drag tests (GH-15103)
https://github.com/python/cpython/commit/1d2b4dba6ccbeb90ef797034b775c0f1ed17d1a0


--
nosy: +miss-islington

___
Python tracker 

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



[issue37706] IDLE test_sidebar test_(click/drag)_selection fail on macOS 8.6

2019-08-04 Thread Terry J. Reedy


Terry J. Reedy  added the comment:


New changeset 86f1a18abfee5939452f468d80de998918e2afd2 by Terry Jan Reedy (Tal 
Einat) in branch 'master':
bpo-37706: IDLE - fix sidebar code bug and drag tests (GH-15103)
https://github.com/python/cpython/commit/86f1a18abfee5939452f468d80de998918e2afd2


--

___
Python tracker 

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



[issue37706] IDLE test_sidebar test_(click/drag)_selection fail on macOS 8.6

2019-08-04 Thread miss-islington


Change by miss-islington :


--
pull_requests: +14850
pull_request: https://github.com/python/cpython/pull/15108

___
Python tracker 

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



[issue37706] IDLE test_sidebar test_(click/drag)_selection fail on macOS 8.6

2019-08-04 Thread miss-islington


Change by miss-islington :


--
pull_requests: +14849
pull_request: https://github.com/python/cpython/pull/15107

___
Python tracker 

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



[issue37756] Error 0x80070643 when installing

2019-08-04 Thread Karthikeyan Singaravelan


Change by Karthikeyan Singaravelan :


--
components: +Windows
nosy: +paul.moore, steve.dower, tim.golden, zach.ware

___
Python tracker 

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



[issue37756] Error 0x80070643 when installing

2019-08-04 Thread bfbfbfb bfbfbf


New submission from bfbfbfb bfbfbf :

When installing python 3.7.4 64bit an error occurs 0x80070643, win10

--
components: Installation
files: Python 3.7.4 (32-bit)_20190804181255.log
messages: 348988
nosy: bfbfbfb bfbfbf
priority: normal
severity: normal
status: open
title: Error 0x80070643 when installing
type: crash
versions: Python 3.7
Added file: https://bugs.python.org/file48529/Python 3.7.4 
(32-bit)_20190804181255.log

___
Python tracker 

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



[issue37706] IDLE test_sidebar test_(click/drag)_selection fail on macOS 8.6

2019-08-04 Thread Ned Deily


Ned Deily  added the comment:

Terry, with regard to Azure testing and elsewhere: presumably most of the CI 
runs are run from processes without a GUI-capable "console" so that test 
failures like this one would never be seen as test cases requiring a GUI 
interface would be silently skipped by test_idle (likewise for some tk tests).  
Perhaps the tests should issue a message when a GUI isn't present even when -v 
isn't selected?  Or perhaps a message in test.pythoninfo?

--

___
Python tracker 

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



[issue37706] IDLE test_sidebar test_(click/drag)_selection fail on macOS 8.6

2019-08-04 Thread Ned Deily


Ned Deily  added the comment:

With PR 15103. the tests appear to no longer fail on macOS.  Thanks!

--

___
Python tracker 

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



[issue37700] shutil.copyfile does not raise SpecialFileError for socket files

2019-08-04 Thread Giovanni Cappellotto


Change by Giovanni Cappellotto :


--
nosy: +potomak

___
Python tracker 

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



[issue37730] NotImplemented is used instead of NotImplementedError in docs

2019-08-04 Thread Serhiy Storchaka


Serhiy Storchaka  added the comment:


New changeset 8cd630578451a062dcf46fbb21274520ae36c399 by Serhiy Storchaka in 
branch '3.7':
[3.7] bpo-37730: Fix usage of NotImplemented instead of NotImplementedError in 
docs. (GH-15062). (GH-15106)
https://github.com/python/cpython/commit/8cd630578451a062dcf46fbb21274520ae36c399


--

___
Python tracker 

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



[issue37730] NotImplemented is used instead of NotImplementedError in docs

2019-08-04 Thread Serhiy Storchaka


Change by Serhiy Storchaka :


--
pull_requests: +14848
pull_request: https://github.com/python/cpython/pull/15106

___
Python tracker 

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



[issue37730] NotImplemented is used instead of NotImplementedError in docs

2019-08-04 Thread miss-islington


miss-islington  added the comment:


New changeset dd5f8abb54923bf2efea51b7a553ca1fca9cad68 by Miss Islington (bot) 
in branch '3.8':
bpo-37730: Fix usage of NotImplemented instead of NotImplementedError in docs. 
(GH-15062)
https://github.com/python/cpython/commit/dd5f8abb54923bf2efea51b7a553ca1fca9cad68


--
nosy: +miss-islington

___
Python tracker 

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



[issue37755] pydoc topics, keywords and symbols always use pager instead of output

2019-08-04 Thread Enrico Tröger

Change by Enrico Tröger :


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

___
Python tracker 

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



[issue37755] pydoc topics, keywords and symbols always use pager instead of output

2019-08-04 Thread Enrico Tröger

New submission from Enrico Tröger :

I noticed a probably unintended behavior in help() usage:

when an output is set on pydoc.Helper(), most of its methods
use this output instead of a pager.
But 'True', 'False' and 'None' as well as all topics, keywords
and symbols always use a pager instead of the configured output.

My use case is to use the pydoc help system to display help contents
in Geany (a text editor) in a graphical manner
(and so I cannot make any use of a pager).

Example code:

#!/usr/bin/env python3
# -*- coding: utf-8 -*-

from io import StringIO
import pydoc
import sys


if __name__ == '__main__':
help_text = StringIO()

helper = pydoc.Helper(output=help_text)
# help contents are written to help_text as expected
helper.help('pydoc')

# the following calls each show the help contents in a pager instead
# of using the configured output
helper.help('True')
helper.help('False')
helper.help('None')
helper.help('**')  # symbol example
helper.help('SEQUENCES')  # topic example
helper.help('await')  # keyword example


Tested against Python 3.7.3.

--
components: Library (Lib)
messages: 348983
nosy: eht16
priority: normal
severity: normal
status: open
title: pydoc topics, keywords and symbols always use pager instead of output
type: behavior
versions: Python 3.8

___
Python tracker 

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



[issue37685] Fix equality checks for some types

2019-08-04 Thread Serhiy Storchaka


Serhiy Storchaka  added the comment:


New changeset 6ed20e54e4c110e9adcfb70aba85310625e3edb4 by Serhiy Storchaka in 
branch '3.7':
[3.7] bpo-37685: Fixed comparisons of datetime.timedelta and datetime.timezone. 
(GH-14996) (GH-15104)
https://github.com/python/cpython/commit/6ed20e54e4c110e9adcfb70aba85310625e3edb4


--

___
Python tracker 

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



[issue37648] Fix minor inconsistency in the order of == operands

2019-08-04 Thread Serhiy Storchaka


Change by Serhiy Storchaka :


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



[issue37648] Fix minor inconsistency in the order of == operands

2019-08-04 Thread Serhiy Storchaka


Serhiy Storchaka  added the comment:


New changeset 18b711c5a7f90d88fb74748f18fa8ef49d8486c7 by Serhiy Storchaka in 
branch 'master':
bpo-37648: Fixed minor inconsistency in some __contains__. (GH-14904)
https://github.com/python/cpython/commit/18b711c5a7f90d88fb74748f18fa8ef49d8486c7


--

___
Python tracker 

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



[issue37685] Fix equality checks for some types

2019-08-04 Thread Serhiy Storchaka


Change by Serhiy Storchaka :


--
pull_requests: +14846
pull_request: https://github.com/python/cpython/pull/15104

___
Python tracker 

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



[issue33997] multiprocessing Pool hangs in terminate()

2019-08-04 Thread Rémi Lapeyre

Change by Rémi Lapeyre :


--
nosy: +remi.lapeyre

___
Python tracker 

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



[issue37754] alter size of segment using multiprocessing.shared_memory

2019-08-04 Thread Vinay Sharma


New submission from Vinay Sharma :

Hi,
I am opening this to discuss about some possible enhancements in the 
multiprocessing.shared_memory module.

I have recently started using multiprocessing.shared_memory and realised that 
currently the module provides no functionality to alter the size of the shared 
memory segment, plus the process has to know beforehand whether to create a 
segment or open an existing one, unlike shm_open in C, where segment can be 
automatically created if it doesn't exist.


For an end user perspective I believe that these functionalities would be 
really helpful, and I would be happy to contribute, if you believe that they 
are necessary.

I would also like to mention that I agree this might be by design, or because 
of some challenges, in which case it would be very helpful if I can know them.

--
components: Library (Lib)
messages: 348980
nosy: davin, pitrou, vinay0410
priority: normal
severity: normal
status: open
title: alter size of segment using multiprocessing.shared_memory
type: enhancement
versions: Python 3.8

___
Python tracker 

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



[issue37706] IDLE test_sidebar test_(click/drag)_selection fail on macOS 8.6

2019-08-04 Thread Tal Einat


Tal Einat  added the comment:

I was even able to reproduce this on Windows, though not on my Mac. A sneaky 
bug.

See PR GH-15103 with a fix.

--

___
Python tracker 

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



[issue37706] IDLE test_sidebar test_(click/drag)_selection fail on macOS 8.6

2019-08-04 Thread Tal Einat


Change by Tal Einat :


--
pull_requests: +14845
stage: needs patch -> patch review
pull_request: https://github.com/python/cpython/pull/15103

___
Python tracker 

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



[issue37685] Fix equality checks for some types

2019-08-04 Thread miss-islington


miss-islington  added the comment:


New changeset dde944f9df8dea28c07935ebd6de06db7e575c12 by Miss Islington (bot) 
in branch '3.8':
bpo-37685: Fixed comparisons of datetime.timedelta and datetime.timezone. 
(GH-14996)
https://github.com/python/cpython/commit/dde944f9df8dea28c07935ebd6de06db7e575c12


--
nosy: +miss-islington

___
Python tracker 

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



[issue37685] Fix equality checks for some types

2019-08-04 Thread miss-islington


Change by miss-islington :


--
pull_requests: +14844
pull_request: https://github.com/python/cpython/pull/15102

___
Python tracker 

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



[issue37685] Fix equality checks for some types

2019-08-04 Thread Serhiy Storchaka


Serhiy Storchaka  added the comment:


New changeset 17e52649c0e7e9389f1cc2444a53f059e24e6bca by Serhiy Storchaka in 
branch 'master':
bpo-37685: Fixed comparisons of datetime.timedelta and datetime.timezone. 
(GH-14996)
https://github.com/python/cpython/commit/17e52649c0e7e9389f1cc2444a53f059e24e6bca


--

___
Python tracker 

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



[issue35771] IDLE: Fix tooltip Hovertiptest failure

2019-08-04 Thread Zackery Spytz


Zackery Spytz  added the comment:

Sorry for the delay. I'm using Lubuntu 19.04.

--

___
Python tracker 

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



[issue37723] important performance regression on regular expression parsing

2019-08-04 Thread Serhiy Storchaka


Serhiy Storchaka  added the comment:

Thank you for your contribution yannvgn.

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