[issue36789] Unicode HOWTO incorrectly states that UTF-8 contains no zero bytes

2019-05-04 Thread Serhiy Storchaka


Serhiy Storchaka  added the comment:

I agree that the documentation should be updated. Do you mind to create a pull 
request mbiggs?

There are UTF-8 variants which guarantee that the encoded text has no zero 
bytes (see Modified UTF-8), but Python only provides the standard UTF-8 and 
UTF-8 with BOM.

--
keywords: +easy
nosy: +serhiy.storchaka
stage:  -> needs patch
versions:  -Python 3.5, Python 3.6

___
Python tracker 

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



[issue28269] [MinGW] Can't compile Python/dynload_win.c due to static strcasecmp

2019-05-04 Thread Minmin Gong


Change by Minmin Gong :


--
pull_requests: +13009
stage:  -> patch review

___
Python tracker 

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



[issue36189] DOC: Correct word in tutorial introduction

2019-05-04 Thread Cheryl Sabella


Cheryl Sabella  added the comment:


New changeset 2b5ffc02c00b16ede6555391c6965746c8fe554b by Cheryl Sabella (Miss 
Islington (bot)) in branch '3.7':
bpo-36189: Fixing typo in tutorial introduction (GH-13093)
https://github.com/python/cpython/commit/2b5ffc02c00b16ede6555391c6965746c8fe554b


--

___
Python tracker 

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



[issue36166] DOC: Fix markup on function parameter on datamodel.rst

2019-05-04 Thread Cheryl Sabella


Cheryl Sabella  added the comment:


