2015-05-28 14:25:07 +00:00
|
|
|
# mp_printf
|
|
|
|
-123 +123 123
|
|
|
|
-0123
|
|
|
|
123
|
2017-12-19 15:01:17 +11:00
|
|
|
123
|
2015-05-28 14:25:07 +00:00
|
|
|
1ABCDEF
|
2020-10-22 10:38:03 +02:00
|
|
|
ab abc ' abc' ' True' 'Tru'
|
2015-05-28 14:25:07 +00:00
|
|
|
|
|
|
|
false true
|
|
|
|
(null)
|
2016-02-01 15:08:42 +00:00
|
|
|
-2147483648
|
|
|
|
2147483648
|
|
|
|
80000000
|
|
|
|
80000000
|
2017-06-30 12:25:42 +10:00
|
|
|
abc
|
2021-04-22 17:55:39 -07:00
|
|
|
%
|
2018-03-01 22:49:15 +11:00
|
|
|
# GC
|
2021-08-29 11:14:19 -05:00
|
|
|
0x0
|
|
|
|
0x0
|
2015-05-12 23:34:10 +01:00
|
|
|
# vstr
|
|
|
|
tests
|
|
|
|
sts
|
|
|
|
|
|
|
|
test
|
|
|
|
tes
|
2017-09-01 08:05:24 +10:00
|
|
|
RuntimeError:
|
|
|
|
RuntimeError:
|
2015-05-12 23:34:10 +01:00
|
|
|
# repl
|
2015-05-08 09:18:38 +01:00
|
|
|
ame__
|
2021-04-03 16:56:02 -04:00
|
|
|
mport
|
|
|
|
|
2021-11-28 15:14:47 -06:00
|
|
|
builtins micropython _thread aesio
|
|
|
|
array binascii bitmaptools btree
|
|
|
|
cexample cmath collections cppexample
|
|
|
|
displayio errno ffi framebuf
|
|
|
|
gc gifio hashlib json
|
|
|
|
math qrio rainbowio re
|
2021-12-02 11:11:11 +05:30
|
|
|
sys termios traceback ubinascii
|
|
|
|
uctypes uerrno uheapq uio
|
|
|
|
ujson ulab uos urandom
|
|
|
|
ure uselect ustruct utime
|
|
|
|
utimeq uzlib
|
2021-04-03 16:56:02 -04:00
|
|
|
ime
|
|
|
|
|
|
|
|
utime utimeq
|
2015-05-08 09:18:38 +01:00
|
|
|
|
2021-07-30 10:00:00 +05:30
|
|
|
argv byteorder exc_info exit
|
|
|
|
getsizeof implementation maxsize modules
|
|
|
|
path platform stderr stdin
|
|
|
|
stdout version version_info
|
2015-05-08 09:18:38 +01:00
|
|
|
ementation
|
2015-05-12 23:34:10 +01:00
|
|
|
# attrtuple
|
|
|
|
(start=1, stop=2, step=3)
|
2015-09-03 23:06:18 +01:00
|
|
|
# str
|
|
|
|
1
|
2018-02-08 11:14:30 +11:00
|
|
|
# bytearray
|
|
|
|
data
|
2015-10-01 18:49:37 +01:00
|
|
|
# mpz
|
|
|
|
1
|
|
|
|
12345678
|
|
|
|
0
|
|
|
|
0
|
2018-02-25 23:43:16 +11:00
|
|
|
0
|
|
|
|
0
|
|
|
|
0
|
|
|
|
1
|
|
|
|
12345
|
|
|
|
6
|
2016-12-29 18:07:38 +11:00
|
|
|
# runtime utils
|
2017-10-21 13:55:02 +03:00
|
|
|
TypeError: unsupported type for __abs__: 'str'
|
|
|
|
TypeError: unsupported types for __divmod__: 'str', 'str'
|
2020-01-14 23:45:56 +11:00
|
|
|
1
|
|
|
|
2
|
|
|
|
OverflowError: overflow converting long int to machine word
|
|
|
|
OverflowError: overflow converting long int to machine word
|
2020-01-23 13:18:34 +11:00
|
|
|
ValueError:
|
2017-01-04 14:23:29 +11:00
|
|
|
Warning: test
|
2017-01-05 11:12:05 +11:00
|
|
|
# format float
|
|
|
|
?
|
|
|
|
+1e+00
|
|
|
|
+1e+00
|
2017-03-14 17:58:43 +11:00
|
|
|
# binary
|
2018-03-01 15:47:17 +11:00
|
|
|
123
|
2017-03-14 17:58:43 +11:00
|
|
|
456
|
2018-02-27 16:17:10 +11:00
|
|
|
# VM
|
|
|
|
2 1
|
2017-03-16 18:05:33 +11:00
|
|
|
# scheduler
|
|
|
|
sched(0)=1
|
|
|
|
sched(1)=1
|
|
|
|
sched(2)=1
|
|
|
|
sched(3)=1
|
|
|
|
sched(4)=0
|
|
|
|
unlocked
|
|
|
|
0
|
2021-04-22 17:55:39 -07:00
|
|
|
1
|
|
|
|
2
|
|
|
|
3
|
2020-02-06 20:26:29 +11:00
|
|
|
KeyboardInterrupt:
|
|
|
|
KeyboardInterrupt:
|
|
|
|
10
|
2021-04-23 12:26:42 -07:00
|
|
|
# ringbuf
|
|
|
|
99 0
|
|
|
|
98 1
|
|
|
|
22
|
|
|
|
99 0
|
|
|
|
97 2
|
|
|
|
aa55
|
|
|
|
99 0
|
|
|
|
0 99
|
|
|
|
-1
|
|
|
|
1 98
|
|
|
|
-1
|
|
|
|
2 97
|
|
|
|
0
|
|
|
|
cc99
|
|
|
|
99 0
|
|
|
|
0
|
|
|
|
11bb
|
|
|
|
0
|
|
|
|
22ff
|
|
|
|
-1
|
|
|
|
-1
|
2020-01-14 00:02:01 +11:00
|
|
|
# pairheap
|
|
|
|
create: 0 0 0 0
|
|
|
|
pop all: 0 1 2 3
|
|
|
|
create: 7 6 5 4 3 2 1 0
|
|
|
|
pop all: 0 1 2 3 4 5 6 7
|
|
|
|
create: 1 - - 1 1 1 1 1 1
|
|
|
|
pop all: 1 2
|
|
|
|
create: 1 1 1 1 2 2
|
|
|
|
pop all: 2 4
|
|
|
|
create: 1 1 1 1 1
|
|
|
|
pop all: 1 3 4
|
|
|
|
create: 3 3 3 1 1 1
|
|
|
|
pop all: 1 2 4 5
|
2020-01-22 20:44:52 +01:00
|
|
|
# mp_obj_is_type
|
|
|
|
1 1
|
|
|
|
0 0
|
|
|
|
1 1
|
|
|
|
1 1
|
|
|
|
0 0
|
|
|
|
1 1
|
|
|
|
# end coverage.c
|
2017-01-16 15:04:53 +11:00
|
|
|
0123456789 b'0123456789'
|
2016-09-02 15:07:42 +10:00
|
|
|
7300
|
|
|
|
7300
|
|
|
|
7300
|
|
|
|
7300
|
2017-01-16 15:04:53 +11:00
|
|
|
None
|
|
|
|
None
|
|
|
|
None
|
|
|
|
None
|
|
|
|
None
|
|
|
|
None
|
|
|
|
b'123'
|
|
|
|
b'123'
|
|
|
|
b'123'
|
|
|
|
OSError
|
|
|
|
0
|
|
|
|
None
|
2017-01-17 13:12:50 +11:00
|
|
|
None
|
2020-10-08 16:52:25 +02:00
|
|
|
cpp None
|
2020-10-21 11:13:47 +02:00
|
|
|
5
|
|
|
|
(3, 'hellocpp')
|
2017-01-05 14:58:08 +11:00
|
|
|
frzstr1
|
2021-04-23 12:26:42 -07:00
|
|
|
frzstr1.py
|
2017-01-05 14:58:08 +11:00
|
|
|
frzmpy1
|
2021-04-23 12:26:42 -07:00
|
|
|
.frozen/frzmpy1.py
|
2017-01-08 22:45:55 +11:00
|
|
|
frzstr_pkg1.__init__
|
2021-04-23 12:26:42 -07:00
|
|
|
frzstr_pkg1/__init__.py 1
|
2017-01-08 22:45:55 +11:00
|
|
|
frzmpy_pkg1.__init__
|
2021-04-23 12:26:42 -07:00
|
|
|
.frozen/frzmpy_pkg1/__init__.py 1
|
2017-01-08 22:45:55 +11:00
|
|
|
frzstr_pkg2.mod
|
|
|
|
1
|
|
|
|
frzmpy_pkg2.mod
|
|
|
|
1
|
2017-01-16 16:47:02 +11:00
|
|
|
ZeroDivisionError
|
2018-03-03 23:58:03 +11:00
|
|
|
b'# test frozen package'
|
2021-04-23 12:26:42 -07:00
|
|
|
NULL
|