- pyp is now configurable! See README.md for the details
- Added CHANGELOG.md
- We now attempt to show a reconstructed traceback for errors raised in generated code
- Improved various error messages. We should never show you tracebacks into pyp code unless it's a genuine pyp crash
- The output of
--script
now has a shebang and orders imports better - Improved undefined name detection for imports, exception handlers, class and function definitions
- Automatic printing now tries a little harder to find standalone expressions to print
- Input code is now dedent-ed
- Updated Related Projects in README.md
- Several improvements to tests
Extra thanks to @rmcgibbo! Thanks to @nickodell, @yuvadm, @dbieber, @alendit!
- Fixed bugs in undefined name detection that affected loops and filtering comprehensions
- Added a shebang
- Improved tests
Thanks to @nickodell and @stuartlangridge!
- Added
--define-pypprint
, in case you don't want the output of--script
to importpypprint
frompyp
- Basic support for lambdas and functions in undefined name detection, despite a lack of scopes.
- Improved documentation and tests
- Added installation instructions from PyPI to README.md
- Initial release