[Python-ideas] Regarding 'const' and 'require' statements

Harding, James james.d.harding at siemens.com
Sat Jan 19 01:35:46 CET 2013


Thank you everyone for your comments. I wish to retract my idea due to some killer issues.

First, if a module had platform dependencies in defining constants, my scheme would not be able to handle that. The idea fails because many common situations would not work. Python should work for all.

Second, this scheme would require some sort of time stamping of files where constants were taken from in order to see if a re-compile is necessary. The time needed for time-stamp checks would likely be more than any time saved by using constant names.

Now, back to the shadows.

Thank you,

James Harding
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20130119/db5595d1/attachment.html>


More information about the Python-ideas mailing list