"Martin v. Löwis" wrote: > If you meant to parse > > 1.__class__ > > as "<integer 1>" "." "<identifier __class__>", not as "<float 1.0>" > "<identifier __class_>" On a related note ... All this would just go away if in Python 3.0 (or even earlier ;) floats required something after the decimal point i.e. to get '<float 1.0>' you had to type '1.0' and '1.' by itself was a syntax error. I've never actually seen the use case for having '1.' parse as '<float 1.0>' although I'm sure there is one. Tim Delaney
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