Message259177
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. |
|
Date |
User |
Action |
Args |
2016-01-29 00:07:33 | gvanrossum | set | recipients:
+ gvanrossum |
2016-01-29 00:07:33 | gvanrossum | set | messageid: <1454026053.81.0.969583520836.issue26234@psf.upfronthosting.co.za> |
2016-01-29 00:07:33 | gvanrossum | link | issue26234 messages |
2016-01-29 00:07:33 | gvanrossum | create | |
|