I have seen a couple of objections to leaving unbound methods naked (as
functions) when retrieved in 3.0. Here is a plus.
A c.l.p poster reported that 2.6 broke his code because the addition of
default rich comparisons to object turned tests like hassattr(ob,
'__lt__') from False to True. The obvious fix ob.__lt__ ==
object.__lt__ does not work because wrapping makes it always False, even
when conceptually true. In 3.0, that equality test works. (I pointed
him to 'object' in repr(ob.__lt__) as a workaround. Others posted others.)
tjr
_______________________________________________
Python-3000 mailing list
Python-3000@python.org
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe:
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com