Jeff AllenOn 27/10/2013 03:00, Jim Baker wrote:
On Sat, Oct 26, 2013 at 12:06 PM, Jeff Allen <firstname.lastname@example.org> wrote:
...As I work on the buffer interface, I make various incidental
improvements, but it would be wrong to tackle this one as an
'incidental'. Should I however attempt to trap non-BMP strings (e.g.
assert(s.isBasicPlane())? Or just continue quietly get it wrong, as in
the following current behaviour:
>>> s = u"\U00010000a"
2 # good
u'a' # good
2 # oops
That's a bug in the index method! So please fix as you have a chance....