[Python-Dev] sys.implementation

Barry Warsaw barry at python.org
Wed May 9 18:53:11 CEST 2012


On May 09, 2012, at 11:09 AM, Brett Cannon wrote:

>Sure, but couldn't we define this "empty" class in C code so that you can
>use the C API with it as well and just provide a C function to get a new
>instance?

+1

ISTM to be a companion to collections.namedtuple.  IWBNI this new type was
also exposed in the collections module.

-Barry


More information about the Python-Dev mailing list