Why Python forbids multiple instances of one module?

CHEN Guang dr.cg at 126.com
Mon Jul 5 00:56:25 EDT 2010


Why Python forbids multiple instances of one module?
If only Python allows multiple instances of one module, module will be enough to replace class in most cases. 
After all, it is much easier to write a module than a class, at least we do not have to write self everywhere.
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20100705/c2df4d22/attachment.html>


More information about the Python-list mailing list