[issue37295] Possible optimizations for math.comb()

2019-06-17 Thread Tim Peters


Tim Peters  added the comment:

In real life, I expect 99.999%+ of calls will be made with small arguments, so 
(1) is worth it.  I like Mark's suggestion to use uint64_t so the acceptable 
range doesn't depend on platform.  At least in the world I live in, 32-bit 
boxes are all but extinct anyway.

I honestly wouldn't bother with more than that.  It's fun to optimize 
giant-integer algorithms with an ever-ballooning number of different clever 
approaches, but Python is an odd place for that.  People looking for blazing 
fast giant-int facilities generally want lots & lots of them, so are better 
steered toward, e.g., gmp.  That's its reason for existing.

For example, their implementation of binomial coefficients uses special 
division algorithms exploiting that the quotient is exact (no remainder):

https://gmplib.org/manual/Exact-Division.html#Exact-Division

There's just no end to potential speedups.  But in Python, I expect a vast 
majority of users will be happy if they get the right answer for the number of 
possible poker hands ;-)

Oh ya - some smart kid will file a bug report about the inability to interrupt 
the calculation of a billion-bit result, so (4) is inevitable.  Me, I'd wait 
for them to complain, and encourage _them_ to learn something useful by writing 
a patch to fix it :-)

--

___
Python tracker 

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



[issue37317] asyncio gather doesn't handle custom exceptions that inherit from BaseException

2019-06-17 Thread Karthikeyan Singaravelan


Karthikeyan Singaravelan  added the comment:

On master this returns the below output. Maybe this change in master was due to 
431b540bf79f0982559b1b0e420b1b085f667bb7 (issue32528) that is available with 
3.8+ ?

./python.exe ../backups/bpo37317.py
BEGIN
THIS DONE: 1
THIS DONE: 2
THIS DONE: 3
THIS DONE: 4
THIS DONE: 6
THIS DONE: 7
THIS DONE: 8
THIS DONE: 9
THIS DONE: 10
Result: [None, None, None, None, CustomException(), None, None, None, None, 
None]
END

--
nosy: +xtreak

___
Python tracker 

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



[issue37326] Windows LICENSE.txt do not contain libffi license

2019-06-17 Thread Ammar Askar


Ammar Askar  added the comment:

Oh whoops, I was looking at my py2 folder. Let's reopen in that case.

--
components: +Windows
nosy: +paul.moore, steve.dower, tim.golden, zach.ware
resolution: not a bug -> 
stage: resolved -> 
status: closed -> open
title: Python distributions do not contain libffi license -> Windows 
LICENSE.txt do not contain libffi license
versions:  -Python 2.7

___
Python tracker 

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



[issue37326] Python distributions do not contain libffi license

2019-06-17 Thread Gregory Szorc


Gregory Szorc  added the comment:

FWIW LICENSE.txt on Windows contains licenses for additional projects starting 
on line 258 (at least in CPython 3.7.3), which contains the section header 
"Additional Conditions for this Windows binary build".

But, the Doc/pythonXXX.chm does indeed contain libffi's license text. So we're 
all good here. I'm not sure why LICENSE.txt on Windows is incomplete. *shrugs*

--

___
Python tracker 

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



[issue37326] Python distributions do not contain libffi license

2019-06-17 Thread Ammar Askar


Ammar Askar  added the comment:

LICENSE.txt only contains Python's licensing information. You can find all the 
external licenses in 
https://docs.python.org/3/license.html?highlight=libffi#libffi

On Windows, this is also distributed as part of Doc/pythonXXX.chm

If you don't think this is sufficient, feel free to re-open.

--
nosy: +ammar2
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



[issue5680] Simulate command-line arguments for program run in IDLE

2019-06-17 Thread miss-islington


miss-islington  added the comment:


New changeset 81f7899f517f18a45ab111598f9dd6d7210956a8 by Miss Islington (bot) 
in branch '3.7':
bpo-5680: IDLE: Customize running a module (GH-13763)
https://github.com/python/cpython/commit/81f7899f517f18a45ab111598f9dd6d7210956a8


--
nosy: +miss-islington

___
Python tracker 

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



[issue5680] Simulate command-line arguments for program run in IDLE

2019-06-17 Thread miss-islington


miss-islington  added the comment:


New changeset ae526ee320d3feabba0aa4dffa9d52e39f8941dc by Miss Islington (bot) 
in branch '3.8':
bpo-5680: IDLE: Customize running a module (GH-13763)
https://github.com/python/cpython/commit/ae526ee320d3feabba0aa4dffa9d52e39f8941dc


--

___
Python tracker 

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



[issue28869] __module__ attribute is not set correctly for a class created by direct metaclass call

2019-06-17 Thread Alejandro Gonzalez


Alejandro Gonzalez  added the comment:

>It can be fixed in general if deduce __module__ in type.__call__() instead of 
>type.__new__().

But wouldn't we have the same problem if a metaclass overrides type.__call__ 
instead?
Also, wouldn't that reset the __module__ value anytime the class is called and 
an object is instantiated?

--

___
Python tracker 

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



[issue37326] Python distributions do not contain libffi license

2019-06-17 Thread Gregory Szorc


New submission from Gregory Szorc :

The Modules/_ctypes/libffi_msvc/ffi.h and 
Modules/_ctypes/libffi_osx/include/ffi.h files in the CPython repository 
contain copies of libffi.

On at least the official Windows distributions, the LICENSE.txt does not 
contain libffi's license text from these files. This is seemingly in violation 
of libffi's license agreement, which clearly says "The above copyright notice 
and this permission notice shall be included in all copies or substantial 
portions of the Software."

--
components: Build
messages: 345944
nosy: indygreg
priority: normal
severity: normal
status: open
title: Python distributions do not contain libffi license
type: enhancement
versions: Python 2.7, 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



[issue5680] Simulate command-line arguments for program run in IDLE

2019-06-17 Thread Terry J. Reedy


Terry J. Reedy  added the comment:

A more than minimal patch has been merged.  Further work will be on new issues. 
 Remaining problems not previously discussed:

1. Tab focus traversal is wrong.  This is generic to Query subclasses that add 
widgets.  See #37325.

2. When the customize box is cancelled, focus goes to the Shell, even when I 
add 'event.widget.focus_set/force()'.  When the parent of the box was the 
editor, 'self.shell.text.focus_set' did not work to shift it to the Shell text.

Does anyone else have any idea how to put the focus back on the editor after 
cancel?

--
nosy: +taleinat
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



[issue5680] Simulate command-line arguments for program run in IDLE

2019-06-17 Thread miss-islington


Change by miss-islington :


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

___
Python tracker 

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



[issue5680] Simulate command-line arguments for program run in IDLE

2019-06-17 Thread miss-islington


Change by miss-islington :


--
pull_requests: +14022
pull_request: https://github.com/python/cpython/pull/14185

___
Python tracker 

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



[issue5680] Simulate command-line arguments for program run in IDLE

2019-06-17 Thread Terry J. Reedy


Terry J. Reedy  added the comment:


New changeset 201bc2d18b60adb05810d2a6ab396047bc527088 by Terry Jan Reedy 
(Cheryl Sabella) in branch 'master':
bpo-5680: IDLE: Customize running a module (GH-13763)
https://github.com/python/cpython/commit/201bc2d18b60adb05810d2a6ab396047bc527088


--

___
Python tracker 

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



[issue37325] IDLE: fix Query subclass tab focus traversal order

