-----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 tsea...@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----- _______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )