[Python-Dev] PEP 370 and IronPython

Antoine Pitrou solipsis at pitrou.net
Fri Oct 9 13:23:26 CEST 2009

Christian Heimes <lists <at> cheimes.de> writes:
> >>> sys.vm
> sys.vm(id='cpython', name='CPython', platform='C',
> usersitesuffix='python26') # on win32: Python2.6
> >>> sys.vm
> sys.vm(id='ironpython', name='IronPython', platform='.NET',
> usersitesuffix='ironpython26) # on win32: IronPython2.6

`usersitesuffix` should probably be a separate sys attribute, since it doesn't
depend on the VM only, but also on the platform and version.



More information about the Python-Dev mailing list