On Feb 19, 2018, at 04:08, Matthias Klose <d...@debian.org> wrote:
> This is https://bugs.python.org/issue32305, apparently intentional and will be
> in 3.7.  So better fix the packages itself. Not sure if that really should be
> backported.

Thanks for the forward.  The fix is for third party packages to use 
`getattr(module, ‘__file__’, None)` instead of `hasattr(module, ‘__file__’)`.  
I think gunicorn has already fixed this in their upstream.

Attachment: signature.asc
Description: Message signed with OpenPGP

Reply via email to