New changeset 37125ff6e2f988a14b46525b7df24d2997bee836 by Cheryl Sabella (Miss 
Islington (bot)) in branch '3.7':
bpo-36166: Change to rst datamodel file. (GH-13089) (#13094)
https://github.com/python/cpython/commit/37125ff6e2f988a14b46525b7df24d2997bee836


--

___
Python tracker 

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



[issue36798] := breaks f-strings

2019-05-04 Thread Barry A. Warsaw


Change by Barry A. Warsaw :


--
nosy: +barry

___
Python tracker 

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



[issue36189] DOC: Correct word in tutorial introduction

2019-05-04 Thread miss-islington


Change by miss-islington :


--
pull_requests: +13007

___
Python tracker 

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



[issue36166] DOC: Fix markup on function parameter on datamodel.rst

2019-05-04 Thread miss-islington


Change by miss-islington :


--
pull_requests: +13008

___
Python tracker 

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



[issue36684] codecov.io code coverage has not updated since 2019-04-13

2019-05-04 Thread Gordon P. Hemsley


Gordon P. Hemsley  added the comment:

Testing has shown that the gcc build itself runs fine. The problem appears to 
be with how the coverage tests are run.

--

___
Python tracker 

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



[issue36798] := breaks f-strings

2019-05-04 Thread Karthikeyan Singaravelan


Change by Karthikeyan Singaravelan :


--
nosy: +emilyemorehouse

___
Python tracker 

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



[issue36789] Unicode HOWTO incorrectly states that UTF-8 contains no zero bytes

2019-05-04 Thread mbiggs


mbiggs  added the comment:

So a correct statement would be "A UTF-8 string is turned into a sequence of 
bytes that contains embedded zero bytes only where they represent the NULL 
character (U+)."

I think it's important to correct this because the part about processing UTF-8 
with C functions like strcpy(), was wrong and could cause bugs.

--

___
Python tracker 

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



[issue36798] := breaks f-strings

2019-05-04 Thread Eric V. Smith


New submission from Eric V. Smith :

The walrus operator breaks f-strings, because the f-string scanner sees the 
colon as the end of the expression.

>>> x = '10'
>>> f'{x:=10}'
Traceback (most recent call last):
  File "", line 1, in 
ValueError: '=' alignment not allowed in string format specifier

This becomes: format(x, '=10'), which is an error if x is a string.

--
assignee: eric.smith
components: Interpreter Core
messages: 341413
nosy: eric.smith, larry, lukasz.langa
priority: release blocker
severity: normal
status: open
title: := breaks f-strings
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



[issue36797] Cull more oudated distutils information

2019-05-04 Thread Nick Coghlan


Change by Nick Coghlan :


--
keywords: +patch
pull_requests: +13006
stage: needs patch -> patch review

___
Python tracker 

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



[issue36797] Cull more oudated distutils information

2019-05-04 Thread Paul Ganssle


Change by Paul Ganssle :


--
nosy: +p-ganssle

___
Python tracker 

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



[issue36189] DOC: Correct word in tutorial introduction

2019-05-04 Thread Cheryl Sabella


Change by Cheryl Sabella :


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



[issue27432] Unittest truncating of error message not works

2019-05-04 Thread Roundup Robot


Change by Roundup Robot :


--
keywords: +patch
pull_requests: +13005
stage: needs patch -> patch review

___
Python tracker 

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



[issue36166] DOC: Fix markup on function parameter on datamodel.rst

2019-05-04 Thread Cheryl Sabella


Change by Cheryl Sabella :


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



[issue36189] DOC: Correct word in tutorial introduction

2019-05-04 Thread Cheryl Sabella


Cheryl Sabella  added the comment:


New changeset 98a1e06c47f655c7601b130cf8d549de9f08369e by Cheryl Sabella 
(Jonatan) in branch 'master':
bpo-36189: Fixing typo in tutorial introduction (GH-13090)
https://github.com/python/cpython/commit/98a1e06c47f655c7601b130cf8d549de9f08369e


--

___
Python tracker 

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



[issue36166] DOC: Fix markup on function parameter on datamodel.rst

2019-05-04 Thread Cheryl Sabella


Cheryl Sabella  added the comment:


New changeset 5e98f05e55d13981c7c92fb14b9c013e4227c3c1 by Cheryl Sabella 
(Catherine Alvarado) in branch 'master':
bpo-36166: Change to rst datamodel file. (GH-13089)
https://github.com/python/cpython/commit/5e98f05e55d13981c7c92fb14b9c013e4227c3c1


--

___
Python tracker 

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



[issue34616] implement "Async exec"

2019-05-04 Thread Yury Selivanov


Yury Selivanov  added the comment:

Here's a VERY rough first implementation to play with: 
https://github.com/1st1/cpython/commit/ad2ed0aed922d7c36f2fced64264124613e37f09

--

___
Python tracker 

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



[issue36189] DOC: Correct word in tutorial introduction

2019-05-04 Thread Jonatan Yucra Rodriguez


Change by Jonatan Yucra Rodriguez :


--
keywords: +patch
pull_requests: +13004
stage: needs patch -> patch review

___
Python tracker 

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



[issue36166] DOC: Fix markup on function parameter on datamodel.rst

2019-05-04 Thread Catherine Alvarado


Change by Catherine Alvarado :


--
keywords: +patch
pull_requests: +13003
stage: needs patch -> patch review

___
Python tracker 

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



[issue36782] Add tests for the datetime C API

2019-05-04 Thread Edison Abahurire


Edison Abahurire  added the comment:

I have done PyDate_FromDate in GH-13088

--

___
Python tracker 

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



[issue36782] Add tests for the datetime C API

2019-05-04 Thread Roundup Robot


Change by Roundup Robot :


--
keywords: +patch
pull_requests: +13002
stage:  -> patch review

___
Python tracker 

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



[issue36797] Cull more oudated distutils information

2019-05-04 Thread Nick Coghlan


New submission from Nick Coghlan :

Prompted by #33071, I'm going to do a pass through the legacy distutils 
documentation deleting outdated information that is better maintained elsewhere.

--
assignee: ncoghlan
messages: 341407
nosy: jaraco, ncoghlan
priority: normal
severity: normal
stage: needs patch
status: open
title: Cull more oudated distutils information
type: enhancement

___
Python tracker 

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



[issue36189] DOC: Correct word in tutorial introduction

2019-05-04 Thread Jonatan Yucra Rodriguez


Jonatan Yucra Rodriguez  added the comment:

I would like to take this issue.

--
nosy: +jonyucra

___
Python tracker 

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



[issue36166] DOC: Fix markup on function parameter on datamodel.rst

2019-05-04 Thread Catherine Alvarado


Catherine Alvarado  added the comment:

I'm going to work on this one.

--
nosy: +calvarado

___
Python tracker 

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



[issue27432] Unittest truncating of error message not works

2019-05-04 Thread Julia


Julia  added the comment:

Working on it at the moment (Mentored Sprint)

--
nosy: +jiliuk

___
Python tracker 

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



[issue33071] Document that PyPI no longer requires 'register'

2019-05-04 Thread Kojo Idrissa


Change by Kojo Idrissa :


--
keywords: +patch
pull_requests: +13001
stage:  -> patch review

___
Python tracker 

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



[issue32592] Drop support of Windows Vista in Python 3.8

2019-05-04 Thread Terry J. Reedy


Change by Terry J. Reedy :


--
title: Drop support of Windows Vista in Python 3.7 -> Drop support of Windows 
Vista in Python 3.8

___
Python tracker 

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



[issue11001] Various obvious errors in cookies documentation

2019-05-04 Thread Gregory P. Smith


Change by Gregory P. Smith :


--
versions: +Python 3.7, Python 3.8 -Python 3.2, Python 3.3

___
Python tracker 

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



[issue11001] Various obvious errors in cookies documentation

2019-05-04 Thread Roundup Robot


Change by Roundup Robot :


--
pull_requests: +13000

___
Python tracker 

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



[issue11001] Various obvious errors in cookies documentation

2019-05-04 Thread Julia


Julia  added the comment:

Working on it at the moment

--
nosy: +jiliuk

___
Python tracker 

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



[issue33071] Document that PyPI no longer requires 'register'

2019-05-04 Thread Kojo Idrissa


Kojo Idrissa  added the comment:

I'm working on this (@kojoidrissa)

--
nosy: +kojoidrissa

___
Python tracker 

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



[issue36778] test_site.StartupImportTests.test_startup_imports fails if default code page is not cp1252

2019-05-04 Thread Eryk Sun


Eryk Sun  added the comment:

> I think it is better to just make the check in the test conditional.

Okay. The test verifies work done to minimize interpreter startup time, but 
probably the relative cost of importing functools (and thus collections et al) 
isn't significant compared to the overall cost of spawning a process in a 
Windows desktop environment. That may not be the case for Nano Server and IoT 
Core.

--

___
Python tracker 

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



[issue36782] Add tests for the datetime C API

2019-05-04 Thread anthony shaw


Change by anthony shaw :


--
nosy: +edison.abahurire

___
Python tracker 

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



[issue36782] Add tests for the datetime C API

2019-05-04 Thread anthony shaw


anthony shaw  added the comment:

Reserving this issue (in mentored sprint)

--
nosy: +anthony shaw

___
Python tracker 

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



[issue36796] Error handling cleanup in _testcapimodule.c

2019-05-04 Thread Zackery Spytz


Change by Zackery Spytz :


--
keywords: +patch
pull_requests: +12999
stage:  -> patch review

___
Python tracker 

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



[issue36796] Error handling cleanup in _testcapimodule.c

2019-05-04 Thread Zackery Spytz


New submission from Zackery Spytz :

Many functions in _testcapimodule.c lack error handling. This can cause 
spurious errors when stress testing the interpreter.

--
components: Extension Modules
messages: 341399
nosy: ZackerySpytz
priority: normal
severity: normal
status: open
title: Error handling cleanup in _testcapimodule.c
versions: Python 2.7, 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



[issue36795] "make venv" failed in Docs

2019-05-04 Thread Karthikeyan Singaravelan

Karthikeyan Singaravelan  added the comment:

Could it be a problem with pip and it's vendored html5lib version 
incompatibility? There is one bug report in pip repo about Anaconda patching 
pip that seems to cause this error : https://github.com/pypa/pip/issues/4902 .

Can you please share the pip and python version to see if I can reproduce this? 
Is the pip being used part of the one at 3.6 release?

./venv/bin/pip --version

I am using Python 3.6.4 from homebrew. I can reproduce this is by manually 
editing ./venv/lib/python3.6/site-packages/pip/_vendor/html5lib/_inputstream.py 
and removing transport_encoding from HTMLBinaryInputStream's constructor. 

./venv/lib/python3.6/site-packages/pip/_vendor/html5lib/__init__.py contains 
the version number of html5lib. Mine is 1.0b10. 

Sample error I got similar to the report : 

➜  Doc git:(master) ✗ ./venv/bin/pip install sphinx
Collecting sphinx
Exception:
Traceback (most recent call last):
  File 
"/Users/karthikeyansingaravelan/stuff/python/cpython/Doc/venv/lib/python3.6/site-packages/pip/basecommand.py",
 line 215, in main
status = self.run(options, args)
  File 
"/Users/karthikeyansingaravelan/stuff/python/cpython/Doc/venv/lib/python3.6/site-packages/pip/commands/install.py",
 line 324, in run
requirement_set.prepare_files(finder)
  File 
"/Users/karthikeyansingaravelan/stuff/python/cpython/Doc/venv/lib/python3.6/site-packages/pip/req/req_set.py",
 line 380, in prepare_files
ignore_dependencies=self.ignore_dependencies))
  File 
