[issue9294] Dead code in Objects/object.c

2010-07-25 Thread Grant Limberg
Changes by Grant Limberg : Removed file: http://bugs.python.org/file18198/internal_print_non_recursive.patch ___ Python tracker <http://bugs.python.org/issue9

[issue9294] Dead code in Objects/object.c

2010-07-25 Thread Grant Limberg
Grant Limberg added the comment: On second thought, internal_print() doesn't look like it's needed anymore as it's only called by PyObject_Print() and is no longer recursive. This second patch moves internal_print()'s function body into PyObject_Print and removes the int

[issue9294] Dead code in Objects/object.c

2010-07-25 Thread Grant Limberg
Grant Limberg added the comment: It looks like at one point, internal_print was a recursive function, but this is no longer the case. I've updated the function parameters to no longer contain the "nesting" parameter and removed the if block shown in this case. -- k

[issue7303] pkgutil lacks documentation for useful functions

2010-07-24 Thread Grant Limberg
Grant Limberg added the comment: I've taken the liberty of creating a patch for this issue. I've taken the docstrings fromt he pkgutil module and conveted them to reST. Please let me know if there are any changes necessary. -- keywords: +patch nosy: +Grant.Limberg Added