M
Michal Vitecek
hello,
please consider the following situation:
under the current directory there's a subdirectory 'package' with two
files: __init__.py and module.py
./package:
__init__.py
module.py
module.py contains:
class A(object):
pass
aModule = A()
now, let's do:
current directory:
how is it possible that it IS important how you imported a class
definition for isinstance() to work? it's insane!
please consider the following situation:
under the current directory there's a subdirectory 'package' with two
files: __init__.py and module.py
./package:
__init__.py
module.py
module.py contains:
class A(object):
pass
aModule = A()
now, let's do:
current directory:
how is it possible that it IS important how you imported a class
definition for isinstance() to work? it's insane!