[ python-Bugs-975404 ] logging module uses deprecate apply()

SourceForge.net noreply at sourceforge.net
Sat Jun 19 16:57:33 EDT 2004


Bugs item #975404, was opened at 2004-06-18 07:52
Message generated for change (Comment added) made by bcannon
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=975404&group_id=5470

Category: Python Library
Group: Python 2.3
>Status: Closed
>Resolution: Invalid
Priority: 5
Submitted By: Barry Alan Scott (barry-scott)
Assigned to: Nobody/Anonymous (nobody)
Summary: logging module uses deprecate apply()

Initial Comment:
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.


----------------------------------------------------------------------

>Comment By: Brett Cannon (bcannon)
Date: 2004-06-19 13:57

Message:
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``.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=975404&group_id=5470



More information about the Python-bugs-list mailing list