Commit Graph

13 Commits

Author SHA1 Message Date
HyeonGyu Lee (Vazrupe)
1be7cc6308 Add framework attribute in sys module
Fixes #1342
2019-09-10 20:16:11 +09:00
Aviv Palivoda
802acf7dd5 Add sys.exc_info 2019-07-15 19:26:53 +03:00
Windel Bouwman
f752c93c0a Add sys.settrace and sys.setprofile functions to register profiling functions. 2019-07-14 12:33:22 +02:00
Dong-hee Na
2e618af4f9 sys: Fix sys.maxsize and add sys.maxunicode
Current implementation of sys.maxsize is unsigned type
but AFAIK the type of sys.maxsize should be identical with
Py_ssize_t which is known as signed type.

sys.maxunicode is hardcoded from cpython repository
https://github.com/python/cpython/blob/master/Python/sysmodule.c#L2654
2019-07-10 02:48:45 +09:00
Dong-hee Na
103559101e sys.byteorder: Implement sys.byteorder 2019-06-29 16:16:03 +09:00
ben
c0c531d550 Merge branch 'master' into sys_flags
# Conflicts:
#	tests/snippets/sysmod.py
#	vm/src/sysmodule.rs
2019-05-30 21:12:57 +12:00
Jeong YunWon
3675ce859a Add sys.getfilesystemencoding, sys.getfilesystemencodeerrors 2019-05-29 21:20:55 +09:00
ben
60c9d5004a Add SimpleNamespace and sys.implementation 2019-05-19 15:01:22 +12:00
ben
2ca96c8ae1 Add sys.flags by creating a pystruct_sequence macro 2019-05-19 10:17:21 +12:00
Jeong YunWon
ddf676569a Add sys.builtin_module_names 2019-05-12 19:18:37 +09:00
Aviv Palivoda
152c1654d6 Add sys.platform 2019-05-11 11:43:11 +03:00
veera venky
cf2d07502b Removed strict testing for __doc__ string 2019-02-08 22:26:28 +05:30
veera venky
61cbb49647 Added __doc__ for sys module 2019-02-08 21:08:30 +05:30