Other Py_None like objects in python?
Chak Tan (tan@watt.ee.rochester.edu)
7 Mar 1995 11:51:52 -0500
I want to implement other Py_None like objects for some code I'm
working on, and I was wondering if this is a frowned-upon practice.
For instance, I am implementing a random bit module as part of my
simulation code and something like a Py_True and Py_False would be
nice instead of a Py_BuildValue everytime I return from my C code
(this crates a new object and eats up memory, right?) Does anyone
have a better suggetion for constant objects in Python?
Chak Tan