[Python-Dev] Error in PEP3118?

Nick Coghlan ncoghlan at gmail.com
Sat Feb 16 15:37:21 CET 2008


Greg Ewing wrote:
> It might help to add a note to the effect that this
> example is meant to illustrate that the descriptor doesn't
> have to exactly match the C description, as long as it
> describes the same memory layout.

This sounds like a good idea to me. I doubt Thomas will be the last 
person to miss the distinction between how the C compiler thinks the 
memory is arranged (just a simple list of values) and how the 
application interprets that memory (a 2-dimensional array).

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia
---------------------------------------------------------------
             http://www.boredomandlaziness.org


More information about the Python-Dev mailing list