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

Port jishaku.inline_import #20

Closed
wants to merge 6 commits into from
Closed

Port jishaku.inline_import #20

wants to merge 6 commits into from

Conversation

ioistired
Copy link
Owner

Fixes #18 and #19

Removes the custom encoding, the file rewriter, find_imports, and update_globals. This is a breaking change.
The custom encoder was removed because of a now-broken dependency on the internals of the tokenize module.

@Sachaa-Thanasius
Copy link
Contributor

Sachaa-Thanasius commented May 27, 2024

Minor nitpick, but are you fine with typing_extensions being an explicit dependency? If those imports are outside TYPE_CHECKING blocks, that'll be necessary.

@ioistired
Copy link
Owner Author

I don't mind.

Ported in v2.0.0.

@ioistired ioistired closed this May 27, 2024
@ioistired ioistired deleted the wip-port-jishaku branch May 27, 2024 02:45
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.

encoding doesn't work
2 participants