[issue41542] module `__all__` cannot detect function name with `φ`

2020-08-14 Thread Steven D'Aprano

Steven D'Aprano  added the comment:

On Fri, Aug 14, 2020 at 02:03:37PM +, Seth Woodworth wrote:

> I'm exploring what unicode code points can be used as valid starting 
> characters for identifiers.

I presume you have seen the documention here:

https://docs.python.org/3/reference/lexical_analysis.html#identifiers

> I'm looping over the code point ranges 
> with the XID_START property and attempting to add them to globals() to 
> see if they maintain the same representation.

You can add any hashable key to globals, it's just a dict:

py> globals()[2] = 'test'
py> globals()[2]
'test'

Including strings that differ in their normalization:

py> import unicodedata
py> phi = 'ϕ'
py> nphi = unicodedata.normalize('NFKC', phi)
py> g = globals()
py> g[phi] == g[nphi]
False

The strings are only normalised when used as variables:

py> eval(f'{phi} == {nphi}')
True

--

___
Python tracker 

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



[issue41513] Scale by power of two in math.hypot()

2020-08-14 Thread Tim Peters


Tim Peters  added the comment:

Cute: for any number of arguments, try computing h**2, then one at a time 
subtract a**2 (an argument squared) in descending order of magnitude.  Call 
that (h**2 - a1**2 - a2**2 - ...) x.

Then

h -= x/(2*h)

That should reduce errors too, although not nearly so effectively, since it's a 
cheap way of estimating (& correcting for) the discrepancy between sum(a**2) 
and h**2.

Note that "descending order" is important: it's trying to cancel as many 
leading bits as possible as early as possible, so that lower-order bits come 
into play.

Then again ... why bother? ;-)

--

___
Python tracker 

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



[issue41513] Scale by power of two in math.hypot()

2020-08-14 Thread Raymond Hettinger


Raymond Hettinger  added the comment:

Update:

def hypot(*coords):
# Corrected, unfused: https://arxiv.org/pdf/1904.09481.pdf
# Simplified version omits scaling and handling of wide ranges
# Has 1 ulp error 0.44% of the time (0.54% per the paper).
# Can be reduced to 0% with a fused multiply-add.
a, b = map(fabs, coords)
if a < b:
a, b = b, a
h = sqrt(a*a + b*b)
if h <= 2*b:
delta = h - b
x = a*(2*delta - a) + (delta - 2*(a - b))*delta
else:
delta = h - a
x = 2*delta*(a - 2*b) + (4*delta - b)*b + delta*delta
return h - x/(2*h)

--

___
Python tracker 

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



[issue41541] [PATCH] Make pty.spawn set window size

2020-08-14 Thread Soumendra Ganguly


Change by Soumendra Ganguly :


--
title: Make pty.spawn set window size [ patch + before, after screenshots ] -> 
[PATCH] Make pty.spawn set window size

___
Python tracker 

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



[issue41541] Make pty.spawn set window size [ patch + before, after screenshots ]

2020-08-14 Thread Soumendra Ganguly


Soumendra Ganguly  added the comment:

Additional note: I am using the i3wm window manager. No desktop environment.

--
nosy:  -mark.dickinson, meador.inge

___
Python tracker 

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



[issue41541] Make pty.spawn set window size [ patch + before, after screenshots ]

2020-08-14 Thread Soumendra Ganguly


Change by Soumendra Ganguly :


--
nosy: +mark.dickinson, meador.inge

___
Python tracker 

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



[issue41541] Make pty.spawn set window size [ patch + before, after screenshots ]

2020-08-14 Thread Soumendra Ganguly


Soumendra Ganguly  added the comment:

I am new to BPO. Just learned how to make someone nosy.

@twouters, I have attached all resources. This is ready for a review.

Thank you.

--
nosy: +twouters

___
Python tracker 

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



[issue41555] re.sub replaces twice

2020-08-14 Thread Ma Lin


Ma Lin  added the comment:

The re.sub() doc said:
Changed in version 3.7: Empty matches for the pattern are replaced when 
adjacent to a previous non-empty match.

IMO 3.7+ behavior is more reasonable, and it fixed a bug, see issue25054.

--
nosy: +malin

___
Python tracker 

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



[issue41541] Make pty.spawn set window size [ patch + before, after screenshots ]

2020-08-14 Thread Soumendra Ganguly


Soumendra Ganguly  added the comment:

Adding the test program [ test.py ] as an attachment. It was taken from 
https://docs.python.org/3/library/pty.html.

How to reproduce issue:

1. Notice that the xterm window in before.png is not too wide; this makes the 
output of "ls" wrap around the xterm window.
2. Run test.py.
3. Run "ls".

Solution:

1. Apply latest version of the patch [ pty.diff ].
2. Run test.pty and run "ls".
3. Run "ls".

--
Added file: https://bugs.python.org/file49393/test.py

___
Python tracker 

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



[issue35786] get_lock() method is not present for Values created using multiprocessing.Manager()

2020-08-14 Thread Ned Deily


Change by Ned Deily :


--
nosy: +davin, pitrou

___
Python tracker 

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



[issue35786] get_lock() method is not present for Values created using multiprocessing.Manager()

2020-08-14 Thread Jeffrey Kintscher


Change by Jeffrey Kintscher :


--
nosy: +Jeffrey.Kintscher

___
Python tracker 

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



[issue41552] uuid.uuid1() on certain Macs does not generate unique IDs

2020-08-14 Thread Jeffrey Kintscher


Change by Jeffrey Kintscher :


--
nosy: +Jeffrey.Kintscher

___
Python tracker 

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



[issue41513] Scale by power of two in math.hypot()

2020-08-14 Thread Raymond Hettinger


Raymond Hettinger  added the comment:

Per the referenced paper, here's what is involved in further reducing error:

def hypot(*coords):
# Corrected, unfused: https://arxiv.org/pdf/1904.09481.pdf
# Simplified version omits scaling and handling of wide ranges.
# Only handle the 2-dimensional cases.  
# Has 1 ulp error 0.88% of the time (0.54% per the paper).
# Can be reduced to 0.00% with a reliable fused multiply-add.
a, b = map(fabs, coords)
h = sqrt(a*a + b*b)
if h <= 2*b:
delta = h - b
x = a*(2*delta - a) + (delta - 2*(a - b))*delta
else:
delta = h - a
x = 2*delta*(a - 2*b) + (4*delta - b)*b + delta*delta
return h - x/(2*h)

--

___
Python tracker 

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



[issue41552] uuid.uuid1() on certain Macs does not generate unique IDs

2020-08-14 Thread Terry Greeniaus


Terry Greeniaus  added the comment:

xoring does not guarantee uniqueness and has a good chance of discarding it, so 
it seems like a bad idea to me.

Suppose I have exactly two adapters with MAC addresses 0 and 3.
Suppose you have exactly two adapters with MAC addresses 1 and 2.

We'll both xor all our addresses and both get 0 ^ 3 == 1 ^ 2.  This trivially 
extends to 48 bits.

Suppose I have exactly two adapters from the same manufacturer.  The xor will 
throw away all of the "uniqueness" guaranteed by the manufacturer OUI and 
replace it with 0.

Suppose you have exactly two adapters from a different manufacturer (and 
nothing else).  The xor will throw away all of your "uniqueness" guaranteed by 
the manufacturer OUI and replace it with 0.

Now the only uniqueness between your UUIDs and my UUIDs will be the timestamp 
and the low-order bits of the xor'd MAC, whereas without the xor your UUIDs and 
my UUIDs would have absolutely been guaranteed to be unique since they are from 
different manufacturers with different OUIs.

