Raymond Hettinger <[EMAIL PROTECTED]> added the comment:

Closing as a duplicate of issue 1820.

I had been working on this, but there are limits to it. The constructors
are completely different so not all of the API can be synced.  The
__repr__ method is already synced-up.  All that is still needed is
_asdict(), _fields, and _replace().  The important parts like the
__repr__, matching most of the tuple API, and attribute access are
already done.

----------
nosy: +rhettinger
resolution:  -> duplicate
status: open -> closed
title: Unify structseq and namedtuple's API -> Make structseq's API look more 
like a nametuple.

__________________________________
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue2323>
__________________________________
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to