which is best for a singleton, module or class?

Kragen Sitaker kragen at pobox.com
Sat Dec 1 05:17:10 EST 2001


hungjunglu at yahoo.com (Hung Jung Lu) writes:
> You can simply put your object into the __builtins__ namespace:

Please don't do that, except as a joke.  Programs have bugs enough
without obnoxious people deliberately making them harder to
understand.




More information about the Python-list mailing list