[Zope-CVS] CVS: PythonNet/doc - Changes.txt:1.9 ToDo.txt:1.9
Brian Lloyd
cvs-admin at zope.org
Mon Oct 27 21:07:30 EST 2003
Update of /cvs-repository/PythonNet/doc
In directory cvs.zope.org:/tmp/cvs-serv9370/doc
Modified Files:
Changes.txt ToDo.txt
Log Message:
Checkin for b1, before the cable bugs out again :(
=== PythonNet/doc/Changes.txt 1.8 => 1.9 ===
--- PythonNet/doc/Changes.txt:1.8 Wed Oct 22 22:53:10 2003
+++ PythonNet/doc/Changes.txt Mon Oct 27 21:06:59 2003
@@ -1,7 +1,7 @@
PythonNet Changes
-----------------
- PythonNet Preview 3
+ PythonNet 1.0 beta 1
---------------------------------------------------------------------------
- Added the baseline of the managed embedding API. Some of the details
@@ -13,8 +13,9 @@
is intended be familar to anyone who has used Python / C++ wrapper
libraries like CXX or Boost.
- - Integrated NUnit 2 and added a few tests for the new managed embedding
- layer - still need to flesh out the embedding tests.
+ - Started integrating NUnit2 to support unit tests for the embedding
+ layer - still need to add the embedding tests (many already exist,
+ but were written for an older version of NUnit).
- Added Python iteration protocol support for arrays and managed objects
that implement IEnumerable. This means that you can now use the Python
@@ -37,7 +38,8 @@
- Type management was refactored, fixing the issue that caused segfaults
when GC was enabled. Unit tests, stress tests and demo apps now all run
- nicely with Python GC enabled.
+ nicely with Python GC enabled. There are one or two things left to fix,
+ but the fixes should not have any user impact.
- Changed to base PythonNet on Python 2.3.2. This is considered the most
stable release, and a good 25 - 30% faster as well.
@@ -45,6 +47,25 @@
- Added a new 'CLR.dll' that acts as an extension module that allows an
existing unmodified Python 2.3 installation to simply 'import CLR' to
bootstrap the managed integration layer.
+
+ - A bug was causing managed methods to only expose overloads declared in
+ a particular class, hiding inherited overloads of the same name. Fixed
+ the bug and added some unit tests.
+
+ - Added a virtual '__doc__' attribute to managed methods that contains
+ the signature of the method. This also means that the Python 'help'
+ function now provides signature info when used on a managed class.
+
+ - Calling managed methods and events 'unbound' (passing the instance as
+ the first argument) now works. There is a caveat for methods - if a
+ class declares both static and instance methods with the same name,
+ it is not possible to call that instance method unbound (the static
+ method will always be called).
+
+ - Changed the managed python.exe wrapper to run as an STA thread, which
+ seems to be more compatible with winforms apps. This needs a better
+ solution long-term. One possibility would be a command line switch
+ so that -sta or -mta could control the python.exe apartment state.
PythonNet Preview 2
=== PythonNet/doc/ToDo.txt 1.8 => 1.9 ===
--- PythonNet/doc/ToDo.txt:1.8 Wed Oct 22 22:53:10 2003
+++ PythonNet/doc/ToDo.txt Mon Oct 27 21:06:59 2003
@@ -1,26 +1,27 @@
ToDo List:
- - Fix leaking delegates; check if arg tuple or bases are leaking
+ - Finish leaktest.py and finish checking for leaks.
- - Integrate nunit 2
+ - fix overload hiding __getitem__, better subclass tests
- - Pester Guido about letting exceptions be new-style classe that
- don't have to subclass Python's Exception class :)
+ - Implement class wrappers to allow Python code to implement interfaces
+ and abstract .NET classes
- - Test thread state management & async delegates
+ - Finish basic embedding APIs & tests
- - Fix and test support for subclassing managed classes
+ - Integrate nunit 2
- - Finish basic embedding APIs
+ - Test thread state management & async delegates
- - Refactor binders / overload selection
+ - Tests for overload selection
- Cached type in TypeManager need to be cleaned up on managed
- runtime finalization (low priority)
-
- - Implement class wrappers to allow Python code to implement interfaces
- and abstract .NET classes
+ runtime finalization (low priority); review finalization
+ generally.
+ - Pester Guido about letting exceptions be new-style classe that
+ don't have to subclass Python's Exception class :) See if there is
+ some sneaky way around it.
- Look at optimizing some type conversions
More information about the Zope-CVS
mailing list