2015-05-28 14:25:07 +00:00
|
|
|
# mp_printf
|
|
|
|
-123 +123 123
|
|
|
|
-0123
|
|
|
|
123
|
2017-12-19 04:01:17 +00:00
|
|
|
123
|
2015-05-28 14:25:07 +00:00
|
|
|
1ABCDEF
|
2020-10-22 08:38:03 +00: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 02:25:42 +00:00
|
|
|
abc
|
2019-05-03 13:21:28 +00:00
|
|
|
%
|
2018-03-01 11:49:15 +00:00
|
|
|
# GC
|
|
|
|
0
|
|
|
|
0
|
2015-05-12 22:34:10 +00:00
|
|
|
# vstr
|
|
|
|
tests
|
|
|
|
sts
|
|
|
|
|
|
|
|
test
|
|
|
|
tes
|
2017-08-31 22:05:24 +00:00
|
|
|
RuntimeError:
|
|
|
|
RuntimeError:
|
2015-05-12 22:34:10 +00:00
|
|
|
# repl
|
2015-05-08 08:18:38 +00:00
|
|
|
ame__
|
|
|
|
|
2019-08-15 08:56:01 +00:00
|
|
|
__class__ __name__ argv atexit
|
|
|
|
byteorder exc_info exit getsizeof
|
|
|
|
implementation maxsize modules path
|
|
|
|
platform print_exception stderr
|
|
|
|
stdin stdout version version_info
|
2015-05-08 08:18:38 +00:00
|
|
|
ementation
|
2015-05-12 22:34:10 +00:00
|
|
|
# attrtuple
|
|
|
|
(start=1, stop=2, step=3)
|
2015-09-03 22:06:18 +00:00
|
|
|
# str
|
|
|
|
1
|
2018-02-08 00:14:30 +00:00
|
|
|
# bytearray
|
|
|
|
data
|
2015-10-01 17:49:37 +00:00
|
|
|
# mpz
|
|
|
|
1
|
|
|
|
12345678
|
|
|
|
0
|
|
|
|
0
|
2018-02-25 12:43:16 +00:00
|
|
|
0
|
|
|
|
0
|
|
|
|
0
|
|
|
|
1
|
|
|
|
12345
|
|
|
|
6
|
2016-12-29 07:07:38 +00:00
|
|
|
# runtime utils
|
2017-10-21 10:55:02 +00:00
|
|
|
TypeError: unsupported type for __abs__: 'str'
|
|
|
|
TypeError: unsupported types for __divmod__: 'str', 'str'
|
2020-01-14 12:45:56 +00:00
|
|
|
1
|
|
|
|
2
|
|
|
|
OverflowError: overflow converting long int to machine word
|
|
|
|
OverflowError: overflow converting long int to machine word
|
2020-01-23 02:18:34 +00:00
|
|
|
ValueError:
|
2017-01-04 03:23:29 +00:00
|
|
|
Warning: test
|
2017-01-05 00:12:05 +00:00
|
|
|
# format float
|
|
|
|
?
|
|
|
|
+1e+00
|
|
|
|
+1e+00
|
2017-03-14 06:58:43 +00:00
|
|
|
# binary
|
2018-03-01 04:47:17 +00:00
|
|
|
123
|
2017-03-14 06:58:43 +00:00
|
|
|
456
|
2018-02-27 05:17:10 +00:00
|
|
|
# VM
|
|
|
|
2 1
|
2017-03-16 07:05:33 +00:00
|
|
|
# scheduler
|
|
|
|
sched(0)=1
|
|
|
|
sched(1)=1
|
|
|
|
sched(2)=1
|
|
|
|
sched(3)=1
|
|
|
|
sched(4)=0
|
|
|
|
unlocked
|
|
|
|
0
|
2019-03-21 00:52:10 +00:00
|
|
|
1
|
|
|
|
2
|
|
|
|
3
|
2020-02-06 09:26:29 +00:00
|
|
|
KeyboardInterrupt:
|
|
|
|
KeyboardInterrupt:
|
|
|
|
10
|
2019-09-30 01:29:52 +00: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-13 13:02:01 +00: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 19:44:52 +00:00
|
|
|
# mp_obj_is_type
|
|
|
|
1 1
|
|
|
|
0 0
|
|
|
|
1 1
|
|
|
|
1 1
|
|
|
|
0 0
|
|
|
|
1 1
|
|
|
|
# end coverage.c
|
2017-01-16 04:04:53 +00:00
|
|
|
0123456789 b'0123456789'
|
2016-09-02 05:07:42 +00:00
|
|
|
7300
|
|
|
|
7300
|
|
|
|
7300
|
|
|
|
7300
|
2017-01-16 04:04:53 +00:00
|
|
|
None
|
|
|
|
None
|
|
|
|
None
|
|
|
|
None
|
|
|
|
None
|
|
|
|
None
|
|
|
|
b'123'
|
|
|
|
b'123'
|
|
|
|
b'123'
|
|
|
|
OSError
|
|
|
|
0
|
|
|
|
None
|
2017-01-17 02:12:50 +00:00
|
|
|
None
|
2020-10-08 14:52:25 +00:00
|
|
|
cpp None
|
2020-10-21 09:13:47 +00:00
|
|
|
5
|
|
|
|
(3, 'hellocpp')
|
2017-01-05 03:58:08 +00:00
|
|
|
frzstr1
|
2019-07-08 09:26:20 +00:00
|
|
|
frzstr1.py
|
2017-01-05 03:58:08 +00:00
|
|
|
frzmpy1
|
2019-07-08 09:26:20 +00:00
|
|
|
frzmpy1.py
|
2017-01-08 11:45:55 +00:00
|
|
|
frzstr_pkg1.__init__
|
2019-07-08 09:26:20 +00:00
|
|
|
frzstr_pkg1/__init__.py 1
|
2017-01-08 11:45:55 +00:00
|
|
|
frzmpy_pkg1.__init__
|
2019-07-08 09:26:20 +00:00
|
|
|
frzmpy_pkg1/__init__.py 1
|
2017-01-08 11:45:55 +00:00
|
|
|
frzstr_pkg2.mod
|
|
|
|
1
|
|
|
|
frzmpy_pkg2.mod
|
|
|
|
1
|
2017-01-16 05:47:02 +00:00
|
|
|
ZeroDivisionError
|
2018-03-03 12:58:03 +00:00
|
|
|
b'# test frozen package'
|
2019-09-25 05:53:30 +00:00
|
|
|
NULL
|