[issue28428] Rename _futures module to _asyncio

2016-10-15 Thread Berker Peksag

Changes by Berker Peksag :


--
resolution:  -> fixed

___
Python tracker 

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



[issue28428] Rename _futures module to _asyncio

2016-10-15 Thread INADA Naoki

Changes by INADA Naoki :


--
stage: commit review -> resolved

___
Python tracker 

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



[issue28428] Rename _futures module to _asyncio

2016-10-15 Thread INADA Naoki

Changes by INADA Naoki :


--
status: open -> closed

___
Python tracker 

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



[issue28428] Rename _futures module to _asyncio

2016-10-15 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 9d06fdedae2b by INADA Naoki in branch '3.6':
Issue #28428: Rename _futures module to _asyncio.
https://hg.python.org/cpython/rev/9d06fdedae2b

New changeset c2f3b7c56dff by INADA Naoki in branch 'default':
Issue #28428: Rename _futures module to _asyncio. (merge from 3.6)
https://hg.python.org/cpython/rev/c2f3b7c56dff

--
nosy: +python-dev

___
Python tracker 

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



[issue28428] Rename _futures module to _asyncio

2016-10-14 Thread Yury Selivanov

Yury Selivanov added the comment:

No news entry is necessary for this.

--

___
Python tracker 

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



[issue28428] Rename _futures module to _asyncio

2016-10-14 Thread INADA Naoki

INADA Naoki added the comment:

Can I commit this patch without NEWS entry?
Only notable change is module name, but I don't expect no one import
it directly.

If it is required, it would be like:

- Issue #28428: Rename _futures module to _asyncio. It will have more
  speedup functions or classes other than asyncio.Future.

--

___
Python tracker 

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



[issue28428] Rename _futures module to _asyncio

2016-10-14 Thread INADA Naoki

INADA Naoki added the comment:

> There is also an argument that this should not be a built-in module but 
> should be separate (like _ctypes). I don't know if that is just a Windows 
> decision or not, but I'm guessing you weren't the one who made that decision 
> originally. Issue for another time

Since _overlapped is separated extension, I think _future should be too.
I'll try it after fixing issue on windows.

--

___
Python tracker 

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



[issue28428] Rename _futures module to _asyncio

2016-10-14 Thread Steve Dower

Steve Dower added the comment:

Sure. The build-specific changes for Windows look fine to me.

There is also an argument that this should not be a built-in module but should 
be separate (like _ctypes). I don't know if that is just a Windows decision or 
not, but I'm guessing you weren't the one who made that decision originally. 
Issue for another time

--

___
Python tracker 

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



[issue28428] Rename _futures module to _asyncio

2016-10-14 Thread INADA Naoki

INADA Naoki added the comment:

I found _futures module is not used on Windows for now (without this patch).
Because `{"_future", PyInit__future},` is not in PC/config.c

But, when it added, test_windows_events cause infinite loop.
This should be another issue.

With this (asyncio-speedups2.patch), build on Windows succeeds,
and test succeeds (without speedup enabled).

I want to apply this patch before fixing the issue and adding _asyncio to 
PC/config.c
Is it OK?

--

___
Python tracker 

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



[issue28428] Rename _futures module to _asyncio

2016-10-13 Thread INADA Naoki

INADA Naoki added the comment:

I hit this issue27705, and I have no time to reinstall Visual Studio 2015 
Community today.
I'll try test on Windows later.

--

___
Python tracker 

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



[issue28428] Rename _futures module to _asyncio

2016-10-13 Thread INADA Naoki

INADA Naoki added the comment:

> Any reason why this module doesn't use argument clinic?

No reason.

But I don't want to do in this issue, since I don't know how to
generate good patch file for file rename + change in file.

I'll do it in future issue.

--

___
Python tracker 

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



[issue28428] Rename _futures module to _asyncio

2016-10-13 Thread Steve Dower

Steve Dower added the comment:

Any reason why this module doesn't use argument clinic?

--

___
Python tracker 

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



[issue28428] Rename _futures module to _asyncio

2016-10-13 Thread Ned Deily

Changes by Ned Deily :


--
nosy: +steve.dower

___
Python tracker 

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



[issue28428] Rename _futures module to _asyncio

2016-10-13 Thread Stéphane Wirtel

Changes by Stéphane Wirtel :


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



[issue28428] Rename _futures module to _asyncio

2016-10-13 Thread Stéphane Wirtel

Stéphane Wirtel added the comment:

I have reviewed your patch, seems to be fine. And thank you for your new patch 
without the --git flag.

--

___
Python tracker 

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



[issue28428] Rename _futures module to _asyncio

2016-10-13 Thread INADA Naoki

INADA Naoki added the comment:

Since this patch renames file, I used --git option of hg diff.
But Rietvelt seems doesn't accept git format patch.

Attached patch is same to previous, but generated without --git option.

--
Added file: http://bugs.python.org/file45076/asyncio-speedups2.patch

___
Python tracker 

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



[issue28428] Rename _futures module to _asyncio

2016-10-13 Thread Stéphane Wirtel

Stéphane Wirtel added the comment:

I have read and tested your patch (with the tests) and you can merge it. But I 
can't review it via retvield.

--

___
Python tracker 

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



[issue28428] Rename _futures module to _asyncio

2016-10-13 Thread INADA Naoki

INADA Naoki added the comment:

Because:

* The "futures" name is used in concurrent.futures too. This module is for 
asyncio.
* Currently, this module has only Future class. But there are several ideas 
about adding C speedup to improve asyncio performance. (e.g. buffer slicing and 
Task class).

See also: http://bugs.python.org/issue26081#msg278368

--

___
Python tracker 

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



[issue28428] Rename _futures module to _asyncio

2016-10-13 Thread Stéphane Wirtel

Stéphane Wirtel added the comment:

Why do you need to rename the module ?

--
nosy: +matrixise

___
Python tracker 

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



[issue28428] Rename _futures module to _asyncio

2016-10-13 Thread INADA Naoki

New submission from INADA Naoki:

Before adding more speedup functions for asyncio, I want to rename the module.

Attached patch is tested on Mac 10.11. I'll test it on Windows later.

--
files: asyncio-speedups.patch
keywords: patch
messages: 278558
nosy: inada.naoki, yselivanov
priority: normal
severity: normal
stage: patch review
status: open
title: Rename _futures module to _asyncio
type: enhancement
versions: Python 3.6, Python 3.7
Added file: http://bugs.python.org/file45074/asyncio-speedups.patch

___
Python tracker 

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