Path: csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.101 X-Spam-Level: * X-Spam-Evidence: '*H*': 0.80; '*S*': 0.01; 'python.': 0.02; 'url:github': 0.09; '2.7': 0.13; ':-)': 0.13; 'from:addr:mrabarnett.plus.com': 0.16; 'from:addr:python': 0.16; 'from:name:mrab': 0.16; 'message-id:@mrabarnett.plus.com': 0.16; 'wrote:': 0.17; 'url:02': 0.22; 'work.': 0.23; 'header:In-Reply- To:1': 0.25; 'header:User-Agent:1': 0.26; 'buffers': 0.29; 'to:addr:python-list': 0.33; "didn't": 0.36; 'useful': 0.36; 'detail': 0.37; 'subject:: ': 0.38; 'brief': 0.38; 'some': 0.38; 'to:addr:python.org': 0.39; 'received:192': 0.39; 'received:192.168': 0.40; 'side': 0.61; 'provide': 0.62; 'information': 0.63; 'decided': 0.65; 'incorporate': 0.65; 'url:10': 0.65; 'wanting': 0.65; 'header:Reply-To:1': 0.68; 'reply-to:no real name:2**0': 0.72; 'reply-to:addr:python.org': 0.84; 'url:2013': 0.84; 'url:posts': 0.84 X-CM-Score: 0.00 X-CNFS-Analysis: v=2.0 cv=XeZXOvF5 c=1 sm=1 a=0nF1XD0wxitMEM03M9B4ZQ==:17 a=Tv4_tr9OjFAA:10 a=ihvODaAuJD4A:10 a=OUOv7kDek9cA:10 a=8nJEP1OIZ-IA:10 a=EBOSESyhAAAA:8 a=8AHkEIZyAAAA:8 a=QJslk8cVJvkA:10 a=NEAV23lmAAAA:8 a=3FaKxheoCFByNHF8ID0A:9 a=wPNLvfGTeEIA:10 a=0nF1XD0wxitMEM03M9B4ZQ==:117 X-AUTH: mrabarnett:2500 Date: Tue, 12 Feb 2013 15:42:39 +0000 From: MRAB User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 MIME-Version: 1.0 To: python-list@python.org Subject: Re: buffers and memoryviews References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: python-list@python.org List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 12 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1360683744 news.xs4all.nl 6905 [2001:888:2000:d::a6]:42711 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:38763 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! :-)