Another potential generic function use case that occurred to me is the open()
builtin.
If that was extensible, the discussion about providing a nice filesystem path
abstraction in the standard lib wouldn't need to waste any time on the
question of whether or not to inherit from unicode - it would just register a
new open() signature for path objects.
Ditto for if we later added objects to represent URLs/URIs.
Cheers,
Nick.
--
Nick Coghlan | [EMAIL PROTECTED] | Brisbane, Australia
---------------------------------------------------------------
http://www.boredomandlaziness.org
_______________________________________________
Python-3000 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe:
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com