structseq and keywords?

Quinn Dunkan quinn at vomit.ugcs.caltech.edu
Wed Mar 13 04:47:21 EST 2002


Is structseq supposed to take keyword args?  From the source I assume it was
meant to, but they're unused.

I suppose they'd interact poorly with sequence args, but I'd expect them to be
mutually exclusive:

ss(attr=bar) #-> attr set to bar, rest set to None
ss(a, b, c) #-> initialize with (a, b, c)


It also seems odd that structseq expects a single sequence rather than a
variable number of args.

I've been meaning to give python access to structseqs, since I think it would
be useful for python as well as C code.



More information about the Python-list mailing list