[albatross-users] @#*(&$@!! Waste of a day... :(
Michael C. Neel
neel at mediapulse.com
Wed Jul 2 01:44:24 EST 2003
As a tip, I've always done:
if type([]) == type(mylist)
to avoid these version change problems. not sure if that would help in
this case.
Mike
-------------------
Python 2.1.1 (#1, Aug 30 2001, 17:36:05)
[GCC 2.96 20000731 (Mandrake Linux 8.1 2.96-0.61mdk)] on linux-i386
Type "copyright", "credits" or "license" for more information.
>>> type(list)
<type 'builtin_function_or_method'>
because a function isnt the same as:
Python 2.2.2 (#2, Feb 5 2003, 10:40:08)
[GCC 3.2.1 (Mandrake Linux 9.1 3.2.1-5mdk)] on linux-i386
Type "help", "copyright", "credits" or "license" for more information.
>>> type(list)
<type 'list'>
More information about the Albatross-users
mailing list