Hi there.
now i'm a complete newbie for python, and maybe my problem is stupid
but i cannot solve it myself
i have an object of class GeoMap which contains lists with objects of
GeoMapCell (i will not explain what they should do, hope its not
important). Then i want to serialize these objects to
Here's a crazy idea out of left field. Just before calling
isinstance, why not try:
print(type(obj))
print(str(obj))
This may illuminate the unexpected behavior, you'll find out just what
obj has in it.
-- Paul
Well the output of
print(type(obj))
print(str(obj))
was
class
On 12 фев, 21:49, redbaron ivanov.ma...@gmail.com wrote:
Don't really sure, but try to define your class as new-style one.
Like
class GeoMap(object):
...
Sorry, it didn't work
--
http://mail.python.org/mailman/listinfo/python-list