[Biopython-dev] DeprecationWarnings

Michiel de Hoon mjldehoon at yahoo.com
Sat Sep 4 05:21:07 UTC 2010



--- On Fri, 9/3/10, Peter <biopython at maubp.freeserve.co.uk> wrote:
> > I suggest that
> > we replace all DeprecationWarnings in Biopython with a
> Biopython-specific
> > warning, perhaps implemented in Bio/__init__.py, to
> make sure that users
> > actually see these warnings when they occur.
> 
> Sounds good, maybe Bio.BioDeprecationWarning would do as a
> name?

I would prefer Bio.DeprecationWarning instead of Bio.BioDeprecationWarning.

[for obsolete code:]
> Instead we can use the built in
> PendingDeprecationWarning (which is silent by default):

OK, let's use that then for obsolete code.

If there are no other opinions, I'll make these changes next weekend.

--Michiel.


      



More information about the Biopython-dev mailing list