I realize that the documentation for uuid1() states that it isn't guaranteed to 
give unique addresses if the time synchronization necessary isn't supported by 
the platform, so I suppose this could even be a documentation fix if no real 
solution can be found, but that would be really undesirable.

--

___
Python tracker 

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



[issue41553] encoded-word abused for header line folding causes RFC 2047 violation

2020-08-14 Thread Jeffrey Kintscher


Change by Jeffrey Kintscher :


--
nosy: +Jeffrey.Kintscher

___
Python tracker 

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



[issue41513] Scale by power of two in math.hypot()

2020-08-14 Thread Raymond Hettinger


Raymond Hettinger  added the comment:

This paper addresses the topic directly: https://arxiv.org/pdf/1904.09481.pdf 

I tried to reproduce the results shown in Table 1 of the paper.  For clib 
hypot(), they get 1 ulp errors 12.91% of the time.  On my build, using the same 
gaussian distribution, I get 14.08% for both the clang hypot() and for the 
current version of the PR, showing that the two are fundamentally the same.

--

___
Python tracker 

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



[issue41541] Make pty.spawn set window size [ patch + before, after screenshots ]

2020-08-14 Thread Soumendra Ganguly


Change by Soumendra Ganguly :


--
title: Make pty.spawn set window size [ + before, after screenshots ] -> Make 
pty.spawn set window size [ patch + before, after screenshots ]

___
Python tracker 

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



[issue41541] Make pty.spawn set window size [ + before, after screenshots ]

2020-08-14 Thread Soumendra Ganguly


Soumendra Ganguly  added the comment:

Screenshot: output of "ls" after the patch is applied.

--
Added file: https://bugs.python.org/file49392/after.png

___
Python tracker 

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



[issue41541] Make pty.spawn set window size [ + before, after screenshots ]

2020-08-14 Thread Soumendra Ganguly


Soumendra Ganguly  added the comment:

Screenshot: output of "ls" before the patch is applied.

--
title: Make pty.spawn set window size -> Make pty.spawn set window size [ + 
before, after screenshots ]
Added file: https://bugs.python.org/file49391/before.png

___
Python tracker 

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



[issue41513] Scale by power of two in math.hypot()

2020-08-14 Thread Raymond Hettinger

Raymond Hettinger  added the comment:

> While we're doing this, any chance we could special-case 
> the two-argument hypot to use the libm hypot directly? 

Yes, that is an easy amendment (see below).

I just tried it out on the macOs build but didn't see a change in accuracy from 
the current PR which uses lossless power-of-two-scaling and Neumaier summation.

In GCC's libquadmath implementation, the comments say that the error is less 
than 1 ulp, falling short of being correctly rounded within ±½ ulp.

If the platform hypots have the nearly the same accuracy as the current PR, it 
may make sense to skip the special case and opt for consistent cross-platform 
results.

==

$ git diff
diff --git a/Modules/mathmodule.c b/Modules/mathmodule.c
index d0621f59df..3a42ea5318 100644
--- a/Modules/mathmodule.c
+++ b/Modules/mathmodule.c
@@ -2457,6 +2457,10 @@ vector_norm(Py_ssize_t n, double *vec, double max, int 
found_nan)
 if (max == 0.0 || n <= 1) {
 return max;
 }
