[Zope-dev] package dependency refactoring progress report

Tres Seaver tseaver at palladion.com
Mon May 25 10:27:23 EDT 2009


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

Shane Hathaway wrote:
> Martijn Faassen wrote:
>> It's interesting to see zope.deprecation is a new dependency. We could 
>> consider changing these deprecations to simple imports if this is 
>> possible...
> 
> Certainly, but what is the right way to deprecate code, then?  I'm not 
> very happy about including zope.deprecation either, since it uses the 
> sys.modules trick just like zope.deferredimport, but those deprecation 
> warnings are important, aren't they?

Not so much, IMO.  I think we can leave simple BBB imports in place,
warning-free, forever (with a '#BBB' comment so that people don't delete
them as unused imports).


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.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFKGqrL+gerLs4ltQ4RAmntAJoC0m6i4JKNLStPhFjxSzafVwi5WQCePYIt
aFTuMo+AEkc/j06AmEvZVRY=
=PgZh
-----END PGP SIGNATURE-----



More information about the Zope-Dev mailing list