From: Raymond Hettinger Date: Wed, 23 Mar 2011 20:05:02 +0000 (-0700) Subject: Add news entry for the _source attribute created by namedtuple. X-Git-Tag: v3.3.0a1~2779 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=28dff612876096af152c377c14ad60f9e134831a;p=thirdparty%2FPython%2Fcpython.git Add news entry for the _source attribute created by namedtuple. --- diff --git a/Misc/NEWS b/Misc/NEWS index 64a35ddf58b2..0a42987413d2 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -87,6 +87,11 @@ Library - Issue #11591: Prevent "import site" from modifying sys.path when python was started with -S. +- collections.namedtuple() now adds a _source attribute to the generated + class. This make the source more accessible than the outdated + "verbose" option which prints to stdout but doesn't make the source + string available. + - Issue #11371: Mark getopt error messages as localizable. Patch by Filip Gruszczyński.