[Zope-CVS] CVS: PythonNet/doc - Changes.txt:1.7 ToDo.txt:1.7

Brian Lloyd brian at zope.com
Mon Oct 20 23:05:45 EDT 2003


Update of /cvs-repository/PythonNet/doc
In directory cvs.zope.org:/tmp/cvs-serv26410/doc

Modified Files:
	Changes.txt ToDo.txt 
Log Message:
Check in the Great Type Refactoring before I go and break it again. All of 
the tests pass again (well, except for two that were failing before the 
refactoring).

The end result is a nice net reduction of C# code, letting the Python 
runtime handle much more of the work of creating types. 

The refactored version also plays nicely with the Python GC, so the 
Python GC no longer needs to be disabled to run things under Python 
for .NET. :) Also added some very preliminary leak and stress testing 
scripts.



=== PythonNet/doc/Changes.txt 1.6 => 1.7 ===
--- PythonNet/doc/Changes.txt:1.6	Tue Oct  7 22:29:15 2003
+++ PythonNet/doc/Changes.txt	Mon Oct 20 23:05:14 2003
@@ -19,9 +19,14 @@
       that implement IEnumerable. This means that you can now use the Python
       idiom 'for item in object:' on any array or IEnumerable object.
 
-    - Added several new demo scripts, mostly more substantial winforms 
-      examples. More complex demos help to highlight areas that still need 
-      work in the integration layer.
+    - Added automatic conversion from Python sequence types to managed array
+      types. This means, for example, that you can now call a managed method
+      like AddRange that expects an array with any Python object that supports 
+      the Python sequence protocol.
+
+    - Added new demo scripts, mostly more substantial winforms examples. 
+      Better demos help to highlight areas that still need work in the 
+      integration layer.
 
     - Finished the unit tests for event support, and fixed lots of problems 
       with events and delegates as a result. This is one of the trickier 
@@ -30,6 +35,10 @@
 
     - Did a fair amount of profiling with an eval version of ANTS (which is
       quite nice, BTW) and made a few changes as a result.
+
+    - Finally found the problem that caused instant segfaults when Python
+      GC was enabled. Things now run nicely with GC enabled, and I only 
+      lost a weekend of my life tracking it down :)
 
 
   PythonNet Preview 2


=== PythonNet/doc/ToDo.txt 1.6 => 1.7 ===
--- PythonNet/doc/ToDo.txt:1.6	Tue Oct  7 22:29:15 2003
+++ PythonNet/doc/ToDo.txt	Mon Oct 20 23:05:14 2003
@@ -1,7 +1,7 @@
 
 ToDo List:
 
-  - Add simple array conversions
+  - Check for leaks (method args?)
 
   - Add a managed bootstrap CLR module with the IL dll hack flag
 
@@ -16,20 +16,12 @@
 
   - Implement basic embedding APIs
 
-  - Method overload selection / propagate exceptions correctly
-
-  - Fix CLR metatype to use std type generation
-
-  - Figure out the malloc / gc bug
-
   - Look at optimizing some type conversions
 
-  - Refactor thunk generation
-
-  - Better documentation :)
-
+  - Refactor binders / overload selection
 
-Futures:
+  - 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




More information about the Zope-CVS mailing list