Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #31303
| Path | csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <sscc@mweb.co.za> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.010 |
| X-Spam-Evidence | '*H*': 0.98; '*S*': 0.00; 'true)': 0.07; 'versions.': 0.07; 'assumed': 0.09; "b''": 0.09; 'porting': 0.09; 'eckhardt': 0.16; 'portably': 0.16; 'rationale': 0.16; 'subject:unicode': 0.16; 'string': 0.17; 'wrote:': 0.17; 'alex': 0.17; 'byte': 0.17; 'unicode': 0.17; 'feature': 0.24; 'header:In-Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; '(which': 0.26; 'wonder': 0.27; 'code': 0.31; 'could': 0.32; 'to:addr:python-list': 0.33; 'thanks': 0.34; 'pm,': 0.35; 'received:co.za': 0.37; 'received:za': 0.37; 'subject:: ': 0.38; 'to:addr:python.org': 0.39; 'help': 0.40; 'is.': 0.62; 'between': 0.63; 'legal': 0.65; 'surprise': 0.65; 'received:41': 0.73; 'received:196.28': 0.84 |
| Date | Mon, 15 Oct 2012 15:41:40 +0200 |
| From | Alex Strickland <sscc@mweb.co.za> |
| User-Agent | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120907 Thunderbird/15.0.1 |
| MIME-Version | 1.0 |
| To | python-list@python.org |
| Subject | Re: portable unicode literals |
| References | <t8etk9-5h9.ln1@satorlaser.homedns.org> |
| In-Reply-To | <t8etk9-5h9.ln1@satorlaser.homedns.org> |
| 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 |
| 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.2204.1350308926.27098.python-list@python.org> (permalink) |
| Lines | 15 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1350308926 news.xs4all.nl 6844 [2001:888:2000:d::a6]:48404 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:31303 |
Show key headers only | View raw
On 2012/10/15 03:05 PM, Ulrich Eckhardt wrote: > This actually came as a surprise to me, I assumed that using b'' I could > portably create a byte string (which is true) and using u'' I could > portably create a unicode string (which is not true). This feature would > help porting code between both versions. While this is a state I can > live with, I wonder what the rationale for this is. > > !puzzled thanks u'' is legal in 3.3 again. -- Regards Alex
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
portable unicode literals Ulrich Eckhardt <ulrich.eckhardt@dominolaser.com> - 2012-10-15 15:05 +0200
Re: portable unicode literals Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-10-15 13:26 +0000
Re: portable unicode literals Dave Angel <d@davea.name> - 2012-10-15 09:32 -0400
Re: portable unicode literals Alex Strickland <sscc@mweb.co.za> - 2012-10-15 15:41 +0200
Re: portable unicode literals Duncan Booth <duncan.booth@invalid.invalid> - 2012-10-16 08:44 +0000
Re: portable unicode literals Serhiy Storchaka <storchaka@gmail.com> - 2012-10-15 20:11 +0300
csiph-web