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


Groups > comp.lang.python > #81604

Re: bug or feature in enum34 py2.7 backport?

Path csiph.com!usenet.pasdenom.info!gegeweb.org!newsfeed.kamp.net!newsfeed.kamp.net!feeder1.cambriumusenet.nl!82.197.223.108.MISMATCH!feeder2.cambriumusenet.nl!feed.tweaknews.nl!194.109.133.81.MISMATCH!newsfeed.xs4all.nl!newsfeed2a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <ethan@stoneleaf.us>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.000
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'reject': 0.07; 'report.': 0.07; 'subject:bug': 0.07; 'accepted,': 0.09; 'agree,': 0.09; 'from:addr:ethan': 0.09; 'from:addr:stoneleaf.us': 0.09; 'from:name:ethan furman': 0.09; 'message-id:@stoneleaf.us': 0.09; '~ethan~': 0.09; 'bug': 0.12; '2.7': 0.14; 'filename:fname piece:signature': 0.16; 'likewise': 0.16; 'unlikely': 0.16; 'wrote:': 0.18; 'seems': 0.21; 'accepted.': 0.22; 'header:User- Agent:1': 0.23; 'unicode': 0.24; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'names.': 0.31; 'class': 0.32; 'updated': 0.34; 'core': 0.34; 'there': 0.35; 'charset:us-ascii': 0.36; 'thanks': 0.36; 'subject:?': 0.36; 'should': 0.36; 'handle': 0.38; 'to:addr :python-list': 0.38; 'extremely': 0.39; 'to:addr:python.org': 0.39; 'received:173': 0.61
Date Wed, 26 Nov 2014 08:58:42 -0800
From Ethan Furman <ethan@stoneleaf.us>
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0
MIME-Version 1.0
To python-list@python.org
Subject Re: bug or feature in enum34 py2.7 backport?
References <1b49aa55-ba5f-4e70-8ddb-ae5dea3a40da@googlegroups.com> <1417010748.2940071.195658861.2859C26B@webmail.messagingengine.com> <CAPTjJmo8KbZbk4etqMqvOqrAN6p3J7cQDhdoMPTBysQWfbxOuw@mail.gmail.com> <1417015925.2961473.195688745.6F0FC175@webmail.messagingengine.com>
In-Reply-To <1417015925.2961473.195688745.6F0FC175@webmail.messagingengine.com>
Content-Type multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ve24xQBxEBqiDIDILXb3Xn4aB5S8MwBJn"
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.16346.1417021390.18130.python-list@python.org> (permalink)
Lines 46
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1417021390 news.xs4all.nl 2894 [2001:888:2000:d::a6]:43400
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:81604

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

On 11/26/2014 07:32 AM, random832@fastmail.us wrote:
> 
> It seems like if it is a bug to reject long where int is accepted, it
> should be likewise considered a bug to reject ASCII-only unicode where
> str is accepted.

While I agree, I don't know if there are currently any parts of core 2.7 that follow that philosophy -- and if there
aren't, it's extremely unlikely to change now.

However, enum34 has now been updated to handle unicode class names.  Thanks for the bug report.  :)

--
~Ethan~

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


Thread

bug or feature in enum34 py2.7 backport? Mark Summerfield <list@qtrac.plus.com> - 2014-11-26 03:29 -0800
  Re: bug or feature in enum34 py2.7 backport? random832@fastmail.us - 2014-11-26 09:05 -0500
  Re: bug or feature in enum34 py2.7 backport? Chris Angelico <rosuav@gmail.com> - 2014-11-27 01:40 +1100
    Re: bug or feature in enum34 py2.7 backport? Mark Summerfield <list@qtrac.plus.com> - 2014-11-26 07:14 -0800
      Re: bug or feature in enum34 py2.7 backport? Chris Angelico <rosuav@gmail.com> - 2014-11-27 02:17 +1100
  Re: bug or feature in enum34 py2.7 backport? random832@fastmail.us - 2014-11-26 10:32 -0500
  Re: bug or feature in enum34 py2.7 backport? Chris Angelico <rosuav@gmail.com> - 2014-11-27 02:46 +1100
  Re: bug or feature in enum34 py2.7 backport? Ethan Furman <ethan@stoneleaf.us> - 2014-11-26 08:58 -0800
  Re: bug or feature in enum34 py2.7 backport? Terry Reedy <tjreedy@udel.edu> - 2014-11-26 16:16 -0500

csiph-web