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

epypj master list #53

Open
3 of 12 tasks
Thrameos opened this issue Dec 13, 2020 · 2 comments
Open
3 of 12 tasks

epypj master list #53

Thrameos opened this issue Dec 13, 2020 · 2 comments

Comments

@Thrameos
Copy link
Owner

Thrameos commented Dec 13, 2020

  • Test launch of Python from Java.
  • PyCallable with tuples and kwargs (Used special class to indicate these)
  • Reorg exposed symbols so that we don't lock into concrete types.
  • PyBuffer needs to have a toBuffer which gives a java.nio.ByteBuffer
  • PyType
  • PyString
  • Lots of testing
  • Need a way to throw Python exceptions (currently only wrapped)
  • Exception rework (Existing PyExceptionProxy does not have any meaning in Java)
  • Automatic reflection of a CPython module.
  • builtins can go through the module table rather than dedicated hooks
  • Discuss if python.lang can be standard with Jython rework and jep folks.
@Thrameos
Copy link
Owner Author

Progress on this continues to be slow. There it just hard to make much progress when there are so many bugs to trip on that every bug exposes 5 more just to trace down the first. The biggest problem is the exception handling. If you can't properly expose the exceptions to show what went wrong there is little way of making head way.

I made it once through the start up sequence enough to call a function once. But still need to rework exceptions so that they come back to Java with some type information.

@Thrameos
Copy link
Owner Author

Perhaps PyEngine should be in org.jpype rather than python.lang. We should likely restrict the items that we expose under python. to only those formally in Python itself.

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

1 participant