On Wed, 06 Jul 2005 14:33:47 GMT, Ron Adam <[EMAIL PROTECTED]> wrote:
> Since this is a Python 3k item... What would be the consequence of > making None the default value of an undefined name? And then assigning > a name to None as a way to delete it? [ ... ] > Any drawbacks? Lots more hard-to-find errors from code like this: filehandle = open( 'somefile' ) do_something_with_an_open_file( file_handle ) filehandle.close( ) Regards, Dan -- Dan Sommers <http://www.tombstonezero.net/dan/> -- http://mail.python.org/mailman/listinfo/python-list