Hi all,
I have installed pythonnet and thought it would be of interest
to send the outputs of the tests included in the library.
--
Jean Pierre
configuration
-
Debian GNU/Linux 3.1
kernel 2.6
python-2.4.2
mono-1.1.13.4
pythonnet-1.0-rc2-py2.4-clr1.1
axtom:/opt/pythonnet
: Test single fields.
--
Traceback (most recent call last):
File "D:\Downloads\python\PythonNet-1.0-beta4\PythonNet-1.0-beta4\tests\python
\test_field.py", line 363, in testSingleField
self.failUnless(object.SingleF
ang caused by multithreaded program accessing CLR methods.
I successfully reproduced the state with a very simple application. Here is
very dumb python program that uses the CLR:
from CLR.System import String
class cSharpCaller( object ):
def __init__( self ):
print "Crea
e sure that any managed code you have
> that uses Python.Runtime objects or methods is acquiring
> the Python lock first. For example:
>
> public class Example {
>
> public static int MethodThatCallsPython() {
> // have to acquire the GIL to safely call ba
Issue #3 Update (Resolve) "Python strings should convert to byte[]"
Status Resolved, General/bug medium
To followup, visit:
http://www.zope.org/Members/Brian/PythonNet/Collector/3
==
= Resolve - Entry #3 by Brian on Mar 31,
s: Pending => Resolved
This is fixed for b6 - due to an ill-advised decref
of globals that only happens when the CLR module is
imported into an existing Python interpreter...
-BL
= Request - Entry #1 by Anonymous User on Mar 1, 2005 5:35 pm
There seems to
05 5:20 pm
Status: Pending => Resolved
Figured this out: interop was trying to
release the char * for strings returned from
python ;(
= Request - Entry #1 by Brian on Dec 6, 2004 5:19 pm
> Python For .NET beta 3 runs fine for me with Mono
> ve
s.patch/view
There's no generic conversion to object for Python arrays, so something like:
> from CLR.System import Console
> Console.WriteLine("{0}", [[1]])
will fail. Fix: convert to object[].
==
Issue #4 Update (Resolve) "Need better way to inspect PythonException"
Status Resolved, General/bug medium
To followup, visit:
http://www.zope.org/Members/Brian/PythonNet/Collector/4
==
= Resolve - Entry #2 by Brian on May 7, 2005 5:24
ypeError is thrown when trying to derive a Python class from a .NET class
when the Python class constructor has parameters beyond "self".
==
_
Python.NET mailing list - PythonDotNet@
shes once the python main loop is finished. If I comment out
the code used to pass a python function as a delegate to the C# frame,
it doesn't.
here is the code:
#test to show problem.
import sys,time
sys.path.append('.')
from CLR.System.Reflection import Assembly
a = Assembly.Loa
s: Pending => Resolved
I've added this for the next release.
-BL
= Request - Entry #1 by Anonymous User on Jul 26, 2005 10:13 pm
When running pythonnet on windows, it always comes up with a black box.
I reckon that this is a bug as it is not (always) desi
12 matches
Mail list logo