[issue32299] unittest.mock.patch.dict.__enter__ should return the dict

2018-01-23 Thread Berker Peksag

Change by Berker Peksag :


--
nosy: +michael.foord, rbcollins
versions:  -Python 3.6, Python 3.8

___
Python tracker 

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



[issue32612] pathlib.(Pure)WindowsPaths can compare equal but refer to different files

2018-01-23 Thread benrg

benrg  added the comment:

I don't know whether this clarifies it at all, but if x and y are Path objects, 
and x == y, I would expect also x.exists() == y.exists(), and x.read_bytes() == 
y.read_bytes(), and so on, unless there is a race condition. I think all 
programmers expect that if x == y, then they refer to the same file. This is 
not true currently.

--

___
Python tracker 

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



[issue32612] pathlib.(Pure)WindowsPaths can compare equal but refer to different files

2018-01-23 Thread Steve Dower

Steve Dower  added the comment:

(FWIW, I don't think your "security" argument is going to be very convincing, 
as this problem has been around for far too long to be treated as suddenly 
urgent. But up to you.)

My fear is that if PureWindowsPath stops handling the >90% of cases it 
currently does (by making "Path"!="path"), then we'll see developers implement 
their own workarounds, most likely by replacing:

my_set.add(p)

with:

my_dict[str(p).lower()] = p

This doesn't improve anything, and actually regresses it as I pointed out, so 
removing case folding cannot be the answer.

That leaves finding a better way to obtain hashes and comparisons for 
PureWindowsPath instances (note that all the functionality that appears to be 
at issue is inherited by WindowsPath, so there's presumably nothing to fix 
there). My initial guess would be that some combination of locale and flags to 
LcMapStringEx will give us a better sort key than .lower(), though I don't know 
what that combination is. The $UpCase file is not accessible directly, so that 
isn't any help.

I have heard that .upper() is considered to be "more accurate" for NTFS than 
.lower(), but have no confirmation. Calling stat is not an option for 
PureWindowsPath, so I'm running out of ideas on how to improve it.

Perhaps the best answer is to add a note to the docs warning about this and 
suggesting not using pathlib if you are concerned? And document the stat() 
method, or maybe offer some way to integrate with filecmp?

--

___
Python tracker 

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



[issue32630] Migrate decimal to use PEP 567 context variables

2018-01-23 Thread Stefan Krah

Stefan Krah  added the comment:

I'll take a look.

--
assignee:  -> skrah

___
Python tracker 

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



[issue32612] pathlib.(Pure)WindowsPaths can compare equal but refer to different files

2018-01-23 Thread Steve Dower

Steve Dower  added the comment:

> I think all programmers expect that if x == y, then they refer to the same 
> file. This is not true currently.

Perhaps, but you could equally say that they expect that if x != y then they 
refer to different files, which is also not true. So do we optimise for the 
false positive or the false negative? It really depends on what operation you 
are doing, and so it has to be left in the hands of the developer.

Currently, we have a cheap comparison that minimises both without preventing 
either. The only option for PureWindowsPath is to prevent false positives (== 
always means same file), at the cost of causing so many false negatives that I 
suspect most developers would simply roll their own equality comparison. That's 
not the status quo, and especially for a behaviour that has been shipping for a 
few years without significant problems, changing the status quo that 
dramatically requires a more compelling case than has been presented so far.

If there are ways we can reduce the false positives without increasing the 
false negatives, then let's do it. But pragmatically, we should balance both, 
and leave the "perfect" comparisons to other methods.

--

___
Python tracker 

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



[issue32634] Message parsing fails where it has incompele headers

2018-01-23 Thread Maxim Barabanov

New submission from Maxim Barabanov :

If email message dont have a content-transfer-encoding or content-type header, 
function write in generator.py crashes

--
components: email
messages: 310485
nosy: barry, r.david.murray, reb00ter
priority: normal
severity: normal
status: open
title: Message parsing fails where it has incompele headers
type: crash
versions: Python 3.4, 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



[issue32612] pathlib.(Pure)WindowsPaths can compare equal but refer to different files

2018-01-23 Thread Steve Dower

Steve Dower  added the comment:

Just tested something that I'd assumed and it turned out I was wrong:

>>> p1 = PureWindowsPath(r"C:\a\b\..\c")
>>> p2 = PureWindowsPath(r"C:\a\c")
>>> p1 == p2
False
>>> p1, p2
(PureWindowsPath('C:/a/b/../c'), PureWindowsPath('C:/a/c'))

So PureWindowsPath already doesn't collapse '..' elements (as they could change 
meaning in the presence of symlinks), so that's a point against the "what if 
everyone started doing str(p1).lower() == str(p2).lower() instead" argument.

--

___
Python tracker 

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



[issue32634] Message parsing fails where it has incompele headers

2018-01-23 Thread Maxim Barabanov

Change by Maxim Barabanov :


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

___
Python tracker 

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



[issue3264] Use -lcrypto instead of -lcrypt on Solaris 2.6 when available

2018-01-23 Thread Maxim Barabanov

Change by Maxim Barabanov :


--
pull_requests: +5126

___
Python tracker 

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



[issue32391] Add StreamWriter.wait_closed()

2018-01-23 Thread Andrew Svetlov

Change by Andrew Svetlov :


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

___
Python tracker 

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



[issue32633] Warnings from test_asyncio.test_tasks.SetMethodsTest

2018-01-23 Thread Andrew Svetlov

Change by Andrew Svetlov :


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



[issue32633] Warnings from test_asyncio.test_tasks.SetMethodsTest

2018-01-23 Thread Andrew Svetlov

Andrew Svetlov  added the comment:


