[Python-Dev] APIs for internal flags
Guido van Rossum
Wed, 12 Jul 2000 07:19:14 -0500
> > Anybody interested in designing an API here? Some requirements would
> > be platform independence, extensibility, and necessarily the ability
> > to work even in an environment without command line flags (since it
> > still has the corresponding internal flags).
> For starters, here's what mx.Tools defines:
+1 on the concept. All the other routines in sys seem to have 'set'
or 'get' in their name (e.g. get/setdefaultencoding). Maybe we should
conform to that? You could argue over names, e.g. get/setverbosity,
Are there any other flags that you might want to know about?
--Guido van Rossum (home page: http://dinsdale.python.org/~guido/)