1.1 --- a/lib/sys.py Fri Nov 11 00:03:05 2016 +0100
1.2 +++ b/lib/sys.py Fri Nov 11 00:05:34 2016 +0100
1.3 @@ -21,20 +21,17 @@
1.4
1.5 from native import _exit
1.6
1.7 -# Placeholders for run-time data.
1.8 +# Standard streams.
1.9
1.10 -stdin = file()
1.11 -stdout = file()
1.12 -stderr = file()
1.13 +stdin = sysfile(0)
1.14 +stdout = sysfile(1)
1.15 +stderr = sysfile(2)
1.16 +
1.17 +# NOTE: Environment details to be implemented.
1.18
1.19 argv = []
1.20 path = []
1.21
1.22 -hexversion = 0x20703f0 # 2.7.3 final 0
1.23 -maxint = 2147483647 # 2**31 - 1
1.24 -maxunicode = 1114111
1.25 -platform = 'posix'
1.26 -
1.27 # Functions to be implemented natively.
1.28
1.29 def exit(status=0):