> longer answer: write a small C extension that casts an integer (or long > integer) > argument to a PyObject, increments the refcount, and returns the object.
here's a pointer to a pointer to such a function, btw:
http://mail.python.org/pipermail/python-list/1999-October/013715.html
(see other messages in that thread for more on why this is a stupid idea)
</F>
--
http://mail.python.org/mailman/listinfo/python-list
