Skip to content

Conversation

@TheAnyKey
Copy link
Contributor

This pull request has some symptomatic solution for the Issues
#1874
#1829

For #1874, I wrapped the import with an error handler and report this. The orignal cause is some import issue when importing the _pydecimal.py in that special context when importing it in a usual way it work well. So I guess it is either some kind of conflict with an other lib that is imported here or some vm issue in the context given by one or more of the other modules.

For #1829 I just added to set the path the readme. The rootcause is that the vm has some hardcoded import to 'io'. Seems that here the import is not considering the path without that environment variable.

Copy link
Member

@coolreader18 coolreader18 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This a very thorough fix, thank you for contributing!

@coolreader18 coolreader18 merged commit 970fa4b into RustPython:master Apr 27, 2020
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.

2 participants