FYI this is fixed in the 2.6 branch now.
> -Original Message-
> From: users-boun...@lists.ironpython.com [mailto:users-
> boun...@lists.ironpython.com] On Behalf Of Jeff Hardy
> Sent: Tuesday, March 17, 2009 5:03 PM
> To: Discussion of IronPython
> Subject: Re: [Ir
On Mon, Mar 16, 2009 at 7:03 PM, Dino Viehland wrote:
> Does this make it work?
>
> class x(unicode):
> def __init__(self, val): pass
> def __new__(cls, val):
> return unicode.__new__(cls, unicode(val))
>
>
> x(1)
>
> I've voted for the bug and raised the priority to medium. I've
users-boun...@lists.ironpython.com [mailto:users-
boun...@lists.ironpython.com] On Behalf Of Michael Foord
Sent: Monday, March 16, 2009 6:02 PM
To: Discussion of IronPython
Subject: Re: [IronPython] CP Issue #21659: Subclassing unicode
Jeff Hardy wrote:
Hi,
Is there any quick workaround for #
f Michael Foord
> Sent: Monday, March 16, 2009 6:02 PM
> To: Discussion of IronPython
> Subject: Re: [IronPython] CP Issue #21659: Subclassing unicode
>
> Jeff Hardy wrote:
> > Hi,
> > Is there any quick workaround for #21569? It's causing about a third
> &
; To: Discussion of IronPython
> Subject: [IronPython] CP Issue #21659: Subclassing unicode
>
> Hi,
> Is there any quick workaround for #21569? It's causing about a third
> of the Genshi errors I'm hitting. Trying to override __init__ in the
> subclass gives the same er
Jeff Hardy wrote:
Hi,
Is there any quick workaround for #21569? It's causing about a third
of the Genshi errors I'm hitting. Trying to override __init__ in the
subclass gives the same error.
class Foo(unicode):
def __init__(self, val):
pass
f = Foo(1)
Traceback (most recent call la
Hi,
Is there any quick workaround for #21569? It's causing about a third
of the Genshi errors I'm hitting. Trying to override __init__ in the
subclass gives the same error.
class Foo(unicode):
def __init__(self, val):
pass
f = Foo(1)
Traceback (most recent call last):
File "foo.py"