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

Stéphane Blondon stephane.blondon at gmail.com
Mon Jul 9 13:09:22 BST 2018


Le 08/07/2018 à 00:17, Paul R. Tagliamonte a écrit :
> 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`.


This problem can occur in other situations. For example, ZODB had the
same error with this code:
self._server.async

https://github.com/zopefoundation/ZEO/issues/104

I think that finding modules called 'async.py' is a good subset to find
invalid code with python 3.7, but patterns like:
.async
async()

could find other ones.

-- 
Stéphane

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


More information about the Python-modules-team mailing list