Yea I'm not sure I would want to replace the Maya interpreter--that could 
be a battle.  But threading, or the need to thread, doesn't seem to come up 
as much inside of maya as it does for external apps run on an outside 
interpreter.  The danger, or worry, I would have would be changing to 
stackless externally and then discovering differences down the road that 
prohibit that sharing of code.  I'll check out pypy--thanks!

On Thursday, September 20, 2012 11:46:47 AM UTC+8, Chadrik wrote:
>
> stackless is a replacement for the standard python interpreter (aka 
> cpython), so getting it to work with Maya might be tricky.  you'll have to 
> overwrite the python interpreter in the maya installation directory, or 
> play with the PYTHON_HOME environment variable.  it may "just work" since 
> it advertises that "Stackless should be 100% compatible with Python code 
> previously written against regular Python, and also with any extensions 
> previously compiled against regular Python".  however, it does specifically 
> say there are problems with PyQt due to its use of sip, so hopefully PySide 
> will be more compatible.
>
> there is also pypy <http://pypy.org> which is yet another cpython 
> replacment which is focused on all around speed. it also has support for a 
> stackless 
> mode <http://doc.pypy.org/en/latest/stackless.html>.  the docs state 
> "PyPy can expose to its user language features similar to the ones present 
> in Stackless Python".  so it sounds like it is its own implementation of 
> this concept.
>
> if anyone gets either up and running in maya let us know how you did it.
>
>
> -chad
>
>
>
>
>

-- 
view archives: http://groups.google.com/group/python_inside_maya
change your subscription settings: 
http://groups.google.com/group/python_inside_maya/subscribe

Reply via email to