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/2002-February/020098.html below:

[Python-Dev] [Python 2.2 BUG] pickle/cPickle does not find

[Python-Dev] [Python 2.2 BUG] pickle/cPickle does not find [Python-Dev] [Python 2.2 BUG] pickle/cPickle does not findAahz Maruch aahz@rahul.net
Fri, 15 Feb 2002 19:22:02 -0800 (PST)
Burton Radons wrote:
> 
> What's wrong with:
> 
>    class Foo(object):
>      class myprop_class (object):
>        """A computed property on Foo objects."""
> 
>        def __get__(subclass, self, klass):
>          return ...
>        def __set__(subclass, self, value):
>          ...
>        def __delete__(subclass, self):
>          ...

How about this:

    class Foo(object):
        class myprop(property):
            ...
-- 
                      --- Aahz (@pobox.com)

Hugs and backrubs -- I break Rule 6       <*>       http://www.rahul.net/aahz/
Androgynous poly kinky vanilla queer het Pythonista

We must not let the evil of a few trample the freedoms of the many.



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