On Sun, 21 Aug 2005, Robert Kern wrote:
> Eric Huss wrote:
> > I'm having a problem with packages within packages. Here's an example:
> >
> > foo/
> > foo/__init__.py: empty file
> > foo/sub/__init__.py:
> > from foo.sub.B import B
> &
I'm having a problem with packages within packages. Here's an example:
foo/
foo/__init__.py: empty file
foo/sub/__init__.py:
from foo.sub.B import B
foo/sub/A.py:
class A:
pass
foo/sub/B.py
import foo.sub.A
class B(foo.sub.A):
pass
I'm trying to write a descriptor (similar to the EiffelDescriptor example
in the Demo directory). However, I noticed an odd behavior that
descriptors written in pure Python mask the underlying object they are
wrapping, whereas the descriptors written in C do not.
For example, taking the code from