Ronald Oussoren avatar Ronald Oussoren committed 3d7fedf

TODO updates

Comments (0)

Files changed (2)

 Python and Objective-C code snippets.</li>
 </ul>
 <h3><a href="#id5" name="test-suite">Test suite</a></h3>
+<p>XXX: It might be a good idea to move the unittests to a seperate python
+package (e.g. <code><span>PyObjCTest</span></code>) that is not installed. I'd be surprised if anyone
+ever runs the unittests outside of the build tree.</p>
 <p>The test suite needs to be enhanced.</p>
 <ul>
 <li>Somehow find a way to check code-coverage of the unittests.</li>
 class methods in the obvious way.  This would (finally) close <a href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=836247&amp;group_id=14534&amp;atid=114534">836247</a>.</li>
 </ul>
 <ul>
-<li>Likewise for class-builder.m, this file is way to large.</li>
+<li>Also restructure class-builder.m, this file is way to large.</li>
 <li>Allow ivars of Objective-C classes to be introspected
 (but not directly from the __dict__?)<p>NOTE: instance-var.[hm] implements most of this, it just needs to be
 wired up correctly. I'd do this by adding <code><span>pyobjc_instancevars</span></code> to
 implemented efficiently. The default implementation will take care of the
 methods we cannot implement efficiently.</p>
 <p>And the same is true of OC_PythonArray</p>
+<p>In both cases we shouldn't do this unless we can measure the difference in
+performance.</p>
 <h3><a href="#id20" name="clean-up-oc-pythonobject">Clean up OC_PythonObject</a></h3>
 <p>The code is a mess.</p>
 <h3><a href="#id21" name="rewrite-scripts-find-raw-pointers-py">Rewrite scripts/find-raw-pointers.py</a></h3>
 Test suite
 ..........
 
+XXX: It might be a good idea to move the unittests to a seperate python
+package (e.g. ``PyObjCTest``) that is not installed. I'd be surprised if anyone
+ever runs the unittests outside of the build tree.
+
 The test suite needs to be enhanced. 
 
 * Somehow find a way to check code-coverage of the unittests.
 
 .. __: http://sourceforge.net/tracker/index.php?func=detail&aid=836247&group_id=14534&atid=114534
 
-* Likewise for class-builder.m, this file is way to large.
+* Also restructure class-builder.m, this file is way to large.
 
 * Allow ivars of Objective-C classes to be introspected
   (but not directly from the __dict__?)
 
 And the same is true of OC_PythonArray
 
+In both cases we shouldn't do this unless we can measure the difference in
+performance.
+
 Clean up OC_PythonObject
 ........................
 
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.