elemoine/papyrus — pull request #15 by elemoine (2012-04-05 08:28:18+00:00)
Title: make it easier to overload the behavior of GeoInterface

Currently to overload `__geo_interface__` one needs to do this:

```
class C(GeoInterface, Base):

@property
def __geo_interface__(self):
GeoInterface.__geo_interface__.fget(self)
# overload code
```

which is ugly.

This pull request adds a `__read__` method, allowing this:

```
class C(GeoInterface, Base):

@property
def __read__(self):
GeoInterface.__read__(self)
# overload code
```

which is much less ugly.