2019-06-17 Thread Terry J. Reedy


New submission from Terry J. Reedy :

query.Query creates a popup with entry and ok/cancel buttons, in that order.  
Tabbing moves from the entry in that order.  Currently, subclasses that add 
widgets add them after the 3 above, so they follow Cancel in the tab order.  
They do this by overriding create_widgets and initially calling 
super.create_widgets.

Added widgets should follow the entry box and precede the exit buttons.  To do 
this, they should be created in between.  Proposed solution: create_widgets 
calls 'extra_widgets' (pass for Query) after creating the Entry.  Subclasses 
override to add widgets.

--
assignee: terry.reedy
components: IDLE
messages: 345940
nosy: terry.reedy
priority: normal
severity: normal
stage: test needed
status: open
title: IDLE: fix Query subclass tab focus traversal order
type: behavior
versions: 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



[issue35360] Update SQLite to 3.28 in Windows and macOS installer builds

2019-06-17 Thread Ma Lin


Ma Lin  added the comment:

2.7 branch:

PR 14182 is for Windows build
PR 14183 is for Mac OS X build

--

___
Python tracker 

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



[issue35360] Update SQLite to 3.28 in Windows and macOS installer builds

2019-06-17 Thread Ma Lin


Change by Ma Lin :


--
pull_requests: +14020
pull_request: https://github.com/python/cpython/pull/14183

___
Python tracker 

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



[issue35360] Update SQLite to 3.28 in Windows and macOS installer builds

2019-06-17 Thread Ma Lin


Change by Ma Lin :


--
pull_requests: +14019
pull_request: https://github.com/python/cpython/pull/14182

___
Python tracker 

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



[issue35360] Update SQLite to 3.28 in Windows and macOS installer builds

2019-06-17 Thread Ma Lin


Ma Lin  added the comment:

PR 14179 is for Windows build
PR 14180 is for Mac OS X build

Both update to Sqlite 3.28.0

--
title: Update SQLite to 3.26 in Windows and macOS installer builds -> Update 
SQLite to 3.28 in Windows and macOS installer builds

___
Python tracker 

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



[issue35360] Update SQLite to 3.26 in Windows and macOS installer builds

2019-06-17 Thread Ma Lin


Change by Ma Lin :


--
pull_requests: +14018
pull_request: https://github.com/python/cpython/pull/14180

___
Python tracker 

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



[issue35360] Update SQLite to 3.26 in Windows and macOS installer builds

2019-06-17 Thread Ma Lin


Change by Ma Lin :


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

___
Python tracker 

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



[issue33529] [security] Infinite loop on folding email (_fold_as_ew()) if an header has no spaces

2019-06-17 Thread Ned Deily


Ned Deily  added the comment:


New changeset 516a6a254814d2bc6a90290dfc44d77fdfb4050b by Ned Deily (Victor 
Stinner) in branch '3.6':
bpo-33529, email: Fix infinite loop in email header encoding (GH-12020) 
(GH-14162)
https://github.com/python/cpython/commit/516a6a254814d2bc6a90290dfc44d77fdfb4050b


--
nosy: +ned.deily

___
Python tracker 

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



[issue37319] Deprecate using random.randrange() with non-integers

2019-06-17 Thread Raymond Hettinger


Raymond Hettinger  added the comment:

We probably should not do this until we're willing to give PEP 8 guidance 
recommending operator.index() as preferable to int() for all cases needing 
integer offsets.  Maybe we do want to go down that path or maybe we just stick 
with "practicality beats purity" and not create any new learning issues.  The 
int() function is popular and understandable, but it is rare to find a user who 
knows and cares about index().  ISTM that randrange(3.0) isn't a problem in 
real life.

--

___
Python tracker 

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



[issue37245] Azure Pipeline 3.8 CI: multiple tests hung and timed out on macOS 10.13

2019-06-17 Thread Steve Dower


Steve Dower  added the comment:

I'm still seeing this, maybe 1 in 20 builds, so it's semi-random. A new 
deadlock, maybe?

--
nosy: +steve.dower

___
Python tracker 

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



[issue37319] Deprecate using random.randrange() with non-integers

2019-06-17 Thread Raymond Hettinger


Raymond Hettinger  added the comment:

While there isn't anything intrinsically wrong with using index(), the premise 
of this issue is essentially a claim that most Python code that uses int() is 
wrong.  That seems rather bold and flies in the face of common practices.  I 
don't really like the trend of constantly rearranging code in awkward ways to 
solve problems that no one actually has.

Also, I disagree with the notion that the downstream functions in the random 
module should be written in C.  That makes them more bug prone and opaque (like 
when Victor broken seeding for 3.6.0).  The trend for rewriting in C should be 
restricted to core building blocks like the underlying Mersenne Twister.  
Otherwise, we have to do dual maintenance for years and essentially advertise 
to people that we don't think our own language is good enough to use.  Over 
time, I am less and less able to show people standard library code as it has 
become complexified with coding strategies well beyond the norms of day to day 
Python programmers.  ISTM that most proposals to rewrite something in C come 
from folks who like rewriting things in C rather than from users or from people 
who do long term maintenance of the modules.  Sidenote: we're now getting new 
core devs who don't read or write C, so each transformation like them excludes 
their ability to participate).

--
nosy: +tim.peters

___
Python tracker 

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



[issue37189] PyRun_String not exported in python38.dll

2019-06-17 Thread miss-islington


miss-islington  added the comment:


New changeset 8cb8d5de4bcc587b35d1b2f4166dad98c202805c by Miss Islington (bot) 
in branch '3.8':
bpo-37189: Export old PyRun_XXX() functions (GH-14142)
https://github.com/python/cpython/commit/8cb8d5de4bcc587b35d1b2f4166dad98c202805c


--
nosy: +miss-islington

___
Python tracker 

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



[issue34631] Upgrade to OpenSSL 1.1.1c, 1.1.0k, and/or 1.0.2s

2019-06-17 Thread Steve Dower


Steve Dower  added the comment:


New changeset 14bac0088271d0a5c428e3468ef94fe7c73e93f7 by Steve Dower in branch 
'3.7':
bpo-34631: Updated OpenSSL to 1.1.1c in Windows installer (GH-14163)
https://github.com/python/cpython/commit/14bac0088271d0a5c428e3468ef94fe7c73e93f7


--

___
Python tracker 

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



[issue34631] Upgrade to OpenSSL 1.1.1c, 1.1.0k, and/or 1.0.2s

2019-06-17 Thread Ned Deily


Ned Deily  added the comment:

Might as well, thanks!

--

___
Python tracker 

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



[issue37189] PyRun_String not exported in python38.dll

2019-06-17 Thread STINNER Victor


STINNER Victor  added the comment:

My notes on checking an ABI:
https://pythoncapi.readthedocs.io/stable_abi.html#check-for-abi-changes

I didn't check if https://abi-laboratory.pro/tracker/timeline/python/ supports 
Windows or not.

--

___
Python tracker 

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



[issue37189] PyRun_String not exported in python38.dll

2019-06-17 Thread STINNER Victor


STINNER Victor  added the comment:

> Should we add a regression test to avoid this happening in the future?

I'm not sure where to add such test, nor which kind of test is needed. I mean, 
should we only test that the symbol is present? Or should we also test the ABI? 
Or even write a functional test?

Since I didn't know, I just merged my fix, to make sure that it lands before 
3.8beta2.

