| Commit message (Collapse) | Author | Age |
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
As per CPython semantics. In particular, file.__del__() should not raise
an exception if the file is already closed.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Covered case:
- Stat cases
- Invalid read/write/flush/close
- Invalid mkdir/rmdir/remove/getcwd
- File seek/tell, modes a/x/+, t/b
- Writing to a full disk
- Full path rename, slash trim
- Rename cases
- Bytestring listdir
- File object printing
|
|
|
|
| |
It now works.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
The output might contain more than one line ending in 5b so properly skip
everything until the next known point.
This fixes test failures in appveyor debug builds.
|
|
|
|
| |
binary op.
|
|
|
|
| |
Disabled until a proper fix is found.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
There is now just the exception instance on the stack when an exception is
raised, not the full (type, exc, traceback).
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
Having a micropython.const identity function, and writing "from micropython
import const" at the start of scripts that use the const feature, allows to
write scripts which are compatible with CPython, and with uPy builds that
don't include const optimisation.
This patch adds such a function and updates the tests to do the import.
|
|
|
|
|
| |
This corresponds to the change in the way exception values are stored on
the Python value stack.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
With mpy-cross built, tests can now be run by first compiling them to .mpy
files, and then executing the .mpy file. Usage: ./run-tests --via-mpy
|
|
|
|
|
| |
The showbc function now no longer uses the system printf so works
correctly.
|
| |
|
| |
|
| |
|
| |
|
| |
|