On 2009-12-04, Ulrich Eckhardt <dooms...@knuut.de> wrote:
> Lie Ryan wrote:
> Thinking about it, I perhaps should store the glyphs in a set
> from the beginning. Question is, can I (perhaps by providing
> the right hash function) sort them by their codepoint? I'll
> have to look at the docs...

No, sets are unordered in Python.

You'll need to sort them when you need them sorted, or keep a
sorted list separately.

-- 
Neil Cerutti
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to