"/Users/karthikeyansingaravelan/stuff/python/cpython/Doc/venv/lib/python3.6/site-packages/pip/req/req_set.py",
 line 554, in _prepare_file
require_hashes
  File 
"/Users/karthikeyansingaravelan/stuff/python/cpython/Doc/venv/lib/python3.6/site-packages/pip/req/req_install.py",
 line 278, in populate_link
self.link = finder.find_requirement(self, upgrade)
  File 
"/Users/karthikeyansingaravelan/stuff/python/cpython/Doc/venv/lib/python3.6/site-packages/pip/index.py",
 line 465, in find_requirement
all_candidates = self.find_all_candidates(req.name)
  File 
"/Users/karthikeyansingaravelan/stuff/python/cpython/Doc/venv/lib/python3.6/site-packages/pip/index.py",
 line 423, in find_all_candidates
for page in self._get_pages(url_locations, project_name):
  File 
"/Users/karthikeyansingaravelan/stuff/python/cpython/Doc/venv/lib/python3.6/site-packages/pip/index.py",
 line 568, in _get_pages
page = self._get_page(location)
  File 
"/Users/karthikeyansingaravelan/stuff/python/cpython/Doc/venv/lib/python3.6/site-packages/pip/index.py",
 line 683, in _get_page
return HTMLPage.get_page(link, session=self.session)
  File 
"/Users/karthikeyansingaravelan/stuff/python/cpython/Doc/venv/lib/python3.6/site-packages/pip/index.py",
 line 811, in get_page
inst = cls(resp.content, resp.url, resp.headers)
  File 
"/Users/karthikeyansingaravelan/stuff/python/cpython/Doc/venv/lib/python3.6/site-packages/pip/index.py",
 line 731, in __init__
namespaceHTMLElements=False,
  File 
"/Users/karthikeyansingaravelan/stuff/python/cpython/Doc/venv/lib/python3.6/site-packages/pip/_vendor/html5lib/html5parser.py",
 line 35, in parse
return p.parse(doc, **kwargs)
  File 
"/Users/karthikeyansingaravelan/stuff/python/cpython/Doc/venv/lib/python3.6/site-packages/pip/_vendor/html5lib/html5parser.py",
 line 235, in parse
self._parse(stream, False, None, *args, **kwargs)
  File 
