[Python-Dev] Re: Cuddly constants seek loving, stable home

Barry A. Warsaw barry@zope.com
Thu, 23 Aug 2001 10:29:53 -0400


>>>>> "KY" == Ka-Ping Yee <ping@lfw.org> writes:

    KY> Just a suggestion, but how about sys.consts?  Like os.path, as
    KY> in sys.consts.CO_NESTED, sys.consts.CO_FUTURE_DIVISION, etc.
    KY> So there's only one new object in sys, and it can contain the
    KY> weird internal stuff. :)

+1.  It's much better to qualify them in a subpackage or object than
put them in sys's top level namespace.

-Barry