| Age | Commit message (Collapse) | Author |
|
|
|
|
|
Updated modbuiltin.c to add conditional support for 3-arg calls to
pow() using MICROPY_PY_BUILTINS_POW3 config parameter. Added support in
objint_mpz.c for for optimised implementation.
|
|
|
|
|
|
|
|
|
|
This test works only for MICROPY_LONGINT_IMPL == MICROPY_LONGINT_IMPL_MPZ
and needs a way of skipping in other cases.
|
|
|
|
Previouly, we had errors checked in callers, which led to duplicate code
or missing checks in some places.
|
|
|
|
|
|
CPython 3.6 has a few changes that, when run on uPy's test suite, give a
different output to CPython 3.5. uPy currently officially supports the
3.4 language definition, but it's useful to be able to run the test suite
with 3.4/3.5/3.6 versions of CPython. This patch makes such changes to
support 3.6.
|
|
|
|
set isn't the most basic type and can be disabled by a port.
|
|
If sets are not enabled, set literals lead to SyntaxError during parsing,
so it requires feature_check. Set tests are skipped based on set_*.py
pattern.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Also add a test to check case when 3rd arg is 0.
|
|
And then it can run with the native emitter.
|
|
|
|
Improves coverage because it tests the case where the arg does not have a
__len__ slot.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
There is now just the exception instance on the stack when an exception is
raised, not the full (type, exc, traceback).
|
|
|
|
|
|
|
|
|