Add Py3k warnings to os.path.walk
diff --git a/Lib/posixpath.py b/Lib/posixpath.py
index ee6d0f2..9fa53d0 100644
--- a/Lib/posixpath.py
+++ b/Lib/posixpath.py
@@ -13,6 +13,7 @@
 import os
 import stat
 import genericpath
+import warnings
 from genericpath import *
 
 __all__ = ["normcase","isabs","join","splitdrive","split","splitext",
@@ -215,7 +216,7 @@
     beyond that arg is always passed to func.  It can be used, e.g., to pass
     a filename pattern, or a mutable object designed to accumulate
     statistics.  Passing None for arg is common."""
-
+    warnings.warnpy3k("In 3.x, os.path.walk is removed in favor of os.walk.")
     try:
         names = os.listdir(top)
     except os.error: