Hi Paul,

On 08-07-18 00:17, Paul R. Tagliamonte wrote:
> Hey DPMT (BCC'ing -devel, let's keep conversaion on DPMT),
> 
> I see that Python 3.7 now raises a syntax error when you try to import
> a module that is named `async`.
> 
> ```
> $ python3.6
> Python 3.6.6 (default, Jun 27 2018, 14:44:17)
> [GCC 8.1.0] on linux
> Type "help", "copyright", "credits" or "license" for more information.
>>>> import foo.async
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
> ModuleNotFoundError: No module named 'foo'
>>>>
> ```
> 
> With Python 3.7:
> 
> ```
> $ python3.7
> Python 3.7.0 (default, Jun 27 2018, 14:40:03)
> [GCC 8.1.0] on linux
> Type "help", "copyright", "credits" or "license" for more information.
>>>> import foo.async
>   File "<stdin>", line 1
>     import foo.async
>                    ^
> SyntaxError: invalid syntax
>>>>
> ```
> 
> Quickly checking codesearch, there are a bunch of packages that have
> import lines that look like they'd fail.
> 
> Anyone mind if I do a MBF on libraries that are providing anything
> named `async.py`?

You may want to try to filter out packages that already have a bug
reported due to fail-to-install (like #902989).

Paul

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

Reply via email to