1.1 --- a/lib/sys.py Sat Dec 03 17:16:15 2016 +0100
1.2 +++ b/lib/sys.py Sat Dec 03 17:34:44 2016 +0100
1.3 @@ -19,7 +19,12 @@
1.4 this program. If not, see <http://www.gnu.org/licenses/>.
1.5 """
1.6
1.7 -from native import _exit, _get_argv, _get_path
1.8 +import native
1.9 +
1.10 +# Limits.
1.11 +
1.12 +maxint = native._get_maxint()
1.13 +minint = native._get_minint()
1.14
1.15 # Standard streams.
1.16
1.17 @@ -29,12 +34,12 @@
1.18
1.19 # NOTE: Environment details to be implemented.
1.20
1.21 -argv = _get_argv()
1.22 -path = _get_path()
1.23 +argv = native._get_argv()
1.24 +path = native._get_path()
1.25
1.26 # Functions to be implemented natively.
1.27
1.28 def exit(status=0):
1.29 - _exit(int(status))
1.30 + native._exit(int(status))
1.31
1.32 # vim: tabstop=4 expandtab shiftwidth=4