Fix zLinux (OS system Z) support
Issue #2
resolved
zLinux should be supported but I don't know how to tell this system apart from other Linux systems. Using sys.platform is not enough, probably. Please email me if you know more about this: "@".join(["fomcl", "yahoo" + "." + "com"])
Comments (2)
-
reporter -
reporter - changed status to resolved
System z Linux can be recognized like this:
is_zLinux = sys.platform.lower().startswith("lin") and is_64bit and os.uname()[-1] == "s390x"
- Log in to comment
Anderson P. from System z Linux LinkedIn group kindly helped me with this. Tested with Linux on System z virtual machine running RHEL 5.6 under z/VM, using Python 2.4.3 (
#1, Dec 10 2010, 17:28:02), the result was "Linux, 64bit, s390x"