# HG changeset patch # User Paul Boddie # Date 1341179579 -7200 # Node ID 72176cb0fe2482e5c02c92c724d9a3f25dc16788 # Parent 8759bd6a912a57dcec20f3d7768b836296fa9669 Added various sys module features. diff -r 8759bd6a912a -r 72176cb0fe24 lib/sys.py --- a/lib/sys.py Sun Jul 01 23:46:27 2012 +0200 +++ b/lib/sys.py Sun Jul 01 23:52:59 2012 +0200 @@ -3,7 +3,7 @@ """ System functions and objects. -Copyright (C) 2008 Paul Boddie +Copyright (C) 2008, 2012 Paul Boddie This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software @@ -19,8 +19,18 @@ this program. If not, see . """ +# Placeholders for run-time data. + stdin = file() stdout = file() stderr = file() +argv = [] +path = [] + +# Functions to be implemented natively. + +def exit(status=0): + pass + # vim: tabstop=4 expandtab shiftwidth=4