New changeset 6934831e43d66222a626403dd775429d1c8963f3 by Andrew Svetlov 
(Nathaniel J. Smith) in branch 'master':
bpo-32633: Fix some warnings in test_asyncio.test_tasks (#5280)
https://github.com/python/cpython/commit/6934831e43d66222a626403dd775429d1c8963f3


--

___
Python tracker 

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



[issue32620] [3.5] Travis CI fails on Python 3.5 with "pyenv: version `3.5' not installed"

2018-01-23 Thread Larry Hastings

Larry Hastings  added the comment:


New changeset 4a4c2743133e195cc3725b78a895d85d69e50089 by larryhastings (Nick 
Coghlan) in branch '3.5':
[3.5] bpo-32620: Remove failing pyenv call from CI config (#5274)
https://github.com/python/cpython/commit/4a4c2743133e195cc3725b78a895d85d69e50089


--
nosy: +larry

___
Python tracker 

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



[issue32632] Mock does not create deepcopy of mutable args

2018-01-23 Thread Michael Foord

Michael Foord  added the comment:

There are several disadvantages to doing deepcopy:

* identity checks now fail
* deep copying is slow
* deep copying doesn't work on arbitrary objects

So deep copying by default isn't a good idea. This particular case is mentioned 
in the docs, with an example of a deep-copying mock if you need one.

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



[issue32299] unittest.mock.patch.dict.__enter__ should return the dict

2018-01-23 Thread Michael Foord

Michael Foord  added the comment:

This seems like a reasonable feature request.

--

___
Python tracker 

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



[issue32635] test_crypt segfaults when using libxcrypt instead of libcrypt

2018-01-23 Thread Charalampos Stratakis

New submission from Charalampos Stratakis :

Currently in Fedora glibc stopped providing libcrypt[0] a change which is 
slowly being upstreamed as well[1] in favor of the libxcrypt project[2].

This causes a segfault when importing the crypt module as python assumes that 
crypt.h is always available.

Providing a working patch from the libxcrypt maintainer. I'll convert the patch 
into a PR.

[0] https://fedoraproject.org/wiki/Changes/Replace_glibc_libcrypt_with_libxcrypt
[1] https://sourceware.org/ml/libc-alpha/2017-08/msg01257.html
[2] https://github.com/besser82/libxcrypt

--
files: 00290-cryptmodule-Include-crypt.h-for-declaration-of-crypt.patch
keywords: patch
messages: 310490
nosy: cstratak
priority: normal
severity: normal
status: open
title: test_crypt segfaults when using libxcrypt instead of libcrypt
Added file: 
https://bugs.python.org/file47402/00290-cryptmodule-Include-crypt.h-for-declaration-of-crypt.patch

___
Python tracker 

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



[issue32563] -Werror=declaration-after-statement expat build failure on Python 3.5

2018-01-23 Thread Larry Hastings

Larry Hastings  added the comment:


New changeset 57fa0ab8911a70d91e5b60b8dc91f1085442a9e7 by larryhastings (Nick 
Coghlan) in branch '3.5':
[3.5] bpo-32563: Get expat to compile under C89 (#5201)
https://github.com/python/cpython/commit/57fa0ab8911a70d91e5b60b8dc91f1085442a9e7


--

___
Python tracker 

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



[issue32635] test_crypt segfaults when using libxcrypt instead of libcrypt

2018-01-23 Thread Charalampos Stratakis

Change by Charalampos Stratakis :


--
versions: +Python 3.6, 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



[issue32635] test_crypt segfaults when using libxcrypt instead of libcrypt

2018-01-23 Thread Charalampos Stratakis

Change by Charalampos Stratakis :


--
components: +Extension Modules

___
Python tracker 

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



[issue32634] Message parsing fails where it has incompele headers

2018-01-23 Thread Martin Panter

Martin Panter  added the comment:

Looks like a dupe of Issue 27321

--
nosy: +martin.panter
resolution:  -> duplicate
superseder:  -> Email parser creates a message object that can't be flattened

___
Python tracker 

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



[issue32633] Warnings from test_asyncio.test_tasks.SetMethodsTest

2018-01-23 Thread STINNER Victor

STINNER Victor  added the comment:

FYI "x86 Gentoo Refleaks 3.x" buildbot failed with:

http://buildbot.python.org/all/#builders/1/builds/109
---
/buildbot/buildarea/3.x.ware-gentoo-x86.refleak/build/Lib/test/libregrtest/refleak.py:248:
 RuntimeWarning: coroutine 
'SetMethodsTest.test_set_exception_causes_invalid_state..foo' was never 
awaited
  gc.collect()
/buildbot/buildarea/3.x.ware-gentoo-x86.refleak/build/Lib/test/libregrtest/refleak.py:248:
 RuntimeWarning: coroutine 
'SetMethodsTest.test_set_result_causes_invalid_state..foo' was never 
awaited
  gc.collect()
.
test_asyncio leaked [2, 2, 1] memory blocks, sum=5
1 test failed again:
test_asyncio
---

This build ran before the commit 6934831e43d66222a626403dd775429d1c8963f3. So I 
understand that the bug was already fixed: thanks!

--
nosy: +vstinner

___
Python tracker 

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



[issue29319] Embedded 3.6.0 distribution cannot run pyz files

2018-01-23 Thread Larry Hastings

Larry Hastings  added the comment:


New changeset 891c91d8d38848377a9f475242507510873eb9c3 by larryhastings (Nick 
Coghlan) in branch '3.5':
[3.5] bpo-32551: Consistently configure sys.path[0] (#5197)
https://github.com/python/cpython/commit/891c91d8d38848377a9f475242507510873eb9c3


--
nosy: +larry

___
Python tracker 

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



[issue32551] Zipfile & directory execution in 3.5.4 also adds the parent directory to sys.path

2018-01-23 Thread Larry Hastings

Larry Hastings  added the comment:


New changeset 891c91d8d38848377a9f475242507510873eb9c3 by larryhastings (Nick 
Coghlan) in branch '3.5':
[3.5] bpo-32551: Consistently configure sys.path[0] (#5197)
https://github.com/python/cpython/commit/891c91d8d38848377a9f475242507510873eb9c3


--

___
Python tracker 

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



[issue32593] Drop support of FreeBSD 9 and older in Python 3.7

2018-01-23 Thread STINNER Victor

Change by STINNER Victor :


--
pull_requests: +5128

___
Python tracker 

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



[issue32072] Issues with binary plists

2018-01-23 Thread Larry Hastings

Larry Hastings  added the comment:


New changeset 43f014d3f12468edf61046f0612edc7660042fd5 by larryhastings (Serhiy 
Storchaka) in branch '3.5':
[3.5] bpo-32072: Fix issues with binary plists. (GH-4455) (#4656)
https://github.com/python/cpython/commit/43f014d3f12468edf61046f0612edc7660042fd5


--

___
Python tracker 

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



[issue32636] test_asyncio fails with PYTHONASYNCIODEBUG=1

2018-01-23 Thread STINNER Victor

STINNER Victor  added the comment:

I used this change to skip the test which hangs, (1):

diff --git a/Lib/test/test_asyncio/test_tasks.py 
b/Lib/test/test_asyncio/test_tasks.py
index 1c361c8ec1..cf01df7061 100644
--- a/Lib/test/test_asyncio/test_tasks.py
+++ b/Lib/test/test_asyncio/test_tasks.py
@@ -991,7 +991,7 @@ class BaseTaskTests:
 loop.advance_time(10)
 loop.run_until_complete(asyncio.wait([a, b], loop=loop))
 
-def test_wait_with_exception(self):
+def Xtest_wait_with_exception(self):
 
 def gen():
 when = yield

--

___
Python tracker 

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



[issue32636] test_asyncio fails with PYTHONASYNCIODEBUG=1

2018-01-23 Thread STINNER Victor

New submission from STINNER Victor :

(1) 
test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_wait_with_exception()
 hangs:

vstinner@apu$ PYTHONASYNCIODEBUG=1 ./python -m test test_asyncio -m 
test_wait_with_exception -v
== CPython 3.7.0a4+ (heads/freebsd_configure:27218edef7, Jan 23 2018, 11:52:08) 
[GCC 7.2.1 20170915 (Red Hat 7.2.1-2)]
== Linux-4.14.13-300.fc27.x86_64-x86_64-with-fedora-27-Twenty_Seven 
little-endian
== cwd: /home/vstinner/prog/python/master/build/test_python_24675
== CPU count: 8
== encodings: locale=UTF-8, FS=utf-8
Run tests sequentially
0:00:00 load avg: 1.37 [1/1] test_asyncio
test_wait_with_exception 
(test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests) ... 
/home/vstinner/prog/python/master/Lib/test/test_asyncio/test_tasks.py:1009: 
RuntimeWarning: coroutine 'sleep' was never awaited
Coroutine created at (most recent call last)
  File "/home/vstinner/prog/python/master/Lib/unittest/case.py", line 615, in 
run
testMethod()
  File "/home/vstinner/prog/python/master/Lib/test/test_asyncio/test_tasks.py", 
line 1021, in test_wait_with_exception
loop.run_until_complete(self.new_task(loop, foo()))
  File "/home/vstinner/prog/python/master/Lib/asyncio/base_events.py", line 
423, in run_until_complete
self.run_forever()
  File "/home/vstinner/prog/python/master/Lib/asyncio/base_events.py", line 
391, in run_forever
self._run_once()
  File "/home/vstinner/prog/python/master/Lib/test/test_asyncio/utils.py", line 
454, in _run_once
super()._run_once()
  File "/home/vstinner/prog/python/master/Lib/asyncio/base_events.py", line 
1521, in _run_once
handle._run()
  File "/home/vstinner/prog/python/master/Lib/asyncio/events.py", line 88, in 
_run
self._context.run(self._callback, *self._args)
  File "/home/vstinner/prog/python/master/Lib/test/test_asyncio/test_tasks.py", 
line 2289, in _step
return super()._step(*args)
  File "/home/vstinner/prog/python/master/Lib/asyncio/coroutines.py", line 61, 
in send
return self.gen.send(value)
  File "/home/vstinner/prog/python/master/Lib/test/test_asyncio/test_tasks.py", 
line 1009, in sleeper
yield from asyncio.sleep(0.15, loop=loop)
  yield from asyncio.sleep(0.15, loop=loop)


(2) 43 failures and 55 errors:

ERROR: test_context_manager (test.test_asyncio.test_locks.ConditionTests)
ERROR: test_context_manager (test.test_asyncio.test_locks.LockTests)
ERROR: test_context_manager_cant_reuse (test.test_asyncio.test_locks.LockTests)
ERROR: test_lock (test.test_asyncio.test_locks.LockTests)
ERROR: test_lock_by_with_statement (test.test_asyncio.test_locks.LockTests)
ERROR: test_repr (test.test_asyncio.test_locks.LockTests)
ERROR: test_context_manager (test.test_asyncio.test_locks.SemaphoreTests)
ERROR: test_semaphore (test.test_asyncio.test_locks.SemaphoreTests)
ERROR: test_as_completed 
(test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests)
ERROR: test_as_completed_duplicate_coroutines 
(test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests)
ERROR: test_sleep (test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests)
ERROR: test_task_cancel_sleeping_task 
(test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests)
ERROR: test_tb_logger_not_called_after_cancel 
(test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests)
ERROR: test_as_completed 
(test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests)
ERROR: test_as_completed_duplicate_coroutines 
(test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests)
ERROR: test_sleep (test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests)
ERROR: test_task_cancel_sleeping_task 
(test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests)
ERROR: test_tb_logger_not_called_after_cancel 
(test.test_asyncio.test_tasks.CTask_CFuture_SubclassTests)
ERROR: test_as_completed (test.test_asyncio.test_tasks.CTask_CFuture_Tests)
ERROR: test_as_completed_duplicate_coroutines 
(test.test_asyncio.test_tasks.CTask_CFuture_Tests)
ERROR: test_sleep (test.test_asyncio.test_tasks.CTask_CFuture_Tests)
ERROR: test_task_cancel_sleeping_task 
(test.test_asyncio.test_tasks.CTask_CFuture_Tests)
ERROR: test_tb_logger_not_called_after_cancel 
(test.test_asyncio.test_tasks.CTask_CFuture_Tests)
ERROR: test_foobar (test.test_asyncio.test_tasks.CTask_Future_Tests)
ERROR: test_as_completed (test.test_asyncio.test_tasks.CTask_PyFuture_Tests)
ERROR: test_as_completed_duplicate_coroutines 
(test.test_asyncio.test_tasks.CTask_PyFuture_Tests)
ERROR: test_sleep (test.test_asyncio.test_tasks.CTask_PyFuture_Tests)
ERROR: test_task_cancel_sleeping_task 
(test.test_asyncio.test_tasks.CTask_PyFuture_Tests)
ERROR: test_tb_logger_not_called_after_cancel 
(test.test_asyncio.test_tasks.CTask_PyFuture_Tests)
ERROR: test_await_old_style_coro 
(test.test_asyncio.test_tasks.CompatibilityTests)
ERROR: test_yield_from_awaitable 
(test.test_asyncio.test_tasks.CompatibilityTests)
ERROR: test_as_completed 
(test.test_asyncio.test_tasks.PyTask_CFutureSubclass_Tests)
ERROR: test_as_completed_duplicate_coroutin

[issue20361] -W command line options and PYTHONWARNINGS environmental variable should not override -b / -bb command line options

2018-01-23 Thread STINNER Victor

Change by STINNER Victor :


--
pull_requests: +5129

___
Python tracker 

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



[issue20361] -W command line options and PYTHONWARNINGS environmental variable should not override -b / -bb command line options

2018-01-23 Thread STINNER Victor

Change by STINNER Victor :


--
versions: +Python 3.7 -Python 3.5

___
Python tracker 

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



[issue32593] Drop support of FreeBSD 9 and older in Python 3.7

2018-01-23 Thread STINNER Victor

STINNER Victor  added the comment:


New changeset 872f841b122160987845db8fdddfaee1aaa203f1 by Victor Stinner in 
branch 'master':
bpo-32593: Run autoconf (#5282)
https://github.com/python/cpython/commit/872f841b122160987845db8fdddfaee1aaa203f1


--

___
Python tracker 

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



[issue32635] test_crypt segfaults when using libxcrypt instead of libcrypt

2018-01-23 Thread Charalampos Stratakis

Change by Charalampos Stratakis :


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

___
Python tracker 

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



[issue20361] -W command line options and PYTHONWARNINGS environmental variable should not override -b / -bb command line options

2018-01-23 Thread STINNER Victor

STINNER Victor  added the comment:


New changeset dc6b9462c00873c8404a7966b7ca210717718af5 by Victor Stinner in 
branch 'master':
bpo-20361: Remove workaround for a now fixed bug (#5283)
https://github.com/python/cpython/commit/dc6b9462c00873c8404a7966b7ca210717718af5


--

___
Python tracker 

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



[issue32635] test_crypt segfaults when using libxcrypt instead of libcrypt

2018-01-23 Thread STINNER Victor

Change by STINNER Victor :


--
nosy: +vstinner

___
Python tracker 

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



[issue32493] UUID Module - FreeBSD build failure

2018-01-23 Thread David CARLIER

David CARLIER  added the comment:

In OpenBSD it s even "worse", the version for each call is random (not a 
surprise when looking at the source). The question is, do we go back to support 
only AIX or do we accept somehow wrong version ?

--

___
Python tracker 

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



[issue32618] fix test_codeccallbacks.test_mutatingdecodehandler

2018-01-23 Thread Xiang Zhang

Xiang Zhang  added the comment:


New changeset 370d04d1dcca50a52d59f40aff4d11434f71df6b by Xiang Zhang in branch 
'master':
bpo-32618: Fix test_mutatingdecodehandler not testing test.mutating (#5269)
https://github.com/python/cpython/commit/370d04d1dcca50a52d59f40aff4d11434f71df6b


--

___
Python tracker 

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



[issue32618] fix test_codeccallbacks.test_mutatingdecodehandler

2018-01-23 Thread Roundup Robot

Change by Roundup Robot :


--
pull_requests: +5131

___
Python tracker 

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



[issue32635] test_crypt segfaults when using libxcrypt instead of libcrypt

2018-01-23 Thread STINNER Victor

STINNER Victor  added the comment:


New changeset e768c86ef442ef89004089a8a34ce5909ffb90f2 by Victor Stinner 
(stratakis) in branch 'master':
 bpo-32635: Fix a segfault when importing the crypt module with libxcrypt. 
(#5284)
https://github.com/python/cpython/commit/e768c86ef442ef89004089a8a34ce5909ffb90f2


--

___
Python tracker 

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



[issue32618] fix test_codeccallbacks.test_mutatingdecodehandler

2018-01-23 Thread Xiang Zhang

Xiang Zhang  added the comment:


New changeset 6abbf14a876ee1e04d1493bb27025f2f0aa56430 by Xiang Zhang (Miss 
Islington (bot)) in branch '3.6':
bpo-32618: Fix test_mutatingdecodehandler not testing test.mutating (GH-5269) 
(#5285)
https://github.com/python/cpython/commit/6abbf14a876ee1e04d1493bb27025f2f0aa56430


--

___
Python tracker 

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



[issue32618] fix test_codeccallbacks.test_mutatingdecodehandler

2018-01-23 Thread Xiang Zhang

Change by Xiang Zhang :


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



[issue32636] test_asyncio fails with PYTHONASYNCIODEBUG=1

2018-01-23 Thread Yury Selivanov

Yury Selivanov  added the comment:

Nathaniel, this is is a regression of fc2f407829d9817ddacccae6944dd0879cfaca24 
-- bpo-32591: Add native coroutine origin tracking.

Please take a look.

--
nosy: +njs

___
Python tracker 

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



[issue31930] IDLE: Pressing "Home" on Windows places cursor before ">>>"

2018-01-23 Thread Terry J. Reedy

Terry J. Reedy  added the comment:

#17060 and #18444 are similar issues for Mac.

--

___
Python tracker 

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



[issue32633] Warnings from test_asyncio.test_tasks.SetMethodsTest

2018-01-23 Thread Yury Selivanov

Yury Selivanov  added the comment:

I don't think that 6934831e43d66222a626403dd775429d1c8963f3 can address the 
leak in any way.

--

___
Python tracker 

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



[issue30491] Add a lightweight mechanism for detecting un-awaited coroutine objects

2018-01-23 Thread Yury Selivanov

Yury Selivanov  added the comment:

I'd like to see benchmarks of coroutine creation time and awaits with and 
without the proposed patch.

--

___
Python tracker 

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



[issue32633] Warnings from test_asyncio.test_tasks.SetMethodsTest

2018-01-23 Thread Yury Selivanov

Yury Selivanov  added the comment:

However I ran the whole asyncio test suite in reftracking mode on my machine 
(latest master) and it passed.  So I guess this issue is indeed closed.

--

___
Python tracker 

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



[issue32637] Android: set sys.platform and os.name to android

2018-01-23 Thread STINNER Victor

New submission from STINNER Victor :

Currently, sys.platform and os.name are equal to 'linux' on Android. While 
Android uses the Linux kernel, the operating system is not a regular Linux. The 
libc (bionic) is very different than the regular glibc, the filesystem is 
organized very differently, etc.

I propose to change sys.platform and os.name to 'android' when running on 
Android.

--
components: Library (Lib)
messages: 310511
nosy: vstinner, xdegaye
priority: normal
severity: normal
status: open
title: Android: set sys.platform and os.name to android
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



[issue32612] pathlib.(Pure)WindowsPaths can compare equal but refer to different files

2018-01-23 Thread R. David Murray

R. David Murray  added the comment:

Maybe we could at least mention the issue (and perhaps link to samefile) in the 
"General Properties" section?

--
nosy: +r.david.murray

___
Python tracker 

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



[issue32612] pathlib.(Pure)WindowsPaths can compare equal but refer to different files

2018-01-23 Thread R. David Murray

R. David Murray  added the comment:

Could WindowsPath (as opposed to PureWindowsPath) call samefile as part of the 
equality test?  (I'm not familiar enough with pathlib to know if that is a 
nonsense question.)

--

___
Python tracker 

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



[issue27321] Email parser creates a message object that can't be flattened

2018-01-23 Thread R. David Murray

R. David Murray  added the comment:

Note: I reviewed this a while ago but the review comments haven't been 
addressed.

--

___
Python tracker 

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



[issue32633] Warnings from test_asyncio.test_tasks.SetMethodsTest

2018-01-23 Thread STINNER Victor

STINNER Victor  added the comment:

> I don't think that 6934831e43d66222a626403dd775429d1c8963f3 can address the 
> leak in any way.

If a coroutine lives longer than expected, its refcount may be decreased after 
regrtest checks the total reference counter.

Anyway, it's not a big deal. If the bug comes back, trust me, I will bug you 
again :-)

--

___
Python tracker 

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



[issue32634] Message parsing fails where it has incompele headers

2018-01-23 Thread R. David Murray

R. David Murray  added the comment:

Yes, it is.

--
stage: patch review -> resolved
status: open -> closed
type: crash -> behavior

___
Python tracker 

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



[issue32637] Android: set sys.platform to android

2018-01-23 Thread STINNER Victor

STINNER Victor  added the comment:

Wait, os.name is 'posix' on Android. That's fine in fact. Only sys.platform 
should be updated.

--
title: Android: set sys.platform and os.name to android -> Android: set 
sys.platform to android

___
Python tracker 

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



[issue32636] test_asyncio fails with PYTHONASYNCIODEBUG=1

2018-01-23 Thread Nathaniel Smith

Nathaniel Smith  added the comment:

Huh, weird. I'll take a look.

--

___
Python tracker 

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



[issue11191] test_search_cpp error on AIX (with xlc)

2018-01-23 Thread Michael Felt

Michael Felt  added the comment:

Just tested the patch presented.

For Python3-3.6.4 the patch in PR-5206 works as is, however, for Python3-3.5.4 
- the patch to Lib/test/support/__init__.py does not work.

So, for Python3-3.5, Python3-3.6 and Python3-master - the test test_search_cpp 
is resolved.

As that is the "literal" question here - I am removing the patch to 
Lib/test/support/__init__.py so that the same tests fail (for different 
reasons). I'll open a new issue for these tests - so that this PR can be 
applied to all current Python3 branches (and skip the test_search_cpp test when 
the compiler is not gcc on AIX).

HTH!

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



[issue32637] Android: set sys.platform to android

2018-01-23 Thread pmpp

Change by pmpp :


--
nosy: +pmpp

___
Python tracker 

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



[issue32638] distutils test errors with AIX and xlc

2018-01-23 Thread Michael Felt

New submission from Michael Felt :

While working in issue11191 I found a fix for Python3-3.6 and later for the 
following tests, and later - but not for Python3-3.5

I suppose "we" could ignore the error on Python3-3.5 (as I then have a quick - 
simple - fix for Python3-3.6 and later.

Suggestions, rather - how important are the tests on Python3-3.5?



root@x066:[/data/prj/python/git/x066-python3-3.7]nohup ./python 
Lib/test/test_distutils.py | egrep "^(ERROR|FAIL):"
ERROR: test_run (distutils.tests.test_build_clib.BuildCLibTestCase)
ERROR: test_build_ext (distutils.tests.test_build_ext.BuildExtTestCase)
ERROR: test_get_outputs (distutils.tests.test_build_ext.BuildExtTestCase)
ERROR: test_build_ext (distutils.tests.test_build_ext.ParallelBuildExtTestCase)
ERROR: test_get_outputs 
(distutils.tests.test_build_ext.ParallelBuildExtTestCase)
ERROR: test_record_extensions (distutils.tests.test_install.InstallTestCase)

root@x066:[/data/prj/python/python3-3.6.4]nohup ./python 
../src/python3-3.6.4/Lib/test/test_distutils.py | egrep "^(ERROR|FAIL):"
ERROR: test_build_ext (distutils.tests.test_build_ext.BuildExtTestCase)
ERROR: test_get_outputs (distutils.tests.test_build_ext.BuildExtTestCase)
ERROR: test_build_ext (distutils.tests.test_build_ext.ParallelBuildExtTestCase)
ERROR: test_get_outputs 
(distutils.tests.test_build_ext.ParallelBuildExtTestCase)
ERROR: test_run (distutils.tests.test_build_clib.BuildCLibTestCase)
ERROR: test_search_cpp (distutils.tests.test_config_cmd.ConfigTestCase)
ERROR: test_record_extensions (distutils.tests.test_install.InstallTestCase)

root@x066:[/data/prj/python/python3-3.5.4]nohup ./python 
Lib/test/test_distutils.py | egrep "^(ERROR|FAIL):"
ERROR: test_record_extensions (distutils.tests.test_install.InstallTestCase)
ERROR: test_build_ext (distutils.tests.test_build_ext.BuildExtTestCase)
ERROR: test_get_outputs (distutils.tests.test_build_ext.BuildExtTestCase)
ERROR: test_build_ext (distutils.tests.test_build_ext.ParallelBuildExtTestCase)
ERROR: test_get_outputs 
(distutils.tests.test_build_ext.ParallelBuildExtTestCase)
FAIL: test_sysconfig_compiler_vars 
(distutils.tests.test_sysconfig.SysconfigTestCase)
FAIL: test_sysconfig_module (distutils.tests.test_sysconfig.SysconfigTestCase)

--
components: Distutils
messages: 310519
nosy: Michael.Felt, dstufft, eric.araujo
priority: normal
severity: normal
status: open
title: distutils test errors with AIX and xlc
type: behavior
versions: Python 3.5, Python 3.6, 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



[issue32296] Implement asyncio._get_running_loop() and get_event_loop() in C

2018-01-23 Thread Yury Selivanov

Yury Selivanov  added the comment:


New changeset 9d411c119fdd8e42209ec16be27686a843507f18 by Yury Selivanov in 
branch 'master':
bpo-32296: Make get_running_loop() another 4-5x faster (#5277)
https://github.com/python/cpython/commit/9d411c119fdd8e42209ec16be27686a843507f18


--

___
Python tracker 

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



[issue32410] Implement loop.sock_sendfile method

2018-01-23 Thread Yury Selivanov

Yury Selivanov  added the comment:

Andrew, test_cancel2 test fails 1 out of 10 times on my machine (log below).  
Could you please take a look?

Also, can you rename sendfile tests to 'test_sock_sendfile_*'?


{pydev} ~/d/p/cpython (master %) » ./python.exe -m test test_asyncio -v -m 
test_cancel2
== CPython 3.7.0a4+ (heads/master:9d411c119f, Jan 23 2018, 15:12:10) [Clang 
9.0.0 (clang-900.0.39.2)]
== Darwin-17.3.0-x86_64-i386-64bit little-endian
== cwd: /Users/yury/dev/pydev/cpython/build/test_python_65406
== CPU count: 8
== encodings: locale=UTF-8, FS=utf-8
Run tests sequentially
0:00:00 load avg: 1.80 [1/1] test_asyncio
test_cancel2 
(test.test_asyncio.test_unix_events.SelectorEventLoopUnixSockSendfileTests) ... 
ERROR

==
ERROR: test_cancel2 
(test.test_asyncio.test_unix_events.SelectorEventLoopUnixSockSendfileTests)
--
Traceback (most recent call last):
  File 
"/Users/yury/dev/pydev/cpython/Lib/test/test_asyncio/test_unix_events.py", line 
487, in cleanup
proto.transport.close()
AttributeError: 'NoneType' object has no attribute 'close'

--
Ran 1 test in 0.010s

FAILED (errors=1)
Task was destroyed but it is pending!
task:  
wait_for=()]>>
test test_asyncio failed
test_asyncio failed

--
resolution: fixed -> 
status: closed -> open

___
Python tracker 

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



[issue32436] Implement PEP 567

2018-01-23 Thread Yury Selivanov

Change by Yury Selivanov :


--
pull_requests: +5132

___
Python tracker 

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



[issue32436] Implement PEP 567

2018-01-23 Thread Yury Selivanov

Change by Yury Selivanov :


--
stage: patch review -> commit review

___
Python tracker 

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



[issue32203] [ctypes] test_struct_by_value fails on android-24-arm64

2018-01-23 Thread pmpp

Change by pmpp :


--
nosy: +pmpp

___
Python tracker 

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



[issue32202] [ctypes] all long double tests fail on android-24-x86_64

2018-01-23 Thread pmpp

Change by pmpp :


--
nosy: +pmpp

___
Python tracker 

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



[issue32639] Coverity: CID 1428443: Null pointer dereferences (NULL_RETURNS) /Python/hamt.c: 1058 in hamt_node_bitmap_without()

2018-01-23 Thread STINNER Victor

New submission from STINNER Victor :

Coverity found a bug in hamt.c:

** CID 1428443:  Null pointer dereferences  (NULL_RETURNS)
/Python/hamt.c: 1058 in hamt_node_bitmap_without()



*** CID 1428443:  Null pointer dereferences  (NULL_RETURNS)
/Python/hamt.c: 1058 in hamt_node_bitmap_without()
1052 assert(hamt_node_collision_count(
1053 (PyHamtNode_Collision*)sub_node) > 1);
1054 }
1055 #endif
1056
1057 PyHamtNode_Bitmap *clone = 
hamt_node_bitmap_clone(self);
>>> CID 1428443:  Null pointer dereferences  (NULL_RETURNS)
>>> Dereferencing a null pointer "clone".
1058 Py_SETREF(clone->b_array[val_idx],
1059   (PyObject *)sub_node);  /* borrow */
1060
1061 *new_node = (PyHamtNode *)clone;
1062 return W_NEWNODE;
1063 }

--
components: Interpreter Core
messages: 310522
nosy: vstinner, yselivanov
priority: normal
severity: normal
status: open
title: Coverity: CID 1428443:  Null pointer dereferences  (NULL_RETURNS) 
/Python/hamt.c: 1058 in hamt_node_bitmap_without()
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



[issue32637] Android: set sys.platform to android

2018-01-23 Thread STINNER Victor

Change by STINNER Victor :


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

___
Python tracker 

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



[issue32436] Implement PEP 567

2018-01-23 Thread Yury Selivanov

Yury Selivanov  added the comment:


New changeset 0bad4d63c654d93e1f32ff35026405a3987db5ca by Yury Selivanov in 
branch 'master':
bpo-32436: Fix potential NULL dereference (#5286)
https://github.com/python/cpython/commit/0bad4d63c654d93e1f32ff35026405a3987db5ca


--

___
Python tracker 

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



[issue32639] Coverity: CID 1428443: Null pointer dereferences (NULL_RETURNS) /Python/hamt.c: 1058 in hamt_node_bitmap_without()

2018-01-23 Thread Yury Selivanov

Yury Selivanov  added the comment:

Victor, it's been already fixed/tracked here: 
https://github.com/python/cpython/pull/5286

(I also receive coverity reports :)

--
resolution:  -> out of date
stage:  -> resolved
status: open -> closed
type:  -> behavior

___
Python tracker 

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



[issue32640] Python 2.7 str.join documentation is incorrect

2018-01-23 Thread Malcolm Smith

New submission from Malcolm Smith :

At some point the Python 3 documentation of str.join has been copied to Python 
2. This includes the sentence "A TypeError will be raised if there are any 
non-string values in iterable, including bytes objects." 

The second half of this sentence is wrong for Python 2. Not only is there no 
"bytes" type in Python 2, but join() in this version will happily join any 
mixture of unicode and (byte-)str objects, producing unicode output if any of 
the items (or separator) were unicode.

https://docs.python.org/2/library/stdtypes.html#str.join

--
assignee: docs@python
components: Documentation
messages: 310525
nosy: Malcolm Smith, docs@python
priority: normal
severity: normal
status: open
title: Python 2.7 str.join documentation is incorrect
type: behavior
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



[issue32639] Coverity: CID 1428443: Null pointer dereferences (NULL_RETURNS) /Python/hamt.c: 1058 in hamt_node_bitmap_without()

2018-01-23 Thread STINNER Victor

STINNER Victor  added the comment:

> (I also receive coverity reports :)

Oh, I didn't know. The current workflow is not ideal to avoid duplicated issues.

--
title: Coverity: CID 1428443:  Null pointer dereferences  (NULL_RETURNS) 
/Python/hamt.c: 1058 in hamt_node_bitmap_without() -> Coverity: CID 1428443: 
Null pointer dereferences (NULL_RETURNS) /Python/hamt.c: 1058 in 
hamt_node_bitmap_without()

___
Python tracker 

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



[issue32639] Coverity: CID 1428443: Null pointer dereferences (NULL_RETURNS) /Python/hamt.c: 1058 in hamt_node_bitmap_without()

2018-01-23 Thread Yury Selivanov

Yury Selivanov  added the comment:

> Oh, I didn't know. The current workflow is not ideal to avoid duplicated 
> issues.

If I fix something that's been reported there I usually update the coverity 
issue directly.  But yeah...

--

___
Python tracker 

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



[issue32641] test_context and test_asyncio crash on Windows 7

2018-01-23 Thread STINNER Victor

New submission from STINNER Victor :

http://buildbot.python.org/all/#/builders/58/builds/498

0:36:25 [252/414/1] test_context crashed (Exit code 3) -- running: 
test_largefile (239 sec)
Windows fatal exception: code 0xc01d

Current thread 0x0944 (most recent call first):
  File 
"D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\lib\test\test_context.py",
 line 321 in ctx1_fun
  File 
"D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\lib\test\test_context.py",
 line 339 in test_context_copy_1
  File 
"D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\lib\unittest\case.py", 
line 615 in run
  File 
"D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\lib\unittest\case.py", 
line 663 in __call__
  File 
"D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\lib\unittest\suite.py", 
line 122 in run
  File 
"D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\lib\unittest\suite.py", 
line 84 in __call__
  File 
"D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\lib\unittest\suite.py", 
line 122 in run
  File 
"D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\lib\unittest\suite.py", 
line 84 in __call__
  File 
"D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\lib\unittest\suite.py", 
line 122 in run
  File 
"D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\lib\unittest\suite.py", 
line 84 in __call__
  File 
"D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\lib\unittest\runner.py",
 line 176 in run
  File 
"D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\lib\test\support\__init__.py",
 line 1861 in _run_suite
  File 
"D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\lib\test\support\__init__.py",
 line 1951 in run_unittest
  File 
"D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\lib\test\libregrtest\runtest.py",
 line 175 in test_runner
  File 
"D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\lib\test\libregrtest\runtest.py",
 line 176 in runtest_inner
  File 
"D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\lib\test\libregrtest\runtest.py",
 line 130 in runtest
  File 
"D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\lib\test\libregrtest\runtest_mp.py",
 line 67 in run_tests_slave
  File 
"D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\lib\test\libregrtest\main.py",
 line 517 in _main
  File 
"D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\lib\test\libregrtest\main.py",
 line 510 in main
  File 
"D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\lib\test\libregrtest\main.py",
 line 585 in main
  File 
"D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\lib\test\regrtest.py", 
line 46 in _main
  File 
"D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\lib\test\regrtest.py", 
line 50 in 
  File "D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\lib\runpy.py", 
line 85 in _run_code
  File "D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\lib\runpy.py", 
line 193 in _run_module_as_main
Fatal Python error: Illegal instruction

Current thread 0x0944 (most recent call first):
  File 
"D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\lib\test\test_context.py",
 line 321 in ctx1_fun
  File 
"D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\lib\test\test_context.py",
 line 339 in test_context_copy_1
  File 
"D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\lib\unittest\case.py", 
line 615 in run
  File 
"D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\lib\unittest\case.py", 
line 663 in __call__
  File 
"D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\lib\unittest\suite.py", 
line 122 in run
  File 
"D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\lib\unittest\suite.py", 
line 84 in __call__
  File 
"D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\lib\unittest\suite.py", 
line 122 in run
  File 
"D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\lib\unittest\suite.py", 
line 84 in __call__
  File 
"D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\lib\unittest\suite.py", 
line 122 in run
  File 
"D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\lib\unittest\suite.py", 
line 84 in __call__
  File 
"D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\lib\unittest\runner.py",
 line 176 in run
  File 
"D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\lib\test\support\__init__.py",
 line 1861 in _run_suite
  File 
"D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\lib\test\support\__init__.py",
 line 1951 in run_unittest
  File 
"D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\lib\test\libregrtest\runtest.py",
 line 175 in test_runner
  File 
"D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\lib\test\libregrtest\runtest.py",
 line 176 in runtest_inner
  File 
"D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\lib\test\libregrtest\runtest.py",
 line 130 in runtest
  File 
"D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\lib\test\libregrtest\runtest_mp.py",
 line 67 in run_tests_s

[issue32641] test_context and test_asyncio crash on Windows 7

2018-01-23 Thread STINNER Victor

STINNER Victor  added the comment:

test_asyncio started to crash at build 491:

http://buildbot.python.org/all/#/builders/58/builds/491

This build contains the commit f23746a934177c48eff754411aba54c31d6be2f0: 
"bpo-32436: Implement PEP 567". I'm not 100% sure that it's the cause of the 
regression. Since test_context added by this commit also crash, it really 
smells this the cause of the regression.

--

___
Python tracker 

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



[issue32641] test_context and test_asyncio crash on Windows 7

2018-01-23 Thread Yury Selivanov

Yury Selivanov  added the comment:

It's not a regression, the newly added code doesn't work on some Windows 
buildbot... looking at it.

--

___
Python tracker 

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



[issue32641] test_context and test_asyncio crash on Windows 7

2018-01-23 Thread STINNER Victor

STINNER Victor  added the comment:

Some hints. Compiler warnings:

..\Python\hamt.c(625): warning C4018: '<': signed/unsigned mismatch 
[D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\PCbuild\pythoncore.vcxproj]
..\Python\hamt.c(733): warning C4018: '<': signed/unsigned mismatch 
[D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\PCbuild\pythoncore.vcxproj]
..\Python\hamt.c(939): warning C4018: '<': signed/unsigned mismatch 
[D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\PCbuild\pythoncore.vcxproj]
..\Python\hamt.c(1122): warning C4018: '<': signed/unsigned mismatch 
[D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\PCbuild\pythoncore.vcxproj]

--

___
Python tracker 

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



[issue32641] test_context and test_asyncio crash on Windows 7

2018-01-23 Thread Yury Selivanov

Yury Selivanov  added the comment:

No, these are trivial uint32_t/Py_SIZE: `for (uint32_t i = val_idx + 1; i < 
Py_SIZE(o); i++)`; it's something else.  I suspect popcount instruction...

--

___
Python tracker 

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



[issue20709] os.utime(path_to_directory): wrong documentation for Windows.

2018-01-23 Thread Cheryl Sabella

Cheryl Sabella  added the comment:

@jgehrcke, would you be able to convert your patch to a Github pull request on 
the master branch?

--
nosy: +csabella
stage:  -> needs patch
versions: +Python 3.7 -Python 2.7, Python 3.1, Python 3.2, Python 3.3, Python 
3.4, Python 3.5

___
Python tracker 

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



[issue32640] Python 2.7 str.join documentation is incorrect

2018-01-23 Thread Cheryl Sabella

Cheryl Sabella  added the comment:

Looks like this happened in PR1898.

--
nosy: +Mariatta, csabella
stage:  -> needs patch

___
Python tracker 

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



[issue22946] urllib gives incorrect url after open when using HTTPS

2018-01-23 Thread Cheryl Sabella

Cheryl Sabella  added the comment:

@John.McKay, would you be interested in converting your patch to a Github pull 
request on the master branch?

--
nosy: +csabella
versions: +Python 3.7 -Python 3.4, Python 3.5

___
Python tracker 

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



[issue32551] Zipfile & directory execution in 3.5.4 also adds the parent directory to sys.path

2018-01-23 Thread Ned Batchelder

Ned Batchelder  added the comment:

I can confirm that 3.5.5rc1 fixes the problem I had.

--

___
Python tracker 

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



[issue32637] Android: set sys.platform to android

2018-01-23 Thread STINNER Victor

Change by STINNER Victor :


--
pull_requests: +5134

___
Python tracker 

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



[issue32637] Android: set sys.platform to android

2018-01-23 Thread STINNER Victor

STINNER Victor  added the comment:

The idea was first discussed on python-dev:

https://mail.python.org/pipermail/python-dev/2018-January/151874.html

me: "It seems like sys.platform == 'android' would be more appropriate
since Android is not Linux: different libc, different filesystems,
etc."

https://mail.python.org/pipermail/python-dev/2018-January/151887.html

Brett Cannon: "I've had a similar thought myself.".

--

___
Python tracker 

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



[issue32637] Android: set sys.platform to android

2018-01-23 Thread STINNER Victor

Change by STINNER Victor :


--
nosy: +brett.cannon

___
Python tracker 

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



[issue32641] test_context and test_asyncio crash on Windows 7

2018-01-23 Thread Yury Selivanov

Yury Selivanov  added the comment:

I suspect this is a compiler bug.  I can't reproduce it on my windows 7 virtual 
machine and on AppVeyor.

It's not related to HAMT, btw, as there is a multitude of HAMT-specific tests 
that all pass.  The crash is specifically in context.c, and the code there is 
pretty trivial.

--

___
Python tracker 

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



[issue32641] test_context and test_asyncio crash on Windows 7

2018-01-23 Thread STINNER Victor

Change by STINNER Victor :


--
nosy: +db3l

___
Python tracker 

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



[issue28046] Remove the concept of platform-specific directories

2018-01-23 Thread STINNER Victor

Change by STINNER Victor :


--
pull_requests: +5135

___
Python tracker 

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



[issue28046] Remove the concept of platform-specific directories

2018-01-23 Thread STINNER Victor

STINNER Victor  added the comment:

The cleanup is not complete, so I reopen the issue: 
https://github.com/python/cpython/pull/5289

--
resolution: fixed -> 
status: closed -> open

___
Python tracker 

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



[issue9334] argparse does not accept options taking arguments beginning with dash (regression from optparse)

2018-01-23 Thread paul j3

paul j3  added the comment:

I attached a script that implements Evan's _match_argument idea, using a 
ArgumentParser subclass.  I think this is the safest way to add different 
functionality to the parser.  It (subclassing) is used, for example in pypi 
extensions like plac.

My version places the special nargs case after the default match test.  So it 
acts only if the regular action fails.  But I don't know of a test case where 
that difference matters.

I've tested it with all the examples posted in this issue, but have not tested 
it against test_argparse.py.  I'd also like to know if it goes far enough in 
adapting to optparse/POSIX usage.  It probably doesn't.

--
Added file: https://bugs.python.org/file47404/argparse_opt.py

___
Python tracker 

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



[issue32641] test_context and test_asyncio crash on Windows 7

2018-01-23 Thread STINNER Victor

STINNER Victor  added the comment:

> I suspect this is a compiler bug.

It may be interesting to add the compiler version to test.pythoninfo. It would 
be simpler to compare Windows buildbots to identify a bug.

Currently, the only info is:

"sys.version: 3.7.0a4+ (heads/master:9d411c1, Jan 23 2018, 15:13:42) [MSC 
v.1900 32 bit (Intel)]"

Some environment variables are also dumped:

os.environ[VS100COMNTOOLS]: C:\Program Files\Microsoft Visual Studio 
10.0\Common7\Tools\
os.environ[VS140COMNTOOLS]: D:\Program Files\Microsoft Visual Studio 
14.0\Common7\Tools\
os.environ[VS90COMNTOOLS]: D:\Program Files\Microsoft Visual Studio 
9.0\Common7\Tools\

In the compile step, I see lines like:

"Microsoft (R) Build Engine version 14.0.24730.2"

I recall also issues with outdated ucrtbase DLLs. Maybe we can also dump the 
version of such DLL?

--

___
Python tracker 

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



[issue32637] Android: set sys.platform to android

2018-01-23 Thread STINNER Victor

Change by STINNER Victor :


--
nosy: +doko

___
Python tracker 

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



[issue31000] Test failure in resource module on ZFS

2018-01-23 Thread Larry Hastings

Larry Hastings  added the comment:

I'm using ZFS on 64-bit Linux.

I did see a Github issue / commit that claims to address this.  I'm using a 
reasonably recent ZoL build, that should have that commit, and I still see the 
behavior.

I actually experimented with it a little, and, hmm.  The test sets the rlimit 
to 1024 bytes.  I can write exactly 512 bytes to the file; it fails on the 
513th.  We *could* change the test to behave like that (write 512 bytes, then 
write 513 more) but I don't think we should work around their bug.

--

___
Python tracker 

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



[issue32637] Android: set sys.platform to android

2018-01-23 Thread STINNER Victor

STINNER Victor  added the comment:

A similar change was proposed by pmp-p on MicroPython: 
https://github.com/micropython/micropython/pull/3564

His use case is to use ffi module on Android (see the PR for more information), 
currently ffi fails to locate libraries.

--

___
Python tracker 

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



[issue32637] Android: set sys.platform to android

2018-01-23 Thread STINNER Victor

Change by STINNER Victor :


--
nosy: +yan12125

___
Python tracker 

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



[issue32502] uuid1() fails if only 64-bit interface addresses are available

2018-01-23 Thread Barry A. Warsaw

Barry A. Warsaw  added the comment:


New changeset 6b273f7f4056f8276f61a97c789d6bb4425e653c by Barry Warsaw (Bo 
Bayles) in branch 'master':
bpo-32502: Discard 64-bit (and other invalid) hardware addresses (#5254)
https://github.com/python/cpython/commit/6b273f7f4056f8276f61a97c789d6bb4425e653c


--

___
Python tracker 

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



[issue32636] test_asyncio fails with PYTHONASYNCIODEBUG=1

2018-01-23 Thread Nathaniel Smith

Nathaniel Smith  added the comment:

Question: there are lots of tests -- for example 
test.test_asyncio.test_tasks.CTaskSubclass_PyFuture_Tests.test_wait_with_exception,
 which freezes for me -- that use 'yield from asyncio.sleep(...)', e.g.:

@asyncio.coroutine
def sleeper():
yield from asyncio.sleep(0.15, loop=loop)
raise ZeroDivisionError('really')

But Andrew switch asyncio.sleep to be an ordinary 'async def' coroutine back in 
December. How does this work at all?

My tentative hypothesis about the actual bug is that the code above is working 
in regular mode, but stops working in debug mode, probably because in debug 
mode @asyncio.coroutine takes a different path involving CoroWrapper and we 
changed CoroWrapper. But I'm having trouble knowing how to verify or fix that 
because I don't understand how it ever works in the first place :-)

--

___
Python tracker 

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



[issue32636] test_asyncio fails with PYTHONASYNCIODEBUG=1

2018-01-23 Thread Nathaniel Smith

Nathaniel Smith  added the comment:

(However, I can report that at least that particular test starts working again 
if I convert 'sleeper' into an 'async def' coroutine.)

--

___
Python tracker 

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



[issue32636] test_asyncio fails with PYTHONASYNCIODEBUG=1

2018-01-23 Thread Yury Selivanov

Yury Selivanov  added the comment:

asyncio.coroutine sets the co_flags bit CO_ITERABLE_COROUTINE for generator 
functions' code objects.

With that bit flag, Python allows to 'yield from' native coroutines.

CoroWrapper.send() -> wrapped_generator.send() -> YIELD_FROM(native_coro) -> 
native_coro.send()

--

___
Python tracker 

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



[issue32623] Resize dict on del/pop

2018-01-23 Thread INADA Naoki

INADA Naoki  added the comment:

For insert/pop loop, reduce table size aggressively on pop may cause
performance regression.  So reducing size should be conservative.

So my opinion is:

* When dict size become 0, make the dict shared-empty, like dict.clear()
* When (dict size < dk_size/8), call insertion_resize()

--

___
Python tracker 

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



[issue32636] test_asyncio fails with PYTHONASYNCIODEBUG=1

2018-01-23 Thread Nathaniel Smith

Nathaniel Smith  added the comment:

How confident are we that this is a regression from the coroutine origin 
tracking changes? (I'd double-check myself, but my cpython checkout is tied up 
for the next few hours doing --enable-optimizations builds.)

Looking at @asyncio.coroutine, in particular this branch that gets taken when 
debug mode is enabled:

https://github.com/python/cpython/blob/6b273f7f4056f8276f61a97c789d6bb4425e653c/Lib/asyncio/coroutines.py#L135-L149

I'm not seeing anything that would toggle the CO_ITERABLE_COROUTINE flag, and 
if I use pdb I can see that in the broken test the 'sleeper' function indeed 
doesn't have that flag set. But I didn't touch that code in the origin tracking 
patch, which makes me think that the proximal cause here might have been 
5f841b553814969220b096a2b4f959b7f6fcbaf6 ?

--

___
Python tracker 

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



[issue32636] test_asyncio fails with PYTHONASYNCIODEBUG=1

2018-01-23 Thread Yury Selivanov

Yury Selivanov  added the comment:

No, it's this specific commit.  I can double check later, but I'm pretty sure 
about that.

--

___
Python tracker 

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



[issue32636] test_asyncio fails with PYTHONASYNCIODEBUG=1

2018-01-23 Thread Nathaniel Smith

Nathaniel Smith  added the comment:

Ah-hah, I get what's going on.

@asyncio.coroutine has always been buggy: when debug mode is turned on, then it 
fails to set CO_ITERABLE_COROUTINE.

However, when debug mode is turned on, then traditionally native coroutines got 
wrapped into CoroWrapper objects. We've always been lazy and reused the same 
CoroWrapper type for both native coroutines and old-style @asyncio.coroutine 
coroutines, so CoroWrapper has both coroutine and generator attributes.

This means that until my patch, in debug mode, native coroutines were *getting 
turned back into generators*. So this hid the bug in @asyncio.coroutine, 
because it doesn't matter if you can't call native coroutines if you've just 
turned them into generators.

The fix is trivial, we just need to always use @types.coroutine in 
@asyncio.coroutine, I'll put up a PR momentarily.

--

___
Python tracker 

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



[issue32502] uuid1() fails if only 64-bit interface addresses are available

2018-01-23 Thread bbayles

Change by bbayles :


--
pull_requests: +5136

___
Python tracker 

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



[issue32636] test_asyncio fails with PYTHONASYNCIODEBUG=1

2018-01-23 Thread Nathaniel Smith

Change by Nathaniel Smith :


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

___
Python tracker 

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



  1   2   >