This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
github
/
micropython
mirror of
https://github.com/micropython/micropython.git
Watch
1
Star
0
Fork
0
Code
Issues
Projects
Releases
Wiki
Activity
embedded
microcontroller
python
micropython
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8502
Commits
3
Branches
62
Tags
504 MiB
Tree:
4e056d82cc
master
parse-bytecode
v1.22-release
v1.0
v1.0-rc1
v1.0.1
v1.1
v1.1.1
v1.10
v1.11
v1.12
v1.13
v1.14
v1.15
v1.16
v1.17
v1.18
v1.19
v1.19.1
v1.2
v1.20.0
v1.21.0
v1.22.0
v1.22.0-preview
v1.22.1
v1.22.2
v1.23.0
v1.23.0-preview
v1.24.0-preview
v1.3
v1.3.1
v1.3.10
v1.3.2
v1.3.3
v1.3.4
v1.3.5
v1.3.6
v1.3.7
v1.3.8
v1.3.9
v1.4
v1.4.1
v1.4.2
v1.4.3
v1.4.4
v1.4.5
v1.4.6
v1.5
v1.5.1
v1.5.2
v1.6
v1.7
v1.8
v1.8.1
v1.8.2
v1.8.3
v1.8.4
v1.8.5
v1.8.6
v1.8.7
v1.9
v1.9.1
v1.9.2
v1.9.3
v1.9.4
Branches
Tags
${ item.name }
Create tag
${ searchTerm }
Create branch
${ searchTerm }
from '4e056d82cc'
${ noResults }
micropython
/
tests
/
basics
/
python34.py.exp
14 lines
128 B
Raw
Normal View
History
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.
9 years ago
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.
9 years ago
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.
9 years ago
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.
8 years ago
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+.
8 years ago
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.
9 years ago
3.4
3 4