<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Objects/funcobject.c, branch 2.3</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.3</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Objects/funcobject.c?h=2.3'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2003-06-18T01:13:41Z</updated>
<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>
<entry>
<title>Make __module__ writable except in restricted mode (like for classic classes).</title>
<updated>2003-02-18T17:18:35Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2003-02-18T17:18:35Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=6b29c0147b964e6afa6a09bb8d694bafc30cf7ad'/>
<id>urn:sha1:6b29c0147b964e6afa6a09bb8d694bafc30cf7ad</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Make __module__ settable on functions and methods.</title>
<updated>2003-02-18T17:02:15Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2003-02-18T17:02:15Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=ff71c98449c7fd2499d51474dbf690eb7f98dabf'/>
<id>urn:sha1:ff71c98449c7fd2499d51474dbf690eb7f98dabf</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Provide __module__ attributes for functions defined in C and Python.</title>
<updated>2003-01-31T18:33:18Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2003-01-31T18:33:18Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=4f0dcc9a9a4629607d4fff79912e8d0c86cd3914'/>
<id>urn:sha1:4f0dcc9a9a4629607d4fff79912e8d0c86cd3914</id>
<content type='text'>
__module__ is the string name of the module the function was defined
in, just like __module__ of classes.  In some cases, particularly for
C functions, the __module__ may be None.

Change PyCFunction_New() from a function to a macro, but keep an
unused copy of the function around so that we don't change the binary
API.

Change pickle's save_global() to use whichmodule() if __module__ is
None, but add the __module__ logic to whichmodule() since it might be
used outside of pickle.
</content>
</entry>
<entry>
<title>SF patch #659536: Use PyArg_UnpackTuple where possible.</title>
<updated>2002-12-29T16:33:45Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2002-12-29T16:33:45Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=ea3fdf44a29accd666a3b5f058539c351d921657'/>
<id>urn:sha1:ea3fdf44a29accd666a3b5f058539c351d921657</id>
<content type='text'>
Obtain cleaner coding and a system wide
performance boost by using the fast, pre-parsed
PyArg_Unpack function instead of PyArg_ParseTuple
function which is driven by a format string.
</content>
</entry>
<entry>
<title>Extend function() to support an optional closure argument.</title>
<updated>2002-07-11T18:30:27Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2002-07-11T18:30:27Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=df3f7935167d593bc648fe807311c90d206ee34a'/>
<id>urn:sha1:df3f7935167d593bc648fe807311c90d206ee34a</id>
<content type='text'>
Also, simplify some ref counting for other optional arguments.
</content>
</entry>
<entry>
<title>SF patch 568629 by Oren Tirosh: types made callable.</title>
<updated>2002-06-14T20:41:17Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2002-06-14T20:41:17Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=bea18ccde6bc12e061c21bb6b944379d8b123845'/>
<id>urn:sha1:bea18ccde6bc12e061c21bb6b944379d8b123845</id>
<content type='text'>
These built-in functions are replaced by their (now callable) type:

    slice()
    buffer()

and these types can also be called (but have no built-in named
function named after them)

    classobj (type name used to be "class")
    code
    function
    instance
    instancemethod (type name used to be "instance method")

The module "new" has been replaced with a small backward compatibility
placeholder in Python.

A large portion of the patch simply removes the new module from
various platform-specific build recipes.  The following binary Mac
project files still have references to it:

    Mac/Build/PythonCore.mcp
    Mac/Build/PythonStandSmall.mcp
    Mac/Build/PythonStandalone.mcp

[I've tweaked the code layout and the doc strings here and there, and
added a comment to types.py about StringTypes vs. basestring.  --Guido]
</content>
</entry>
<entry>
<title>Patch #568124: Add doc string macros.</title>
<updated>2002-06-13T20:33:02Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2002-06-13T20:33:02Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=14f8b4cfcb98de74b9c6e9316539be9e2a5cd31f'/>
<id>urn:sha1:14f8b4cfcb98de74b9c6e9316539be9e2a5cd31f</id>
<content type='text'>
</content>
</entry>
</feed>
