[Python-Dev] PyRange_New() alternative?

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 PyRange_New() 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 PyRange_New()?

You can call PyRange_Type with the appropriate parameters.


More information about the Python-Dev mailing list