Diez B. Roggisch wrote:
Or writing a Node-class is also so straightforward that few care about them
being part of the core:

Writing a *simple* node class is easy, but a full-featured one that supports things like comparison and easy iteration is a bit more work. So various people write partial implementations with only the features they need, and they all end up being incompatible. So beyond being able to use it, the other thing is that having an implementation in the standard library acts as a de facto interface standard, making it easier to write common code to operate on tree structures.


All it would take to make it happen is a PEP, an implementation and a champion with some persuasive ability :)

Cheers,
Nick.

--
Nick Coghlan   |   [EMAIL PROTECTED]   |   Brisbane, Australia
---------------------------------------------------------------
            http://boredomandlaziness.skystorm.net
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to