History log of /external/python/cpython2/Include/boolobject.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
e93237dfcc4ee4feee62adafb4e7899487ca864b 19-Dec-2007 Christian Heimes <christian@cheimes.de> #1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT. Macros for b/w compatibility are available.
/external/python/cpython2/Include/boolobject.h
6819210b9e4e5719a6f7f9c1725f8fa70a8936f6 21-Jul-2007 Martin v. Löwis <martin@v.loewis.de> PEP 3123: Provide forward compatibility with Python 3.0, while keeping
backwards compatibility. Add Py_Refcnt, Py_Type, Py_Size, and
PyVarObject_HEAD_INIT.
/external/python/cpython2/Include/boolobject.h
5980ff2d924b55cf963e9fb69f41c86b45f4099a 22-Jul-2004 Tim Peters <tim.peters@gmail.com> SF bug 994255: Py_RETURN_NONE causes too much warnings

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!).
/external/python/cpython2/Include/boolobject.h
4b17e3993b7d4ada586e66ad40a73e12e086645e 20-Oct-2003 Brett Cannon <bcannon@gmail.com> Modify the Py_RETURN_* macros to be of the form ``do {...} while (0)`` in order
to handle situations like ``if (foo) Py_RETURN_NONE else ...``.
/external/python/cpython2/Include/boolobject.h
26b3a7b82cbeff578bd76be0c6dcc4c572a523c9 19-Oct-2003 Brett Cannon <bcannon@gmail.com> Modified the Py_RETURN_* macros by having the statements surrounded by {} in
order to prevent any unexpected surprises from someone using them in a
conditional without using curly braces (e.g., ``if (foo) Py_RETURN_TRUE``.
/external/python/cpython2/Include/boolobject.h
d05235ec49de1cf12316e9632a2b3d339dae04c2 19-Oct-2003 Brett Cannon <bcannon@gmail.com> Defined macros Py_RETURN_(TRUE|FALSE|NONE) as helper functions for returning
the specified value. All three Py_INCREF the singleton and then return it.
/external/python/cpython2/Include/boolobject.h
91a681debf9ffec155d0aff8a0bb5f965f592e16 12-Aug-2002 Mark Hammond <mhammond@skippinet.com.au> Excise DL_EXPORT from Include.

Thanks to Skip Montanaro and Kalle Svensson for the patches.
/external/python/cpython2/Include/boolobject.h
76da0c3b713e5ec1875bc9adba57a497ef5a746e 02-May-2002 Martin v. Löwis <martin@v.loewis.de> Patch #551008: DL_IMPORT PyBool_FromLong.
/external/python/cpython2/Include/boolobject.h
303d05d317177fcfeb3bc71d03a196010b191950 06-Apr-2002 Mark Hammond <mhammond@skippinet.com.au> Add standard header preamble and footer, a-la intobject.h. Main purpose is extern "C" for C++ programs.
/external/python/cpython2/Include/boolobject.h
5f8203679d113b3963180da6380ebd69f9f8cd44 04-Apr-2002 Guido van Rossum <guido@python.org> Oops. Here are the new files. My apologies.
/external/python/cpython2/Include/boolobject.h