Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #38771

Re: buffers and memoryviews

Path csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <demianbrecht@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.039
X-Spam-Evidence '*H*': 0.92; '*S*': 0.00; 'python.': 0.02; 'dev': 0.07; 'url:github': 0.09; '2.7': 0.13; ':-)': 0.13; '>on': 0.16; 'received:209.85.210.42': 0.16; 'wrote:': 0.17; 'to:name:python- list@python.org': 0.20; 'written': 0.20; 'url:02': 0.22; 'work.': 0.23; 'header:In-Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; 'am,': 0.27; 'guess': 0.27; 'buffers': 0.29; 'url:mailman': 0.29; 'source': 0.29; 'url:python': 0.32; 'url:listinfo': 0.32; 'to:addr :python-list': 0.33; 'received:google.com': 0.34; 'received:209.85': 0.35; 'message-id:@gmail.com': 0.36; 'url:org': 0.36; "didn't": 0.36; 'useful': 0.36; 'charset:us-ascii': 0.36; 'detail': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'brief': 0.38; 'some': 0.38; 'received:10': 0.38; 'to:addr:python.org': 0.39; 'url:mail': 0.40; 'side': 0.61; 'provide': 0.62; 'information': 0.63; 'decided': 0.65; 'incorporate': 0.65; 'url:10': 0.65; 'wanting': 0.65; 'url:2013': 0.84; 'url:posts': 0.84
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:user-agent:date:subject:from:to:message-id:thread-topic :in-reply-to:mime-version:content-type:content-transfer-encoding; bh=NL2KJwLgYV5T6JoAZhTZQAn6aTVD2+p9zzMWBVXxiXM=; b=DOaU2PZDS4bwybaBhyPLGXeuTfF/fs3t9qzUK4hZ2fXxO/y+90pP7svj0CyJtKS+0O Om6IuXlxlF/q1KTQRhagJ7UQWb/z2byN8S8rOENg6gIdceVSeRXUSR5vmGJs/YTN64QM 2S8UFaialIAay6pX0k6F7f5RhsOhbH1GxN6+9AYUi/JEyMZnt1at4EITpEZ13eNuI4wk CB/CxWPsusdSbsANawJlDtgHugqPEaRtVPSDghK7MEEdIxZzmPO40Zs/5yeXdtVgcM48 XA1YnkRzErB6rq7ZVoyWI0BGyGu1HlZVO6xCESFDxdtftbAxnJJtfJuMOebpD8TznNH0 mNpg==
X-Received by 10.66.82.200 with SMTP id k8mr54170922pay.56.1360688727328; Tue, 12 Feb 2013 09:05:27 -0800 (PST)
User-Agent Microsoft-MacOutlook/14.3.0.121105
Date Tue, 12 Feb 2013 09:05:20 -0800
Subject Re: buffers and memoryviews
From Demian Brecht <demianbrecht@gmail.com>
To "python-list@python.org" <python-list@python.org>
Thread-Topic buffers and memoryviews
In-Reply-To <511A62EF.7010603@mrabarnett.plus.com>
Mime-version 1.0
Content-type text/plain; charset="US-ASCII"
Content-transfer-encoding 7bit
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.1717.1360688736.2939.python-list@python.org> (permalink)
Lines 30
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1360688736 news.xs4all.nl 6897 [2001:888:2000:d::a6]:59813
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:38771

Show key headers only | View raw


I guess I /should/ have written it with current releases.. My 3 is current
dev source :P

Demian Brecht
http://demianbrecht.github.com




On 2013-02-12 7:42 AM, "MRAB" <python@mrabarnett.plus.com> wrote:

>On 2013-02-12 15:25, Demian Brecht wrote:
>> I didn't know a whole lot (read: nothing) about buffers and memoryviews
>> before digging into the C side of Python. Once I found them, ran into
>>some
>> of the 2.7 ugliness of having /both/ buffers and memoryviews available
>>and
>> found the tremendous usefulness in them, I decided to write a blog post.
>> In this post, I hope to give the reader a brief overview of what each
>>is,
>> detail some of the ugliness in 2.7 and provide useful information for
>> those wanting to incorporate them into their work.
>>
>> http://demianbrecht.github.com/posts/2013/02/10/buffer-and-memoryview/
>>
>"3.4"? I didn't know that it was out yet! :-)
>-- 
>http://mail.python.org/mailman/listinfo/python-list

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: buffers and memoryviews Demian Brecht <demianbrecht@gmail.com> - 2013-02-12 09:05 -0800

csiph-web