From: Samuele P. <ped...@op...> - 2007-05-12 09:58:28
|
Frank Wierzbicki wrote: > Since we are getting so close to the 2.2 release, I thought I would > start a discussion about what "cleanup" should be done in the next > release. So here is a preliminary proposal: > > Must do: > ===== > > * Replace Jythonc's current implementation with one based on > compileall.py and the core compilation process. > * Remove ClassDictInit in favor of the new style class way (typeSetup, > etc). Make all classes that are exposed to the Python layer > new-style. > part of going fully new-style is to remove all usages and implementations of the pre-new-style ad-hoc _doget/_doset/_dodel in favor of __get__,__set__ and __delete__ > * Make the modules implemented in Java consistent (there are currently > at least two styles in the codebase: everything in one class (see > math.java) , and separating a module into a Java Package (see sets)) > I favor the second way. > * Remove all of the hoops that support older Javas (especially 1.1). > > Should do: > ====== > > * Replace old collections (Vector, HashTable) with new collections > (List, Map). Probably have to use the synchronized versions in most > cases to preserve the thread safety... > * Remove all deprecation warnings. > > May do: > ===== > > * Re-format code to follow Sun's guidelines for Java and CPython's > guidelines for Python. > * Comment the code better, especially the Java -- it would be nice if > there where at least a descriptive comment at the top of each class. > * Remove some or all of the static-ness (may be too ambitious for this > release...) > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Jython-dev mailing list > Jyt...@li... > https://lists.sourceforge.net/lists/listinfo/jython-dev > |