New submission from Antoine Pitrou <pit...@free.fr>: internal_print() is called from only one place, with the `nesting` argument wired to 0, therefore the following chunk of code in internal_print() never gets a chance to be executed:
if (nesting > 10) { PyErr_SetString(PyExc_RuntimeError, "print recursion"); return -1; } ---------- components: Interpreter Core messages: 110651 nosy: pitrou priority: low severity: normal stage: needs patch status: open title: Dead code in Objects/object.c versions: Python 3.1, Python 3.2 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue9294> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com