[Python-Dev] Re: How to spell Py_return_None and friends (was: RE:
[Python-checkins] python/dist/src/Objects typeobject.c, 2.244,
2.245)
Guido van Rossum
guido at python.org
Sat Oct 18 22:40:46 EDT 2003
> So I just grepped the source and checked the patch manager and don't see
> any resolution on this. I know there was no objections from anyone to
> do this beyond just coming up with an agreed spelling.
>
> So Py_return_None or Py_RETURN_NONE ? I am with Mark in liking the
> all-caps for macros, but I can easily live with the first suggestion as
> well.
Py_RETURN_NONE, _FALSE, _TRUE are fine.
--Guido van Rossum (home page: http://www.python.org/~guido/)
More information about the Python-Dev
mailing list