[Python-Dev] About raising NotPortableWarning for CPython specific code

Greg Ewing greg.ewing at canterbury.ac.nz
Sun Mar 13 00:40:37 CET 2011


Nick Coghlan wrote:

> I'm actually tempted to call the current CPython semantics flatout
> *wrong*.

So am I. It seems to result from the hisorical mess
of distinguishing between numeric and sequence operations
at the C level but not the Python level. I think CPython
should be moving in the direction of eliminating that
distinction, not expecting all other Python implementations
to copy it.

-- 
Greg


More information about the Python-Dev mailing list