Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #45303
| References | (1 earlier) <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 | 2013-05-14 18:09 +0100 |
| Subject | Re: Writing a blog post on the new Enum. |
| From | Fábio Santos <fabiosantosart@gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.1675.1368552903.3114.python-list@python.org> (permalink) |
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
Re: Writing a blog post on the new Enum. Fábio Santos <fabiosantosart@gmail.com> - 2013-05-14 18:09 +0100
csiph-web