Message232783
Sounds unlikely. If they write "from asyncio.base_events import Server" it
will still work. Only if they wrote "from asyncio.base_events import *"
will they be broken, and that sounds not worth worrying about. So LGTM on
the patch. (But why was Server there at all? Tests?
On Tue, Dec 16, 2014 at 4:17 PM, STINNER Victor <report@bugs.python.org>
wrote:
>
>
> STINNER Victor added the comment:
>
> Here is a patch to expose BaseEventLoop. It removes Server from
> base_events.__all__, which means that "from asyncio.base_events import *"
> will no import Server anymore. Can it break real applications?
>
> ----------
> keywords: +patch
> Added file: http://bugs.python.org/file37475/base_event_loop.patch
>
> _______________________________________
> Python tracker <report@bugs.python.org>
> <http://bugs.python.org/issue23046>
> _______________________________________
> |
|
Date |
User |
Action |
Args |
2014-12-17 00:21:40 | gvanrossum | set | recipients:
+ gvanrossum, vstinner, martin.panter, yselivanov |
2014-12-17 00:21:40 | gvanrossum | link | issue23046 messages |
2014-12-17 00:21:40 | gvanrossum | create | |
|