Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Comparison of ENUM with Python object fails #970

Open
Thrameos opened this issue May 10, 2021 · 1 comment
Open

Comparison of ENUM with Python object fails #970

Thrameos opened this issue May 10, 2021 · 1 comment

Comments

@Thrameos
Copy link
Contributor

While working on the JForward code, I ran into this error.

import jpype
jpype.startJVM()
jo = jpype.JClass('java.lang.Character').UnicodeScript.GEORGIAN
jo==jo
object()==jo
jo==object()

This produces a SystemError because the conversion pointer is still null. Although this is low impact it should return False rather than throw.

@rgvlrm
Copy link

rgvlrm commented Jul 27, 2021

#992

Could you please help in resolving the same or is there any work around ?

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

No branches or pull requests

2 participants