Jerry Hill wrote:
This is just plain untrue. If 'name is None' evaluates to true, then the variable 'name' is bound to the singleton value None. It has nothing to do with allocated memory or null pointers. All it means is that someplace along the line you did the equivalent of 'name = None' in your code.
On the other hand, there's nothing that keeps a Python implementation from using NULL to represent the None value.
</F> -- http://mail.python.org/mailman/listinfo/python-list