Message293787
| Author | vstinner |
|---|---|
| Recipients | georg.brandl, josephgordon, martin.panter, meador.inge, serhiy.storchaka, vstinner |
| Date | 2017-05-16.21:06:23 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1494968783.7.0.950950797025.issue25324@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
Extract of Lib/lib2to3/pgen2/driver.py: if type in (tokenize.COMMENT, tokenize.NL): ... if debug: self.logger.debug("%s %r (prefix=%r)", token.tok_name[type], value, prefix) The code uses tokenize.COMMENT and look for this constant into token.tok_name. If token.tok_name doesn't contain COMMENT anymore, it breaks lib2to3, no? At least the debug mode which might not be covered by test_lib2to3. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2017-05-16 21:06:23 | vstinner | set | recipients: + vstinner, georg.brandl, meador.inge, martin.panter, serhiy.storchaka, josephgordon |
| 2017-05-16 21:06:23 | vstinner | set | messageid: <1494968783.7.0.950950797025.issue25324@psf.upfronthosting.co.za> |
| 2017-05-16 21:06:23 | vstinner | link | issue25324 messages |
| 2017-05-16 21:06:23 | vstinner | create | |