Andrew Clegg <a...@pml.ac.uk> added the comment:

Hi,

I used a global name for a couple of reasons: it is consistent with the cache 
itself and the size of the cache being defined in the same place; and because I 
wanted to allow the value to be modified by users.

I used the leading underscore to give a weak indication of internal use - for 
most users, it can be completely ignored. If someone wanted to modify the 
maximum size of the cache however, this would be a reasonable and safe thing 
for them to do.

Cheers

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue7846>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to