[Python-Dev] Re: Cuddly constants seek loving, stable home
Guido van Rossum
Thu, 23 Aug 2001 10:43:37 -0400
> >>>>> "KY" == Ka-Ping Yee <firstname.lastname@example.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.
+0. It's the better solution but I bet it's more work to code it than
_sysconst. I'm not volunteering, and I want Tim to have time to help
with the type/class unification, which is behind schedule.
--Guido van Rossum (home page: http://www.python.org/~guido/)