pep 8 constants

Bruno Desthuilliers bruno.42.desthuilliers at websiteburo.invalid
Wed Feb 25 05:31:23 EST 2009

Robin Becker a écrit :
> well this sort of awful hackery will allow you to put read only 
> constants on an existing module
(snip example code)
> so I guess if you write your own module class and then use a special 
> importer you can create module like objects with read only attributes.

Fine technical solution. But, err, isn't all this a bit overkill for 
something that can easily be handled by a simple convention ?-)

More information about the Python-list mailing list