Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #63246
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <rosuav@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.022 |
| X-Spam-Evidence | '*H*': 0.96; '*S*': 0.00; 'subject:Python': 0.06; 'string': 0.09; 'absent': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; 'jan': 0.12; '10:45': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'mean,': 0.16; 'option:': 0.16; 'sense...': 0.16; 'simplifies': 0.16; 'subject:More': 0.16; 'subject:Unicode': 0.16; 'wrote:': 0.18; '>>>': 0.22; 'cc:addr:python.org': 0.22; 'mon,': 0.24; 'cc:2**0': 0.24; 'van': 0.27; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'wonder': 0.29; "doesn't": 0.30; 'message-id:@mail.gmail.com': 0.30; "skip:' 10": 0.31; 'implicit': 0.31; 'subject:About': 0.31; 'another': 0.32; 'quite': 0.32; "i'd": 0.34; 'could': 0.34; 'but': 0.35; 'received:google.com': 0.35; 'error.': 0.37; 'being': 0.38; 'pm,': 0.38; 'does': 0.39; 'even': 0.60; 'subject:"': 0.60; 'conversion': 0.61; 'more': 0.64; 'here': 0.66; 'between': 0.67; 'nobody': 0.68; "'3'": 0.84; 'ethan': 0.84; 'furman': 0.84; 'str.': 0.91; 'to:none': 0.92 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=YdW+8hWa37fbavfNZUyzq542Np+WqS197Pmr8Rzl+gY=; b=ZLOD1gZIyOstq9KKigVHxi5Qu6As1GA5uhvxyXGGRV4WhyOA5LVLLgoqWc+YwQ25Dp q8USmJt0ZuAsr7uheOMBME6Rf/Tl0PMSYQzL9bwBhGJsMgKYQrBjL7zZUTCYWGCG8KS6 fKYMkL1RZ19lCgCIF6UpYjawp2vqbj8vbFPFR/lx1sT12MNN40/Uh3JQU8iWPpasp/Dj glLxCTQ4SmSfLAhI18eRsQ7AgA/kf5Gvq281kYrM3QrunFEmSboty9nIGF4xhKv2XC6F ZAz57iJSQAVy/U8ralR/cmepf7eqRUXp8KVOEnCzpphU9ejRJvbK4lzr/2tE5n5IoPC8 af8Q== |
| MIME-Version | 1.0 |
| X-Received | by 10.68.98.3 with SMTP id ee3mr35348269pbb.31.1388966948041; Sun, 05 Jan 2014 16:09:08 -0800 (PST) |
| In-Reply-To | <52C9EEAF.4000702@stoneleaf.us> |
| References | <lablra$1mc$2@ger.gmane.org> <lacmi3$kfq$1@ger.gmane.org> <lacq0d$k2e$1@ger.gmane.org> <52C9EEAF.4000702@stoneleaf.us> |
| Date | Mon, 6 Jan 2014 11:09:07 +1100 |
| Subject | Re: "More About Unicode in Python 2 and 3" |
| From | Chris Angelico <rosuav@gmail.com> |
| Cc | "python-list@python.org" <python-list@python.org> |
| Content-Type | text/plain; charset=UTF-8 |
| 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.4989.1388966951.18130.python-list@python.org> (permalink) |
| Lines | 19 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1388966951 news.xs4all.nl 2860 [2001:888:2000:d::a6]:53152 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:63246 |
Show key headers only | View raw
On Mon, Jan 6, 2014 at 10:45 AM, Ethan Furman <ethan@stoneleaf.us> wrote: > On 01/05/2014 03:31 PM, Emile van Sebille wrote: >> >> On 01/05/2014 02:32 PM, Serhiy Storchaka wrote: >>> >>> I wonder why nobody complains about the absent of implicit conversion >>> between int and str. In PHP you can write 2 + "3" and got 5, but in >>> Python this is an error. So sad! >> >> I'd want my implicit conversion of 2 + '3' to get '23' > > Huh. And here I thought 'twenty-three' was the right answer! ;) I quite like 2+"3" being "23", as it simplifies a lot of string manipulation. But there's another option: 2+"3456" could be "56". That one makes even more sense... doesn't it? I mean, C does it so it must make sense... ChrisA
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: "More About Unicode in Python 2 and 3" Chris Angelico <rosuav@gmail.com> - 2014-01-06 11:09 +1100
csiph-web