Message266275
That's a child issue of #23883, created to propose a patch fixing tokenize module's __all__ list.
Changes in tests go farther: I've changed import from
from tokenize import ...
to
import tokenize
and adjusted all its usages accordingly.
The module must be imported in order to test its __all__ list through test.support.check__all__ helper and just adding this single import would either force us to either do
* import tokenize as tokenize_module
* or from tokenize import tokenize as tokenize_function
I think going third way: with just "import tokenize" and changing its uses in the rest of tests result in celarer code, but of course I guess this may be too much for a single patch. |
|
Date |
User |
Action |
Args |
2016-05-24 20:56:38 | Unit03 | set | recipients:
+ Unit03 |
2016-05-24 20:56:35 | Unit03 | set | messageid: <1464123395.58.0.823594635343.issue27112@psf.upfronthosting.co.za> |
2016-05-24 20:56:35 | Unit03 | link | issue27112 messages |
2016-05-24 20:56:35 | Unit03 | create | |
|