"/Users/karthikeyansingaravelan/stuff/python/cpython/Doc/venv/lib/python3.6/site-packages/pip/_vendor/html5lib/html5parser.py",
 line 85, in _parse
self.tokenizer = _tokenizer.HTMLTokenizer(stream, parser=self, **kwargs)
  File 
"/Users/karthikeyansingaravelan/stuff/python/cpython/Doc/venv/lib/python3.6/site-packages/pip/_vendor/html5lib/_tokenizer.py",
 line 36, in __init__
self.stream = HTMLInputStream(stream, **kwargs)
  File 
"/Users/karthikeyansingaravelan/stuff/python/cpython/Doc/venv/lib/python3.6/site-packages/pip/_vendor/html5lib/_inputstream.py",
 line 151, in HTMLInputStream
return HTMLBinaryInputStream(source, **kwargs)
TypeError: __init__() got an unexpected keyword argument 'transport_encoding'
You are using pip version 9.0.1, however version 19.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.

--
nosy: +xtreak

___
Python tracker 

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



[issue6911] Document changes in asynchat

2019-05-04 Thread Sanyam Khurana


Sanyam Khurana  added the comment:

Given that Python 2.x and async chat is deprecated in favor of new async io, 
we're better in closing this issue, rather than trying to apply this cleanly on 
the master branch.

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

___
Python tracker 

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



[issue34616] implement "Async exec"

2019-05-04 Thread Andrew Svetlov


Andrew Svetlov  added the comment:

Sorry, I don't know all the compilation workflow details to help you quickly 
(and will be very busy on other tasks during the sprint).

Yuri will be absent on sprints.

--

___
Python tracker 

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



[issue36795] "make venv" failed in Docs

2019-05-04 Thread Ned Deily


Change by Ned Deily :


--
nosy: +mdk

___
Python tracker 

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



[issue34861] Improve cProfile standard output

2019-05-04 Thread Roundup Robot


Change by Roundup Robot :


--
pull_requests: +12998

___
Python tracker 

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



[issue36795] "make venv" failed in Docs

2019-05-04 Thread Antoine Pitrou


New submission from Antoine Pitrou :

$ make venv
python3 -m venv ./venv
./venv/bin/python3 -m pip install -U Sphinx blurb python-docs-theme
/home/antoine/cpython/default/Doc/venv/share/python-wheels/requests-2.18.4-py2.py3-none-any.whl/requests/__init__.py:80:
 RequestsDependencyWarning: urllib3 (1.22) or chardet (2.3.0) doesn't match a 
supported version!
Collecting Sphinx
  Cache entry deserialization failed, entry ignored
Exception:
Traceback (most recent call last):
  File 
"/home/antoine/cpython/default/Doc/venv/lib/python3.6/site-packages/pip/basecommand.py",
 line 215, in main
status = self.run(options, args)
  File 
"/home/antoine/cpython/default/Doc/venv/lib/python3.6/site-packages/pip/commands/install.py",
 line 353, in run
wb.build(autobuilding=True)
  File 
"/home/antoine/cpython/default/Doc/venv/lib/python3.6/site-packages/pip/wheel.py",
 line 749, in build
self.requirement_set.prepare_files(self.finder)
  File 
"/home/antoine/cpython/default/Doc/venv/lib/python3.6/site-packages/pip/req/req_set.py",
 line 380, in prepare_files
ignore_dependencies=self.ignore_dependencies))
  File 
"/home/antoine/cpython/default/Doc/venv/lib/python3.6/site-packages/pip/req/req_set.py",
 line 554, in _prepare_file
require_hashes
  File 
"/home/antoine/cpython/default/Doc/venv/lib/python3.6/site-packages/pip/req/req_install.py",
 line 278, in populate_link
self.link = finder.find_requirement(self, upgrade)
  File 
"/home/antoine/cpython/default/Doc/venv/lib/python3.6/site-packages/pip/index.py",
 line 465, in find_requirement
all_candidates = self.find_all_candidates(req.name)
  File 
"/home/antoine/cpython/default/Doc/venv/lib/python3.6/site-packages/pip/index.py",
 line 423, in find_all_candidates
for page in self._get_pages(url_locations, project_name):
  File 
"/home/antoine/cpython/default/Doc/venv/lib/python3.6/site-packages/pip/index.py",
 line 568, in _get_pages
page = self._get_page(location)
  File 
"/home/antoine/cpython/default/Doc/venv/lib/python3.6/site-packages/pip/index.py",
 line 683, in _get_page
return HTMLPage.get_page(link, session=self.session)
  File 
"/home/antoine/cpython/default/Doc/venv/lib/python3.6/site-packages/pip/index.py",
 line 811, in get_page
inst = cls(resp.content, resp.url, resp.headers)
  File 
"/home/antoine/cpython/default/Doc/venv/lib/python3.6/site-packages/pip/index.py",
 line 731, in __init__
namespaceHTMLElements=False,
TypeError: parse() got an unexpected keyword argument 'transport_encoding'
Makefile:126: recipe for target 'venv' failed
make: *** [venv] Error 2

--
assignee: docs@python
components: Documentation
messages: 341395
nosy: brett.cannon, docs@python, ned.deily, pitrou
priority: critical
severity: normal
stage: needs patch
status: open
title: "make venv" failed in Docs
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



