[Zope-dev] Infuriating ZClass registry Heisenbug

Casey Duncan casey@zope.com
Wed, 11 Dec 2002 23:26:11 -0500


On Wednesday 11 December 2002 11:13 pm, Shane Hathaway wrote:
> On Wed, 11 Dec 2002, Evan Simpson wrote:
>=20
> > I think I've fixed my ZGlobals, but there's definitely a problem in=20
> > coptimizations.  I made Connections.py use the Python persistent_id,=20
> > restarted twice, and ZGlobals was fine on the second restart.
>=20
> Ah-ha, you now have a reproducible test case.  The coptimizations code =
has
> been undergoing "beautification" lately; apparently this particular
> ZClass-related functionality was not retained correctly.  This ought to=
 be
> a priority for Zope 2.6, I think.

I think we should call a memoratorium on code beautification for its own =
sake,=20
especially C code. Too much pain for too little gain. I'd be willing to b=
et=20
the code's still ugly anyhow ;^)

-Casey