Commit Graph

33 Commits

Author SHA1 Message Date
Léa Saviot
3bd3e64e36 [python/turtle] Order the qstr 2018-12-11 14:42:04 +01:00
Léa Saviot
3249ccb695 [python/turtle] "back()" shortcut for "backwards()" 2018-12-10 14:31:44 +01:00
Léa Saviot
c8a5972243 [python/turtle] Turtle::circle(radius, angle) 2018-12-07 10:51:14 +01:00
Léa Saviot
cc3beb6014 [python/turtle] Turtle::reset() method 2018-12-06 17:26:43 +01:00
Romain Goyet
efaa87d36c Merge branch 'master' into python_turtle 2018-11-16 09:46:11 +01:00
Romain Goyet
1142fd00a2 [python] Use a custom modtime implementation
It only exposes "monotonic" and "sleep" functions, which are the
only part of CPython's time we can actually do at the moment.
2018-11-15 14:18:01 +01:00
Damien Nicolet
24630011b1 [code] keep only CPython equivalent functions in utime module 2018-11-10 00:00:03 +01:00
Damien Nicolet
79bfc7f112 [code] time module 2018-11-09 01:30:22 +01:00
Jean-Baptiste Boric
c89a369a08 [python] Add getters for turtle module 2018-10-30 18:26:13 +01:00
Jean-Baptiste Boric
fcf7cc33cf [python] Implement turtle.position() 2018-10-30 18:10:25 +01:00
Jean-Baptiste Boric
0a05b94b4d [python] Turtle module improvements 2018-10-28 14:16:00 +01:00
Jean-Baptiste Boric
464c1a5c95 [python] Initial turtle module 2018-10-27 14:24:36 +02:00
Romain Goyet
b3b29c214c [python] Don's sort QSTRs before processing them
The order matters because of the codepoint2name routine
2018-06-26 14:18:55 +02:00
Romain Goyet
53fbd2367f [python] Switch MICROPY_QSTR_BYTES_IN_HASH to 2 (default) 2018-06-26 14:18:55 +02:00
Romain Goyet
217d0ccc10 [python] Enable builtins reversed 2018-06-08 17:26:37 +02:00
Romain Goyet
5008f40a66 [python] Enable builtins filter 2018-06-08 17:26:37 +02:00
Romain Goyet
e1b3e107da [python] Enable builtins frozenset 2018-06-08 17:26:37 +02:00
Romain Goyet
8acf50b50c [python] Enable builtins enumerate 2018-06-08 17:26:37 +02:00
Romain Goyet
b67388a9a9 [python] Enable builtins set 2018-06-08 17:26:37 +02:00
Romain Goyet
73250e727a [python] Update to MicroPython 1.9.4 2018-06-04 16:10:14 +02:00
Romain Goyet
55e4c955f4 Upgrade to MicroPython 1.9.3 2018-04-09 14:43:15 +02:00
Romain Goyet
651d5715e4 [python] Adding mp_hal_input 2018-02-01 14:10:26 +01:00
Émilie Feral
5c23003e50 [apps] Python: Refining random module 2018-01-16 13:19:27 +01:00
MaxBzh
4011290e7a Add Urandom module in Python 2018-01-05 14:28:25 +01:00
Léa Saviot
f7766080c3 [python] Fixed the list[:] function. 2017-12-12 09:42:30 +01:00
Léa Saviot
2a0bc95097 [python] Fix min/max functions. 2017-12-12 09:42:10 +01:00
Léa Saviot
5cc9aa53f2 [python] Fixed underscore missing.
Change-Id: I58fb379c9ad070c15fb4d3487baa42f861c40b25
2017-11-17 14:05:23 +01:00
Romain Goyet
9fa5ac0acf [python] Use the extended math functions 2017-11-17 11:59:49 +01:00
Romain Goyet
247ea217fa [python] Enable the cmath module 2017-11-17 11:59:49 +01:00
Romain Goyet
2283736dfe [python] Enable the math module 2017-11-17 11:59:49 +01:00
Émilie Feral
52f5858ffd [python][apps/code] Enable interrupting python execution
Change-Id: Iadf7038f79f0289ce20d7ded42f8fe70894f0c0a
2017-08-28 13:30:46 +02:00
Émilie Feral
818c56bd45 [python] Enable float
Change-Id: I94111dd821fb3a9ef1e22ae5133c3a48285c52d5
2017-08-25 11:20:49 +02:00
Romain Goyet
16584c5a88 [python] Initial import of MicroPython 1.9.1
Change-Id: I1a8bafe720fb865f9418fc1e50de1184312e1653
2017-08-04 17:56:24 +02:00