[issue36794] asyncio.Lock documentation in Py3.8 lacks parts presented in documentation in Py3.6

2019-05-04 Thread Roundup Robot


Change by Roundup Robot :


--
keywords: +patch
pull_requests: +12997
stage:  -> patch review

___
Python tracker 

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



[issue36794] asyncio.Lock documentation in Py3.8 lacks parts presented in documentation in Py3.6

2019-05-04 Thread Hrvoje Nikšić

Hrvoje Nikšić  added the comment:

Also, the docstring of asyncio.Lock still states:

When more than one coroutine is blocked in acquire() waiting for
the state to turn to unlocked, only one coroutine proceeds when a
release() call resets the state to unlocked; first coroutine which
is blocked in acquire() is being processed.

--
nosy: +hniksic

___
Python tracker 

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



[issue32592] Drop support of Windows Vista in Python 3.7

2019-05-04 Thread Zackery Spytz


Zackery Spytz  added the comment:

See also #29075.

--
nosy: +ZackerySpytz

___
Python tracker 

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



[issue36772] Let lru_cache be used as a decorator with no arguments

2019-05-04 Thread Eric Snow


Eric Snow  added the comment:

As to the issue of positional vs. keyword arguments, keyword arguments make the 
implementation easier in some cases.  Otherwise I haven't seen positional 
arguments cause much of a problem.

--

___
Python tracker 

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



[issue36772] Let lru_cache be used as a decorator with no arguments

2019-05-04 Thread Eric Snow


Eric Snow  added the comment:

