]> granicus.if.org Git - python/commit
* Refcount leak. It was just a reference to Py_None, but still.
authorArmin Rigo <arigo@tunes.org>
Tue, 14 Feb 2006 15:50:44 +0000 (15:50 +0000)
committerArmin Rigo <arigo@tunes.org>
Tue, 14 Feb 2006 15:50:44 +0000 (15:50 +0000)
commit967aa8b3496df29f03895b5e30a590d77d337167
tree12178e032c4e78a7ef46c3719bb0e08236bd2bbc
parent88b78d8cd4a9231b62e4c91f48143c7a67384379
* Refcount leak.  It was just a reference to Py_None, but still.

* Allow the 3rd argument to generator.throw() to be None.
  The 'raise' statement does the same, and anyway it follows the
  general policy that optional arguments of built-ins should, when
  reasonable, have a default value specifiable from Python.
Objects/genobject.c