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