Remove dict.has_key() and apply() usage from the logging package to silence
warnings when run under -3.
diff --git a/Lib/logging/config.py b/Lib/logging/config.py
index 6d3daa2..7c2f6ce 100644
--- a/Lib/logging/config.py
+++ b/Lib/logging/config.py
@@ -152,7 +152,7 @@
             klass = _resolve(klass)
         args = cp.get(sectname, "args")
         args = eval(args, vars(logging))
-        h = apply(klass, args)
+        h = klass(*args)
         if "level" in opts:
             level = cp.get(sectname, "level")
             h.setLevel(logging._levelNames[level])