This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: logging module uses deprecate apply()
Type: Stage:
Components: Library (Lib) Versions: Python 2.3
process
Status: closed Resolution: not a bug
Dependencies: Superseder:
Assigned To: Nosy List: barry-scott, brett.cannon, rhettinger
Priority: normal Keywords:

Created on 2004-06-18 14:52 by barry-scott, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (3)
msg21216 - (view) Author: Barry Alan Scott (barry-scott) * Date: 2004-06-18 14:52
The use of apply in logging causes warning to be issued
by python
when turning programs into executables with Gordon's
McMillians
Installer and probably others.

Replacing the apply() calls with the modern idium would
fix the
problem.

The work around is the add "import warnings" in the
main module
of your program.
msg21217 - (view) Author: Brett Cannon (brett.cannon) * (Python committer) Date: 2004-06-19 20:57
Logged In: YES 
user_id=357491

If you read PEP 291 (http://www.python.org/peps/pep-0291.html) you 
will notice that the logging module is to be kept backwards-compatible to 
1.5.2 .  This requires using apply() instead of ``*args, **kwargs``.
msg21218 - (view) Author: Raymond Hettinger (rhettinger) * (Python committer) Date: 2004-06-23 23:47
Logged In: YES 
user_id=80475

FWIW, the warning was silenced in 2.3.4 and 2.4.
History
Date User Action Args
2022-04-11 14:56:04adminsetgithub: 40416
2004-06-18 14:52:52barry-scottcreate