rom...@us... wrote:
> @@ -121,12 +121,16 @@
>
> Returns a reference to the internal list (which may be modified).
> """
> + if None is self._function_transformers:
> + #TODO: for trivial cases get_size( int&, int& ) Py++ should guess
> + #function transformers
On what information would such a guess be based? The declaration doesn't
contain any reliable information about the intention of the programmer.
Will the implicit guess be available when the user also attaches some
transformers?
And while we're at it, just out of curiosity, why do you initialize
_function_transformers with None instead of an empty list? (to me it
appears as if this only has disadvantages, mainly that you always have
to test it against None if you want to access the attribute)
- Matthias -
|