This website requires JavaScript.
Explore
Help
Sign In
mirrors
/
micropython
mirror of
https://github.com/micropython/micropython.git
Watch
1
Star
0
Fork
You've already forked micropython
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
b806889512
micropython
/
tests
/
basics
/
python34.py.exp
14 lines
128 B
Plaintext
Raw
Normal View
History
Unescape
Escape
tests: Allow tests to pass against CPython 3.5. All breaking changes going from 3.4 to 3.5 are contained in basics/python34.py.
2015-10-02 13:01:47 +01:00
None
['a', 'b']
('a', 'b') {'kw_arg': None}
tests: Add test for evaluation order of dictionary key/value pairs. In Python 3.4 the value is evaluated before the key. In Python 3.5 it's key then value.
2015-10-08 13:15:07 +01:00
2
1
tests: Allow tests to pass against CPython 3.5. All breaking changes going from 3.4 to 3.5 are contained in basics/python34.py.
2015-10-02 13:01:47 +01:00
SyntaxError
SyntaxError
tests: Update test suite to be compatible with CPython 3.6. 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.
2017-01-08 13:19:01 +00:00
SyntaxError
SyntaxError
py/compile: Raise SyntaxError if positional args are given after */**. In CPython 3.4 this raises a SyntaxError. In CPython 3.5+ having a positional after * is allowed but uPy has the wrong semantics and passes the arguments in the incorrect order. To prevent incorrect use of a function going unnoticed it is important to raise the SyntaxError in uPy, until the behaviour is fixed to follow CPython 3.5+.
2017-06-14 09:18:01 +01:00
SyntaxError
SyntaxError
tests: Allow tests to pass against CPython 3.5. All breaking changes going from 3.4 to 3.5 are contained in basics/python34.py.
2015-10-02 13:01:47 +01:00
3.4
3 4