Travis E. Oliphant wrote:
> M.-A. Lemburg wrote:
>> Travis E. Oliphant wrote:
>>>
>>>
>>> PEP:
>>> Title: Adding data-type objects to the standard library
>>> Attributes
>>>
>>> kind -- returns the basic "kind" o
Hi Travis,
On Fri, Oct 27, 2006 at 02:05:31PM -0600, Travis E. Oliphant wrote:
> This PEP proposes adapting the data-type objects from NumPy for
> inclusion in standard Python, to provide a consistent and standard
> way to discuss the format of binary data.
How does this compare with
M.-A. Lemburg wrote:
> Travis E. Oliphant wrote:
>>
>>
>>
>> PEP:
>> Title: Adding data-type objects to the standard library
>> Attributes
>>
>> kind -- returns the basic "kind" of the data-type. The basic kinds
Travis E. Oliphant wrote:
>
>
>
>
> PEP:
> Title: Adding data-type objects to the standard library
> Attributes
>
> kind -- returns the basic "kind" of the data-type. The basic kinds
> ar
Greg Ewing wrote:
> Travis E. Oliphant wrote:
>> PEP:
>> Title: Adding data-type objects to the standard library
>
> Not sure about having 3 different ways to specify
> the structure -- it smacks of Too Many Ways To Do
> It to me.
You might be right, but they all have use-cases. I've actually r
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 propo
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 propo
Nick Coghlan wrote:
> There are actually 5 ways, but the different mechanisms all have different
> use
> case (and I'm going to suggest getting rid of the dictionary form).
D'oh, I though I deleted that parenthetical comment... obviously, I changed my
mind on this point :)
Cheers,
Nick.
--
N
Greg Ewing wrote:
> Travis E. Oliphant wrote:
>> PEP:
>> Title: Adding data-type objects to the standard library
I've used 'datatype' below for consistency, but can we please call them
something other than data types? Data layouts? Data formats? Binary layouts?
Binary formats? 'type' is already
Travis E. Oliphant wrote:
> PEP:
> Title: Adding data-type objects to the standard library
Not sure about having 3 different ways to specify
the structure -- it smacks of Too Many Ways To Do
It to me.
Also, what if I want to refer to fields by name
but don't want to have to work out all the offs
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 func
PEP:
Title: Adding data-type objects to the standard library
Version: $Revision: $
Last-Modified: $Date: $
Author: Travis Oliphant <[EMAIL PROTECTED]>
Status: Draft
Type: Standards Track
Created: 05-Sep-2006
Python-Version: 2.6
Abstract
This PEP proposes adapting the data-type objects fro
101 - 112 of 112 matches
Mail list logo