and one tiny question about array() ...

Steven D. Majewski (sdm7g@elvis.med.virginia.edu)
Wed, 3 Nov 1993 13:04:24 -0500

>>> array( 'f', ( 1.0, 2.0 ))
Stack backtrace (innermost last):
File "<stdin>", line 1
TypeError: array initializer must be list or string

Is there a reason for this restriction, or is this another
example of "overly pedantic typechecking run amock" ?

No offense intended to the author of the array module
in either this or the previous post. I'm just trying
to raise the question of exactly what sort of consistant
behaviour we should expect.

- Steve Majewski <sdm7g@Virginia.EDU>