[Python-modules-team] Mass filing on Python 3.7 async module import?

Paul Gevers elbrus at debian.org
Sun Jul 8 09:15:12 BST 2018


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/python-modules-team/attachments/20180708/fa8e4ab0/attachment.sig>


More information about the Python-modules-team mailing list