-
Notifications
You must be signed in to change notification settings - Fork 113
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
Python3 support #70
Comments
+1 |
3 similar comments
+1 |
+1 |
+1 |
+1 |
This needs to be a thing. |
+1 |
Would this look like a fork, auto-detecting the Python version, a command line flag, or what? |
Command-line flag, most likely! |
Turns out onelinerizing is great for obfuscating autograders to pass out to students for virtual classes. We were using it last year, but this year we are switching all of our assignments to python 3. Because onelinerizing is so convenient, I'm gonna try and see if I can get basic functionality working for python 3. I've forked the repo here: https://github.com/ehannigan/onelinerizer For anyone who is interested, I would be very appreciative of help. If we can get it to work in the fork, we can merge it back here as a python3 version. (@csvoss , Is this the right way to make changes? If not, let me know and I will follow whatever development style you want to use for this repo). |
Amazing! Yes, I accept pull requests! I don't have any formal guidelines or anything – happy to give feedback and help iterate on any PRs. |
Got the errors down to 32/113 (compared to 113/113 yesterday) by fixing the lowest hanging fruit.
I am not 100% sure these fixes have not led to other issues. It works on a very simple chunk of code for my autograder, so it's a good start. I'm slowly beginning to wrap my head around everything. I think the last 32 errors are going to be more difficult. I'll keep updating on progress |
Any movements on this? |
I've tried the current state of the fork, it seems to work for the provided examples, but definitely does not like django throwing an ast Error: "Case not cought" |
Hey! If any of you are still interested in python3 support, I made my own version of this project called Flatliner with a demo website at https://flatliner.herokuapp.com/. It's not as full featured as this project though (this project was excellent), I have no support for things like try-except, scope modifiers like |
Hi, this repository looks really interesting.
I was wondering would you consider to support python3?
The text was updated successfully, but these errors were encountered: