[Zope-dev] package dependency refactoring progress report
Shane Hathaway
shane at hathawaymix.org
Mon May 25 12:43:17 EDT 2009
Tres Seaver wrote:
> -----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).
Ok, I've replaced all the zope.deprecation imports I added with BBB.
What does BBB stand for anyway?
Shane
More information about the Zope-Dev
mailing list