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__
|
|
|
|
|
2018-02-15 07:12:31 +00:00
|
|
|
__class__ __name__ argv 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'
|
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
|
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
|
|
|
|
frzmpy1
|
2017-01-08 11:45:55 +00:00
|
|
|
frzstr_pkg1.__init__
|
|
|
|
1
|
|
|
|
frzmpy_pkg1.__init__
|
|
|
|
1
|
|
|
|
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'
|