Releases: tusharsadhwani/zxpy
Releases Β· tusharsadhwani/zxpy
1.6.4
1.6.3
What's Changed
- Make CLI arguments accessible in zxpy programs by @tusharsadhwani in #52
Full Changelog: 1.6.2...1.6.3
1.6.2
What's Changed
- Replace the custom interpreter with a builtin one by @tusharsadhwani in #49
Full Changelog: 1.6.1...1.6.2
1.6.1
- Fix bug in interactive mode invocation:
zxpy
by itself wouldn't work before this.
Interactive mode
Added interactive mode option: zxpy -i myfile.py
.
Full Changelog: 1.5.2...1.6.0
Bugfixes
What's Changed
- Break Multiline REPL Statements by @udasitharani in #40
New Contributors
- @udasitharani made their first contribution in #40
Full Changelog: 1.5.1...1.5.2
Fix MacOS tests
- use
read1()
instead of select polling, to simplify some logic - remove the use of
echo -n
, as that is linux-specific
Python3.10 support
Adds Python3.10 support
Faster output and no deadlocks
- Use the
select
module to do non-blocking reads from the shell process, instead of reading 1 byte at a time. Leads to significantly faster output for large streams, without any blocking. - Use
process.communicate()
to read stdout and stderr without causing deadlock due to buffer overflow.
Misc. bugfixes
- Ensure the package actually works in Python 3.6+
- Make sure that
~'...'
raises an error if the process exits with a non-zero return code - Fix an edge case in supported syntax:
[a, b, c] = ~'...'