Hi Barry! > >>>>> "PF" == Peter Funk <pf@artcom-gmbh.de> writes: > > | try: > | del None > | except SyntaxError: > | pass # Wow running Py3K here! Barry A. Warsaw: > I know how to break your Py3K code: stick None=None some where higher > up :) Hmm.... I must admit, that I don't understand your argument. In Python <= 1.5.2 'del None' works fine, iff it follows any assignment to None in the same scope regardless, whether there has been a None=None in the surrounding scope or in the same scope before this. Since something like 'del for' or 'del import' raises a SyntaxError exception in Py152, I expect 'del None' to raise the same exception in Py3K, after None has become a keyword. Right? Regards, Peter
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