Yes, it was part of getting the standard CPython's site.py to import correctly by IronPython. The standard site.py would assume that it is dealing with Jython if it detects 'java' as the prefix of the sys.platform string.
yep - but this cuts both ways ;-) sys.platform[:4] == 'java' actually helped unittest to run because it avoids looking for a cpython-specific traceback attribute. Anyway, it's better to have a distinct platform id and the required modification to unittest is trivial.
Michael
_______________________________________________ users-ironpython.com mailing list users-ironpython.com@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com