| Age | Commit message (Collapse) | Author |
|
Handles, eg, "{:>20}".format("foo"), where there is no explicit spec for
the type of the argument.
|
|
|
|
Note that even though wrapped in MICROPY_CPYTHON_COMPAT, it is not
fully compatible because the modifications to the dictionary do not
propagate to the actual instance members.
|
|
|
|
When looking up and extracting an attribute of an instance, some
attributes must bind self as the first argument to make a working method
call. Previously to this patch, any attribute that was callable had self
bound as the first argument. But Python specs require the check to be
more restrictive, and only functions, closures and generators should have
self bound as the first argument
Addresses issue #1675.
|
|
Addresses issue #1636.
|
|
This requires CPython3.5, to not require switching to it, just use .exp
file.
|
|
Addresses issue #1709.
|
|
|
|
Addresses issue #1697.
|
|
Addresses issue #1693.
|
|
|
|
|
|
|
|
Addresses issue #1678.
|
|
This patch checks that there is only one *, and that ** is last in the
arg list.
|
|
Fixes issue #1623.
|
|
Tested by comparability to small int/casting to bool.
|
|
And thus can be successfully used in comparisons, etc.
|
|
|
|
|
|
Addresses issue #1182.
|
|
See issue #1500.
|
|
In Python 3.4 the value is evaluated before the key. In Python 3.5 it's
key then value.
|
|
Also adds tests specifically for testing constant folding.
|
|
|
|
All breaking changes going from 3.4 to 3.5 are contained in
basics/python34.py.
|
|
|
|
|
|
|
|
|
|
|
|
Configurable with MICROPY_PY_BUILTINS_SLICE_ATTRS. Disabled by default.
|
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Was KeyError, should be ValueError.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|