[IronPython] Re: IronPython 0.7.4 released

Michael Spencer mahs at telcopartners.com
Tue May 3 22:19:30 CEST 2005

Martin Maly wrote:
> 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.


More information about the Ironpython-users mailing list