--

___
Python tracker 

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



[issue37189] PyRun_String not exported in python38.dll

2019-06-17 Thread miss-islington


Change by miss-islington :


--
pull_requests: +14016
pull_request: https://github.com/python/cpython/pull/14177

___
Python tracker 

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



[issue37189] PyRun_String not exported in python38.dll

2019-06-17 Thread STINNER Victor


STINNER Victor  added the comment:


New changeset 343ed0ffe0d5ddd4f17c31e14a656a04ac7dfc19 by Victor Stinner in 
branch 'master':
bpo-37189: Export old PyRun_XXX() functions (#14142)
https://github.com/python/cpython/commit/343ed0ffe0d5ddd4f17c31e14a656a04ac7dfc19


--

___
Python tracker 

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



[issue37189] PyRun_String not exported in python38.dll

2019-06-17 Thread Steve Dower


Steve Dower  added the comment:

Ah, that's what ctypes.pythonapi is :) I looked at PyDLL first and figured it 
out from there.

Should we add a regression test to avoid this happening in the future?

--

___
Python tracker 

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



[issue37318] builtins.True exists but can't be accessed

2019-06-17 Thread Raymond Hettinger


Raymond Hettinger  added the comment:

Depending on your mental model of the language, this may not seem odd at all.

>>> # We can set any key/value pair in any dictionary
>>> d = {'x': 10, 'True': 20, 'for': 30}

>>> # We can do regular string lookups at any time
>>> d['x']
10
>>> d['True']
20
>>> d['for']
30

>>> # globals() isn't special in this regard
>>> globals().update(d)
>>> globals()['x']
10
>>> globals()['True']
20
>>> globals()['for']
30

>>> # Globals is special though in that it provides
>>> # a fast way to do lookups for keys that are
>>> # valid identifiers and are not keywords
>>> x  # Fast lookup equivalent to globals['x']
10
>>> True   # This is a keyword, so there is no lookup
True
>>> for# This is a keyword, so there is no lookup
SyntaxError: invalid syntax

At any rate, this isn't a bug.  It is just the way the language works.

Thank you for the report.

--
nosy: +rhettinger
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



[issue37189] PyRun_String not exported in python38.dll

2019-06-17 Thread STINNER Victor


STINNER Victor  added the comment:

"Those should be the same."

Well, I wasn't 100% sure so I tested both. At least, I can now confirm that 
missing symbols are now exposed in both :-D

--

___
Python tracker 

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



[issue37320] aifc, sunau, wave: remove deprecated openfp() function

2019-06-17 Thread STINNER Victor


STINNER Victor  added the comment:

If your code uses openfp(): just use open() instead ;-)

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



[issue37320] aifc, sunau, wave: remove deprecated openfp() function

2019-06-17 Thread STINNER Victor


STINNER Victor  added the comment:


New changeset ac7b1a3f32cc81520e8962352294006d65744028 by Victor Stinner in 
branch 'master':
bpo-37320: Remove openfp() of aifc, sunau and wave (GH-14169)
https://github.com/python/cpython/commit/ac7b1a3f32cc81520e8962352294006d65744028


--

___
Python tracker 

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



[issue37324] collections: remove deprecated aliases to ABC classes

2019-06-17 Thread STINNER Victor


STINNER Victor  added the comment:

Oh. I wasn't aware of the previous attempt: 
https://github.com/python/cpython/pull/10596 there is a long discussion there. 
The blocker issue was also html5lib.

--

___
Python tracker 

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



[issue37166] inspect.findsource doesn't handle shortened files gracefully

2019-06-17 Thread STINNER Victor


STINNER Victor  added the comment:

If the file content changed, I'm not sure that the folloing heuristic will 
always find the expected function:

