Start a new topic

Getting started with a new system

I'm just getting started with the idea of doing a game system definition and I know the scripting is done in Python. And in the wiki it states:


Please note that the version of Python embedded inside OCTGN is mostly 2.7 with some additions coming from the 3.x branch. In the future OCTGN will most probably switch to a Python 3.2 release, so keep that in mind when writing scripts.


Has this switch to the 3.X base happened? Or should I stick with 2.7?


Thank you,

Andrew


yeah some areas of the wiki are outdated, I've been updating them bits at a time.


I think that specific area was referencing the fact that IronPython itself has cherry-picked certain elements from the 3.X builds for its own implementation. I believe IronPython still uses the 2.X build as its baseline though.



(from http://ironpython.codeplex.com/documentation)


IronPython follows the specification of the Python language as found on the main Python web site http://docs.python.org
There are minimal differences. The most significant difference is the IronPython treats all strings as unicode (in that respect it is very similar to Python3). For a complete list, see http://ironpython.codeplex.com/wikipage?title=Differences

 

 yeah some areas of the wiki are outdated, I've been updating them bits at a time.


I think that specific area was referencing the fact that IronPython itself has cherry-picked certain elements from the 3.X builds for its own implementation.  I believe IronPython still uses the 2.X build as its baseline though.


http://ironpython.codeplex.com/documentation
"IronPython follows the specification of the Python language as found on the main Python web site http://docs.python.org
There are minimal differences. The most significant difference is the IronPython treats all strings as unicode (in that respect it is very similar to Python3). For a complete list, see http://ironpython.codeplex.com/wikipage?title=Differences"

Alright. The only reason I had asked was because the Wiki had mentioned OCTGN might use some 3.x features and might be switching to 3.x in the near future and that had been written a couple years ago.

That said, the most recent version of IronPython that exists is 2.7.5 which was mostly bug fixes, so I don't think there's any plans from those developers to upgrade to the python 3.X versions anytime soon

 

hey sorry for the slow response here. OCTGN actually uses the IronPython implementation, which is specific to .NET applications.  The current IronPython version that OCTGN uses is 2.7.4.

I'm not 100% sure how that translates to the main Python release schedule (I'm still researching it at the moment), which may be why there's elements from both 2.7 and 3.X involved.  I would assume that it's more closely related to the 2.7 python builds, and the IronPython version numbers were designed to overlap.
I would like to see an answer to this as well. Bump for hope.

 

Login to post a comment