Christian Heimes wrote:
Terry Reedy wrote:
One of the nice features of 3.0 is that differences between classes
defined in C and Python (other than speed) are mostly erased or hidden
from the view of a Python programmer.
However, there are still sometimes surprising and quite visible
Terry Reedy wrote:
In particular, built-in functions, in spite of of being labeled
'builtin_function_or_method', are not usable as methods because they
lack the __get__ method needed to bind function to instance.
They're not usable as Python-level instance methods, but they're
definitely
One of the nice features of 3.0 is that differences between classes
defined in C and Python (other than speed) are mostly erased or hidden
from the view of a Python programmer.
However, there are still sometimes surprising and quite visible
differences between 'functions' written in C and
Terry Reedy wrote:
One of the nice features of 3.0 is that differences between classes
defined in C and Python (other than speed) are mostly erased or hidden
from the view of a Python programmer.
However, there are still sometimes surprising and quite visible
differences between 'functions'