[Zope] Modifying __bases__

Andreas Jung lists at andreas-jung.com
Fri May 20 12:45:46 EDT 2005



--On Freitag, 20. Mai 2005 12:32 Uhr -0400 Dan Pozmanter <dan at siteworx.com> 
wrote:

> Hey,
>
>     I noticed that the version of python that ships with zope is
> restricted,
> such that when you create an instance of a class, you are no longer able
> to modify
> __bases__ for that class object.
>
>     This is not the case with standard python.
>
>     Is this intentional?  If so, what is the reasoning behind this?
>

You mean the Windows binaries? This should be a standard Python version.
However by do you want to modify __bases__? This sounds like a very evil 
hack
to me. What's your usecase?

-aj

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope/attachments/20050520/6872e8e0/attachment.bin


More information about the Zope mailing list