2009/5/9 Terry Reedy <tjre...@udel.edu>: > Benjamin Peterson wrote: > >>>>> __reduce__ >>>>> __setstate__ >>>>> __reversed__ >>>>> __length_hint__ >>>>> __sizeof__ > >> No, it's easier to just use _PyObject_LookupSpecial there. > > Does that mean that the above 5 'work correctly' (or can easily be made to > do so)? Leaving just __entry__ and __exit__ as problems?
Yes, __enter__ and __exit__ are the tricky ones. -- Regards, Benjamin _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com