<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython.git/Include/boolobject.h, branch v2.7</title>
<subtitle>
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/'/>
<entry>
<title>#1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT. Macros for b/w compatibility are available.</title>
<updated>2007-12-19T02:37:44+00:00</updated>
<author>
<name>Christian Heimes</name>
<email>christian@cheimes.de</email>
</author>
<published>2007-12-19T02:37:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=313c52225f6d34857203468bc0b431ff46195e1d'/>
<id>313c52225f6d34857203468bc0b431ff46195e1d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>PEP 3123: Provide forward compatibility with Python 3.0, while keeping</title>
<updated>2007-07-21T06:55:02+00:00</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2007-07-21T06:55:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=778038e965a1ff5bcc5585431cb193bd89eb9005'/>
<id>778038e965a1ff5bcc5585431cb193bd89eb9005</id>
<content type='text'>
backwards compatibility. Add Py_Refcnt, Py_Type, Py_Size, and
PyVarObject_HEAD_INIT.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
backwards compatibility. Add Py_Refcnt, Py_Type, Py_Size, and
PyVarObject_HEAD_INIT.
</pre>
</div>
</content>
</entry>
<entry>
<title>SF bug 994255: Py_RETURN_NONE causes too much warnings</title>
<updated>2004-07-22T01:46:43+00:00</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2004-07-22T01:46:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=9c23abff33b146cb173bf3a27b1cbeefef4a5c66'/>
<id>9c23abff33b146cb173bf3a27b1cbeefef4a5c66</id>
<content type='text'>
Rewrote Py_RETURN_{NONE, TRUE, FALSE} to expand to comma expressions
rather than "do {} while(0)" thingies.  The OP complained because he
likes using MS /W4 sometimes, and then all his uses of these things
generate nuisance warnings about testing a constant expression (in
the "while(0)" part).  Comma expressions don't have this problem
(although it's a lucky accident that comma expressions suffice for these
macros!).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Rewrote Py_RETURN_{NONE, TRUE, FALSE} to expand to comma expressions
rather than "do {} while(0)" thingies.  The OP complained because he
likes using MS /W4 sometimes, and then all his uses of these things
generate nuisance warnings about testing a constant expression (in
the "while(0)" part).  Comma expressions don't have this problem
(although it's a lucky accident that comma expressions suffice for these
macros!).
</pre>
</div>
</content>
</entry>
<entry>
<title>Modify the Py_RETURN_* macros to be of the form ``do {...} while (0)`` in order</title>
<updated>2003-10-19T22:58:11+00:00</updated>
<author>
<name>Brett Cannon</name>
<email>bcannon@gmail.com</email>
</author>
<published>2003-10-19T22:58:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=1af6c750a3d656ceccc2a20905b5b961304f0e69'/>
<id>1af6c750a3d656ceccc2a20905b5b961304f0e69</id>
<content type='text'>
to handle situations like ``if (foo) Py_RETURN_NONE else ...``.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
to handle situations like ``if (foo) Py_RETURN_NONE else ...``.
</pre>
</div>
</content>
</entry>
<entry>
<title>Modified the Py_RETURN_* macros by having the statements surrounded by {} in</title>
<updated>2003-10-19T21:31:43+00:00</updated>
<author>
<name>Brett Cannon</name>
<email>bcannon@gmail.com</email>
</author>
<published>2003-10-19T21:31:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=088993ee62bbf59b41a50b581cc3cc106e3f285e'/>
<id>088993ee62bbf59b41a50b581cc3cc106e3f285e</id>
<content type='text'>
order to prevent any unexpected surprises from someone using them in a
conditional without using curly braces (e.g., ``if (foo) Py_RETURN_TRUE``.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
order to prevent any unexpected surprises from someone using them in a
conditional without using curly braces (e.g., ``if (foo) Py_RETURN_TRUE``.
</pre>
</div>
</content>
</entry>
<entry>
<title>Defined macros Py_RETURN_(TRUE|FALSE|NONE) as helper functions for returning</title>
<updated>2003-10-19T21:19:40+00:00</updated>
<author>
<name>Brett Cannon</name>
<email>bcannon@gmail.com</email>
</author>
<published>2003-10-19T21:19:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=071fe9036936206519d7093b6e1e4f1c7b8af2c5'/>
<id>071fe9036936206519d7093b6e1e4f1c7b8af2c5</id>
<content type='text'>
the specified value.  All three Py_INCREF the singleton and then return it.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
the specified value.  All three Py_INCREF the singleton and then return it.
</pre>
</div>
</content>
</entry>
<entry>
<title>Excise DL_EXPORT from Include.</title>
<updated>2002-08-12T07:21:58+00:00</updated>
<author>
<name>Mark Hammond</name>
<email>mhammond@skippinet.com.au</email>
</author>
<published>2002-08-12T07:21:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=81ef4c697a0af6c88625d468535f5209069756cf'/>
<id>81ef4c697a0af6c88625d468535f5209069756cf</id>
<content type='text'>
Thanks to Skip Montanaro and Kalle Svensson for the patches.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Thanks to Skip Montanaro and Kalle Svensson for the patches.
</pre>
</div>
</content>
</entry>
<entry>
<title>Patch #551008: DL_IMPORT PyBool_FromLong.</title>
<updated>2002-05-02T20:23:27+00:00</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2002-05-02T20:23:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=ad47f48eda8ee6a3c7e5bb0f3b89ae2b53bc6bb2'/>
<id>ad47f48eda8ee6a3c7e5bb0f3b89ae2b53bc6bb2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add standard header preamble and footer, a-la intobject.h.  Main purpose is extern "C" for C++ programs.</title>
<updated>2002-04-06T03:58:41+00:00</updated>
<author>
<name>Mark Hammond</name>
<email>mhammond@skippinet.com.au</email>
</author>
<published>2002-04-06T03:58:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=851b80ea96383be2e95f36b238f390e9c2f9880e'/>
<id>851b80ea96383be2e95f36b238f390e9c2f9880e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Oops.  Here are the new files.  My apologies.</title>
<updated>2002-04-03T23:01:45+00:00</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2002-04-03T23:01:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=280850c2f0736da6650e18c43dcc3f7a514fa439'/>
<id>280850c2f0736da6650e18c43dcc3f7a514fa439</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
