Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.008 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'argument': 0.05; 'subject:bug': 0.07; 'received:internal': 0.09; 'bug,': 0.16; 'message-id:@webmail.messagingengine.com': 0.16; 'received:10.202': 0.16; 'received:10.202.2': 0.16; 'received:66.111': 0.16; 'received:66.111.4': 0.16; 'received:messagingengine.com': 0.16; 'typeerror:': 0.16; 'wrote:': 0.18; 'wed,': 0.18; 'error': 0.23; 'string,': 0.24; 'unicode': 0.24; 'header:In-Reply-To:1': 0.27; 'maybe': 0.34; 'received:66': 0.35; 'subject:?': 0.36; 'received:10': 0.37; 'nov': 0.38; 'to:addr:python-list': 0.38; 'itself': 0.39; 'to:addr:python.org': 0.39; 'from:no real name:2**0': 0.61; 'header:Message-Id:1': 0.63; '26,': 0.68; '2014,': 0.84 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.us; h= message-id:x-sasl-enc:from:to:mime-version :content-transfer-encoding:content-type:in-reply-to:references :subject:date; s=mesmtp; bh=jIYJJz5swKFD2b/LvLe0aHdpfQI=; b=T2tx V3KYR5Yu2uEMO54T6Du5rKYqoZyrqsx+nfTs2qSp+wMWlwgpMYI6i3urWhNBntOE TVvSPyDv1++m7pHI4oMpqYtv07ajoIwUx8AAvbhpIfA+5GY78fQEPd4qxiShd3jw 8Q3x38orTHZ29uqbPHawn4VtLWfhZuzs1X93LX8= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=message-id:x-sasl-enc:from:to :mime-version:content-transfer-encoding:content-type:in-reply-to :references:subject:date; s=smtpout; bh=jIYJJz5swKFD2b/LvLe0aHdp fQI=; b=QcQrFqV2/4cjwpdnSE2LA+8gWhhl8TGOLfjUXLNvXRZsG8hmJn+vQAlX sIzNDImQJHhc78URv4slR4akLn0sAxcYU1LDrdhT2FjFtaF4NATYwnqhJ9sgEHrj uAYsYpQ9nTyvtdYPojWE4JC42WAbmWzkQRAwPuST/665NZg/P8M= X-Sasl-Enc: sw14ID/yT8lTaDhMHlnOkStwHNJooKvD7vLEnDJhee5U 1417010748 From: random832@fastmail.us To: python-list@python.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain X-Mailer: MessagingEngine.com Webmail Interface - ajax-53201334 In-Reply-To: <1b49aa55-ba5f-4e70-8ddb-ae5dea3a40da@googlegroups.com> References: <1b49aa55-ba5f-4e70-8ddb-ae5dea3a40da@googlegroups.com> Subject: Re: bug or feature in enum34 py2.7 backport? Date: Wed, 26 Nov 2014 09:05:48 -0500 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 5 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1417010750 news.xs4all.nl 2859 [2001:888:2000:d::a6]:35564 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:81566 On Wed, Nov 26, 2014, at 06:29, Mark Summerfield wrote: > TypeError: type() argument 1 must be string, not unicode If this is a bug, maybe it is one in type() itself - I get the same error with type('X', (object,), dict(a=1))