[SAGA-RG] Python bindings naming issues

Manuel Franceschini livewire at koltern.com
Tue Jan 12 12:15:58 CST 2010


Hi folks,

'NotImplemented' [0] and 'NotImplementedError' [1] are reserved
keywords in Python.  Thus, the SAGA 'NotImplemented' Exception has the
potential to hide some of these keywords in the Python bindings. So we
could either rename the exception or live with the fact that there
might be some (small?) problems. What do you think?

Similarly, 'id', which is used as parameter in many methods in the
SAGA spec, is a built-in function in Python. This, however, shouldn't
be to much of an issue to rename.

Cheers,
/Manuel


[0] http://docs.python.org/library/constants.html#NotImplemented
[1] http://docs.python.org/library/exceptions.html#exceptions.NotImplementedError
[2] http://docs.python.org/library/functions.html#id


More information about the saga-rg mailing list