Yaya-Cout
0e65c97774
[Simulator] Fix MicroPython in Web simulator and update to Emscripten 3.1.30
2023-01-14 19:52:30 +00:00
Yaya-Cout
92c653f2f2
[python] Upgrade MicroPython to version 1.19.1, Ulab and add unit tests for Ulab ( #259 )
2022-06-26 13:03:22 +02:00
Mino1289
45229b80cd
[python] Support more operators overload (classes) ( #188 )
2022-03-28 20:59:21 +02:00
Yaya-Cout
4f0f41be56
[python] Add FStrings support ( #155 )
2022-02-09 22:21:07 +01:00
Yaya-Cout
814e2dee06
[python] Enable math.factorial ( #141 )
2022-02-02 22:18:04 +01:00
Yaya-Cout
70b162e63b
Fix web simulator and binpack build ( #114 )
2021-12-28 15:12:13 +01:00
Yaya.Cout
a14f2015cf
Remove sys module
2021-12-15 14:31:07 +01:00
ArtichautCosmique
3b90969b42
[mpy] Enabled property/etc decorators ( #52 )
2021-10-20 22:26:01 +02:00
ArtichOwO
2837b240e9
[mpy] Added sys module
...
Removed useless "path" and "argv"
2021-10-15 14:46:39 +02:00
Laury
f9a123cc08
[mpy/ulab] Added support of from and to bytes array methods
2021-09-28 20:50:34 +02:00
ArtichautCosmique
0a5e9e0889
[apps/code][mpy][makefile] Fix size error on n0100 ( #30 )
2021-09-26 20:37:56 +02:00
ArtichOwO
b0befbdbc5
[MPY/MOD] Added uLab
2021-06-23 22:40:41 +02:00
M4x1m3
6628b54218
[py] Fixed Illegal Instruction when building in debug
2021-02-15 14:56:41 +01:00
Quentin Guidée
1347b1a20c
[upstream] Update
2020-11-27 13:23:07 +01:00
Joachim Le Fournis
bd5cdb0f65
[py] Support round on int
2020-11-23 12:12:46 +01:00
M4x1m3
b9a6298ffa
[mpy] Added os module
2020-07-21 18:00:12 +02:00
Romain Goyet
a840e7fb05
[liba] Define SEEK_CUR
...
For some reason it was defined in Python and raised re-def errors
2020-04-06 09:51:04 +02:00
Émilie Feral
61e7ec52e6
[python] matplotlib: make pyplot a submodule of matplotlib
2020-04-01 10:18:09 +02:00
Émilie Feral
7d5568ff1a
[python] WIP: change change pyplot name: pyplot --> matplotlib.pyplot
2020-04-01 10:18:09 +02:00
Romain Goyet
c99bed6922
[python] Stub a matplotlib module
2020-04-01 10:18:08 +02:00
Émilie Feral
de74aa7e59
[python] Enable PYSTACK for emscripten platform: this "fixes" bug
...
probably due to gc_collect (we suspect that transpiled C does not have
access to javascript variables preventing it from collecting all
required roots and leading to deleting objects prematuraly). Enabling
PyStack reduces the use of the heap and fixes the bug.
2020-02-12 15:13:24 +01:00
Ruben Dashyan
389fbbca3a
[python/port] Support for unicode strings
2020-01-06 15:15:19 +01:00
Romain Goyet
9d66b23848
[python] Add an ion module
2019-11-19 10:08:16 +01:00
Léa Saviot
03bb81215e
[python/urandom] Use Ion::random to seed urandom
2019-04-17 11:46:01 +02:00
Léa Saviot
f9e2fc6974
[python] Fix typo
2019-04-17 11:46:00 +02:00
Romain Goyet
7fc34fe17f
[python/turtle] Use an init method to reset the turtle
2018-11-16 18:33:05 +01:00
Romain Goyet
22a39a2fd6
[python/turtle] Use a dedicated folder
2018-11-16 10:31:16 +01:00
Romain Goyet
efaa87d36c
Merge branch 'master' into python_turtle
2018-11-16 09:46:11 +01:00
Romain Goyet
d6a2238be6
[python] Clean the Kandinsky's module code
2018-11-15 17:12:01 +01:00
Romain Goyet
a3d6d6ddd6
[ion/timing] Cleanup
2018-11-15 16:19:07 +01:00
Romain Goyet
dbc866d289
[python] Use the proper time module
2018-11-15 14:59:56 +01:00
Romain Goyet
e73033b19c
Merge branch 'master' into utime_module
2018-11-15 14:37:11 +01:00
Romain Goyet
d7a13ba8fd
Revert to micropython_port_should_interrupt
2018-11-14 16:57:16 +01:00
Romain Goyet
5dfefb477a
[python] Rename micropython_port_should_interrupt to micropython_port_vm_hook_loop
2018-11-13 10:06:23 +01:00
Damien Nicolet
f93bf97182
[ion] Sharing millis & micros for blackbox and simulator
2018-11-09 01:30:22 +01:00
Damien Nicolet
79bfc7f112
[code] time module
2018-11-09 01:30:22 +01:00
Jean-Baptiste Boric
464c1a5c95
[python] Initial turtle module
2018-10-27 14:24:36 +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
8094a02e71
[python] Don't compile MICROPY_HELPER_REPL for nothing
2018-06-08 17:26:37 +02:00
Romain Goyet
96846e9396
[python] Clean up the configuration files
2018-06-04 16:10:14 +02:00
Romain Goyet
21b5e898c3
Enable the urandom module in mpconfigport.h, not in uPy
...
Otherwise it breaks when upgrading uPy. Faulty commit 4011290 .
2018-04-13 09:39:14 +02:00
Romain Goyet
8aef4d996c
[python] Restore the should_interrupt routine
2018-04-11 10:27:18 +02:00
Romain Goyet
651d5715e4
[python] Adding mp_hal_input
2018-02-01 14:10:26 +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