[Checkins] [zopefoundation/zope.proxy] aa7c51: Mention some of the motivation for this package

GitHub noreply at github.com
Thu Dec 19 15:00:43 CET 2013


  Branch: refs/heads/master
  Home:   https://github.com/zopefoundation/zope.proxy
  Commit: aa7c5184adc4a3f71ea12c549bfeaedf1959a3b0
      https://github.com/zopefoundation/zope.proxy/commit/aa7c5184adc4a3f71ea12c549bfeaedf1959a3b0
  Author: Marius Gedminas <marius at gedmin.as>
  Date:   2013-12-19 (Thu, 19 Dec 2013)

  Changed paths:
    M README.rst

  Log Message:
  -----------
  Mention some of the motivation for this package

Try to preemptively answer hypothetical questions like Why can't I just

```
    class Proxy(object):
  def __init__(self, obj):
      self.__obj = obj
  def __getattr__(self, a):
      return getattr(self.__obj, a)
  def __setattr__(self, a, v):
      setattr(self.__obj, a, v)
```




More information about the checkins mailing list