Dennis Lee Bieber writes:
> It's been tried -- but the non-GIL implementations tend to be
> slower at everything else.
Has Micropython been compared? CPython needs the GIL because of its
frequent twiddling of reference counts. Without the GIL, multi-threaded
CPython would have to acquire
On Friday, May 13, 2016 at 7:12:33 PM UTC+2, MRAB wrote:
> Every PyGILState_Ensure call must be matched with a PyGILState_Release
> call. The way it's currently written, it won't call PyGILState_Release
> if ret is NULL.
Yeah, that's tiny bug, however it is not the main problem...
> However, I
On 2016-05-13 17:22, Øystein Schønning-Johansen wrote:
On Friday, May 13, 2016 at 2:04:53 AM UTC+2, Sturla Molden wrote:
You must own the GIL before you can safely use the Python C API, object
creation and refcounting in particular. Use the "Simplified GIL API" to
grab the GIL and release it whe
On Friday, May 13, 2016 at 2:04:53 AM UTC+2, Sturla Molden wrote:
> You must own the GIL before you can safely use the Python C API, object
> creation and refcounting in particular. Use the "Simplified GIL API" to
> grab the GIL and release it when you are done.
I've now read about the GIL and it
wrote:
> Second and most important question: When I run this code it sometimes
> segementation faults, and sometimes some threads run normal and some
> other threads says "Cannot call 'do_multiply'". Sometimes I get the
> message: Fatal Python error: GC object already tracked. And some times it
>
Python for .NET
http://www.zope.org/Members/Brian/PythonNet
--
http://mail.python.org/mailman/listinfo/python-list
I actually find Python for .NET most convenient
http://www.zope.org/Members/Brian/PythonNet
I did not try py2exe with these applications, so I cannot comment.
--
http://mail.python.org/mailman/listinfo/python-list
There is IronPython which compiles to .NET. And there was another project
bridging the .NET runtime with the standard Python interpreter of which I
forgot the name.
Jens
--
http://mail.python.org/mailman/listinfo/python-list
I use python for .NET in some applications... I've always used it for
using c# code from python (but i had some problems using it with py2exe
and win2000). I'll try using it the other way (c# calling python).
I also thought about trying ironpython, but it's too young for my work
projects...
The CO
Writing COM Servers is not hard
http://www.python.org/windows/win32com/QuickStartServerCom.html
IronPython is the other way.
Choose COM Server approach if you are using the a lot of standard
library functions (as I recall IronPython is not complete here, yet).
Definitely choose this approach if y
10 matches
Mail list logo