diff options
author | Georg Brandl <georg@python.org> | 2008-01-26 14:14:20 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2008-01-26 14:14:20 (GMT) |
commit | 0cdf9a36ec1b65a655a8af476077c7dd063d87da (patch) | |
tree | 0f4068bc8a244ef237f93cb61227dfdf9161f2ea /Misc | |
parent | 29604a1b4c09ae6efc47fa0f34412168a34aa7dd (diff) | |
download | cpython-0cdf9a36ec1b65a655a8af476077c7dd063d87da.zip cpython-0cdf9a36ec1b65a655a8af476077c7dd063d87da.tar.gz cpython-0cdf9a36ec1b65a655a8af476077c7dd063d87da.tar.bz2 |
#1473257: add generator.gi_code attribute that refers to
the original code object backing the generator. Patch by Collin Winter.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -12,7 +12,11 @@ What's New in Python 2.6 alpha 1? Core and builtins ----------------- -- Backport of PyUnicode_FromString(), _FromStringAndSize(), _Format and +- Patch #1473257: generator objects gain a gi_code attribute. This is the + same object as the func_code attribute of the function that produced the + generator. + + Backport of PyUnicode_FromString(), _FromStringAndSize(), _Format and _FormatV from Python 3.0. Made PyLong_AsSsize_t and PyLong_FromSsize_t public functions. |