Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #53883
| Path | csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <random832@fastmail.us> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.026 |
| X-Spam-Evidence | '*H*': 0.95; '*S*': 0.00; 'subject:file': 0.07; 'received:internal': 0.09; 'windows': 0.15; '*with': 0.16; 'message-id:@webmail.messagingengine.com': 0.16; 'received:10.202': 0.16; 'received:10.202.2': 0.16; 'received:66.111': 0.16; 'received:66.111.4': 0.16; 'received:66.111.4.27': 0.16; 'received:messagingengine.com': 0.16; 'received:out3-smtp.messagingengine.com': 0.16; 'subject:String': 0.16; 'windows?': 0.16; 'sat,': 0.16; 'wrote:': 0.18; 'tests': 0.22; 'unicode': 0.24; 'fine': 0.24; 'question': 0.24; 'header:In-Reply-To:1': 0.27; 'to:2**1': 0.27; 'chris': 0.29; 'am,': 0.29; "i'm": 0.30; 'ctypes': 0.31; 'sep': 0.31; 'fri,': 0.33; 'actual': 0.34; 'subject:the': 0.34; 'received:66': 0.35; 'objects': 0.35; 'but': 0.35; 'interact': 0.36; 'sequence': 0.36; 'received:10': 0.37; 'expected': 0.38; 'checks': 0.38; 'to:addr:python-list': 0.38; 'does': 0.39; 'sure': 0.39; 'to:addr:python.org': 0.39; 'how': 0.40; 'skip:u 10': 0.60; 'from:no real name:2**0': 0.61; 'header:Message-Id:1': 0.63; 'to:addr:gmail.com': 0.65; 'default': 0.69; 'everywhere.': 0.84; 'reading,': 0.84; '2013,': 0.91; '2013': 0.98 |
| DKIM-Signature | v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.us; h= message-id:from:to:mime-version:content-transfer-encoding :content-type:in-reply-to:references:subject:date; s=mesmtp; bh= nsdT/lEjSog8SjnJEPjitVFYY7Q=; b=AEAK9ppoBiaHj3W6BzNpIl5yonR/S7ix ixW4s5VcmjWg8p6ksnUZZOSAFE68a81QFCg8y4K6ucAsYBG9XUVrvesVhMwHnNys mbnEFd5sBbpzVqAJhiou4CsgeVm7V7Cft6o4jWNn6oZswyN4asRu12czjq4VpeIf YeNc+cRDOHs= |
| DKIM-Signature | v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=message-id:from:to:mime-version :content-transfer-encoding:content-type:in-reply-to:references :subject:date; s=smtpout; bh=nsdT/lEjSog8SjnJEPjitVFYY7Q=; b=OTc izjX+3slNbgcTp7AaT/TS0TND91rk+PsPmFJqm4ohpuw/pZe2mJk3mIDrOtv05jY M9aGCMDfdeOhpZ8RnEdHT9YgpAM/UWNxDKdWu9W6sUWa2PExeC9PDJLtycgt21hn A3nFmdL2ZnzkSBxhC4YLYqVrQ6SZraHcJYbquVLk= |
| X-Sasl-Enc | BMhPPSJkLSX8lltRVaIzu1N1bJ9f+LbA6gD4BerjuOas 1378751676 |
| From | random832@fastmail.us |
| To | Chris Angelico <rosuav@gmail.com>, python-list@python.org |
| MIME-Version | 1.0 |
| Content-Transfer-Encoding | 7bit |
| Content-Type | text/plain |
| X-Mailer | MessagingEngine.com Webmail Interface - ajax-15090c31 |
| In-Reply-To | <CAPTjJmoVattOtstGpooszV4a5F7KmvX+Y_Mzpb1M7m3EsAU7og@mail.gmail.com> |
| References | <4ce85ea8-4a4c-46cf-a546-ad999576a5f7@googlegroups.com> <m2a9jqq7g9.fsf@cochabamba.vanoostrum.org> <1378486748.10472.18800565.3DE728D7@webmail.messagingengine.com> <CAPTjJmoVattOtstGpooszV4a5F7KmvX+Y_Mzpb1M7m3EsAU7og@mail.gmail.com> |
| Subject | Re: Chardet, file, ... and the Flexible String Representation |
| Date | Mon, 09 Sep 2013 14:34:36 -0400 |
| 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 | <https://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 | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.189.1378751678.5461.python-list@python.org> (permalink) |
| Lines | 14 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1378751679 news.xs4all.nl 15924 [2001:888:2000:d::a6]:53445 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:53883 |
Show key headers only | View raw
On Fri, Sep 6, 2013, at 13:04, Chris Angelico wrote: > On Sat, Sep 7, 2013 at 2:59 AM, <random832@fastmail.us> wrote: > > Incidentally, how does all this interact with ctypes unicode_buffers, > > which slice as strings and must be UTF-16 on windows? This was fine > > pre-FSR when unicode objects were UTF-16, but I'm not sure how it would > > work now. > > That would be pre-FSR *with a Narrow build*, which was the default on > Windows but not everywhere. But I don't know or use ctypes, so an > answer to your actual question will have to come from someone else. I did a couple tests - it works as well as can be expected for reading, but completely breaks for writing (due to sequence size checks not matching)
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Chardet, file, ... and the Flexible String Representation wxjmfauth@gmail.com - 2013-09-06 02:11 -0700
Re: Chardet, file, ... and the Flexible String Representation Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-09-06 10:57 +0000
Re: Chardet, file, ... and the Flexible String Representation Antoon Pardon <antoon.pardon@rece.vub.ac.be> - 2013-09-06 13:10 +0200
Re: Chardet, file, ... and the Flexible String Representation Ned Batchelder <ned@nedbatchelder.com> - 2013-09-06 07:02 -0400
Re: Chardet, file, ... and the Flexible String Representation Piet van Oostrum <piet@vanoostrum.org> - 2013-09-06 11:46 -0400
Re: Chardet, file, ... and the Flexible String Representation Chris Angelico <rosuav@gmail.com> - 2013-09-07 02:04 +1000
Re: Chardet, file, ... and the Flexible String Representation random832@fastmail.us - 2013-09-06 12:59 -0400
Re: Chardet, file, ... and the Flexible String Representation Chris Angelico <rosuav@gmail.com> - 2013-09-07 03:04 +1000
Re: Chardet, file, ... and the Flexible String Representation wxjmfauth@gmail.com - 2013-09-09 07:28 -0700
Re: Chardet, file, ... and the Flexible String Representation Ned Batchelder <ned@nedbatchelder.com> - 2013-09-09 12:38 -0400
Re: Chardet, file, ... and the Flexible String Representation Michael Torrie <torriem@gmail.com> - 2013-09-09 11:05 -0600
Re: Chardet, file, ... and the Flexible String Representation Steven D'Aprano <steve@pearwood.info> - 2013-09-10 04:58 +0000
Re: Chardet, file, ... and the Flexible String Representation Terry Reedy <tjreedy@udel.edu> - 2013-09-09 16:47 -0400
Re: Chardet, file, ... and the Flexible String Representation random832@fastmail.us - 2013-09-10 11:36 -0400
Re: Chardet, file, ... and the Flexible String Representation random832@fastmail.us - 2013-09-09 14:34 -0400
Re: Chardet, file, ... and the Flexible String Representation Ian Kelly <ian.g.kelly@gmail.com> - 2013-09-09 13:03 -0600
Re: Chardet, file, ... and the Flexible String Representation random832@fastmail.us - 2013-09-09 15:27 -0400
Re: Chardet, file, ... and the Flexible String Representation Serhiy Storchaka <storchaka@gmail.com> - 2013-09-12 00:11 +0300
csiph-web