[New-bugs-announce] [issue17994] Change necessary in platform.py to support IronPython

Ian Cordasco report at bugs.python.org
Thu May 16 16:24:45 CEST 2013

New submission from Ian Cordasco:

Stemming from a StackOverflow question[1] 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.

[1]: http://stackoverflow.com/questions/16545027/ironpython-error-in-url-request?noredirect=1#comment23828551_16545027

components: Library (Lib), Windows
messages: 189383
nosy: icordasc, lemburg
priority: normal
severity: normal
status: open
title: Change necessary in platform.py to support IronPython
versions: 3rd party, Python 2.7

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list