python-bert
python-bert copied to clipboard
Check that an unicode obj is not an Atom before converting it.
Hello Samuel,
This PR makes sure that an object is not an Atom before converting it.
This is required for some different implementation of Python like IronPython where class Atom(str) can return True for the test isinstance(obj, unicode) in certain cases.
Cheers, syl20bnr