Skip to content

Comments

Check that an unicode obj is not an Atom before converting it.#4

Open
syl20bnr wants to merge 1 commit intosamuel:masterfrom
syl20bnr:master
Open

Check that an unicode obj is not an Atom before converting it.#4
syl20bnr wants to merge 1 commit intosamuel:masterfrom
syl20bnr:master

Conversation

@syl20bnr
Copy link

@syl20bnr syl20bnr commented Jun 4, 2013

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant