Message200393
Attaching a v3 which uses "in" and "startswith".
Just for good measure I ran this module on IronPython 1.0 and it fails on import:
- bytes literal: b'(__libc_init)'
- "if" as infix operator: line 177
- "unexpected token open": use of "with" context manager on line 334
- "as" keyword: except OSError as why: line 430
- ImportError: No module named os. os and subprocess are missing altogether in IronPython 1.0.
That's as far as I looked - there may be other issues still.
So I decided to isolate this one function and see if it works. It fails because re.ASCII does not exist. If I remove that then the function runs and parses its own sys.version correctly.
But it may be a bit of a stretch at this point to stay compatible that far back. |
|
Date |
User |
Action |
Args |
2013-10-19 10:11:21 | numerodix | set | recipients:
+ numerodix, lemburg, ezio.melotti, eric.araujo, fredericaltorres |
2013-10-19 10:11:21 | numerodix | set | messageid: <1382177481.26.0.14185970236.issue8964@psf.upfronthosting.co.za> |
2013-10-19 10:11:21 | numerodix | link | issue8964 messages |
2013-10-19 10:11:21 | numerodix | create | |
|