lnum = object.co_firstlineno - 1
pat = 
re.compile(r'^(\s*def\s)|(\s*async\s+def\s)|(.*(? 0:
if pat.match(lines[lnum]): break
lnum = lnum - 1
return lines, lnum

The regex doesn't search for the function name.

--

___
Python tracker 

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



[issue37321] IDLE: Make Subprocess Connection Errors consistent.

2019-06-17 Thread Terry J. Reedy


Terry J. Reedy  added the comment:

New code tested by copying into a temporary test fixture.

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



[issue37166] inspect.findsource doesn't handle shortened files gracefully

2019-06-17 Thread STINNER Victor


STINNER Victor  added the comment:

inspect.getsource() starts with linecache.checkcache(file) which if the file 
modification time changed or if the file size changed. Using regular files on 
disk, I don't see how this bug is possible:


$ cat x.py 
import inspect
import os
import linecache






def foo(): pass

filename = __file__
linecache.getlines(filename)

if 1:
stat = os.stat(filename)
atime = stat.st_atime
mtime = stat.st_mtime
with open(filename, "w+") as fp:
lines = [line for line in fp if line.strip()]
fp.seek(0)
fp.writelines(lines)
os.utime(filename, (atime, mtime))

print(inspect.getsource(foo))

vstinner@apu$ /bin/cp x.py y.py; ./python y.py
Traceback (most recent call last):
  File "y.py", line 25, in 
  File "/home/vstinner/prog/python/master/Lib/inspect.py", line 985, in 
getsource
lines, lnum = getsourcelines(object)
  File "/home/vstinner/prog/python/master/Lib/inspect.py", line 967, in 
getsourcelines
lines, lnum = findsource(object)
  File "/home/vstinner/prog/python/master/Lib/inspect.py", line 798, in 
findsource
raise OSError('could not get source code')
OSError: could not get source code


Does this bug only affect Facebook who use "compile the application into an 
executable package (.par)"?
https://github.com/python/cpython/pull/13850#pullrequestreview-249815779

--

___
Python tracker 

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



[issue37189] PyRun_String not exported in python38.dll

2019-06-17 Thread Eryk Sun


Eryk Sun  added the comment:

> api = ctypes.pythonapi
> api2 = ctypes.PyDLL("", handle=sys.dllhandle)

Those should be the same. In Windows, pythonapi is defined as PyDLL("python 
dll", None, sys.dllhandle). 

Wouldn't it be better to add a function to _testcapi that checks 
GetProcAddress(PyWin_DLLhModule, name)?

--
nosy: +eryksun

___
Python tracker 

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



[issue37321] IDLE: Make Subprocess Connection Errors consistent.

2019-06-17 Thread miss-islington


miss-islington  added the comment:


New changeset 02f7f741e83c018015eb8fcb95bd592c1787fe5f by Miss Islington (bot) 
in branch '3.8':
bpo-37321: Edit IDLE subprocess connection error messages. (GH-14170)
https://github.com/python/cpython/commit/02f7f741e83c018015eb8fcb95bd592c1787fe5f


--

___
Python tracker 

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



[issue37321] IDLE: Make Subprocess Connection Errors consistent.

2019-06-17 Thread miss-islington


miss-islington  added the comment:


New changeset 336cf399546f3362033f9d2b475feae050373ef8 by Miss Islington (bot) 
in branch '3.7':
bpo-37321: Edit IDLE subprocess connection error messages. (GH-14170)
https://github.com/python/cpython/commit/336cf399546f3362033f9d2b475feae050373ef8


--
nosy: +miss-islington

___
Python tracker 

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



[issue35495] argparse does not honor default argument for nargs=argparse.REMAINDER argument

2019-06-17 Thread Michael Blahay


Michael Blahay  added the comment:

Need some help searching github to determine the blast radius of the proposed 
changes. How does one look for instances of argparse.REMAINDER that are used 
with a default value?

--

___
Python tracker 

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



[issue37189] PyRun_String not exported in python38.dll

2019-06-17 Thread STINNER Victor


STINNER Victor  added the comment:

I tested the following code:
---
import ctypes, sys 
names = """
PyRun_String
PyRun_AnyFile
PyRun_AnyFileEx
PyRun_AnyFileFlags
PyRun_SimpleString
PyRun_SimpleFile
PyRun_SimpleFileEx
PyRun_InteractiveOne
PyRun_InteractiveLoop
PyRun_File
PyRun_FileEx
PyRun_FileFlags
"""
api = ctypes.pythonapi
api2 = ctypes.PyDLL("", handle=sys.dllhandle)
for name in names.split():
if not hasattr(api, name) or not hasattr(api2, name):
print("MISSING NAME", name)
---

Current output:

Missing names ['PyRun_AnyFile', 'PyRun_AnyFileEx', 'PyRun_File', 'PyRun_FileEx',
 'PyRun_FileFlags', 'PyRun_InteractiveLoop', 'PyRun_InteractiveOne', 'PyRun_Simp
leFile', 'PyRun_SimpleFileEx', 'PyRun_SimpleString', 'PyRun_String']

With my PR 14142:

Missing names []

--

___
Python tracker 

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



[issue37120] Provide knobs to disable session ticket generation on TLS 1.3

2019-06-17 Thread STINNER Victor


STINNER Victor  added the comment:

New changeset 78c7d527799dacca91b9ed67057cb996efe526b0 by Christian Heimes in 
branch 'master':
bpo-37120: Add SSLContext.num_tickets (GH-13719)
https://github.com/python/cpython/commit/78c7d527799dacca91b9ed67057cb996efe526b0


This change introduced this warning on Windows:

c:\vstinner\python\master\modules\_ssl.c(3624): warning C4267: 'function': conv 
ersion from 'size_t' to 'long', possible loss of data [C:\vstinner\python\maste 
r\PCbuild\_ssl.vcxproj]


SSL_CTX_get_num_tickets() return type is size_t. I suggest this change:


diff --git a/Modules/_ssl.c b/Modules/_ssl.c
index 2331c58ad7..3ffb6380d3 100644
--- a/Modules/_ssl.c
+++ b/Modules/_ssl.c
@@ -3621,7 +3621,7 @@ set_maximum_version(PySSLContext *self, PyObject *arg, 
void *c)
 static PyObject *
 get_num_tickets(PySSLContext *self, void *c)
 {
-return PyLong_FromLong(SSL_CTX_get_num_tickets(self->ctx));
+return PyLong_FromSize_t(SSL_CTX_get_num_tickets(self->ctx));
 }
 
 static int

--
nosy: +vstinner

___
Python tracker 

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



[issue37323] test_asyncio: test_debug_mode_interop() fails using -Werror

2019-06-17 Thread Karthikeyan Singaravelan


Karthikeyan Singaravelan  added the comment:

It affects 3.8 as well since https://github.com/python/cpython/pull/13346 was 
merged and I guess the fix would be to wrap it with 
assertWarns(DeprecationWarning) context manager like other tests. Interesting, 
does PYTHONWARNINGS=error affects the interpreter spawn by assert_python_ok to 
change warnings level which -Werror doesn't do by itself?

--
components: +asyncio
nosy: +asvetlov, xtreak, yselivanov
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



[issue37321] IDLE: Make Subprocess Connection Errors consistent.

2019-06-17 Thread miss-islington


Change by miss-islington :


--
pull_requests: +14014
pull_request: https://github.com/python/cpython/pull/14173

___
Python tracker 

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



[issue37321] IDLE: Make Subprocess Connection Errors consistent.

2019-06-17 Thread Terry J. Reedy


Terry J. Reedy  added the comment:


New changeset 8fac1221097aaf6ac37ed9ea727ee7892085e183 by Terry Jan Reedy in 
branch 'master':
 bpo-37321: Edit IDLE subprocess connection error messages. (#14170)
https://github.com/python/cpython/commit/8fac1221097aaf6ac37ed9ea727ee7892085e183


--

___
Python tracker 

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



[issue37321] IDLE: Make Subprocess Connection Errors consistent.

2019-06-17 Thread miss-islington


Change by miss-islington :


--
pull_requests: +14015
pull_request: https://github.com/python/cpython/pull/14174

___
Python tracker 

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



[issue34631] Upgrade to OpenSSL 1.1.1c, 1.1.0k, and/or 1.0.2s

2019-06-17 Thread Steve Dower


Steve Dower  added the comment:

Ned - the 3.7 backport seems to be okay (PR 14165). Do we want it?

--

___
Python tracker 

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



[issue19696] Merge all (non-syntactic) import-related tests into test_importlib

2019-06-17 Thread Brett Cannon


Brett Cannon  added the comment:

Anything zipimport-related should stay separate as zipimport is not a part of 
importlib. The other three will have to be looked at to see what exactly they 
are testing to know whether they relate to importlib and the implementation of 
import or not (my guess is yes).

--

___
Python tracker 

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



[issue37287] picke cannot dump Exception subclasses with different super() args

2019-06-17 Thread Gregory P. Smith


Gregory P. Smith  added the comment:

possibly related to https://bugs.python.org/issue32696 and 
https://bugs.python.org/issue1692335.

--
nosy: +gregory.p.smith

___
Python tracker 

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



[issue37297] function changed when pickle bound method object

2019-06-17 Thread Brett Cannon


Change by Brett Cannon :


--
nosy:  -brett.cannon

___
Python tracker 

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



[issue35360] Update SQLite to 3.26 in Windows and macOS installer builds

2019-06-17 Thread Karthikeyan Singaravelan


Change by Karthikeyan Singaravelan :


--
nosy: +berker.peksag

___
Python tracker 

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



[issue37324] collections: remove deprecated aliases to ABC classes

2019-06-17 Thread STINNER Victor


STINNER Victor  added the comment:

html5lib has already been fixed:
https://github.com/vstinner/html5lib-python/commit/4f9235752cea29c5a31721440578b430823a1e69

But latest html5lib release was version 1.0.1 at... Dec 7, 2017 :-(

Paul Ganssle requested a new html5lib release... to fix the collections warning 
:-)
https://github.com/html5lib/html5lib-python/issues/419

--

___
Python tracker 

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



[issue37323] test_asyncio: test_debug_mode_interop() fails using -Werror

2019-06-17 Thread STINNER Victor


STINNER Victor  added the comment:

def test_debug_mode_interop(self):
# https://bugs.python.org/issue32636
code = textwrap.dedent("""
import asyncio

async def native_coro():
pass

@asyncio.coroutine
def old_style_coro():
yield from native_coro()

asyncio.run(old_style_coro())
""")
assert_python_ok("-c", code, PYTHONASYNCIODEBUG="1")

--

___
Python tracker 

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



[issue37324] collections: remove deprecated aliases to ABC classes

2019-06-17 Thread STINNER Victor


STINNER Victor  added the comment:

pip is broken by this change, causing test_venv to fail: html5lib still uses 
collections to get ABC.

FAIL: test_with_pip (test.test_venv.EnsurePipTest)
--
Traceback (most recent call last):
  File "/home/vstinner/prog/python/master/Lib/test/test_venv.py", line 407, in 
do_test_with_pip
self.run_with_capture(venv.create, self.env_dir,
  File "/home/vstinner/prog/python/master/Lib/test/test_venv.py", line 69, in 
run_with_capture
func(*args, **kwargs)
subprocess.CalledProcessError: Command '['/tmp/tmpkxga42lx/bin/python', '-Im', 
'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/vstinner/prog/python/master/Lib/test/test_venv.py", line 466, in 
test_with_pip
self.do_test_with_pip(False)
  File "/home/vstinner/prog/python/master/Lib/test/test_venv.py", line 415, in 
do_test_with_pip
self.fail(msg.format(exc, details))
AssertionError: Command '['/tmp/tmpkxga42lx/bin/python', '-Im', 'ensurepip', 
'--upgrade', '--default-pip']' returned non-zero exit status 1.

**Subprocess Output**
/tmp/tmpwhk_ss_e/pip-19.0.3-py2.py3-none-any.whl/pip/_vendor/pyparsing.py:3068: 
SyntaxWarning: invalid escape sequence \w
/tmp/tmpwhk_ss_e/pip-19.0.3-py2.py3-none-any.whl/pip/_vendor/pyparsing.py:3068: 
SyntaxWarning: invalid escape sequence \w
Traceback (most recent call last):
  File "/home/vstinner/prog/python/master/Lib/runpy.py", line 192, in 
_run_module_as_main
return _run_code(code, main_globals, None,
  File "/home/vstinner/prog/python/master/Lib/runpy.py", line 85, in _run_code
exec(code, run_globals)
  File "/home/vstinner/prog/python/master/Lib/ensurepip/__main__.py", line 5, 
in 
sys.exit(ensurepip._main())
  File "/home/vstinner/prog/python/master/Lib/ensurepip/__init__.py", line 198, 
in _main
return _bootstrap(
  File "/home/vstinner/prog/python/master/Lib/ensurepip/__init__.py", line 117, 
in _bootstrap
return _run_pip(args + [p[0] for p in _PROJECTS], additional_paths)
  File "/home/vstinner/prog/python/master/Lib/ensurepip/__init__.py", line 27, 
in _run_pip
import pip._internal
  File "", line 259, in load_module
  File 
"/tmp/tmpwhk_ss_e/pip-19.0.3-py2.py3-none-any.whl/pip/_internal/__init__.py", 
line 40, in 
  File "", line 259, in load_module
  File 
"/tmp/tmpwhk_ss_e/pip-19.0.3-py2.py3-none-any.whl/pip/_internal/cli/autocompletion.py",
 line 8, in 
  File "", line 259, in load_module
  File 
"/tmp/tmpwhk_ss_e/pip-19.0.3-py2.py3-none-any.whl/pip/_internal/cli/main_parser.py",
 line 12, in 
  File "", line 259, in load_module
  File 
"/tmp/tmpwhk_ss_e/pip-19.0.3-py2.py3-none-any.whl/pip/_internal/commands/__init__.py",
 line 6, in 
  File "", line 259, in load_module
  File 
"/tmp/tmpwhk_ss_e/pip-19.0.3-py2.py3-none-any.whl/pip/_internal/commands/completion.py",
 line 6, in 
  File "", line 259, in load_module
  File 
"/tmp/tmpwhk_ss_e/pip-19.0.3-py2.py3-none-any.whl/pip/_internal/cli/base_command.py",
 line 25, in 
  File "", line 259, in load_module
  File 
"/tmp/tmpwhk_ss_e/pip-19.0.3-py2.py3-none-any.whl/pip/_internal/index.py", line 
14, in 
  File "", line 259, in load_module
  File 
"/tmp/tmpwhk_ss_e/pip-19.0.3-py2.py3-none-any.whl/pip/_vendor/html5lib/__init__.py",
 line 25, in 
  File "", line 259, in load_module
  File 
"/tmp/tmpwhk_ss_e/pip-19.0.3-py2.py3-none-any.whl/pip/_vendor/html5lib/html5parser.py",
 line 8, in 
  File "", line 259, in load_module
  File 
"/tmp/tmpwhk_ss_e/pip-19.0.3-py2.py3-none-any.whl/pip/_vendor/html5lib/_tokenizer.py",
 line 16, in 
  File "", line 259, in load_module
  File 
"/tmp/tmpwhk_ss_e/pip-19.0.3-py2.py3-none-any.whl/pip/_vendor/html5lib/_trie/__init__.py",
 line 3, in 
  File "", line 259, in load_module
  File 
"/tmp/tmpwhk_ss_e/pip-19.0.3-py2.py3-none-any.whl/pip/_vendor/html5lib/_trie/py.py",
 line 6, in 
  File "", line 259, in load_module
  File 
"/tmp/tmpwhk_ss_e/pip-19.0.3-py2.py3-none-any.whl/pip/_vendor/html5lib/_trie/_base.py",
 line 3, in 
ImportError: cannot import name 'Mapping' from 'collections' 
(/home/vstinner/prog/python/master/Lib/collections/__init__.py)

--

___
Python tracker 

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



[issue37324] collections: remove deprecated aliases to ABC classes

2019-06-17 Thread STINNER Victor


Change by STINNER Victor :


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

___
Python tracker 

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



[issue37321] IDLE: Make Subprocess Connection Errors consistent.

2019-06-17 Thread Terry J. Reedy


Change by Terry J. Reedy :


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

___
Python tracker 

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



[issue37324] collections: remove deprecated aliases to ABC classes

2019-06-17 Thread STINNER Victor


New submission from STINNER Victor :

Extract of collections documentation:
https://docs.python.org/dev/library/collections.html

"Deprecated since version 3.3, will be removed in version 3.9: Moved 
Collections Abstract Base Classes to the collections.abc module. For backwards 
compatibility, they continue to be visible in this module through Python 3.8."

Attached PR removes these aliases.

--
components: Library (Lib)
messages: 345905
nosy: vstinner
priority: normal
severity: normal
status: open
title: collections: remove deprecated aliases to ABC classes
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



[issue37323] test_asyncio: test_debug_mode_interop() fails using -Werror

2019-06-17 Thread STINNER Victor


New submission from STINNER Victor :

vstinner@apu$ PYTHONWARNINGS=error ./python -Werror -m test -v test_asyncio -m 
test_debug_mode_interop
== CPython 3.9.0a0 (heads/master-dirty:00f6493084, Jun 17 2019, 21:50:32) [GCC 
9.1.1 20190503 (Red Hat 9.1.1-1)]
== Linux-5.1.6-300.fc30.x86_64-x86_64-with-glibc2.29 little-endian
== cwd: /home/vstinner/prog/python/master/build/test_python_23510
== CPU count: 8
== encodings: locale=UTF-8, FS=utf-8
Run tests sequentially
0:00:00 load avg: 0.73 [1/1] test_asyncio
test_debug_mode_interop (test.test_asyncio.test_tasks.CompatibilityTests) ... 
FAIL

==
FAIL: test_debug_mode_interop (test.test_asyncio.test_tasks.CompatibilityTests)
--
Traceback (most recent call last):
  File "/home/vstinner/prog/python/master/Lib/test/test_asyncio/test_tasks.py", 
line 3355, in test_debug_mode_interop
assert_python_ok("-c", code, PYTHONASYNCIODEBUG="1")
  File "/home/vstinner/prog/python/master/Lib/test/support/script_helper.py", 
line 157, in assert_python_ok
return _assert_python(True, *args, **env_vars)
  File "/home/vstinner/prog/python/master/Lib/test/support/script_helper.py", 
line 143, in _assert_python
res.fail(cmd_line)
  File "/home/vstinner/prog/python/master/Lib/test/support/script_helper.py", 
line 70, in fail
raise AssertionError("Process return code is %d\n"
AssertionError: Process return code is 1
command line: ['/home/vstinner/prog/python/master/python', '-X', 
'faulthandler', '-c', '\nimport asyncio\n\nasync def native_coro():\n
pass\n\n@asyncio.coroutine\ndef old_style_coro():\nyield from 
native_coro()\n\nasyncio.run(old_style_coro())\n']

stdout:
---

---

stderr:
---
Traceback (most recent call last):
  File "", line 8, in 
  File "/home/vstinner/prog/python/master/Lib/asyncio/coroutines.py", line 111, 
in coroutine
warnings.warn('"@coroutine" decorator is deprecated since Python 3.8, use 
"async def" instead',
DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use 
"async def" instead
---

--

Ran 1 test in 0.210s

FAILED (failures=1)
test test_asyncio failed
test_asyncio failed

== Tests result: FAILURE ==

1 test failed:
test_asyncio

Total duration: 598 ms
Tests result: FAILURE

--
components: Tests
messages: 345904
nosy: vstinner
priority: normal
severity: normal
status: open
title: test_asyncio: test_debug_mode_interop() fails using -Werror
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



[issue37322] test_ssl: test_pha_required_nocert() emits a ResourceWarning

2019-06-17 Thread STINNER Victor


New submission from STINNER Victor :

vstinner@apu$ ./python -X tracemalloc=10 -m test --fail-env-changed -v test_ssl 
-m test_pha_required_nocert
== CPython 3.9.0a0 (heads/master-dirty:00f6493084, Jun 17 2019, 21:50:32) [GCC 
9.1.1 20190503 (Red Hat 9.1.1-1)]
== Linux-5.1.6-300.fc30.x86_64-x86_64-with-glibc2.29 little-endian
== cwd: /home/vstinner/prog/python/master/build/test_python_23407
== CPU count: 8
== encodings: locale=UTF-8, FS=utf-8
Run tests sequentially
0:00:00 load avg: 0.58 [1/1] test_ssl
test_ssl: testing with 'OpenSSL 1.1.1c FIPS  28 May 2019' (1, 1, 1, 3, 15)
  under 'Linux-5.1.6-300.fc30.x86_64-x86_64-with-glibc2.29'
  HAS_SNI = True
  OP_ALL = 0x8054
  OP_NO_TLSv1_1 = 0x1000
test_pha_required_nocert (test.test_ssl.TestPostHandshakeAuth) ... Exception in 
thread Thread-2:
Traceback (most recent call last):
  File "/home/vstinner/prog/python/master/Lib/test/test_ssl.py", line 2287, in 
run
msg = self.read()
  File "/home/vstinner/prog/python/master/Lib/test/test_ssl.py", line 2264, in 
read
return self.sslconn.read()
  File "/home/vstinner/prog/python/master/Lib/ssl.py", line 1090, in read
return self._sslobj.read(len)
ssl.SSLError: [SSL: PEER_DID_NOT_RETURN_A_CERTIFICATE] peer did not return a 
certificate (_ssl.c:2540)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/vstinner/prog/python/master/Lib/threading.py", line 938, in 
_bootstrap_inner
self.run()
  File "/home/vstinner/prog/python/master/Lib/test/test_ssl.py", line 2373, in 
run
raise ssl.SSLError('tlsv13 alert certificate required')
ssl.SSLError: ('tlsv13 alert certificate required',)
/home/vstinner/prog/python/master/Lib/threading.py:938: ResourceWarning: 
unclosed 
  self.run()
Object allocated at (most recent call last):
  File "/home/vstinner/prog/python/master/Lib/threading.py", lineno 896
self._bootstrap_inner()
  File "/home/vstinner/prog/python/master/Lib/threading.py", lineno 938
self.run().
  File "/home/vstinner/prog/python/master/Lib/test/test_ssl.py", lineno 2283
if not self.wrap_conn():
  File "/home/vstinner/prog/python/master/Lib/test/test_ssl.py", lineno 2207
self.sslconn = self.server.context.wrap_socket(
  File "/home/vstinner/prog/python/master/Lib/ssl.py", lineno 489
return self.sslsocket_class._create(
  File "/home/vstinner/prog/python/master/Lib/ssl.py", lineno 992
self = cls.__new__(cls, **kwargs)
ok

--

Ran 1 test in 0.100s

OK

== Tests result: SUCCESS ==

1 test OK.

Total duration: 1 sec 430 ms
Tests result: SUCCESS


The test fails using -Werror.

--
components: Tests
messages: 345903
nosy: vstinner
priority: normal
severity: normal
status: open
title: test_ssl: test_pha_required_nocert() emits a ResourceWarning
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



[issue37039] IDLE: Improve zoomheight doc and behavior.

2019-06-17 Thread Tal Einat


Tal Einat  added the comment:

Hey, I did the implementation too! :)

I'm really happy to see this fixed in time for 3.8.

--

___
Python tracker 

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



[issue35360] Update SQLite to 3.26 in Windows and macOS installer builds

2019-06-17 Thread Steve Dower


Steve Dower  added the comment:

I just pushed sources with tag sqlite-3.28.0.0, so now anybody should be able 
to submit a CPython PR for it.

--

___
Python tracker 

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



[issue37039] IDLE: Improve zoomheight doc and behavior.

2019-06-17 Thread Terry J. Reedy


Terry J. Reedy  added the comment:

Thank you Andre for the reports and followup and Tal for the research.  I can 
start using this now.

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



[issue37039] IDLE: Improve zoomheight doc and behavior.

2019-06-17 Thread Terry J. Reedy


Terry J. Reedy  added the comment:


New changeset 4b68a8eb0df7317d6c57b021d40cc0b31e3f1cd3 by Terry Jan Reedy (Miss 
Islington (bot)) in branch '3.8':
bpo-37039: Make IDLE's Zoom Height adjust to users' screens (GH-13678) 
(GH-14168)
https://github.com/python/cpython/commit/4b68a8eb0df7317d6c57b021d40cc0b31e3f1cd3


--

___
Python tracker 

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



[issue37321] IDLE: Make Subprocess Connection Errors consistent.

2019-06-17 Thread Terry J. Reedy


New submission from Terry J. Reedy :

A Subprocess Connection Error (new consistent name) can be displayed by either 
the user or IDLE process (run and pyshell modules). The latter is much more 
common.  Only the former was updated to refer to the newish doc section.  
Update the latter also.  Otherwise, make more consistent.  (May someday combine 
into one function.)

--
assignee: terry.reedy
components: IDLE
messages: 345898
nosy: terry.reedy
priority: normal
severity: normal
stage: needs patch
status: open
title: IDLE: Make Subprocess Connection Errors consistent.
versions: 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



[issue31985] Deprecate openfp() in aifc, sunau and wave

2019-06-17 Thread STINNER Victor


STINNER Victor  added the comment:

I created bpo-37320: "aifc, sunau, wave: remove deprecated openfp() function".

--
nosy: +vstinner
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



[issue37320] aifc, sunau, wave: remove deprecated openfp() function

2019-06-17 Thread STINNER Victor


STINNER Victor  added the comment:

openfp() functions were deprecated by bpo-31985.

--

___
Python tracker 

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



[issue37320] aifc, sunau, wave: remove deprecated openfp() function

2019-06-17 Thread STINNER Victor


Change by STINNER Victor :


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

___
Python tracker 

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



[issue37039] IDLE: Improve zoomheight doc and behavior.

2019-06-17 Thread miss-islington


miss-islington  added the comment:


New changeset 0f31a2d3e85d3644de30626a00439ab3c7424105 by Miss Islington (bot) 
in branch '3.7':
bpo-37039: Make IDLE's Zoom Height adjust to users' screens (GH-13678)
https://github.com/python/cpython/commit/0f31a2d3e85d3644de30626a00439ab3c7424105


--

___
Python tracker 

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



[issue37320] aifc, sunau, wave: remove deprecated openfp() function

2019-06-17 Thread STINNER Victor


New submission from STINNER Victor :

The openfp() function of aifc, sunau, wave is an alias to the open() function 
of each module and is deprecated since Python 3.7.

Attached PR removes it.

--
components: Library (Lib)
messages: 345894
nosy: vstinner
priority: normal
severity: normal
status: open
title: aifc, sunau, wave: remove deprecated openfp() function
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



[issue34631] Upgrade to OpenSSL 1.1.1c, 1.1.0k, and/or 1.0.2s

2019-06-17 Thread Steve Dower


Steve Dower  added the comment:


New changeset c28c1358245b9fe42e9559c34eae01befce73a1f by Steve Dower (Miss 
Islington (bot)) in branch '3.8':
bpo-34631: Updated OpenSSL to 1.1.1c in Windows installer (GH-14163)
https://github.com/python/cpython/commit/c28c1358245b9fe42e9559c34eae01befce73a1f


--

___
Python tracker 

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



[issue37319] Deprecate using random.randrange() with non-integers

2019-06-17 Thread Serhiy Storchaka


New submission from Serhiy Storchaka :

Unlike other range()-like functions random.randrange() accepts not only 
integers and integer-like objects (implementing __index__), but any numbers 
with integral values, like 3.0 or Decimal(3). In 3.8 using __int__ for implicit 
converting to C integers were deprecated, and likely will be forbidden in 3.9. 
__index__ is now preferable.

I propose to deprecate accepting non-integer arguments in random.randrange() 
and use __index__ instead of __int__ for converting values. At end it will lead 
to simpler and faster code. Instead of

istart = _int(start)
if istart != start:
raise ValueError("non-integer arg 1 for randrange()")

we could use just

start = _index(start)

It will help also in converting the randrange() implementation to C.

See also issue37315.

--
components: Library (Lib)
messages: 345892
nosy: mark.dickinson, rhettinger, serhiy.storchaka
priority: normal
severity: normal
status: open
title: Deprecate using random.randrange() with non-integers
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



[issue37039] IDLE: Improve zoomheight doc and behavior.

2019-06-17 Thread miss-islington


Change by miss-islington :


--
pull_requests: +14010
pull_request: https://github.com/python/cpython/pull/14168

___
Python tracker 

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



[issue37039] IDLE: Improve zoomheight doc and behavior.

2019-06-17 Thread miss-islington


Change by miss-islington :


--
pull_requests: +14009
pull_request: https://github.com/python/cpython/pull/14167

___
Python tracker 

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



[issue37039] IDLE: Improve zoomheight doc and behavior.

2019-06-17 Thread Terry J. Reedy


Terry J. Reedy  added the comment:


New changeset 5bff3c86ab77e9d831b3cd19b45654c7eef22931 by Terry Jan Reedy (Tal 
Einat) in branch 'master':
bpo-37039: Make IDLE's Zoom Height adjust to users' screens (GH-13678)
https://github.com/python/cpython/commit/5bff3c86ab77e9d831b3cd19b45654c7eef22931


--

___
Python tracker 

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



[issue35360] Update SQLite to 3.26 in Windows and macOS installer builds

2019-06-17 Thread Big Stone


Big Stone  added the comment:

on my test cases, sqlite_bro and baresql, db.py , it works without problems.

--

___
Python tracker 

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



[issue34631] Upgrade to OpenSSL 1.1.1c, 1.1.0k, and/or 1.0.2s

2019-06-17 Thread Steve Dower


Change by Steve Dower :


--
pull_requests: +14007
pull_request: https://github.com/python/cpython/pull/14165

___
Python tracker 

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



[issue28869] __module__ attribute is not set correctly for a class created by direct metaclass call

2019-06-17 Thread Serhiy Storchaka


Change by Serhiy Storchaka :


--
pull_requests: +14008
pull_request: https://github.com/python/cpython/pull/14166

___
Python tracker 

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



[issue28869] __module__ attribute is not set correctly for a class created by direct metaclass call

2019-06-17 Thread Serhiy Storchaka


Serhiy Storchaka  added the comment:

The problem is that __module__ is deduced from the caller's frame in 
type.__new__(). In case if type.__new__() is called directly, __module__ is set 
to the name of the module where type.__new__() is called. So virtually every 
type subclass which defines the __new__ method and calls type.__new__() inside 
it starves from the same issue.

It can be fixed in general if deduce __module__ in type.__call__() instead of 
type.__new__().

--

___
Python tracker 

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



[issue37133] Erro "ffi.h: No such file" when build python 3.8 (branch master) on windows 10

2019-06-17 Thread Zachary Ware


Zachary Ware  added the comment:

I'm unable to reproduce the problem.  If you're still having issues, please 
reopen the issue with more details about what exactly you did and the error(s) 
you saw (preferably copied and pasted into a message).

--
resolution:  -> works for me
stage:  -> resolved
status: open -> closed

___
Python tracker 

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



[issue34631] Upgrade to OpenSSL 1.1.1c, 1.1.0k, and/or 1.0.2s

2019-06-17 Thread miss-islington


Change by miss-islington :


--
pull_requests: +14006
pull_request: https://github.com/python/cpython/pull/14164

___
Python tracker 

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



[issue34631] Upgrade to OpenSSL 1.1.1c, 1.1.0k, and/or 1.0.2s

2019-06-17 Thread Steve Dower


Steve Dower  added the comment:


New changeset a268edd6a411480281222b1fdb0f78053434d17f by Steve Dower in branch 
'master':
bpo-34631: Updated OpenSSL to 1.1.1c in Windows installer (GH-14163)
https://github.com/python/cpython/commit/a268edd6a411480281222b1fdb0f78053434d17f


--

___
Python tracker 

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



[issue34631] Upgrade to OpenSSL 1.1.1c, 1.1.0k, and/or 1.0.2s

2019-06-17 Thread Steve Dower


Steve Dower  added the comment:

The tests seem to pass fine for 1.1.1c against master, so I'll merge that and 
see if the backport is also okay.

--

___
Python tracker 

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



[issue37299] RuntimeWarning is NOT raised

2019-06-17 Thread Andrew Svetlov


Andrew Svetlov  added the comment:

> If a RuntimeWarning is warranted when a temporary variable is used, it's 
> warranted when the value is used directly, without a temporary variable.

No, it's not. If "1/0" is present in never executed code block Python don't 
raise an exception too. Warnings are not exceptional.

open() raises ResoucesWarning for an unclosed file only if the code is actually 
running.

If the code branch is not executed the Python runtime doesn't throw 
errors/warnings about its usage.


I'm sorry, mypy doesn't detect this. Potentially could maybe, though.

--

___
Python tracker 

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



[issue34556] Add --upgrade to venv module

2019-06-17 Thread Łukasz Langa

Łukasz Langa  added the comment:


New changeset 4acdbf11b1fae1af24c47413a6caa593010d1b6f by Łukasz Langa (Cooper 
Lees) in branch 'master':
bpo-34556: Add --upgrade-deps to venv module (#13100)
https://github.com/python/cpython/commit/4acdbf11b1fae1af24c47413a6caa593010d1b6f


--
nosy: +lukasz.langa

___
Python tracker 

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



[issue34875] Change .js mime to "text/javascript"

2019-06-17 Thread Myles Borins


Myles Borins  added the comment:

Hey All,

I'd like to reopen this. We are almost done with the IETF standardization of 
.mjs, and part of this process is making obsolete application/javascript in 
favor of text/javascript.

--> https://datatracker.ietf.org/doc/draft-ietf-dispatch-javascript-mjs/

--
resolution: rejected -> 
status: closed -> open

___
Python tracker 

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



[issue30052] URL Quoting page links to function Bytes instead of defintion

2019-06-17 Thread wim glenn


wim glenn  added the comment:

This anchor works, by the way: 
 https://docs.python.org/3/library/functions.html#func-bytes

Hopefully someone more fluent in the docs syntax can figure out a way to fix 
the anchor-link hovers

--

___
Python tracker 

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



[issue30052] URL Quoting page links to function Bytes instead of defintion

2019-06-17 Thread wim glenn


wim glenn  added the comment:

https://docs.python.org/3/library/functions.html

Usually the little paragraph icon appears when you hover over a function name, 
giving an anchor link. It's not doing it for bytes or bytearray. 

Was that an unintended consequence of disambiguation from the stdtypes html?

--
nosy: +wim.glenn

___
Python tracker 

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



[issue37299] RuntimeWarning is NOT raised

2019-06-17 Thread YoSTEALTH


YoSTEALTH  added the comment:

As far as i can tell "static analyzers" like flake8 and "type hints" like mypy 
does not detect this problem

--

___
Python tracker 

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



[issue33529] [security] Infinite loop on folding email (_fold_as_ew()) if an header has no spaces

2019-06-17 Thread Karthikeyan Singaravelan


Change by Karthikeyan Singaravelan :


--
nosy: +maxking

___
Python tracker 

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



[issue33529] [security] Infinite loop on folding email (_fold_as_ew()) if an header has no spaces

2019-06-17 Thread STINNER Victor


STINNER Victor  added the comment:

Python 2.7 doesn't have email.policy module.

For Python 2.7, I wrote this code:
---
import email.header
import email.message

msg = email.message.Message()
msg.set_charset("UTF-8")
msg['Subject'] = email.header.Header(u'\u0105' * 12, maxlinelen=20, 
charset="UTF-8")
print(msg.as_string())
---

I get this output:
---
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Subject: =?utf-8?b?xIU=?=
 =?utf-8?b?xIU=?=
 =?utf-8?b?xIU=?=
 =?utf-8?b?xIU=?=
 =?utf-8?b?xIU=?=
 =?utf-8?b?xIU=?=
 =?utf-8?b?xIU=?=
 =?utf-8?b?xIU=?=
 =?utf-8?b?xIU=?=
 =?utf-8?b?xIU=?=
 =?utf-8?b?xIU=?=
 =?utf-8?b?xIU=?=


---

I have no idea if this example says that Python 2.7 is vulnerable or not. I get 
a different output on the master branch:
---
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Subject: =?utf-8?b?xIXEhcSFxIXEhcSFxIXEhcSFxIXEhcSF?=


---

But I don't know if I use the email API properly. "Subject: 
=?utf-8?b?xIXEhcSFxIXEhcSFxIXEhcSFxIXEhcSF?=" is longer than 20 characters.

--

___
Python tracker 

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



[issue33529] [security] Infinite loop on folding email (_fold_as_ew()) if an header has no spaces

2019-06-17 Thread STINNER Victor


STINNER Victor  added the comment:

Python 3.5 is not vulnerable, it doesn't hang on the following code:

import email.policy
policy = email.policy.default.clone(max_line_length=20)
actual = policy.fold('Subject', '\u0105' * 12)

--

___
Python tracker 

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



[issue37111] Logging - Inconsistent behaviour when handling unicode

2019-06-17 Thread Vinay Sajip


Change by Vinay Sajip :


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



[issue37111] Logging - Inconsistent behaviour when handling unicode

2019-06-17 Thread Vinay Sajip

Vinay Sajip  added the comment:


New changeset ca7b504a4d4c3a5fde1ee4607b9501c2bab6e743 by Vinay Sajip in branch 
'master':
bpo-37111: Add 'encoding' and 'errors' parameters to logging.basicCon… 
(GH-14008)
https://github.com/python/cpython/commit/ca7b504a4d4c3a5fde1ee4607b9501c2bab6e743


--

___
Python tracker 

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



[issue37295] Possible optimizations for math.comb()

2019-06-17 Thread Raymond Hettinger


Raymond Hettinger  added the comment:

FWIW, here's a rough implementation of (3).  It is limited to a specific range 
to avoid excess memory usage.  For comb(50_000, 25_000), it gives a three-fold 
speedup:

if (k_long > 20 && k_long > n_long / 3 && n_long <= 10) {
PyObject *den = math_factorial(module, k); /* den = k! 
*/
temp = PyNumber_Subtract(n, k);
Py_SETREF(temp, math_factorial(module, temp));
Py_SETREF(den, PyNumber_Multiply(den, temp));  /* den *= (n 
- k)! */
Py_DECREF(temp);
Py_SETREF(result, math_factorial(module, n));  /* result = 
n! */
Py_SETREF(result, PyNumber_FloorDivide(result, den));  /* result 
//= (n-k)! */
Py_DECREF(den);
return result;
}

> Can the suggested performance improvements go into 3.8, or should they wait 
> for 3.9?
> It's not clear to me whether a performance improvement after feature freeze 
> is okay or not.

Historically, we've used the beta phase for optimizations, tweaking APIs, and 
improving docs.  However, I'm in no rush and this can easily wait for 3.9.

My only concern is that the other math functions, except for factorial(), have 
bounded running times and memory usage, so performance is more of a concern for 
this function which could end-up being an unexpected bottleneck or being a 
vector for a DOS attack.  That said, we haven't had any negative reports 
regarding factorial(), so this may be a low priority.

--

___
Python tracker 

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



[issue34631] Upgrade to OpenSSL 1.1.1c, 1.1.0k, and/or 1.0.2s

2019-06-17 Thread Steve Dower


Change by Steve Dower :


--
pull_requests: +14005
pull_request: https://github.com/python/cpython/pull/14163

___
Python tracker 

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



[issue34631] Upgrade to OpenSSL 1.1.1c, 1.1.0k, and/or 1.0.2s

2019-06-17 Thread Steve Dower


Steve Dower  added the comment:


New changeset d8e3a8af775d683c606f3618d04f2be4e97ac3c0 by Steve Dower in branch 
'2.7':
bpo-34631: Updated OpenSSL to 1.0.2s in Windows installer (GH-14161)
https://github.com/python/cpython/commit/d8e3a8af775d683c606f3618d04f2be4e97ac3c0


--

___
Python tracker 

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



  1   2   3   >