posixpath.realpath() now detects symlink loops and returns the path just before
the loop starts.

Closes bug #930024.  Thanks AM Kuchling.
diff --git a/Misc/NEWS b/Misc/NEWS
index 4005297..8260e63 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -29,6 +29,10 @@
 Library
 -------
 
+- Bug #930024: posixpath.realpath() now handles infinite loops in symlinks by
+  returning the last point in the path that was not part of any loop.  Thanks
+  AM Kuchling.
+
 - Bug #980327: ntpath not handles compressing erroneous slashes between the
   drive letter and the rest of the path.  Also clearly handles UNC addresses now
   as well.  Thanks Paul Moore.