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

Read files to be compiled as binary #11

Merged
merged 1 commit into from
Nov 8, 2017
Merged

Conversation

meain
Copy link
Contributor

@meain meain commented Nov 7, 2017

Most probably fixes #10

@AlfredQuan Could you try using this version just to verify. I don't have a windows machine to try.

@meain
Copy link
Contributor Author

meain commented Nov 7, 2017

@AlfredQuan Just check if this works with the file you where trying to use

with open(filename, 'rb') as fp:
    code = compile(fp.read(), filename, 'exec')

@AlfredQuan
Copy link

AlfredQuan commented Nov 8, 2017 via email

@agermanidis
Copy link
Owner

Thank you @meain for responding so fast to this!

@AlfredQuan That's interesting - I'm using Unix process signals (SIGSTOP and SIGCONT) to pause the program - that probably breaks on Windows. I'll open a separate issue and investigate.

@agermanidis agermanidis merged commit bf5fe28 into agermanidis:master Nov 8, 2017
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.

unicode decode error
3 participants