[Modeling-cvs] ProjectModeling/Modeling TODO,1.15,1.16 Entity.py,1.17,1.18 utils.py,1.15,1.16
Status: Abandoned
Brought to you by:
sbigaret
From: <sbi...@us...> - 2003-10-04 12:29:48
|
Update of /cvsroot/modeling/ProjectModeling/Modeling In directory sc8-pr-cvs1:/tmp/cvs-serv30865/Modeling Modified Files: TODO Entity.py utils.py Log Message: Fixed bug #812671: utils.finalize_docstrings() disabled Index: TODO =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/TODO,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** TODO 24 Jul 2003 12:12:33 -0000 1.15 --- TODO 4 Oct 2003 12:29:43 -0000 1.16 *************** *** 320,322 **** - voir aussi autre chose (??) entre KVC et (Entity)ClassDescription ! \ No newline at end of file --- 320,328 ---- - voir aussi autre chose (??) entre KVC et (Entity)ClassDescription ! ! * Entity.py: finalize_docstrings(), that was used to update docstrings for ! methods involved in inheritance, has been disabled since it causes problems ! when ZODB.Persistent is in the PYTHONPATH. This was a temporary solution, ! however, that should not have been committed on the main branch. An other ! solution, esp. w/ epydoc, should be found --this is still to be ! investigated. Index: Entity.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/Entity.py,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** Entity.py 27 Jul 2003 17:00:34 -0000 1.17 --- Entity.py 4 Oct 2003 12:29:43 -0000 1.18 *************** *** 1440,1444 **** ## ! finalize_docstrings(Entity, ENTITY_DOC) --- 1440,1444 ---- ## ! #finalize_docstrings(Entity, ENTITY_DOC) Index: utils.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/utils.py,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** utils.py 24 Jul 2003 11:09:08 -0000 1.15 --- utils.py 4 Oct 2003 12:29:43 -0000 1.16 *************** *** 158,172 **** """ ! try: ! klass.__doc__=klass.__doc__%aDict ! except TypeError: ! pass ! import inspect ! if inspect.isclass(klass): ! for n,m in inspect.getmembers(klass, inspect.ismethod): ! try: ! m.im_func.__doc__=m.__doc__%aDict ! except AttributeError: pass ! except TypeError: pass def deprecated(methodName, replacement=None,removed_in_version=None): --- 158,173 ---- """ ! return ! #try: ! # klass.__doc__=klass.__doc__%aDict ! #except TypeError: ! # pass ! #import inspect ! #if inspect.isclass(klass): ! # for n,m in inspect.getmembers(klass, inspect.ismethod): ! # try: ! # m.im_func.__doc__=m.__doc__%aDict ! # except AttributeError: pass ! # except TypeError: pass def deprecated(methodName, replacement=None,removed_in_version=None): |