A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2003-January/032222.html below:

logging package -- rename warn to warning?

[Python-Dev] Re: logging package -- rename warn to warning? [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




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4