Author terry.reedy
Recipients benjamin.peterson, ezio.melotti, lemburg, mark.dickinson, pitrou, serhiy.storchaka, terry.reedy, vstinner
Date 2012-11-02.21:14:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1351890888.86.0.439679872579.issue16335@psf.upfronthosting.co.za>
In-reply-to
Content
I don't know what to make of this, but...
Python 3.3.0 (v3.3.0:bd8afb90ebf2, Sep 29 2012, 10:57:17) [MSC v.1600 64 bit (AMD64)] on win32
Win7 pro, 24 gb mem

>>> x=(b'\\N{WHITE SMILING FACE' + b'x' * 2**32 + b'}')
>>> len(x)
4294967318
>>> y=x.decode('unicode-escape')
>>> len(y)
1
>>> y
'☺'
History
Date User Action Args
2012-11-02 21:14:48terry.reedysetrecipients: + terry.reedy, lemburg, mark.dickinson, pitrou, vstinner, benjamin.peterson, ezio.melotti, serhiy.storchaka
2012-11-02 21:14:48terry.reedysetmessageid: <1351890888.86.0.439679872579.issue16335@psf.upfronthosting.co.za>
2012-11-02 21:14:48terry.reedylinkissue16335 messages
2012-11-02 21:14:48terry.reedycreate