[Python-Dev] PEP: Adding data-type objects to Python

Travis E. Oliphant oliphant.travis at ieee.org
Sat Oct 28 08:45:55 CEST 2006

Martin v. Löwis wrote:
> Travis E. Oliphant schrieb:
>>     The datatype is an object that specifies how a certain block of
>>     memory should be interpreted as a basic data-type. 
>>       >>> datatype(float)
>>       datatype('float64')
> I can't speak on the specific merits of this proposal, or whether this
> kind of functionality is desirable. However, I'm -1 on the addition of
> a builtin for this functionality (the PEP doesn't actually say that
> there is another builtin, but the examples suggest so).

I was intentionally vague.  I don't see a need for it to be a built-in, 
but didn't know where exactly to "put it,"  I should have made it a 
question for discussion.


More information about the Python-Dev mailing list