<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Objects/funcobject.c, branch 2.4</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Objects/funcobject.c?h=2.4</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Objects/funcobject.c?h=2.4'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2006-10-05T19:38:17Z</updated>
<entry>
<title>[Backport r50681 | neal.norwitz]</title>
<updated>2006-10-05T19:38:17Z</updated>
<author>
<name>Andrew M. Kuchling</name>
<email>amk@amk.ca</email>
</author>
<published>2006-10-05T19:38:17Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=32f378b0d925d960c3f72c0fd646c7b1b3237b5f'/>
<id>urn:sha1:32f378b0d925d960c3f72c0fd646c7b1b3237b5f</id>
<content type='text'>
PyFunction_SetDefaults() is documented as taking None or a tuple.
A NULL would crash the PyTuple_Check().  Now make NULL return a SystemError.

Reported by Klocwork #73.
</content>
</entry>
<entry>
<title>[Backport rev. 42545 by georg.brandl]</title>
<updated>2006-10-03T18:25:19Z</updated>
<author>
<name>Andrew M. Kuchling</name>
<email>amk@amk.ca</email>
</author>
<published>2006-10-03T18:25:19Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=c6994f2502a39c5dbc201c62676c6cc9411675fd'/>
<id>urn:sha1:c6994f2502a39c5dbc201c62676c6cc9411675fd</id>
<content type='text'>
Make staticmethod and classmethod complain about keyword args.
</content>
</entry>
<entry>
<title>Backport: Fix</title>
<updated>2005-02-17T10:43:12Z</updated>
<author>
<name>Michael W. Hudson</name>
<email>mwh@python.net</email>
</author>
<published>2005-02-17T10:43:12Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=8ed7e2e2db9161379f001e010d5de5d775e397b9'/>
<id>urn:sha1:8ed7e2e2db9161379f001e010d5de5d775e397b9</id>
<content type='text'>
[ 1124295 ] Function's __name__ no longer accessible in restricted mode

which I introduced with a bit of mindless copy-paste when making
__name__ writable.  You can't assign to __name__ in restricted mode,
which I'm going to pretend was intentional :)
</content>
</entry>
<entry>
<title>Wrote down the invariants of some common objects whose structure is</title>
<updated>2004-10-28T16:32:00Z</updated>
<author>
<name>Armin Rigo</name>
<email>arigo@tunes.org</email>
</author>
<published>2004-10-28T16:32:00Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=89a39461bff04b80bb4857790350e1ab30ff2df9'/>
<id>urn:sha1:89a39461bff04b80bb4857790350e1ab30ff2df9</id>
<content type='text'>
exposed in header files.  Fixed a few comments in these headers.

As we might have expected, writing down invariants systematically exposed a
(minor) bug.  In this case, function objects have a writeable func_code
attribute, which could be set to code objects with the wrong number of
free variables.  Calling the resulting function segfaulted the interpreter.
Added a corresponding test.
</content>
</entry>
<entry>
<title>This is my patch</title>
<updated>2004-08-12T18:12:44Z</updated>
<author>
<name>Michael W. Hudson</name>
<email>mwh@python.net</email>
</author>
<published>2004-08-12T18:12:44Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=5e897959db37752da4c6b476903cdc5e1357093c'/>
<id>urn:sha1:5e897959db37752da4c6b476903cdc5e1357093c</id>
<content type='text'>
[ 1004703 ] Make func_name writable

plus fixing a couple of nits in the documentation changes spotted by MvL
and a Misc/NEWS entry.
</content>
</entry>
<entry>
<title>Remove unused macros in .c files</title>
<updated>2004-07-08T01:49:00Z</updated>
<author>
<name>Neal Norwitz</name>
<email>nnorwitz@gmail.com</email>
</author>
<published>2004-07-08T01:49:00Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=93468eac728bee757446770f2b26de9cf7edcab6'/>
<id>urn:sha1:93468eac728bee757446770f2b26de9cf7edcab6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Intern __name__.</title>
<updated>2004-03-23T18:40:15Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2004-03-23T18:40:15Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=321c9ab74c5ae88cd87c0c8263f323a90c28d772'/>
<id>urn:sha1:321c9ab74c5ae88cd87c0c8263f323a90c28d772</id>
<content type='text'>
</content>
</entry>
<entry>
<title>SF bug #753451: classmethod abuse --&gt; SystemError</title>
<updated>2003-06-18T01:13:41Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2003-06-18T01:13:41Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=be9715398b87df269d0781a7c436e10cfa4a0ea4'/>
<id>urn:sha1:be9715398b87df269d0781a7c436e10cfa4a0ea4</id>
<content type='text'>
Check the argument to classmethod for callability.

Backport candidate.
</content>
</entry>
<entry>
<title>SF bug #692959:  new.function ignores keyword arguments</title>
<updated>2003-05-06T09:01:41Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2003-05-06T09:01:41Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=8657845e02b1cd4e2e87ae85f538c66160ec187f'/>
<id>urn:sha1:8657845e02b1cd4e2e87ae85f538c66160ec187f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Make staticmethods and classmethods participate in GC.</title>
<updated>2003-04-08T21:28:47Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2003-04-08T21:28:47Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=400d8ee6fa59bd2969c67cbd1e4f6d9663edb090'/>
<id>urn:sha1:400d8ee6fa59bd2969c67cbd1e4f6d9663edb090</id>
<content type='text'>
If a class was defined inside a function, used a static or class
method, and used super() inside the method body, it would be caught in
an uncollectable cycle.  (Simplified version: The static/class method
object would point to a function object with a closure that referred
to the class.)

Bugfix candidate.
</content>
</entry>
</feed>
