Re: [Python.NET] PythonDotNet Digest, Vol 20, Issue 4
![](https://secure.gravatar.com/avatar/48fdfa04891d142fd496a2e1cd3d19d4.jpg?s=120&d=mm&r=g)
Please excuse my probably-inappropriate-but-highly-emotional language: Brian, you're the man! If you were a girl, I'd hug you! :) Honestly, thanks for this great work and for all your effort! It's really appreciated! Boris --- pythondotnet-request@python.org wrote:
Send PythonDotNet mailing list submissions to pythondotnet@python.org
To subscribe or unsubscribe via the World Wide Web, visit
http://mail.python.org/mailman/listinfo/pythondotnet or, via email, send a message with subject or body 'help' to pythondotnet-request@python.org
You can reach the person managing the list at pythondotnet-owner@python.org
When replying, please edit your Subject line so it is more specific than "Re: Contents of PythonDotNet digest..."
Today's Topics:
1. Announce: Python for .NET 1.0 RC1 released (Brian Lloyd)
----------------------------------------------------------------------
Message: 1 Date: Sun, 8 May 2005 23:20:32 -0400 From: "Brian Lloyd" <brian@zope.com> Subject: [Python.NET] Announce: Python for .NET 1.0 RC1 released To: <pythondotnet@python.org>, <python-announce@python.org> Message-ID: <INENIOEOCHPHGHKLFLOLKEIOEEAA.brian@zope.com> Content-Type: text/plain; charset="iso-8859-1"
Hi all -
I'm happy to announce the release of Python for .NET 1.0 RC1. You can download it from:
http://www.zope.org/Members/Brian/PythonNet
Highlights of this release:
- Implemented a workaround for the fact that exceptions cannot be new-style classes in the CPython interpreter. Managed exceptions can now be raised and caught naturally from Python
- Implemented support for invoking methods with out and ref parameters. Because there is no real equivalent to these in Python, methods that have out or ref parameters will return a tuple. The tuple will contain the result of the method as its first item, followed by out parameter values in the order of their declaration in the method signature.
- Fixed a refcount problem that caused a crash when CLR was imported in an existing installed Python interpreter.
- Added an automatic conversion from Python strings to byte[]. This makes it easier to pass byte[] data to managed methods (or set properties, etc.) as a Python string without having to write explicit conversion code. Also works for sbyte arrays. Note that byte and sbyte arrays returned from managed methods or obtained from properties or fields do *not* get converted to Python strings - they remain instances of Byte[] or SByte[].
- Added conversion of generic Python sequences to object arrays when appropriate (thanks to Mackenzie Straight for the patch).
- Added a bit of cautionary documentation for embedders, focused on correct handling of the Python global interpreter lock from managed code for code that calls into Python.
- PyObject.FromManagedObject now correctly returns the Python None object if the input is a null reference. Also added a new AsManagedObject method to PyObject, making it easier to convert a Python-wrapped managed object to the real managed object.
- Created a simple installer for windows platforms.
All known bugs have also been fixed - thanks to all who have sent in issue reports and patches for past releases.
At this point, the only thing I plan to do before a 1.0 final is fix any new issues and add to the documentation (probably including a few specific examples of embedding Python for .NET in a .NET application).
Enjoy! ;)
Brian Lloyd brian@zope.com V.P. Engineering 540.361.1716 Zope Corporation http://www.zope.com
------------------------------
_______________________________________________ PythonDotNet mailing list PythonDotNet@python.org http://mail.python.org/mailman/listinfo/pythondotnet
End of PythonDotNet Digest, Vol 20, Issue 4 *******************************************
__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
participants (1)
-
Boris Capitanu