This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author gvanrossum
Recipients gvanrossum
Date 2016-01-29.00:07:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1454026053.81.0.969583520836.issue26234@psf.upfronthosting.co.za>
In-reply-to
Content
If you write "from typing import *" you get "re" and "io" for free, which is surprising if this import occurs after an actual "import re" or "import io".

The solution is not to include those two in __all__. You can still use them -- use "from typing import re" explicitly or reference them as "typing.re".

Because typing is provisional I'll fix this in 3.5.2 as well.
History
Date User Action Args
2016-01-29 00:07:33gvanrossumsetrecipients: + gvanrossum
2016-01-29 00:07:33gvanrossumsetmessageid: <1454026053.81.0.969583520836.issue26234@psf.upfronthosting.co.za>
2016-01-29 00:07:33gvanrossumlinkissue26234 messages
2016-01-29 00:07:33gvanrossumcreate