[Python-3000] PyInt_AS_LONG error checking (original) (raw)
Georg Brandl g.brandl at gmx.net
Tue Oct 23 20:47:45 CEST 2007
- Previous message: [Python-3000] Failing unit tests on WIndows
- Next message: [Python-3000] PyInt_AS_LONG error checking
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
PyInt_AS_LONG is #defined as PyLong_AsLong since the int/long unification.
However, most places that use this macro (and also places that use PyInt_AsLong) assume it cannot fail which means that an exception won't be properly propagated in that case.
If I don't overlook something here, all these places have to be fixed...
Georg
- Previous message: [Python-3000] Failing unit tests on WIndows
- Next message: [Python-3000] PyInt_AS_LONG error checking
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]