On Nov 23, 2010, at 12:57 PM, Fred Drake wrote: >>From a backward-compatibility perspective, what makes sense depends on >whether they're used to implement existing constants (socket.AF_INET, >etc.) or if they reserved for new features only.
As is usually the case, there's little reason to change existing working code. Enums can be used whenever a module or API is updated. -Barry
signature.asc
Description: PGP signature
_______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com