2015-05-28 15:25:07 +01:00
|
|
|
# mp_printf
|
|
|
|
-123 +123 123
|
|
|
|
-0123
|
|
|
|
123
|
2017-12-19 04:01:17 +00:00
|
|
|
123
|
2015-05-28 15:25:07 +01:00
|
|
|
1ABCDEF
|
|
|
|
ab abc
|
|
|
|
|
|
|
|
false true
|
|
|
|
(null)
|
2016-02-01 15:08:42 +00:00
|
|
|
-2147483648
|
|
|
|
2147483648
|
|
|
|
80000000
|
|
|
|
80000000
|
2017-06-30 03:25:42 +01:00
|
|
|
abc
|
2019-05-03 14:21:28 +01:00
|
|
|
%
|
2018-03-01 11:49:15 +00:00
|
|
|
# GC
|
|
|
|
0
|
|
|
|
0
|
2015-05-12 23:34:10 +01:00
|
|
|
# vstr
|
|
|
|
tests
|
|
|
|
sts
|
|
|
|
|
|
|
|
test
|
|
|
|
tes
|
2017-08-31 23:05:24 +01:00
|
|
|
RuntimeError:
|
|
|
|
RuntimeError:
|
2015-05-12 23:34:10 +01:00
|
|
|
# repl
|
2015-05-08 09:18:38 +01:00
|
|
|
ame__
|
|
|
|
|
2019-08-15 09:56:01 +01: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 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 00:14:30 +00:00
|
|
|
# bytearray
|
|
|
|
data
|
2015-10-01 18:49:37 +01: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 11:55:02 +01: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 02:29:52 +01: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 06:07:42 +01: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
|
2017-01-05 03:58:08 +00:00
|
|
|
frzstr1
|
2019-07-08 10:26:20 +01:00
|
|
|
frzstr1.py
|
2017-01-05 03:58:08 +00:00
|
|
|
frzmpy1
|
2019-07-08 10:26:20 +01:00
|
|
|
frzmpy1.py
|
2017-01-08 11:45:55 +00:00
|
|
|
frzstr_pkg1.__init__
|
2019-07-08 10:26:20 +01:00
|
|
|
frzstr_pkg1/__init__.py 1
|
2017-01-08 11:45:55 +00:00
|
|
|
frzmpy_pkg1.__init__
|
2019-07-08 10:26:20 +01: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 06:53:30 +01:00
|
|
|
NULL
|