+if (n == 2) {
+/* C library hypot() implementations tend to be very accurate */
+return hypot(vec[0], vec[1]);
+}
 frexp(max, _e);
 if (max_e >= -1023) {
 scale = ldexp(1.0, -max_e)

$ gcc --version
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr 
--with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/4.2.1
Apple clang version 11.0.3 (clang-1103.0.32.62)
Target: x86_64-apple-darwin19.6.0
Thread model: posix
InstalledDir: 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

$ ./python.exe test_hypot.py

 2 dimensions 
platform hypot():   [(-1.0, 8398), (0.0, 83152), (1.0, 8450)]
scaled-by-2 :   [(-1.0, 8412), (0.0, 83166), (1.0, 8422)]

--

___
Python tracker 

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



[issue41555] re.sub replaces twice

2020-08-14 Thread S. Zhang


New submission from S. Zhang :

The following command produced "name.tsvtsv" with version 3.7.1 and 3.8.5 
instead of the expected "name.tsv" from version 2.7.5, 3.5.6, and 3.6.7.  
Changing * to + produced expected "name.tsv".

python -c 'import re; v="name.txt";v = re.sub("[^\.]*$", "tsv", v);print(v)'

--
messages: 375436
nosy: spz1st
priority: normal
severity: normal
status: open
title: re.sub replaces twice
type: behavior
versions: Python 3.7, Python 3.8

___
Python tracker 

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



[issue41546] pprint() gives exception when ran from pythonw

2020-08-14 Thread Terry J. Reedy


Terry J. Reedy  added the comment:

If you run in windowed mode, you are expected to either not use sys.stdout or 
to provide a working sys.stdout object.  I am not sure if that is explicitly 
documented as I cannot find python.exe and pythonw.exe or .py or .pyw in the 
index and
https://docs.python.org/3/using/windows.html#python-launcher-for-windows
does not mention the pyw version.

But this is not really a windowed mode issue.  In a Windows console:
>>> print('hello')
hello
>>> import sys; sys.stdout = None
>>> print('hello')
>>> sys.stdout = sys.__stdout__
>>> print('hello')
hello

print and pprint act differently because pprint uses stream.write without 
try/except.  Check the doc or code.  So pprint users must run it with a stream 
with that method.  Otherwise, failure is to be expected.

If you try to print to None, print defaults to sys.stdout.  The doc does not 
define what happens when the latter is None.  On CPython, print passes.  But 
maybe this is left undefined intentionally.  It must either check that file is 
not None or catch the AttributeError.

>Shouldn't it say that it can't print because there's no stdout? 
How could it if there is no channel to speak?  I guess Guido decided to 
silently pass rather than silently exit.  Debug prints should not crash a 
program.

So closing as 'Not a bug' would be one appropriate resolution for this issue.

--
nosy: +terry.reedy
type: behavior -> 

___
Python tracker 

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



[issue41553] encoded-word abused for header line folding causes RFC 2047 violation

2020-08-14 Thread Erik Quaeghebeur


Erik Quaeghebeur  added the comment:

We also shouldn't forget Resent-Message-Id.

So in the header registry 
,

'message-id': MessageIDHeader,

should be replaced by

'message-id': UniqueSingleMessageIDHeader,
'resent-message-id': SingleMessageIDHeader,
'in-reply-to': UniqueMessageIDHeader,
'references': UniqueMessageIDHeader,

with Unique/Single used as for the other Headers.

--

___
Python tracker 

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



[issue41541] Make pty.spawn set window size

2020-08-14 Thread Soumendra Ganguly


Soumendra Ganguly  added the comment:

v0.2 moves _setwinsz block to parent after fork.

--
Added file: https://bugs.python.org/file49390/pty.diff

___
Python tracker 

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



[issue41521] Replace whitelist/blacklist with allowlist/denylist

2020-08-14 Thread STINNER Victor


STINNER Victor  added the comment:

> That said, I concur with Serhiy that there should be a discussion before 
> making a unilateral and stealthy change to the rules about how people are 
> allowed to write technical prose.

I suggest you to join the discussion there:
https://github.com/python/devguide/issues/605

--

___
Python tracker 

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



[issue41183] Workaround or fix for SSL ".._KEY_TOO_SMALL" test failures

2020-08-14 Thread Miro Hrončok

Miro Hrončok  added the comment:

Does testing with the environment variable OPENSSL_CONF=/non-existing-file 
workaround the remaining issues?

--

___
Python tracker 

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



[issue41516] venv activate scripts do not pass ShellCheck

2020-08-14 Thread Terry J. Reedy


Terry J. Reedy  added the comment:

(3.6 only gets security fixes.)  Please be more specific: venv produces 6 types 
of scripts.  Which type(s) are seen as buggy?  Can you paste a script produced 
by venv and its ShellCheck output?  (The web site has a paste-in box.)  Have 
you used ShellCheck?  Can you sign the contributor agreement submit a PR?  
(Yes, we do sometimes create, review, and upon agreement merge patches based of 
various code and text checkers.)

--
nosy: +terry.reedy, vinay.sajip
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



[issue41183] Workaround or fix for SSL ".._KEY_TOO_SMALL" test failures

2020-08-14 Thread Miro Hrončok

Change by Miro Hrončok :


--
nosy: +hroncok
nosy_count: 2.0 -> 3.0
pull_requests: +21005
pull_request: https://github.com/python/cpython/pull/21882

___
Python tracker 

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



[issue41527] smart quotes in Lib/pydoc_data/topics.py file

2020-08-14 Thread Ned Deily


Ned Deily  added the comment:

Sorry, my previous response was incomplete and I closed this prematurely. 
Re-opening.

--
resolution: duplicate -> 
stage: resolved -> 
status: closed -> open
superseder: Python '--help' has corrupted text. -> 

___
Python tracker 

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



[issue41527] smart quotes in Lib/pydoc_data/topics.py file

2020-08-14 Thread Ned Deily


Change by Ned Deily :


--
Removed message: https://bugs.python.org/msg375424

___
Python tracker 

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



[issue41549] IDLE leaks `_` into hint box

2020-08-14 Thread Serhiy Storchaka


Serhiy Storchaka  added the comment:

I think that I understood what is the issue.

1. Open the IDLE editor, type "foo" and press . The pop-up list 
does not contain "foo".
2. Switch to the IDLE shell, type "foo = 1" and press .
3. Switch back to the IDLE editor (the cursor points after "foo") and press 
 again. The pop-up list contains now "foo".

The problem is that the completion list for editor contains names from the 
shell instead of only from builtins. When you run the code from the editor, 
names from the shell are not automatically available.

It can be a feature if you use the same star-import in the shell and editor, 
but it can also be considered as a bug.

--
nosy: +serhiy.storchaka

___
Python tracker 

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



[issue39994] Redundant code in pprint module.

2020-08-14 Thread Mariatta


Mariatta  added the comment:

@Palak Kumar Jha, you created a PR for this ticket but it seems that your 
GitHub account is inactive/has been removed. Do you have a new GitHub account? 
Are you still interested in continuing on this PR?

--
nosy: +Mariatta

___
Python tracker 

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



[issue41527] smart quotes in Lib/pydoc_data/topics.py file

2020-08-14 Thread Ned Deily


Ned Deily  added the comment:

The topics file is regenerated by the release manager immediately before 
tagging a new release.  That's what all those commits are.  The commands to do 
so are:

cd Doc
make venv pydoc-topcs
cp build/pydoc-topics/topics.py ../Lib/pydoc_data/topics.py

So, once the smart quotes are removed from the source files (Issue41525), the 
smart quotes will disappear from the topics file at the next (pre-)release.  
You can hurry things along by running and merging the topics file manually.

--
nosy: +ned.deily
resolution:  -> duplicate
stage:  -> resolved
status: open -> closed
superseder:  -> Python '--help' has corrupted text.

___
Python tracker 

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



[issue41545] gc API requiring matching number of gc.disable - gc.enable calls

2020-08-14 Thread Ammar Askar


Ammar Askar  added the comment:

> I'd expected the GC to be truly enabled only on the second call to 
> `enable()`, but apparently it's enabled on the first call :( Both 
> `gc.enable()` and `gc.disable()` just write `1`/`0` to `gcstate->enabled`, 
> respectively.

I don't think this API makes much sense. I would expect `enable()` to enable 
the GC regardless of how many disable calls have been made. This is also in 
line with other functions like `faulthandler.enable()` / 
`bdb.Breakpoint.enable()`

I think the proper solution if you want to do this would be to wrap the 
disabling/enabling and keep track of the number of calls yourself.

--
nosy: +ammar2

___
Python tracker 

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



[issue41546] pprint() gives exception when ran from pythonw

2020-08-14 Thread Luiz


Luiz  added the comment:

If this is normal behavior, then why does print() not produce any error? 
Shouldn't it say that it can't print because there's no stdout? That's not very 
consistent, both functions have almost the same name yet produce very different 
results.

--

___
Python tracker 

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



[issue41521] Replace whitelist/blacklist with allowlist/denylist

2020-08-14 Thread Raymond Hettinger


Raymond Hettinger  added the comment:

> I would prefer avoiding python-dev, since there are many 
> trolls there who like to argue but not try to fix problem.

It's not a good precedent to define as trolls anyone who might legitimately 
disagree, nor is it a good precedent to bypass discussion entirely. IMO, 
Serhiy's request was reasonable and shouldn't be dismissed.

For this particular change, I'm +1 because it represents an industrywide 
terminology shift, because it makes a proactive effort to be responsive to 
cultural problems, and because the change doesn't impair clarity.  

That said, I concur with Serhiy that there should be a discussion before making 
a unilateral and stealthy change to the rules about how people are allowed to 
write technical prose.

--
nosy: +rhettinger

___
Python tracker 

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



[issue41549] IDLE leaks `_` into hint box

2020-08-14 Thread Terry J. Reedy


Terry J. Reedy  added the comment:

I cannot reproduce from the description.  More details: OS and maybe version, 
exact Python version (only most recent releases count as completions have been 
touched recently), exact key presses and click in which windows.  Step 2 should 
be irrelevant.  Step 3 gives me a box with keywords and builtins.  Backspace 
and hitting '_' adds entries beginning with '_', including '_' when defined.

--

___
Python tracker 

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



[issue41025] C implementation of ZoneInfo cannot be subclassed

2020-08-14 Thread Paul Ganssle


Paul Ganssle  added the comment:

Marking as release blocker to put it on the checklist. Feel free to demote it 
if you decide it should be deferred to 3.9.1.

--
priority: high -> release blocker
resolution:  -> fixed

___
Python tracker 

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



[issue41025] C implementation of ZoneInfo cannot be subclassed

2020-08-14 Thread Paul Ganssle


Change by Paul Ganssle :


--
stage: patch review -> backport needed

___
Python tracker 

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



[issue41025] C implementation of ZoneInfo cannot be subclassed

2020-08-14 Thread Paul Ganssle

Paul Ganssle  added the comment:

Łukasz: Would it be possible to backport / cherry-pick the changes from PR 
GH-21876 (https://github.com/python/cpython/pull/21876) into the 3.9.0 branch? 
I think this is a fairly severe issue considering that pendulum is planning to 
use a zoneinfo subclass.

It was merged as commit 33d3c64095bcdf9066a3441f6dda5d2e2f4118a8.

Thanks!

--
nosy: +lukasz.langa

___
Python tracker 

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



[issue41554] PR proceeds to "awaiting core review" when changes are requested

2020-08-14 Thread Irit Katriel


Irit Katriel  added the comment:

It appears (as per core-mentoring list) that this is the intended behavior.

--
resolution:  -> not a bug
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



[issue41510] Mentions of pdb.set_trace() in library/functions and library/sys incorrectly states that set_trace expects no arguments

2020-08-14 Thread Joannah Nanjekye


Change by Joannah Nanjekye :


--
nosy: +ronaldoussoren

___
Python tracker 

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



[issue41550] SimpleQueues put blocks if feeded with strings greater than 2**16-13 chars

2020-08-14 Thread Irit Katriel


Irit Katriel  added the comment:

You probably need to use Queue instead of SimpleQueue: 
https://docs.python.org/3.8/library/multiprocessing.html#multiprocessing.Queue

--

___
Python tracker 

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



[issue14527] How to link with a non-system libffi?

2020-08-14 Thread Joshua Merchant


Change by Joshua Merchant :


--
nosy: +Joshua Merchant

___
Python tracker 

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



[issue41552] uuid.uuid1() on certain Macs does not generate unique IDs

2020-08-14 Thread Vedran Čačić

Vedran Čačić  added the comment:

+1 on xoring all MAC addresses to get NodeID. Since it is only done once at 
import time, it shouldn't be too expensive (many other things including OS 
calls are done at initialization). But yes, if the problem goes away with new 
version of _uuid, then the fix isn't needed.

--

___
Python tracker 

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



[issue41550] SimpleQueues put blocks if feeded with strings greater than 2**16-13 chars

2020-08-14 Thread Irit Katriel


Irit Katriel  added the comment:

I've now reproduced it on osX, with string length of 65515. It takes a 
different code path than the windows version, and I was able to see more. 

This seems to be the sequence of events that leads to the hang:

import multiprocessing.reduction
import struct
import os
string_length = 65515
obj = "a"*string_length
obj = multiprocessing.reduction.ForkingPickler.dumps(obj)
m = memoryview(obj)
n = 65533
mm = m[0:n]
_, writer = os.pipe()
header = struct.pack("!i", n)
os.write(writer, header)
os.write(writer, mm)


I think what's happening is that the os.pipe that the queue is writing to has 
filled up, and then write blocks until any of it has been consumed.  This 
version of your script seems to confirm that:

import multiprocessing
import sys

q = multiprocessing.SimpleQueue()

string_length = eval(sys.argv[1])
print(string_length)
long_string = "a"*(string_length//2)
q.put(long_string)
q.get()   < comment this out and it hangs again
q.put(long_string)

print("Never reach this line :-(")

--

___
Python tracker 

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



[issue41546] pprint() gives exception when ran from pythonw

2020-08-14 Thread Steve Dower


Steve Dower  added the comment:

This is normal, if obscure, behaviour. Pythonw starts without a console, and so 
stdout is not connected to anything. As a result, you can't print (or pprint).

You'll need to set sys.stdout to something or provide a file if you want to 
print output.

If someone wants to contribute a specialised sys.stdout implementation that can 
raise a more helpful error message in this case, that would be helpful. But as 
it's a breaking change it would only go into 3.10.

--

___
Python tracker 

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



[issue41025] C implementation of ZoneInfo cannot be subclassed

2020-08-14 Thread Paul Ganssle


Paul Ganssle  added the comment:


New changeset 33d3c64095bcdf9066a3441f6dda5d2e2f4118a8 by Miss Islington (bot) 
in branch '3.9':
bpo-41025: Fix subclassing for zoneinfo.ZoneInfo (GH-20965) (GH-21876)
https://github.com/python/cpython/commit/33d3c64095bcdf9066a3441f6dda5d2e2f4118a8


--

___
Python tracker 

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



[issue41553] encoded-word abused for header line folding causes RFC 2047 violation

2020-08-14 Thread Erik Quaeghebeur

Erik Quaeghebeur  added the comment:

Note that In-Reply-To can also contain multiple message ids: 
.
It should be treated the same as References.

When you say that a message_id parser exists, then that means it is not applied 
to the Message-Id header by default yet, because my example shows that the 
Message-Id header gets mangled.

Applying encoded-word encoding to (unknown) unstructured fields may break 
workflows. These are often X-… headers and one cannot assume that the 
application generating and consuming them apply decoding. (Just as with message 
ids.) The most reliable approach would be to not encode them, but apply 
white-space folding and then leave them to go beyond the limit set (78 
characters, typically). As headers, the increased line length is not that big 
of a problem. (The 78 limit is for visual reasons.) In case the lines still go 
beyond 998 characters, an error should be raised, as that is an RFC violation. 
Tools generating such headers are severely broken and should not get a free 
pass. Users could get the option to allow such lines and take their chances 
when the message is submitted and transported.

--

___
Python tracker 

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



[issue41548] Tk Window rendering on macOS Big Sur

2020-08-14 Thread Aivar Annamaa


Aivar Annamaa  added the comment:

A related discussion is here: 
https://core.tcl-lang.org/tk/tktview/dcb35fbd78a0bc31ad409cf717f16a472ca3f627

--
nosy: +Aivar.Annamaa

___
Python tracker 

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



[issue41553] encoded-word abused for header line folding causes RFC 2047 violation

2020-08-14 Thread R. David Murray


R. David Murray  added the comment:

It's not really an abuse.  It is, however, buggy.  It should be being applied 
*only* when the header contains unstructured text.  Unfortunately I made the 
choice to treat any header that doesn't have a specific parser as unstructured, 
and that was a wrong choice which should be fixed.  It is an interesting 
question what should be used as the default parser, though.  Suggestions and 
code are welcome :)

There should be specific header parsers for headers that contain message ids.  
That was on my todo list but did not get done before my circumstances changed 
and my free-time focus moved away from python development work :(

The message_id parser exists.  In-Reply-To just needs to be declared in the 
header registry as a MessageIDHeader (not sure how that got missed).  Writing a 
Header class for References should be trivial, it's just a list of message ids. 
 That will fix those headers, and I suggest we do that asap.

Fixing the default-to-unstructured will take a bit more thought and should 
probably be split out into a separate issue.  I can review and give advice 
(though you may have to ping me directly) but I won't have time to write any 
code.

--

___
Python tracker 

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



[issue40994] Very confusing documenation for abc.Collections

2020-08-14 Thread Roundup Robot


Change by Roundup Robot :


--
keywords: +patch
nosy: +python-dev
nosy_count: 6.0 -> 7.0
pull_requests: +21004
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/21880

___
Python tracker 

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



[issue41542] module `__all__` cannot detect function name with `φ`

2020-08-14 Thread Seth Woodworth


Seth Woodworth  added the comment:

@Steven,

I'm exploring what unicode code points can be used as valid starting characters 
for identifiers.  I'm looping over the code point ranges with the XID_START 
property and attempting to add them to globals() to see if they maintain the 
same representation.  Now that I think about it, I could just check if 
unicode.normalize('NFKC', character) == character before adding it, and I 
wouldn't see a warning if one existed.

--

___
Python tracker 

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



[issue41554] PR proceeds to "awaiting core review" when changes are requested

2020-08-14 Thread Eric V. Smith


Eric V. Smith  added the comment:

I think this belongs under https://github.com/python/bedevere

--
nosy: +eric.smith

___
Python tracker 

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



[issue41554] PR proceeds to "awaiting core review" when changes are requested

2020-08-14 Thread Filipe Laíns

Change by Filipe Laíns :


--
nosy: +FFY00

___
Python tracker 

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



[issue33727] Server.wait_closed() doesn't always wait for its transports to fihish

2020-08-14 Thread Tom


Tom  added the comment:

I ran into this while working on an asyncio application using
asyncio.start_server.

>From the documentation, I expected the combination of `close` and `wait_closed`
to wait until all connection handlers have finished. Instead, handlers remaining
running with open connections as background tasks. I wanted to be able to
"gracefully" close the server, with all processing done, so I could inspect some
results for a test case.

Could there be a method for this? One suggestion would be:

*   Clarify the current behaviour of `close` and `wait_closed`
(https://bugs.python.org/issue34852)
*   Add new coro `wait_finished` which waits until all handler tasks are done

I'm afraid I'm not familiar with low-level asyncio APIs like transports and
protocols, so I don't know how/if this fits in with those.

--
nosy: +tmewett

___
Python tracker 

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



[issue41552] uuid.uuid1() on certain Macs does not generate unique IDs

2020-08-14 Thread Ronald Oussoren


Ronald Oussoren  added the comment:

Note that recent commits to the trunk and 3.8 and 3.9 branches have added a 
_uuid module using libuuid (and the comparable Windows API). I'd expect that 
this extension will also be used on macOS.

I'd advise to check if this issue is still present when using that extension 
before spending too much time on a fix.

--

___
Python tracker 

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



[issue41554] PR proceeds to "awaiting core review" when changes are requested

2020-08-14 Thread Irit Katriel


New submission from Irit Katriel :

When I click on "review" I get three options: comment, approve,
and request changes.  I assumed that "request changes"
would block the PR until the changes were made, but instead in the
case of PR 19046 it proceeded to "awaiting core review",
which seems to imply that it passed the first review.

--
messages: 375404
nosy: iritkatriel
priority: normal
severity: normal
status: open
title: PR proceeds to "awaiting core review" when changes are requested
type: behavior

___
Python tracker 

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



[issue41552] uuid.uuid1() on certain Macs does not generate unique IDs

2020-08-14 Thread Rémi Lapeyre

Rémi Lapeyre  added the comment:

> The question then is: is there any way for the uuid module to recognize and 
> ignore such interfaces other than by the hardcoded MAC address?

Could uuid1 xor all mac addresses on MacOS? The result would be deterministic 
and unique as long as there is at least one mac address that is unique.

--
nosy: +remi.lapeyre

___
Python tracker 

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



[issue40994] Very confusing documenation for abc.Collections

2020-08-14 Thread Sydney Pemberton


Sydney Pemberton  added the comment:

Yes, that would be great. I will figure out how to do that shortly.

On Fri, Aug 14, 2020 at 3:23 AM Irit Katriel  wrote:

>
> Irit Katriel  added the comment:
>
> Sydney, do you want to create a PR for this? I'm happy to if you don't.
>
> --
>
> ___
> Python tracker 
> 
> ___
>

-- 

Sydney Pemberton

Software Engineer

512.740.6591

spember...@auntbertha.com
Aunt Bertha  | The Social Care Network

--

___
Python tracker 

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



[issue41546] pprint() gives exception when ran from pythonw

2020-08-14 Thread Luiz


Luiz  added the comment:

I'm on Windows 7.

--

___
Python tracker 

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



[issue37296] pdb next vs __next__

2020-08-14 Thread Ronald Oussoren


Ronald Oussoren  added the comment:

Please add more information on how to reproduce the problem. The current 
description is not complete enough to be able to determine if there is a bug 
and if so where that bug is.

--
nosy: +ronaldoussoren

___
Python tracker 

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



[issue41540] Test test_maxcontext_exact_arith (_decimal) consumes all memory on AIX

2020-08-14 Thread David Edelsohn


David Edelsohn  added the comment:

AIX systems at OSUOSL have been part of the GNU Compile Farm for a decade. It 
also is the system on which I have been running the Python Buildbot.  Any 
Compile Farm user has access to AIX.

https://cfarm.tetaneutral.net/users/new/

Also, IBM is in the process of creating a dedicated VM at OSUOSL for the Python 
Buildbot to support more builders. We probably can provide access to Python 
core members to log in to that system as well.

--

___
Python tracker 

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



[issue41552] uuid.uuid1() on certain Macs does not generate unique IDs

2020-08-14 Thread Vedran Čačić

Vedran Čačić  added the comment:

I'd like to point out that _even_ if you do reuse MAC address:

1. node IDs don't have to be derived from MAC addresses only (though in 
practice they usually are - I'm just saying the RFC gives you permission to 
include other information in it).

2. The time resolution is 100ns. As long as your UUID generations are more than 
0.2μs apart, you're safe from collisions.

3. There is still a clock sequence, which for these purposes can be viewed as 
random. Even if you _do_ generate UUIDs on different machines with same MAC and 
naive nodeID-deriving algorithm, two or more of them within the same 
100ns-interval, there is still only a probability of 1/16384 (62ppm) of 
collision.

In short, it's probably not a problem, though if there is an easy fix, of 
course it should be applied. Currently, there are two ways to indicate "this is 
not a real unique MAC address" that UUID recognizes: 

# Virtual interfaces, such as those provided by
# VPNs, do not have a colon-delimited MAC address
# as expected, but a 16-byte HWAddr separated by
# dashes. These should be ignored in favor of a
# real MAC address

and the 41st bit test /More details at #32107/. Maybe there is a third way, but 
if the above address doesn't play by these rules, maybe hardcoding it isn't so 
bad an idea.

--
nosy: +veky

___
Python tracker 

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



[issue41553] encoded-word abused for header line folding causes RFC 2047 violation

2020-08-14 Thread Erik Quaeghebeur

New submission from Erik Quaeghebeur :

Encoded-word is apparently used for header line folding sometimes. This appears 
to me as an abuse of this encoding technique. However, that is not the main 
issue: it also causes a violation of RFC 2074, as it also encodes message id's:

https://tools.ietf.org/html/rfc2047#section-5 says “An
'encoded-word' MUST NOT appear in any portion of an
'addr-spec'.” and
https://tools.ietf.org/html/rfc5322#section-3.6.4 says
“The message identifier (msg-id) syntax is a limited
version of the addr-spec construct enclosed in the angle
bracket characters, "<" and ">".”

This causes actual problems. Namely, email clients cannot parse the message id 
and so have trouble with generation of In-Reply-To and References headers or 
problems with thread reconstruction using these headers containing encoded-word 
versions of message ids.

Minimal example:

---
>>> import email
>>> import email.policy

>>> msg = email.message_from_string("""From: t...@example.com
To: t...@example.org
Subject: Test
Date: Mon, 10 Aug 2020 22:52:53 +
Message-ID:  

X-Some-Blobby-Custom-Header: 
DIZEglcw6TIh1uC2UrnNjWYqe8l/bYo0oxKG7mBX38s1urzvCwQD30Q07DDJFgTVZWKbThu6hVjR53MTYAHYClHPt8UvyFPkAUIc8Ps1/R+HuSQ8gbR1R03sKoFAgPZKO+FKJ9bNbBb60THl81zSCsZiALwi4LLOqnf9ZIB111G4/shFuWxRlPcsPJt72sn+tTHZqK9fRAyoK1OZCZMJmjQGysovicz1Xc6nOXHMQr2+suRwOJwSUqvsfkj8EEtzJGj7ICQ2GbgBaOjcof1AML4RCFy/vD5bG0Y8HQ2KET3SraTki4dPo+xMYSZVFEy/va4rYeynOXPfxXfHSyIFwB6gnH74Ws/XPk8ZxhAQ2wSy7Hvgg3tZ7HOmlLWg4A/vUGN+8RJlgn+hHtuCXnglv+fIKEhW36wcFotngSrcXULbTlqdE5zjuV5O7wNfgIShZnNhnPdLipslmZJGaa6RQpIonZbwUWCM8g9DZmSwo8g0On0l20IVS9s6bUCddwRZ5erHx4eUZ4DGh4YyR2fgm0WsNVW8pVsAdFMClfAJYqyPEqrDN91djfPYRZPMvzYWTAm8MAip6vDa1ZvzywDpGJYD3VwapLfgFy+AR0S/q/V1HHRmSXx1oNLEedhAt0OkIxWxO8FvqNeEfMLVhxTk1g==
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset="utf-8"

BODY
""")

>>> print(msg.as_bytes(policy=email.policy.SMTPUTF8).decode())
From: t...@example.com
To: t...@example.org
Subject: Test
Date: Mon, 10 Aug 2020 22:52:53 +
Message-ID: =?utf-8?q?=3CVI1PR09MB41911D8371E899C1FE78EE48FA440=40abcdefghij?=
 =?utf-8?q?klm=2Enmopqrst=2Euvwx=2Eexample=2Ecom=3E?=
X-Some-Blobby-Custom-Header: =?utf-8?q?DIZEglcw6TIh1uC2UrnNjWYqe8l/bYo0oxKG7?=
 =?utf-8?q?mBX38s1urzvCwQD30Q07DDJFgTVZWKbThu6hVjR53MTYAHYClHPt8UvyFPkAUIc8P?=
 =?utf-8?q?s1/R+HuSQ8gbR1R03sKoFAgPZKO+FKJ9bNbBb60THl81zSCsZiALwi4LLOqnf9ZIB?=
 =?utf-8?q?111G4/shFuWxRlPcsPJt72sn+tTHZqK9fRAyoK1OZCZMJmjQGysovicz1Xc6nOXHM?=
 =?utf-8?q?Qr2+suRwOJwSUqvsfkj8EEtzJGj7ICQ2GbgBaOjcof1AML4RCFy/vD5bG0Y8HQ2KE?=
 =?utf-8?q?T3SraTki4dPo+xMYSZVFEy/va4rYeynOXPfxXfHSyIFwB6gnH74Ws/XPk8ZxhAQ2w?=
 =?utf-8?q?Sy7Hvgg3tZ7HOmlLWg4A/vUGN+8RJlgn+hHtuCXnglv+fIKEhW36wcFotngSrcXUL?=
 =?utf-8?q?bTlqdE5zjuV5O7wNfgIShZnNhnPdLipslmZJGaa6RQpIonZbwUWCM8g9DZmSwo8g0?=
 =?utf-8?q?On0l20IVS9s6bUCddwRZ5erHx4eUZ4DGh4YyR2fgm0WsNVW8pVsAdFMClfAJYqyPE?=
 =?utf-8?q?qrDN91djfPYRZPMvzYWTAm8MAip6vDa1ZvzywDpGJYD3VwapLfgFy+AR0S/q/V1HH?=
 =?utf-8?q?RmSXx1oNLEedhAt0OkIxWxO8FvqNeEfMLVhxTk1g=3D=3D?=
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset="utf-8"

BODY
---

--
components: email
messages: 375397
nosy: barry, equaeghe, r.david.murray
priority: normal
severity: normal
status: open
title: encoded-word abused for header line folding causes RFC 2047 violation
type: behavior
versions: Python 3.7

___
Python tracker 

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



[issue41541] Make pty.spawn set window size

2020-08-14 Thread Soumendra Ganguly


Soumendra Ganguly  added the comment:

Note that defining _login_pty() was not a cosmetic change; it is reused in 
spawn().

--

___
Python tracker 

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



[issue41548] Tk Window rendering on macOS Big Sur

2020-08-14 Thread Terry J. Reedy


Change by Terry J. Reedy :


--
components:  -IDLE
title: IDLE Window rendering on macOS Big Sur -> Tk Window rendering on macOS 
Big Sur

___
Python tracker 

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



[issue40553] Python 3.8.2 Mac freezing/not responding when saving new programs

2020-08-14 Thread Ned Deily


Ned Deily  added the comment:

James, thanks very much for your detailed instructions. Alas, once again, I am 
unable to reproduce the hanging behavior under apparently similar conditions 
(10.5.6, Documents folder on iCloud, etc). I know this is frustrating to all of 
us. I have one new concrete suggestion: if someone who can reproduce this 
behavior at will is willing to allow me to screen share into their system (via 
Apple's Messages app) so they can demonstrate it live, perhaps that will allow 
us to better isolate the problem.  If anyone is interested in helping with 
this, contact me via email (nad at python dot org) and we can set up a time.

--

___
Python tracker 

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



[issue41552] uuid.uuid1() on certain Macs does not generate unique IDs

2020-08-14 Thread Ned Deily


Ned Deily  added the comment:

FWIW, I see similar behavior on a 2017 MBP running with 10.15.6 or 11.0 (Big 
Sur) beta 4. That's ... odd that there is a non-unique MAC address. (Not 
surprisingly, there is no such problem on an iMac that doesn't have the 
touchbar subsystem.) That particular interface doesn't show up in the 
user-visible Network panel of System Preferences so it can't even be easily 
reordered there.  I suppose there is a good reason why it appears at the top of 
the interface list but, yes, we don't want to be using a non-unique MAC address 
to generate UUIDs. The question then is: is there any way for the uuid module 
to recognize and ignore such interfaces other than by the hardcoded MAC address?

--
stage:  -> needs patch
title: uuid.uuid1() on macOS doesn't generate unique IDs -> uuid.uuid1() on 
certain Macs does not generate unique IDs
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



[issue41550] SimpleQueues put blocks if feeded with strings greater than 2**16-13 chars

2020-08-14 Thread Irit Katriel


Irit Katriel  added the comment:

On windows 10 it's hanging for me from string length of 8175. 

Stepping through the code, the hang is in the call to 
_winapi.WaitForMultipleObjects, in PipeConnection._send_bytes, 
Lib/multiprocessing/connection.py:288

--
nosy: +iritkatriel

___
Python tracker 

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



[issue40204] Docs build error with Sphinx 3.0 due to invalid C declaration

2020-08-14 Thread STINNER Victor


STINNER Victor  added the comment:


New changeset bb0b08540cc93e56f3f1bde1b39ce086d9e35fe1 by Victor Stinner in 
branch 'master':
bpo-40204: Fix reference to terms in the doc (GH-21865)
https://github.com/python/cpython/commit/bb0b08540cc93e56f3f1bde1b39ce086d9e35fe1


--

___
Python tracker 

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



[issue41548] IDLE Window rendering on macOS Big Sur

2020-08-14 Thread Ned Deily


Ned Deily  added the comment:

OK, I can reproduce the window resizing stuttering on macOS 11 Big Sur (Intel) 
Developer Beta 4 using the most recent python.org Python 3.8.5 binary 
installer; the stuttering does not occur with macOS 10.5.6 Catalina or earlier 
systems. We have been using an older version of Tk (8.6.8 built on macOS 10.9) 
that has proved to be reasonably stable across recent versions of macOS but, 
for full Big Sur and native Apple Silicon support, we'll have to move to a 
version of Tk that also fully supports Big Sur (most likely 8.6.11 which has 
not been released yet). I'll keep this open for now.

--
assignee: terry.reedy -> ned.deily
components: +macOS
nosy: +ronaldoussoren
versions: +Python 3.10 -Python 3.5, 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



[issue33786] @asynccontextmanager doesn't work well with async generators

2020-08-14 Thread Andrew Svetlov


Andrew Svetlov  added the comment:

Thank you very much, Ned!

--

___
Python tracker 

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



[issue33786] @asynccontextmanager doesn't work well with async generators

2020-08-14 Thread Ned Deily


Ned Deily  added the comment:

I'm still not sure exactly what happened here but it looks like the backport to 
3.7 (PR 7506) from the  original fix in master (pre-3.8) (PR 7467) failed but 
the backport to 3.6 (PR 7507) succeeded.  And then it was backported a second 
time to 3.6 (PR 7514) which also succeeded but had no effect since there were 
no intervening changes to those files. So it may be that PR 7514 was intended 
to be for 3.7 instead of 3.6.  In any case, a fresh backport from master to 3.7 
(PR 21878) succeeded and tests pass, so into 3.7 it goes for release in 3.7.9.

--
priority: release blocker -> 
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



[issue33786] @asynccontextmanager doesn't work well with async generators

2020-08-14 Thread Ned Deily


Ned Deily  added the comment:


New changeset cf79cbf4479e395bf7c4df2907f5a444639b4f6f by Miss Islington (bot) 
in branch '3.7':
bpo-33786: Fix asynchronous generators to handle GeneratorExit in athrow() 
(GH-7467) (GH-21878)
https://github.com/python/cpython/commit/cf79cbf4479e395bf7c4df2907f5a444639b4f6f


--

___
Python tracker 

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



[issue41552] uuid.uuid1() on macOS doesn't generate unique IDs

2020-08-14 Thread Terry Greeniaus


New submission from Terry Greeniaus :

I'm using Python 3.8.5 on a 2016 MacBook Pro running macOS Catalina 10.15.3.  
This model has a touch bar and macOS communicates with the touch bar via a 
dedicated "iBridge" network interface.  The iBridge network interface uses a 
fixed MAC address that is common across all MacBook Pro models 
(ac:de:48:00:11:22).

Normally uuid.uuid1() picks up my WiFi MAC address (which is obviously unique), 
but this evening I noticed it was generating UUIDs based on the iBridge MAC 
address.  Since the iBridge MAC is shared across all MacBook Pro laptops, 
there's no way to guarantee that the UUIDs are now universally unique.  I'm not 
sure what triggered uuid.uuid1() to start using my iBridge interface although 
there was an Internet outage here at some point so maybe the network interfaces 
got reordered.  The iBridge interface (en5) does appear before my WiFi 
interface (en0) in the output of ifconfig now.

Here's a quick example of the problem:

greent7@avocado:~$ python3
Python 3.8.5 (default, Jul 21 2020, 10:48:26)
[Clang 11.0.3 (clang-1103.0.32.62)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import uuid
>>> uuid.uuid1()
UUID('32bbad32-de12-11ea-a0ee-acde48001122')

And here's the output from ifconfig:

greent7@avocado:~$ ifconfig
lo0: flags=8049 mtu 16384
options=1203
inet 127.0.0.1 netmask 0xff00
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
nd6 options=201
gif0: flags=8010 mtu 1280
stf0: flags=0<> mtu 1280
en5: flags=8863 mtu 1500
ether ac:de:48:00:11:22
inet6 fe80::aede:48ff:fe00:1122%en5 prefixlen 64 scopeid 0x4
nd6 options=201
media: autoselect
status: active
en0: flags=8863 mtu 1500
options=400
ether 78:4f:43:5e:b9:86
inet6 fe80::1c4b:d303:b374:c2f3%en0 prefixlen 64 secured scopeid 0x5
inet6 fd00:1cab:c0ac:fc82:80e:f701:8302:6287 prefixlen 64 autoconf 
secured
inet6 fd00:1cab:c0ac:fc82:1c38:9f17:2073:8eb prefixlen 64 autoconf 
temporary
inet 192.168.0.11 netmask 0xff00 broadcast 192.168.0.255
nd6 options=201
media: autoselect
status: active
en3: flags=8963 mtu 1500
options=460
ether 82:46:1a:46:5c:01
media: autoselect 
status: inactive
en1: flags=8963 mtu 1500
options=460
ether 82:46:1a:46:5c:00
media: autoselect 
status: inactive
en4: flags=8963 mtu 1500
options=460
ether 82:46:1a:46:5c:05
media: autoselect 
status: inactive
en2: flags=8963 mtu 1500
options=460
ether 82:46:1a:46:5c:04
media: autoselect 
status: inactive
bridge0: flags=8822 mtu 1500
options=63
ether 82:46:1a:46:5c:00
Configuration:
id 0:0:0:0:0:0 priority 0 hellotime 0 fwddelay 0
maxage 0 holdcnt 0 proto stp maxaddr 100 timeout 1200
root id 0:0:0:0:0:0 priority 0 ifcost 0 port 0
ipfilter disabled flags 0x2
member: en1 flags=3
ifmaxaddr 0 port 7 priority 0 path cost 0
member: en2 flags=3
ifmaxaddr 0 port 9 priority 0 path cost 0
member: en3 flags=3
ifmaxaddr 0 port 6 priority 0 path cost 0
member: en4 flags=3
ifmaxaddr 0 port 8 priority 0 path cost 0
media: 
status: inactive
p2p0: flags=8843 mtu 2304
options=400
ether 0a:4f:43:5e:b9:86
media: autoselect
status: inactive
awdl0: flags=8943 mtu 1484
options=400
ether f6:38:1e:e0:6c:3f
inet6 fe80::f438:1eff:fee0:6c3f%awdl0 prefixlen 64 scopeid 0xc
nd6 options=201
media: autoselect
status: active
llw0: flags=8863 mtu 1500
options=400
ether f6:38:1e:e0:6c:3f
inet6 fe80::f438:1eff:fee0:6c3f%llw0 prefixlen 64 scopeid 0xd
nd6 options=201
media: autoselect
status: active
utun0: flags=8051 mtu 1380
inet6 fe80::afc9:f21a:4d82:2c8d%utun0 prefixlen 64 scopeid 0xe
nd6 options=201
utun1: flags=8051 mtu 2000
inet6 fe80::4b52:18b4:5f46:4edf%utun1 prefixlen 64 scopeid 0xf
nd6 options=201

--
components: macOS
messages: 375387
nosy: ned.deily, ronaldoussoren, terrygreeniaus
priority: normal
severity: normal
status: open
title: uuid.uuid1() on macOS doesn't generate unique IDs
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



[issue41551] test.support has way too many imports in libregrtest

2020-08-14 Thread శ్రీనివాస్ రెడ్డి తాటిపర్తి

New submission from Srinivas  Reddy Thatiparthy(శ్రీనివాస్ రెడ్డి తాటిపర్తి) 
:

This issue is inspired from this comment - https://bugs.python.org/msg375367

--

___
Python tracker 

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



[issue41551] test.support has way too many imports in libregrtest

2020-08-14 Thread శ్రీనివాస్ రెడ్డి తాటిపర్తి

Change by Srinivas  Reddy Thatiparthy(శ్రీనివాస్ రెడ్డి తాటిపర్తి) 
:


--
components: Tests
nosy: thatiparthy
priority: normal
severity: normal
status: open
title: test.support has way too many imports in libregrtest
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



[issue41550] SimpleQueues put blocks if feeded with strings greater than 2**16-13 chars

2020-08-14 Thread Raphael Grewe


New submission from Raphael Grewe :

Hi at all,

Maybe I am using the put function incorrectly, but 
it is not possible to add larger strings there. The programm keeps locked and 
is doing nothing.

I tested it on latest Debian Buster. 
Python 3.7.3 (default, Jul 25 2020, 13:03:44)

Please check the example script.
python3 test_simple_queue_put.py 2**16-13

--
files: test_simple_queue_put.py
messages: 375385
nosy: rgrewe
priority: normal
severity: normal
status: open
title: SimpleQueues put blocks if feeded with strings greater than 2**16-13 
chars
versions: Python 3.7
Added file: https://bugs.python.org/file49389/test_simple_queue_put.py

___
Python tracker 

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



[issue33786] @asynccontextmanager doesn't work well with async generators

2020-08-14 Thread miss-islington


Change by miss-islington :


--
nosy: +miss-islington
nosy_count: 7.0 -> 8.0
pull_requests: +21003
stage: backport needed -> patch review
pull_request: https://github.com/python/cpython/pull/21878

___
Python tracker 

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



[issue39584] multiprocessing.shared_memory: MacOS crashes by running attached Python code

2020-08-14 Thread Vinay Sharma


Change by Vinay Sharma :


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

___
Python tracker 

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



[issue40468] IDLE: configdialog tab rearrange

2020-08-14 Thread Cheryl Sabella


Cheryl Sabella  added the comment:

See also issue #33051.

--

___
Python tracker 

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



[issue41539] print blocks with multiprocessing and buffered output

2020-08-14 Thread Ned Deily


Change by Ned Deily :


--
nosy: +davin, pitrou

___
Python tracker 

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



[issue41549] IDLE leaks `_` into hint box

2020-08-14 Thread wyz23x2


New submission from wyz23x2 :

Reproduce:
1. Open shell and enter an expression, say 1+1.
2. Create a new file and save.
3. Enter a letter and press Tab. `_` appears in the box.

--
assignee: terry.reedy
components: IDLE
messages: 375383
nosy: terry.reedy, wyz23x2
priority: normal
severity: normal
status: open
title: IDLE leaks `_` into hint box
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



[issue41546] pprint() gives exception when ran from pythonw

2020-08-14 Thread Ned Deily


Ned Deily  added the comment:

Thanks for the report.  Just to be clear, this is running on Windows?  And, if 
so, which version?

--
components: +Windows
nosy: +ned.deily, 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



[issue41548] IDLE Window rendering on macOS Big Sur

2020-08-14 Thread Ned Deily


Ned Deily  added the comment:

Thanks for your report.  The screen capture link is not publically available 
(requires a login). Please find another way to provide it; you can upload and 
attach an image file to this issue ("Choose File" button). Also, please provide 
the complete Python version information from the IDLE shell window.  And note 
we do not officially support Big Sur yet.

--
nosy: +ned.deily

___
Python tracker 

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



[issue40782] AbstactEventLoop.run_in_executor is listed as an async method, but should actually return a Future

2020-08-14 Thread Ned Deily


Change by Ned Deily :


--
components: +asyncio

___
Python tracker 

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



[issue41540] Test test_maxcontext_exact_arith (_decimal) consumes all memory on AIX

2020-08-14 Thread Stefan Krah


Stefan Krah  added the comment:

> So, this issue with v3.10 (master) appeared to me as a regression.

I understand that from your point of view it appears as a regression.

However, quoting the C standard, 7.20.3 Memory management functions:

"The pointer returned points to the start (lowest byte
address) of the allocated space. If the space cannot be allocated, a null 
pointer is
returned."


So, for a system that is not currently officially supported, I don't
consider it my problem if AIX thinks the space can be allocated.

But as I said, I can disable that test on AIX.  If I get AIX access,
I can look at this more.

--

___
Python tracker 

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



[issue40994] Very confusing documenation for abc.Collections

2020-08-14 Thread Irit Katriel


Irit Katriel  added the comment:

Sydney, do you want to create a PR for this? I'm happy to if you don't.

--

___
Python tracker 

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



[issue41540] Test test_maxcontext_exact_arith (_decimal) consumes all memory on AIX

2020-08-14 Thread Stefan Krah


Stefan Krah  added the comment:

> Core developers have full access to AIX system for the asking.  Back to you, 
> Stefan.

That sounds great. Can we contact you directly, or have I missed an earlier 
announcement from someone else giving out AIX access?

Or are you working on it and I misunderstand the idiomatic English? :)

--

___
Python tracker 

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



[issue40994] Very confusing documenation for abc.Collections

2020-08-14 Thread Irit Katriel


Irit Katriel  added the comment:

Looks like this is not the first time this has come up: 
https://stackoverflow.com/questions/39789876/why-collections-callable-provides-contains-hash-len-and-ca

The link directly to the #collections.abc.Callable section is what makes it 
confusing: 

https://python.readthedocs.io/en/latest/library/collections.abc.html#collections.abc.Callable

--

___
Python tracker 

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



[issue41545] gc API requiring matching number of gc.disable - gc.enable calls

2020-08-14 Thread Yonatan Goldschmidt


Yonatan Goldschmidt  added the comment:

> If this race condition is a bug in gc, then we should fix that.

> If it is a bug in your code, surely you should fix that rather than disable 
> gc.

It's neither: it is something related to the combination of some 3rd party 
libraries I'm using (if you're interested, I have described it here: 
https://github.com/paramiko/paramiko/issues/1634).

> Either way, I don't think we should complicate the gc iterface by adding a 
> second way to enable and disable the cyclic gc.

I see what you're saying. I wasn't thinking of of this idea as complicating it, 
I had in mind existing interfaces which have these 2 sets of functions (for 
example, Linux's local_irq_enable/disable and local_irq_save/restore).

Another approach, only modifying the existing API in a compatible way, will be 
as follows:

--- a/Modules/gcmodule.c
+++ b/Modules/gcmodule.c
@@ -1489,9 +1489,10 @@ static PyObject *
 gc_disable_impl(PyObject *module)
 /*[clinic end generated code: output=97d1030f7aa9d279 
input=8c2e5a14e800d83b]*/
 {
+int was_enabled = gcstate->enabled
 GCState *gcstate = get_gc_state();
 gcstate->enabled = 0;
-Py_RETURN_NONE;
+return was_enabled ? (Py_INCREF(Py_True), Py_True) : 
(Py_INCREF(Py_False), Py_False);
 }

Then I can write code this way:

foo():
disabled = gc.disable()

if disabled:
 gc.enable()

It can be taken ahead to change `gc.enable()` to `gc.enable(disabled=True)` so 
I can just call it as `gc.enable(disabled)`:

foo():
disabled = gc.disable()

gc.enable(disabled)

--

___
Python tracker 

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



[issue40782] AbstactEventLoop.run_in_executor is listed as an async method, but should actually return a Future

2020-08-14 Thread James Barrett


James Barrett  added the comment:

https://github.com/python/cpython/pull/21852

--

___
Python tracker 

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



[issue41548] IDLE Window rendering on macOS Big Sur

2020-08-14 Thread Roger Meier


Roger Meier  added the comment:

I have screen capture demonstrating the issue, which I posted here:

https://groups.google.com/g/thonny/c/529A5zEsuWg/m/xHVCny8OBwAJ

--
type:  -> behavior

___
Python tracker 

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



[issue41548] IDLE Window rendering on macOS Big Sur

2020-08-14 Thread Roger Meier


New submission from Roger Meier :

macOS Big Sur, Public Beta (20A5343j)

There is noticeable window flickering when the IDLE window is being resized 
manually. It sometimes become translucent, and sometimes the window frame isn't 
properly refreshed after resizing, but simply by switching to another app (i.e. 
removing focus from the IDLE window) the contents are refreshed. This was not 
the case prior to Big Sur.

--
assignee: terry.reedy
components: IDLE
messages: 375373
nosy: roger.meier, terry.reedy
priority: normal
severity: normal
status: open
title: IDLE Window rendering on macOS Big Sur
versions: Python 3.5, Python 3.6, Python 3.7, 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



[issue41547] Expose default __getstate__ and __setstate__

2020-08-14 Thread Serhiy Storchaka


Serhiy Storchaka  added the comment:

This is virtually a duplicate of isssue26579.

--
nosy: +serhiy.storchaka
resolution:  -> duplicate
stage:  -> resolved
status: open -> closed
superseder:  -> Support pickling slots in subclasses of common classes

___
Python tracker 

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