[Python-Dev] PEP: Adding data-type objects to Python
M.-A. Lemburg
mal at egenix.com
Sat Oct 28 10:40:01 CEST 2006
Travis E. Oliphant wrote:
>
>
> ------------------------------------------------------------------------
>
> PEP: <unassigned>
> Title: Adding data-type objects to the standard library
> Attributes
>
> kind -- returns the basic "kind" of the data-type. The basic kinds
> are:
> 't' - bit,
> 'b' - bool,
> 'i' - signed integer,
> 'u' - unsigned integer,
> 'f' - floating point,
> 'c' - complex floating point,
> 'S' - string (fixed-length sequence of char),
> 'U' - fixed length sequence of UCS4,
Shouldn't this read "fixed length sequence of Unicode" ?!
The underlying code unit format (UCS2 and UCS4) depends on the
Python version.
> 'O' - pointer to PyObject,
> 'V' - Void (anything else).
--
Marc-Andre Lemburg
eGenix.com
Professional Python Services directly from the Source (#1, Oct 28 2006)
>>> Python/Zope Consulting and Support ... http://www.egenix.com/
>>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/
>>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/
________________________________________________________________________
::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! ::::
More information about the Python-Dev
mailing list