Skip to content

Make Python Tutor compatible with Python 3.12 and improve security#10

Open
GraceDuquiza wants to merge 10 commits intosineagles:masterfrom
GraceDuquiza:master
Open

Make Python Tutor compatible with Python 3.12 and improve security#10
GraceDuquiza wants to merge 10 commits intosineagles:masterfrom
GraceDuquiza:master

Conversation

@GraceDuquiza
Copy link
Copy Markdown

Summary

This PR updates the Online Python Tutor project for Python 3 compatibility and cleans up deprecated or unsafe code.

Changes

  • Replaced deprecated imp with importlib (Python 3.12+ support)
  • Fixed regex escape warnings by using raw strings 'r'
  • Added redirect from / to /visualize.html for easier access
  • Removed exposed Google API keys and replaced with placeholders

Testing

  • Tested locally on Windows 10, Python 3.12
  • Confirmed Bottle server runs and loads /visualize.html successfully

@GraceDuquiza GraceDuquiza force-pushed the master branch 2 times, most recently from 32f5171 to b8961cc Compare October 19, 2025 15:57
GraceDuquiza and others added 8 commits October 19, 2025 19:00
Modernized the README to reflect updates and improvements in the Online Python Tutor fork, including compatibility with Python 3.13 and security enhancements.
Added an example visualization section with an image.
- Added runtime version print with compatibility notice
- Verified Bottle server works under Python 3.14
- Cleaned duplicate imports and updated requirements.txt
Updated the logo emoji in the README and added badges for license, last update, and maintainer.
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