FWIW, I've followed this pattern (one function is both decorator and factory) 
in my own code for quite a while.  I've never found it confusing nor has anyone 
else (that I'm aware) that has used those decorators.

One reason I've done decorators this way is because the empty parentheses are a 
visual distraction to readers.  They also imply to readers that more is going 
on than really is.  So I'm in favor of Raymond's plan.

--

___
Python tracker 

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



[issue36475] PyEval_AcquireLock() and PyEval_AcquireThread() do not handle runtime finalization properly.

2019-05-04 Thread STINNER Victor


STINNER Victor  added the comment:


New changeset c664b342a47e4b4650706d07e3e40a295e3a4407 by Victor Stinner in 
branch 'master':
bpo-36475: Make PyThread_exit_thread with _Py_NO_RETURN (GH-13068)
https://github.com/python/cpython/commit/c664b342a47e4b4650706d07e3e40a295e3a4407


--

___
Python tracker 

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



[issue34848] range.index only takes one argument when it's documented as taking the usual 3

2019-05-04 Thread STINNER Victor


STINNER Victor  added the comment:

I merged the pull requests. Thanks.

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



[issue34616] implement "Async exec"

2019-05-04 Thread Matthias Bussonnier


Matthias Bussonnier  added the comment:

> Did I miss something?

No I think for the async stuff that should be a big improvement already. 
Either a flag, or different "MODE", like 'single','exec' and 'eval'.

I'l love for something like 'exec' but where not only we can have multiple 
statement, but where the last statement behave like single and "expression 
statements that evaluate to something other than None will be printed".

The other thing would be for this mode to not turn the the fist statement into 
a module docstring in the AST if it is a string.

I know that most of these are slightly orthogonal but do have backward 
compatibility consequences.

I'll try to be at PyCon "Mentored Sprints" this afternoon, I'll be ha[[y to be 
mentored into contributing this to CPython. 

I'm also happy to discuss writing this in a pep.

--

___
Python tracker 

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



[issue34038] urllib2.urlopen fails if http_proxy(s) is set to a sock5 proxy

2019-05-04 Thread Daniel Wallace


Daniel Wallace  added the comment:

I think this is caused by the fact that socks5 proxies are not supported?

$ cat ~/issue34038.py
from urllib.request import urlopen, HTTPError

url = 'http://icanhazip.com'
u = urlopen(url)

$./python.exe ~/issue34038.py
Traceback (most recent call last):
  File "/Users/dwallace/issue34038.py", line 4, in 
u = urlopen(url)
  File "/Users/dwallace/workspace/cpython/Lib/urllib/request.py", line 222, in 
urlopen
return opener.open(url, data, timeout)
  File "/Users/dwallace/workspace/cpython/Lib/urllib/request.py", line 524, in 
open
response = self._open(req, data)
  File "/Users/dwallace/workspace/cpython/Lib/urllib/request.py", line 541, in 
_open
result = self._call_chain(self.handle_open, protocol, protocol +
  File "/Users/dwallace/workspace/cpython/Lib/urllib/request.py", line 502, in 
_call_chain
result = func(*args)
  File "/Users/dwallace/workspace/cpython/Lib/urllib/request.py", line 804, in 

meth(r, proxy, type))
  File "/Users/dwallace/workspace/cpython/Lib/urllib/request.py", line 832, in 
proxy_open
return self.parent.open(req, timeout=req.timeout)
  File "/Users/dwallace/workspace/cpython/Lib/urllib/request.py", line 524, in 
open
response = self._open(req, data)
  File "/Users/dwallace/workspace/cpython/Lib/urllib/request.py", line 546, in 
_open
return self._call_chain(self.handle_open, 'unknown',
  File "/Users/dwallace/workspace/cpython/Lib/urllib/request.py", line 502, in 
_call_chain
result = func(*args)
  File "/Users/dwallace/workspace/cpython/Lib/urllib/request.py", line 1386, in 
unknown_open
raise URLError('unknown url type: %s' % type)
urllib.error.URLError: 

Though the error message could be better.

You can work around this by setting the default socket.

import urllib.request
import socket
import socks

url = 'http://icanhazip.com'
socks.set_default_proxy(socks.SOCKS5, "localhost",port=)
socket.socket = socks.socksocket
print(urllib.request.urlopen(url).read())

--
nosy: +Daniel Wallace

___
Python tracker 

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



[issue26978] Implement pathlib.Path.link (Using os.link)

2019-05-04 Thread Antoine Pitrou


Change by Antoine Pitrou :


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



[issue26978] Implement pathlib.Path.link (Using os.link)

2019-05-04 Thread Antoine Pitrou


Antoine Pitrou  added the comment:


New changeset 6b5b013bcc22a27d6231c2796882e44ddb42be67 by Antoine Pitrou 
(Joannah Nanjekye) in branch 'master':
bpo-26978: Implement pathlib.Path.link_to (Using os.link) (GH-12990)
https://github.com/python/cpython/commit/6b5b013bcc22a27d6231c2796882e44ddb42be67


--

___
Python tracker 

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



[issue36794] asyncio.Lock documentation in Py3.8 lacks parts presented in documentation in Py3.6

2019-05-04 Thread Mikhail Gerasimov


New submission from Mikhail Gerasimov :

Compare:
https://docs.python.org/3.6/library/asyncio-sync.html#asyncio.Lock
https://docs.python.org/3.8/library/asyncio-sync.html#asyncio.Lock

First version is much more detailed.
It allows to avoid confusions like one with unlocking order:
https://stackoverflow.com/q/55951233/1113207

--
assignee: docs@python
components: Documentation, asyncio
messages: 341385
nosy: asvetlov, docs@python, germn, yselivanov
priority: normal
severity: normal
status: open
title: asyncio.Lock documentation in Py3.8 lacks parts presented in 
documentation in Py3.6
type: enhancement
versions: Python 3.8

___
Python tracker 

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



[issue36791] sum() relies on C signed overflow behaviour

2019-05-04 Thread Serhiy Storchaka


Serhiy Storchaka  added the comment:

I tested few cases (all positive, all negative, mixed), and did not found any 
performance difference after this change.

./python -m perf timeit -s "a = list(range(10**4))" -- "sum(a)"
./python -m perf timeit -s "a = [-i for i in range(10**4)]" -- "sum(a)"
./python -m perf timeit -s "a = [i*(-1)**i for i in range(10**4)]" -- "sum(a)"

--

___
Python tracker 

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



[issue36778] test_site.StartupImportTests.test_startup_imports fails if default code page is not cp1252

2019-05-04 Thread Serhiy Storchaka


Serhiy Storchaka  added the comment:

I think it is better to just make the check in the test conditional. It already 
contains some macOs specific conditions.

--
nosy: +serhiy.storchaka

___
Python tracker 

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



[issue36792] zipfile.writestr causes a Python crash on Windows if the locale is set

2019-05-04 Thread Serhiy Storchaka


Change by Serhiy Storchaka :


--
nosy: +vstinner

___
Python tracker 

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



[issue36793] Do not set tp_str

2019-05-04 Thread Serhiy Storchaka


Change by Serhiy Storchaka :


--
keywords: +patch
pull_requests: +12996
stage:  -> patch review

___
Python tracker 

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



[issue36793] Do not define unneeded __str__ equal to __repr__

2019-05-04 Thread Serhiy Storchaka


Change by Serhiy Storchaka :


--
title: Do not set tp_str -> Do not define unneeded __str__ equal to __repr__

___
Python tracker 

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



[issue34155] email.utils.parseaddr mistakenly parse an email

2019-05-04 Thread jpic


jpic  added the comment:

At is allowed in the local part if quoted, the proposed patch acts within
get_domain() and getdomain() and does not affect local part parsing. This
still works:

>>> parseaddr('"fo@bar"@bar.com')
('', '"fo@bar"@bar.com')

>>> email.message_from_string('From: "a@b"@ex.com
',policy=email.policy.default)['from'].addresses
(Address(display_name='', username='a@b', domain='ex.com'),)

I'm not against raising an exception in parseaddr, but you should know that
currently nothing in parseaddr seems to raise an exception:

jpic@ci:~/cpython$ grep raise Lib/email/_parseaddr.py
jpic@ci:~/cpython$

For example:

>>> parseaddr('aoeu')
('', 'aoeu')
>>> parseaddr('a@')
('', 'a@')

None of the above calls raised an exception. That is the reason why I did
not introduce a new Exception in the getdomain() change: I thought it would
be more consistent with the rest of the API as such.

As for the new API, the patch does raise a parse error:

 # this detect that the next caracter right after the parsed domain is
another @
if value and value[0] == '@':
  raise errors.HeaderParseError('Multiple domains')

But that's in the lower level API that is planned for going public later on
(probably when it will have unit tests), it's just the higher level API
that the user faces that swallows it. As a user you can still know about
that parse problem using the defects attribute:

>>> email.message_from_string('From: a...@malicious.org@example.com',
policy=email.policy.default)['from'].defects[0]
InvalidHeaderDefect('invalid address in address-list')

--

___
Python tracker 

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



[issue36793] Do not set tp_str

2019-05-04 Thread Serhiy Storchaka


New submission from Serhiy Storchaka :

object.__str__() calls the __repr__() method. Therefore by default you do not 
need to define the __str__() method if it is the same as __repr__(): just 
define the __repr__() method. But there are few builtin classes which define 
both __repr__() and __str__() methods which are equal. In most cases this is a 
legacy of Python 2 where they where different.

1. float and complex. In earlier Python 2 versions the repr of floating point 
number was longer (and more precise) that the str which was limited for 
readability. This was changed several times and in Python 3 the repr and the 
str are equal and contain as much digits as needed for the closest decimal 
approximation.

2. int. In Python 2 the repr of long integer was different from the str: it 
contained the "L" suffix.

3. bool. Since it is an int subclass with different repr, it needs to define 
__str__ to override int's __str__.

4. subprocess.Handle and sre_constants._NamedIntConstant. As bool they need to 
override int's __str__.

5. doctest.DocTestCase, doctest.DocFileCase. They need to override 
unittest.TestCase's __str__.

6. http.client.IncompleteRead, xmlrpc.client.Error. They need to override 
BaseException's __str__ (don't know why they want to do this).

7. asyncore.dispatcher, email.charset.Charset, logging.LogRecord, 
xmlrpc.client.MultiCall, xmlrpc.client.ServerProxy, decimal.Context (C 
implementation only), _pydecimal._WorkRep.  There is no need to define __str__.

In most of these cases the __str__ definition is redundant and can be removed. 
In cases 5 and 6 it is better to reset __str__ to object.__str__.

The only failing tests in the Python testsuite is the json module test. The 
json module calls int.__str__ explicitly. It can be fixed by replacing it with 
int.__repr__.

The user visible effect of these changes is that defining __repr__ in a 
subclass of these classes will affect the str() result (as for most of other 
classes). Although it is unlikely that you want to keep the str representation 
of the parent class when change the repr in the child class.

--
components: Interpreter Core
messages: 341382
nosy: serhiy.storchaka
priority: normal
severity: normal
status: open
title: Do not set tp_str
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



[issue36792] zipfile.writestr causes a Python crash on Windows if the locale is set

2019-05-04 Thread Charlie Clark


New submission from Charlie Clark :

Based on a bug report 
(https://bitbucket.org/openpyxl/openpyxl/issues/1266/locale) from a user of the 
openpyxl library I've identified a bug in the zipfile module that causes the 
Python process to crash on Windows. Currently tested with Python 3.7.3 (32-bit 
on Windows 10).

Sample code

import faulthandler
import locale
from zipfile import ZipFile

faulthandler.enable()

locale.setlocale(locale.LC_ALL, 'de_DE')
out = open("out.zip", "wb") 
archive = ZipFile(out, "w")
archive.writestr("properties.xml", b"")

faulthandler fingers line 1757 as the culprit but running this line locally 
does not cause the crash. The issue seems to be limited to Windows.

--
components: Interpreter Core, Windows
messages: 341380
nosy: CharlieClark, paul.moore, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: zipfile.writestr causes a Python crash on Windows if the locale is set
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



[issue36774] f-strings: Add a !d conversion for ease of debugging

2019-05-04 Thread Eric V. Smith


Eric V. Smith  added the comment:

And for those who *really* want to be able to apply a format spec to the result 
of the entire !d expression, you can always use nested f-strings:

>>> for x in [3.1415, 0.5772156649, 100]:
...   print(f'{f"{x!d:.1f}":*^20}')
... 
***x=3.1
***x=0.6
**x=100.0***

Not that I recommend this, but at least it's possible.

--

___
Python tracker 

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



[issue36774] f-strings: Add a !d conversion for ease of debugging

2019-05-04 Thread Eric V. Smith


Eric V. Smith  added the comment:

Serhiy's point about how special this is is very valid. It's so special that I 
can't figure out where to document it. f-strings are really only documented in 
Doc/reference/lexical_analysis.rst, and !d details, especially the format/repr 
distinction, seems like too much information for that document. But I could be 
wrong about that.

And since this feature can't be used in str.format(), it can't be documented in 
Doc/library/string.rst. In fact, it should contain a note about !d not applying.

Rather than make the documentation worse, I think I'll just open a separate 
issue for it when I commit this. Maybe someone else will have some ideas.

--

___
Python tracker 

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



[issue36778] test_site.StartupImportTests.test_startup_imports fails if default code page is not cp1252

2019-05-04 Thread Eryk Sun


Eryk Sun  added the comment:

> cp65001 is *not* utf-8: Microsoft decided to handle surrogates 
> differently for some reasons.

Do you mean valid UTF-16 surrogate pairs? For example:

>>> codecs.code_page_encode(65001, '\ud800\udc00')
(b'\xf0\x90\x80\x80', 2)

PyUnicode_AsUnicodeAndSize is neutral about storing surrogate codes in a 16-bit 
wchar_t string. In particular, the Python string in this case contains two 
surrogate codes, but they're passed to WideCharToMultiByte as a UTF-16 
surrogate pair for the single character U+1.

Anyway, it seems to me this issue will be resolved if cp65001.py is rewritten 
without functools.partial.

--
nosy: +eryksun

___
Python tracker 

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



[issue36656] Allow os.symlink(src, target, force=True) to prevent race conditions

2019-05-04 Thread Serhiy Storchaka


Serhiy Storchaka  added the comment:

So what? Detected problem is better than non-detected problem. If and 
unexpected exception causes troubles in your code, it is up to you what to do 
with it: silence it, terminate an application, try to recreate a symlink in 
other place, etc. In any case this will not solve bigger problem that you have: 
attacker is able to change your symlinks.

--

___
Python tracker 

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



[issue36784] __import__ with empty folder after importlib.invalidate_caches causes reference leak

2019-05-04 Thread Karthikeyan Singaravelan


Karthikeyan Singaravelan  added the comment:

Interesting, I used tracemalloc to see if it helps and it gave me a line in 
Lib/tempfile.py . Supplying path to support.temp_dir(path="/tmp/") causes 
random directory code was not to be hit and there was no memory leak. So I 
removed the _Random() initialization in _RandomNameSequence in Lib/tempfile.py 
and instead of self._rng.choice I used random.choice and still had the leak. 

I replaced the code to generate random letters letters = [choose(c) for dummy 
in range(8)] where choose is random.choice with c = "a" and the memory leak 
stopped. I tried below combinations at line [0] and ran test to see if the 
memory leaks. I also tried -R 10:10 just to make sure my limits are higher 
enough. Using random.shuffle on a set of characters also causes leak. I am not 
sure why a combination of importlib.invalidate_caches, support.temp_dir using 
tempfile and __import__ causes these leaks or perhaps I am debugging or using 
huntrleaks in an incorrect manner.

# No leak

letters = [choose("a") for dummy in range(8)]
letters = ["a" for dummy in range(8)]
letters = [choose(self.characters[0]) for dummy in range(8)]

# Memory leak

letters = [choose("ab") for dummy in range(8)]
letters = [choose(self.characters[:]) for dummy in range(8)]
letters = [choose(list(self.characters)) for dummy in range(8)]

# Below also leaks

characters = list("abcde")  # list("abcd") doesn't leak
self.rng.shuffle(characters)
letters = characters[:8]


from unittest import TestCase
import tracemalloc
import sys
import os
from test import support

def test_importlib_cache_tempdir():

import importlib
importlib.invalidate_caches()

with support.temp_dir() as path:   # with support.temp_dir(path="/tmp") as 
path: (no leak)
dirname = os.path.dirname(path)
basename = os.path.basename(path)
os.mkdir(os.path.join(path, 'test2'))

with support.DirsOnSysPath(dirname):
__import__(f"{basename}.test2".format(basename=basename))


class Tests(TestCase):

def test_bug(self):
tracemalloc.start()

for _ in range(10):
test_importlib_cache_tempdir()

snapshot = tracemalloc.take_snapshot()
top_stats = snapshot.statistics('traceback')

print("[ Top 10 ]")
for stat in top_stats[:10]:
for line in stat.traceback.format():
print(line)


$ ./python.exe -m test -R 3:3 test_import_bug_tempdir
Run tests sequentially
0:00:00 load avg: 2.55 [1/1] test_import_bug_tempdir
beginning 6 repetitions
123456
[ Top 10 ]
  File "", line 1486
  File "", line 1461
  File "", line 1469
  File "", line 683
  File "", line 509
  File "", line 1378
  File "", line 344
  File "", line 36
  File "/Users/karthikeyansingaravelan/stuff/python/cpython/Lib/tempfile.py", 
line 136
self._rng = _Random()
  File "", line 1342
.[ Top 10 ]
  File "", line 1486
  File "", line 1461
  File "", line 1469
  File "", line 683
  File "", line 509
  File "", line 344
  File "", line 36
  File "", line 64
  File "", line 1342
  File "", line 1378
.[ Top 10 ]
  File "", line 1486
  File "", line 1461
  File "", line 1469
  File "", line 683
  File "", line 509
  File "", line 344
  File "", line 36
  File "", line 64
  File "", line 1342
  File "", line 1132
.[ Top 10 ]
  File "", line 1486
  File "", line 1461
  File "", line 1469
  File "", line 509
  File "", line 683
  File "", line 344
  File "", line 36
  File "", line 64
  File "", line 1342
  File "", line 1132
.[ Top 10 ]
  File "", line 1486
  File "", line 1461
  File "", line 1469
  File "", line 509
  File "", line 683
  File "", line 344
  File "", line 36
  File "", line 64
  File "", line 1342
  File "", line 1132
.[ Top 10 ]
  File "", line 1486
  File "", line 1461
  File "", line 1469
  File "", line 509
  File "", line 683
  File "", line 344
  File "", line 36
  File "", line 64
  File "", line 1342
  File "", line 1132
.
test_import_bug_tempdir leaked [980, 980, 980] references, sum=2940
test_import_bug_tempdir leaked [370, 370, 370] memory blocks, sum=1110
test_import_bug_tempdir failed

== Tests result: FAILURE ==

1 test failed:
test_import_bug_tempdir

Total duration: 3 sec 254 ms
Tests result: FAILURE

--

___
Python tracker 

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