[Python-Dev] PyRange_New() alternative? (original) (raw)

Georg Brandl g.brandl at gmx.net
Thu Jun 22 08:07:59 CEST 2006


Ralf W. Grosse-Kunstleve wrote:

http://docs.python.org/dev/whatsnew/ports.html says:

The PyRangeNew() function was removed. It was never documented, never used in the core code, and had dangerously lax error checking. I use this function (don't remember how I found it; this was years ago), therefore my code doesn't compile with 2.5b1 (it did OK before with 2.5a2). Is there an alternative spelling for PyRangeNew()?

You can call PyRange_Type with the appropriate parameters.

Georg



More information about the Python-Dev mailing list