Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #45303

Re: Writing a blog post on the new Enum.

Path csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <fabiosantosart@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.018
X-Spam-Evidence '*H*': 0.96; '*S*': 0.00; 'prefixes': 0.09; 'rewrite': 0.09; 'subject:blog': 0.09; 'cc:addr:python-list': 0.11; 'jan': 0.12; "wouldn't": 0.14; 'posted': 0.15; '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; 'cc:addr:python.org': 0.22; 'cc:2**0': 0.24; '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; 'url:mailman': 0.30; 'that.': 0.31; '3.x': 0.31; '>>>>': 0.31; 'url:05': 0.31; 'class': 0.32; 'supposed': 0.32; 'url:python': 0.33; 'subject:the': 0.34; 'could': 0.34; 'received:google.com': 0.35; 'version': 0.36; '14,': 0.36; 'are,': 0.36; 'url:listinfo': 0.36; 'url:org': 0.36; 'two': 0.37; 'subject:new': 0.38; 'pm,': 0.38; 'quote': 0.39; 'url:mail': 0.40; 'url:blogspot': 0.65; 'to:addr:gmail.com': 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:cc:content-type:content-transfer-encoding; bh=aag9VlYyKxMsA7zYaKkcNTOlvpqMKwETxxDXlhnoDKE=; b=HA+NrYyD/mCmqxmYkQ8eGRwxRDa9SSU8LOk3NKumws2MAKcjWhVeJKB40J0/ySmfBw UahgJprgTL3FyKt0skC095L0ooRfb82kI7S3cP8R6O3BDMDmEhxc4dtTof2jt6FMydp4 ZnXMbTcRuwo4F9LWoL9LvEex86+wgE52twA8rci/fIpgKWhq0RVayQofg6dgEk6wAmkf k3u5NmSZsC5U2wMRNaziwc86BqkatSVZXL60urW+wtWrGbam7ppQg/4EOJLB+GvTSLqX shFoZLlhoot/7SBpdq8rcmvV7kkUez69VUsaEKSFMKYOZ314e7bKY7FJWcwqed7CTaF1 nYAQ==
MIME-Version 1.0
X-Received by 10.49.26.198 with SMTP id n6mr15673776qeg.16.1368551348749; Tue, 14 May 2013 10:09:08 -0700 (PDT)
In-Reply-To <CAPTjJmoHYi3QPo5gO+NDiNJ7VMc57epGkoOYgOAvnN14bRE8FA@mail.gmail.com>
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> <CAPTjJmoHYi3QPo5gO+NDiNJ7VMc57epGkoOYgOAvnN14bRE8FA@mail.gmail.com>
Date Tue, 14 May 2013 18:09:08 +0100
Subject Re: Writing a blog post on the new Enum.
From Fábio Santos <fabiosantosart@gmail.com>
To Chris Angelico <rosuav@gmail.com>
Content-Type text/plain; charset=ISO-8859-1
Content-Transfer-Encoding quoted-printable
Cc "python-list@python.org" <python-list@python.org>
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.1675.1368552903.3114.python-list@python.org> (permalink)
Lines 38
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1368552903 news.xs4all.nl 16001 [2001:888:2000:d::a6]:40335
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:45303

Show key headers only | View raw


I corrected it indeed.

On Tue, May 14, 2013 at 4:36 PM, Chris Angelico <rosuav@gmail.com> wrote:
> 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
> --
> http://mail.python.org/mailman/listinfo/python-list



-- 
Fábio Santos

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Writing a blog post on the new Enum. Fábio Santos <fabiosantosart@gmail.com> - 2013-05-14 18:09 +0100

csiph-web