[Guido] > tokenize seems to be mishandling this line: > > assert 6 .__index__() == 6 > > Note the space between '6' and '.'. > > I'm guessing that the untokenization of this somehow drops the space; > this seems to be a bug in untokenize() which probably should add a > safety space after names as well as numbers. Yes, this fixes the > problem: Thanks! It's nice to get a break from the "you found it, you fix it" rule ;-) > Then there's another (shallow) problem that only occurs when I run > test_tokenize.py directly -- the doctest for decistmt() > has-3.21716034272e-007 but (on my box) this outputs > -3.21716034272e-07. That doesn't seem to bother it when run via > regrtest.py. I'm not sure what's at fault here. I'll return the favor, then: decistmt's doctests don't run at all when test_tokenize is run indirectly via regrtest.py. I'll fix that (and worm around the Windows-specific expected output).
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4