[Python-Dev] PyRange_New() alternative?
Georg Brandl
g.brandl at gmx.net
Thu Jun 22 21:16:30 CEST 2006
More information about the Python-Dev mailing list
Thu Jun 22 21:16:30 CEST 2006
- Previous message: [Python-Dev] PyRange_New() alternative?
- Next message: [Python-Dev] PyRange_New() alternative?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Ralf W. Grosse-Kunstleve wrote: > --- Georg Brandl <g.brandl at gmx.net> wrote: > >> 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. > > Thanks a lot for the hint! However, I cannot find any documentation for > PyRange_*. I tried this page... > > http://docs.python.org/api/genindex.html > > and google. Did I miss something? > > I am sure I can get this to work with some digging, but I am posting here to > highlight a communication problem. I feel if a function is removed the > alternative should be made obvious in the associated documentation; in > particular if there is no existing documentation for the alternative. Well, PyRange_New *was* undocumented, so there's no place in the documentation where it would have been. However, it would perhaps be helpful to add a note to the whatsnew document for users like yourself. Andrew, does that make sense? Georg
- Previous message: [Python-Dev] PyRange_New() alternative?
- Next message: [Python-Dev] PyRange_New() alternative?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list