You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bpo-8964: platform._sys_version does not parse correctly IronPython 2.x version
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=<Date2018-03-25.23:22:51.397>created_at=<Date2013-05-16.14:24:45.069>labels= ['type-bug', 'library', 'OS-windows']
title='Change necessary in platform.py to support IronPython'updated_at=<Date2018-03-25.23:22:51.396>user='https://github.com/sigmavirus24'
Stemming from a StackOverflow question1 and a conversation with Marc-Andre Lemburg via email, I'm filing this issue without any easy way of confirming it myself.
It seems that the logic in platform.python_implementation() has been obsoleted by a change made in IronPython. As it is now, it checks that the slice, sys.version[:10], is "IronPython". Seemingly due to a change in IronPython, this no longer is a correct condition for checking that the implementation is IronPython.
I'm trying to work with the question author on StackOverflow to provide the relevant debugging information to fix this, but it is taking a while to get responses. Without his repr(sys.version) I can't submit a patch with this issue.
I've also only tagged Python 2.7 since I have no way of knowing if this occurs with Python 3.x or anything earlier.
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: