[Python-Dev] Re: logging package -- rename warn to warning?

Vinay Sajip vinay_sajip@red-dove.com
Sat, 18 Jan 2003 19:51:01 -0000


Guido van Rossum wrote:
> I think I'd like to change 'warn' to 'warning' (and WARN to WARNING).
> Thoughts?  I can implement this for Python 2.3a2.

+1 on the name change, but it will break a fair amount of code out there
(from the emails I've been receiving). Could we leave warn and WARN in as
synonyms for now, but only mention warning and WARNING in the documentation?
Or is this against policy?

Vinay