A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2009-May/089564.html below:

[Python-Dev] special method lookup: how much do we care?

[Python-Dev] special method lookup: how much do we care? [Python-Dev] special method lookup: how much do we care?Benjamin Peterson benjamin at python.org
Sat May 9 17:52:11 CEST 2009
2009/5/9 Terry Reedy <tjreedy at 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
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4