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: Avoid "apply" warnings in "logging", still works in 1.52
Type: Stage:
Components: Library (Lib) Versions: Python 2.3
process
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: nnorwitz Nosy List: jretz, nnorwitz
Priority: normal Keywords: patch

Created on 2003-11-06 01:56 by jretz, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
logging.patch jretz, 2003-11-06 01:56 patch for logging/__init__.py and logging/config.py
Messages (2)
msg44857 - (view) Author: Jimmy Retzlaff (jretz) Date: 2003-11-06 01:56
Avoid warnings in Python 2.3+ by defining an apply 
function in terms of the new calling semantics (i.e., 
*args/**kwargs). If that fails because the new calling 
semantics are unavailable then leave apply untouched 
for 1.52 compatibility.

eval is used to define the function so the SyntaxError 
can be caught on versions of Python without the new 
calling semantics.
msg44858 - (view) Author: Neal Norwitz (nnorwitz) * (Python committer) Date: 2003-12-11 05:47
Logged In: YES 
user_id=33168

The deprecation warning was removed from apply(), so this
patch shouldn't be needed any longer.
History
Date User Action Args
2022-04-11 14:56:01adminsetgithub: 39511
2003-11-06 01:56:23jretzcreate