Message252397
| Author |
serhiy.storchaka |
| Recipients |
georg.brandl, meador.inge, serhiy.storchaka |
| Date |
2015年10月06日.15:36:38 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1444145798.79.0.176080140328.issue25324@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Importing the tokenize modifies the content of the token module.
>>> import token
>>> len(token.tok_name)
59
>>> import tokenize
>>> len(token.tok_name)
61
Such side effect looks as bad design to me. Either token.tok_name should contain elements needed for tokenize, or tokenize should not modify token.tok_name. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2015年10月06日 15:36:38 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, georg.brandl, meador.inge |
| 2015年10月06日 15:36:38 | serhiy.storchaka | set | messageid: <1444145798.79.0.176080140328.issue25324@psf.upfronthosting.co.za> |
| 2015年10月06日 15:36:38 | serhiy.storchaka | link | issue25324 messages |
| 2015年10月06日 15:36:38 | serhiy.storchaka | create |
|