Oops, I changed that. Never mind.

On Mon, Jan 20, 2014 at 9:35 AM, Victor Stinner
<[email protected]> wrote:
> 2014/1/20 Guido van Rossum <[email protected]>:
>> The except is to use the stdlib one if present.
>
> When/how the stdlib version is used? Extract of the current code:
> ---
> # The selectors module is in the stdlib in Python 3.4 but not in 3.3.
> # Do this first, so the other submodules can use "from . import selectors".
> # Prefer asyncio/selectors.py over the stdlib one, as ours may be newer.
> try:
>     from . import selectors
> except ImportError:
>     import selectors  # Will also be exported.
> ---
>
> When "from . import selectors" raises an ImportError?
>
> Victor



-- 
--Guido van Rossum (python.org/~guido)

Reply via email to