Bob Ippolito | 2 Jun 2004 06:33
Gravatar

sequenceOf should inherit from type?

Logically, wouldn't it make sense if sequenceOf(n) returned an object 
that inherited from type?

I say this because I had some (ugly, hackish) code that did 
issubclass(foo.typeObject, SomeClass) and it worked just fine in every 
case I had, except for sequenceOf, which would throw an exception since 
it's just an instance (not even a new style one, at that).

-bob
Attachment (smime.p7s): application/pkcs7-signature, 2357 bytes

Gmane