<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Python/modsupport.c, branch v2.3.5c1</title>
<subtitle>github.com: python/cpython.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/'/>
<entry>
<title>Better error message</title>
<updated>2003-06-21T21:35:25+00:00</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2003-06-21T21:35:25+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=c44dbc46fec84ad9cbd958badc1cd325b5d498f0'/>
<id>c44dbc46fec84ad9cbd958badc1cd325b5d498f0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>dded missing k and K format specifiers to Py_BuildValue and friends.</title>
<updated>2003-04-17T22:01:10+00:00</updated>
<author>
<name>Jack Jansen</name>
<email>jack.jansen@cwi.nl</email>
</author>
<published>2003-04-17T22:01:10+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=dbd6503e97264938c8fb4ce099c64da7a475e12e'/>
<id>dbd6503e97264938c8fb4ce099c64da7a475e12e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Rename LONG_LONG to PY_LONG_LONG. Fixes #710285.</title>
<updated>2003-03-29T10:06:18+00:00</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2003-03-29T10:06:18+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=b9a0f9121876cbc728cbef88f16bb32b92712d2d'/>
<id>b9a0f9121876cbc728cbef88f16bb32b92712d2d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Provide __module__ attributes for functions defined in C and Python.</title>
<updated>2003-01-31T18:33:18+00:00</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2003-01-31T18:33:18+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=4f0dcc9a9a4629607d4fff79912e8d0c86cd3914'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
__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.
</pre>
</div>
</content>
</entry>
<entry>
<title>Style consistency, so "grep ^function ..." works as expected.</title>
<updated>2003-01-30T15:08:25+00:00</updated>
<author>
<name>Fred Drake</name>
<email>fdrake@acm.org</email>
</author>
<published>2003-01-30T15:08:25+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=ceead6d9571673200848a3bc9e4e046832166e20'/>
<id>ceead6d9571673200848a3bc9e4e046832166e20</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed potential crash: v can be NULL here, so use Py_XDECREF rather than Py_DECREF</title>
<updated>2002-12-15T13:45:32+00:00</updated>
<author>
<name>Just van Rossum</name>
<email>just@letterror.com</email>
</author>
<published>2002-12-15T13:45:32+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=bbfd859521073e1e399f91b78016d621a78e60d1'/>
<id>bbfd859521073e1e399f91b78016d621a78e60d1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Py_InitModule4():  Accept NULL for the 'methods' argument.  This makes</title>
<updated>2002-08-14T20:57:56+00:00</updated>
<author>
<name>Fred Drake</name>
<email>fdrake@acm.org</email>
</author>
<published>2002-08-14T20:57:56+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=233cc5987b6659d0fcd033a420ad8b5390ffa772'/>
<id>233cc5987b6659d0fcd033a420ad8b5390ffa772</id>
<content type='text'>
sense now that extension types can support __init__ directly rather
than requiring function constructors.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
sense now that extension types can support __init__ directly rather
than requiring function constructors.
</pre>
</div>
</content>
</entry>
<entry>
<title>Patch #554716: Use __va_copy where available.</title>
<updated>2002-07-28T10:23:27+00:00</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2002-07-28T10:23:27+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=75d2d94e0f049162c6ef353a89c5703eb78eaaf6'/>
<id>75d2d94e0f049162c6ef353a89c5703eb78eaaf6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>PyModule_AddObject():  Added missing exceptions.</title>
<updated>2002-06-17T17:16:57+00:00</updated>
<author>
<name>Fred Drake</name>
<email>fdrake@acm.org</email>
</author>
<published>2002-06-17T17:16:57+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=8311518a5868acef791d5d04853a6d047d20e8ac'/>
<id>8311518a5868acef791d5d04853a6d047d20e8ac</id>
<content type='text'>
Closes SF bug #523473.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes SF bug #523473.
</pre>
</div>
</content>
</entry>
<entry>
<title>Introduce two new flag bits that can be set in a PyMethodDef method</title>
<updated>2002-03-28T05:33:33+00:00</updated>
<author>
<name>Fred Drake</name>
<email>fdrake@acm.org</email>
</author>
<published>2002-03-28T05:33:33+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=7bf9715a8b794cb743fdac97a9014102985a3dd3'/>
<id>7bf9715a8b794cb743fdac97a9014102985a3dd3</id>
<content type='text'>
descriptor, as used for the tp_methods slot of a type.  These new flag
bits are both optional, and mutually exclusive.  Most methods will not
use either.  These flags are used to create special method types which
exist in the same namespace as normal methods without having to use
tedious construction code to insert the new special method objects in
the type's tp_dict after PyType_Ready() has been called.

If METH_CLASS is specified, the method will represent a class method
like that returned by the classmethod() built-in.

If METH_STATIC is specified, the method will represent a static method
like that returned by the staticmethod() built-in.

These flags may not be used in the PyMethodDef table for modules since
these special method types are not meaningful in that case; a
ValueError will be raised if these flags are found in that context.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
descriptor, as used for the tp_methods slot of a type.  These new flag
bits are both optional, and mutually exclusive.  Most methods will not
use either.  These flags are used to create special method types which
exist in the same namespace as normal methods without having to use
tedious construction code to insert the new special method objects in
the type's tp_dict after PyType_Ready() has been called.

If METH_CLASS is specified, the method will represent a class method
like that returned by the classmethod() built-in.

If METH_STATIC is specified, the method will represent a static method
like that returned by the staticmethod() built-in.

These flags may not be used in the PyMethodDef table for modules since
these special method types are not meaningful in that case; a
ValueError will be raised if these flags are found in that context.
</pre>
</div>
</content>
</entry>
</feed>
