Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | cc3200: Replace Pin.PULL_NONE with None. | Daniel Campora | 2015-09-16 |
| | |||
* | cc3200: Default peripheral ID support on I2C. | Daniel Campora | 2015-09-16 |
| | |||
* | cc3200: Make UART choose default id when not given. | Daniel Campora | 2015-09-16 |
| | |||
* | py/objslice: Make slice attributes (start/stop/step) readable. | Tom Soulanille | 2015-09-15 |
| | | | | Configurable with MICROPY_PY_BUILTINS_SLICE_ATTRS. Disabled by default. | ||
* | tests/README: Explain how tests get skipped | Tom Soulanille | 2015-09-15 |
| | |||
* | py/mpz: Fix calculation of max digit storage for mpz; fix sys.maxsize. | Damien George | 2015-09-15 |
| | | | | | | | | When creating constant mpz's, the length of the mpz must be exactly how many digits are used (not allocated) otherwise these numbers are not compatible with dynamically allocated numbers. Addresses issue #1448. | ||
* | unix: Enable REPL auto-indent. | Damien George | 2015-09-12 |
| | |||
* | stmhal: fix single precision float printing error | Dave Hylands | 2015-09-11 |
| | | | | Fixes #1435. | ||
* | tests/wipy: Add I2C tests. | Daniel Campora | 2015-09-10 |
| | |||
* | tests/wipy: Disable the REPL on UART before running the UART test. | Daniel Campora | 2015-09-10 |
| | |||
* | tests/wipy: Additional tests for when the UART is un-initialized. | Daniel Campora | 2015-09-10 |
| | |||
* | cc3200: Improve Pin and UART implementation. | Daniel Campora | 2015-09-10 |
| | | | | | | Deassign pins af before assigning. Make uart.any() return the correct value everytime, this requires interrupts to be always enabled. | ||
* | tests/wipy: Improve UART tests with no pin assignment case. | Daniel Campora | 2015-09-10 |
| | |||
* | tests: Ignore exception chain test on the WiPy. | Daniel Campora | 2015-09-10 |
| | | | | Fails because warnings are not enabled on the CC3200. | ||
* | cc3200: New UART API plus related test. | Daniel Campora | 2015-09-10 |
| | |||
* | cc3200: Add alternate functions list to Pin object. | Daniel Campora | 2015-09-10 |
| | | | | Also remove pin.high() and pin.low() methods. | ||
* | cc3200: Re-work Pin class according to the new API. | Daniel Campora | 2015-09-10 |
| | | | | Also add relevant test. | ||
* | tests: Move int+unicode test to unicode-specific test directory. | Damien George | 2015-09-07 |
| | |||
* | py/lexer: Properly classify floats that look like hex numbers. | Damien George | 2015-09-07 |
| | | | | Eg 0e0 almost looks like a hex number but in fact is a float. | ||
* | py/lexer: Raise SyntaxError when unicode char point out of range. | Damien George | 2015-09-07 |
| | |||
* | py/lexer: Raise NotImplError for unicode name escape, instead of assert. | Damien George | 2015-09-07 |
| | |||
* | tests: Add tests for non-compliant behaviour of lexer. | Damien George | 2015-09-07 |
| | |||
* | py/compile: Refine SyntaxError for repeated use of global/nonlocal. | Damien George | 2015-09-07 |
| | |||
* | py/objstr: For str.endswith(s, start) raise NotImpl instead of assert. | Damien George | 2015-09-04 |
| | |||
* | tests: Add tests to improve coverage of objstr.c. | Damien George | 2015-09-03 |
| | |||
* | py/binary: Add support for array('q') and array('Q'). | Damien George | 2015-09-01 |
| | |||
* | py/objstr: Make str.rsplit(None,n) raise NotImpl instead of assert(0). | Damien George | 2015-09-01 |
| | |||
* | tests: Skip exception_chain.py with native emitter. | Paul Sokolovsky | 2015-09-01 |
| | |||
* | tests: Add test for exception-chaining raise syntax. | Paul Sokolovsky | 2015-09-01 |
| | |||
* | tests: Fix non-compliant expected output to match actual behaviour. | Damien George | 2015-08-30 |
| | |||
* | py/objstr: Simplify error handling for bad conversion specifier. | Damien George | 2015-08-30 |
| | |||
* | tests: Add tests for non-compliant behaviour. | Damien George | 2015-08-30 |
| | | | | | These tests are intended to improve coverage and provide a record of behaviour that's either not implemented or non-compliant to CPython. | ||
* | tests: Add test where __getitem__ raises IndexError to stop iteration. | Damien George | 2015-08-30 |
| | |||
* | tests: Consolidate all feature check snippets under feature_check/. | Paul Sokolovsky | 2015-08-30 |
| | |||
* | tests: Add feature_check dir to collect capability detection scripts. | Paul Sokolovsky | 2015-08-30 |
| | | | | | Which are currently intermixed with real scripts and spread around various dirs. | ||
* | py/objstr: Fix error reporting for unexpected end of modulo format str. | Damien George | 2015-08-29 |
| | |||
* | py/objstr: Fix error type for badly formatted format specifier. | Damien George | 2015-08-29 |
| | | | | Was KeyError, should be ValueError. | ||
* | py/objstr: Make string formatting 8-bit clean. | Damien George | 2015-08-29 |
| | |||
* | tests: Add a few tests for bool, bytearray, float to improve coverage. | Damien George | 2015-08-29 |
| | |||
* | tests: Add byteorder query script. | Paul Sokolovsky | 2015-08-30 |
| | |||
* | tests: Split byteorder-dependent tests to *_endian.py's. | Paul Sokolovsky | 2015-08-30 |
| | |||
* | run-tests: Allow to skip byteorder-dependent tests. | Paul Sokolovsky | 2015-08-30 |
| | | | | If byteorder of MicroPython under test and host CPython differ. | ||
* | tests/ffi_float: Split tgammaf() testcase to a separate test. | Paul Sokolovsky | 2015-08-29 |
| | | | | | Some libc's may implement tgammaf as a header macro using tgamma(), so don't assume it'll be in the library. | ||
* | tests: Add test on set/frozenset equality. | Paul Sokolovsky | 2015-08-28 |
| | |||
* | objset: frozensets are hashable. | Paul Sokolovsky | 2015-08-28 |
| | |||
* | tests: For unix ffi float test, add libm.so.6 to library search list. | Damien George | 2015-08-25 |
| | | | | | Latest Arch Linux doesn't have libm.so as a proper shared object and so we need to load libm.so.6. | ||
* | tests: Add more tests to improve coverage, mostly testing exceptions. | Damien George | 2015-08-21 |
| | |||
* | tests: Make io test cleanup after itself by removing 'testfile'. | Damien George | 2015-08-21 |
| | |||
* | unix-cpy: Remove unix-cpy. It's no longer needed. | Damien George | 2015-08-17 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | unix-cpy was originally written to get semantic equivalent with CPython without writing functional tests. When writing the initial implementation of uPy it was a long way between lexer and functional tests, so the half-way test was to make sure that the bytecode was correct. The idea was that if the uPy bytecode matched CPython 1-1 then uPy would be proper Python if the bytecodes acted correctly. And having matching bytecode meant that it was less likely to miss some deep subtlety in the Python semantics that would require an architectural change later on. But that is all history and it no longer makes sense to retain the ability to output CPython bytecode, because: 1. It outputs CPython 3.3 compatible bytecode. CPython's bytecode changes from version to version, and seems to have changed quite a bit in 3.5. There's no point in changing the bytecode output to match CPython anymore. 2. uPy and CPy do different optimisations to the bytecode which makes it harder to match. 3. The bytecode tests are not run. They were never part of Travis and are not run locally anymore. 4. The EMIT_CPYTHON option needs a lot of extra source code which adds heaps of noise, especially in compile.c. 5. Now that there is an extensive test suite (which tests functionality) there is no need to match the bytecode. Some very subtle behaviour is tested with the test suite and passing these tests is a much better way to stay Python-language compliant, rather than trying to match CPy bytecode. | ||
* | py: Add stream_tell method, and use for unix and stmhal file tell. | blmorris | 2015-08-13 |
| |