Skip to content

Conversation

@Klupamos
Copy link
Contributor

No description provided.

@tomasserravento
Copy link

This could fix the issue as checking for python version too (https://stackoverflow.com/questions/19877306/nameerror-global-name-unicode-is-not-defined-in-python-3).

I hope you guys push the fix as it breaks python optimizer. This PR fixes issue #218 (error: NameError: name 'unicode' is not defined).

This error happens because Python v3 has replaced unicode with str. The problem is that if you use PYTHONOPTIMIZE then all asserts will be removed.

@ZordoC
Copy link

ZordoC commented Nov 30, 2022

Are you planning on merging this anytime soon?

@tomasserravento
Copy link

It would be amazing for this to get fixed but @JazzCore hasnt joined since november 2021 :(

I hope he is doing okay!

@alanhamlett alanhamlett linked an issue Sep 14, 2023 that may be closed by this pull request
@alanhamlett alanhamlett merged commit 9d74bc5 into JazzCore:master Sep 14, 2023
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.

Don't use assert to determine python version

4 participants