[Zope-dev] zope.testing.doctestunit and BBB

Tres Seaver tseaver at palladion.com
Tue Dec 22 20:24:58 EST 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Marius Gedminas wrote:
> On Mon, Dec 21, 2009 at 10:27:01PM +0100, Lennart Regebro wrote:
>> I added the imports back, and also some deprecation warnings, although
>> I'm not sure how to best add them,
> 
> Maybe zope.deprecation can help?

Please not -- zope.deprecation ss a cure worse than the disease:  it
actually fakes a module proxy (defined in C, no less) into sys.modules!
 This is truly scary code:  I guarantee that trying to trace through the
same quasi-module with an unrelated bug is going to trip you up some
day.  As a side deficit, using the C proxy totally wrecks ano chance of
using the package on non CPython.

Tres.
- --
===================================================================
Tres Seaver          +1 540-429-0999          tseaver at palladion.com
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAksxcWoACgkQ+gerLs4ltQ4itACfZS6lNbzB4jlIS1kgtaKtLbgl
rAAAoJC0RteqNEpoWoKUsGwhccI+5v98
=t28Y
-----END PGP SIGNATURE-----



More information about the Zope-Dev mailing list