On Apr 13, 2010, at 11:13 PM, Nick Coghlan wrote: >barry.warsaw wrote: >> +It is recommended that when nothing sensible can be calculated, >> +implementations should set the `__cached__` attribute to `None`. > >What (if anything) should we set __cached__ to in __main__?
Good catch. Right now (in my current branch) it is undefined. It should be None. -Barry
signature.asc
Description: PGP signature
_______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com