Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #45301
| Path | csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!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.015 |
| X-Spam-Evidence | '*H*': 0.97; '*S*': 0.00; 'prefixes': 0.09; 'rewrite': 0.09; 'subject:blog': 0.09; 'jan': 0.12; "wouldn't": 0.14; 'posted': 0.15; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'reedy': 0.16; 'subject:Writing': 0.16; 'subject:post': 0.16; 'wrote:': 0.18; 'wed,': 0.18; 'version.': 0.19; '(the': 0.22; '>>>': 0.22; '15,': 0.26; 'post': 0.26; 'header:In-Reply-To:1': 0.27; 'chris': 0.29; 'am,': 0.29; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; 'that.': 0.31; '3.x': 0.31; 'url:05': 0.31; 'class': 0.32; 'supposed': 0.32; 'subject:the': 0.34; 'could': 0.34; 'received:google.com': 0.35; 'version': 0.36; '14,': 0.36; 'are,': 0.36; 'two': 0.37; 'subject:new': 0.38; 'to:addr:python-list': 0.38; 'quote': 0.39; 'to:addr:python.org': 0.39; 'url:blogspot': 0.65; 'presumably': 0.84; 'url:2013': 0.84; 'url:pt': 0.91; '2013': 0.98 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type:content-transfer-encoding; bh=XAC6u4nIA24SM/FinMmKTIPBy7sxs/eEoMBlUHi+9pk=; b=g0Jl+LHq7bFgZFZJRAPHXp/uqzdcLT2eEdIZv7w+OwfJgZEod1Q+rKnhQBItqfuPN6 tuAOlJVFAMyw3lded2oJ1VRNTdoNltIfrLtWjooTq4o7+NgtQAQYSUnv+YIV5caYs+Us T4Z2AzNtUcIH86dvrJ/lpcDOP2FtAplwu0Ube7Dc7rOnl9n03S5QhqFV5pILPGXBruXh 91Bu7y9bIG8m89AjT01Iy7frct6//mxv0Kj2tBnj2JwR7DFaEyAqnCeMi9kq0iBDu1WM pqtFGNjdnuxlQ0zDPRldIBdXcrnpSSoLFLsIWef7dUWbcJz8Yum0M5iFD/LK9GaJ8X1n bAcQ== |
| MIME-Version | 1.0 |
| X-Received | by 10.52.122.109 with SMTP id lr13mr18977902vdb.91.1368545793037; Tue, 14 May 2013 08:36:33 -0700 (PDT) |
| In-Reply-To | <kmtjvu$kb9$1@ger.gmane.org> |
| References | <CAA=1kxQxcGpDzR6VDEb1urjjn4bnRvi4aoXKKa5+vgG186hzOg@mail.gmail.com> <519172C3.4030108@stoneleaf.us> <CAA=1kxSHKjoTYZZ7Gs_Tpo+h3hRVQRb0p8aeEnnKuXf9jWA4cA@mail.gmail.com> <CAPTjJmpK2yRbDxy5SZQXvRi3dH0UGSmihNU4NJcpu_DY7A=+1g@mail.gmail.com> <kmtjvu$kb9$1@ger.gmane.org> |
| Date | Wed, 15 May 2013 01:36:32 +1000 |
| Subject | Re: Writing a blog post on the new Enum. |
| From | Chris Angelico <rosuav@gmail.com> |
| To | python-list@python.org |
| Content-Type | text/plain; charset=ISO-8859-1 |
| Content-Transfer-Encoding | quoted-printable |
| 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.1673.1368545802.3114.python-list@python.org> (permalink) |
| Lines | 27 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1368545802 news.xs4all.nl 15889 [2001:888:2000:d::a6]:38290 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:45301 |
Show key headers only | View raw
On Wed, May 15, 2013 at 1:07 AM, Terry Jan Reedy <tjreedy@udel.edu> wrote: > On 5/14/2013 3:52 AM, Chris Angelico wrote: >> >> On Tue, May 14, 2013 at 9:40 AM, Fábio Santos <fabiosantosart@gmail.com> >> wrote: > >>> http://fabiosantoscode.blogspot.pt/2013/05/pythons-new-enum-class.html >> >> >> class Text(unicode, Enum): >> one = u'one' >> two = u'two' >> three = u'three' > > > Is this supposed to be a quote? or your rewrite? or did Santos rewrite after > you posted? The blog currently has a 3.x version of that. It was a quote from the blog post as it had been when I posted it. Presumably he edited the post subsequently, as I'm now seeing the same thing you are, a 3.x-compat version. (The u'xx' prefixes wouldn't be a problem, incidentally, so this could be dual-versionned just by going "unicode = str".) ChrisA
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Writing a blog post on the new Enum. Chris Angelico <rosuav@gmail.com> - 2013-05-15 01:36 +1000
csiph-web