Jeremy Hylton writes: > Does the parser prevent assignment to None? Or does the compiler need > to check for the use of None in an assignment? Inside functions, you don't even need that. You just need to use LOAD_CONST (or whatever its called now), since None is entry 0 in the constants table, used by the implied "return None" when control drops off the end. Doing this in function buys most of the performance. -Fred -- Fred L. Drake, Jr. <fdrake at acm.org> PythonLabs at Zope Corporation
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