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

js: Add dir to import path when doing local Python imports; py: Custom error handling #10

Merged
merged 5 commits into from
Jul 14, 2021

Conversation

extremeheat
Copy link
Owner

@extremeheat extremeheat commented Jul 14, 2021

  • Sync bridges
  • py: Custom error handling, make it friendlier/easier to debug
  • js: Importing relative Python files now automatically adds the file's directory to the import path

Fixes

  • js: Automatically restart Python processes on a new Python import, if python was exit()'ed earlier. Can happen in tests.
  • js: Fix relative imports on Windows not splitting \ correctly

* fix pyclass issues
…imports on windows, restart python process if needed
* Makes it friendlier/easier to debug
@extremeheat extremeheat changed the title js: Add dir to import path when doing local Python imports, path fixes js: Add dir to import path when doing local Python imports; py: Custom error handling Jul 14, 2021
@extremeheat extremeheat merged commit 30e292b into master Jul 14, 2021
@extremeheat extremeheat deleted the pysync branch July 15, 2021 00:33
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