Remove buffer() usage in the socket module by just slicing directly on the
object. This removes all warnings for the module caused by running under -3.
diff --git a/Misc/NEWS b/Misc/NEWS
index 3285b24..0ee5fd5 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -48,7 +48,7 @@
   while running under the ``-3`` flag: aifc, asyncore, bdb, bsddb,
   ConfigParser, cookielib, DocXMLRPCServer, email, filecmp, fileinput, inspect,
   logging, modulefinder, pdb, pickle, profile, pstats, pydoc, re, rlcompleter,
-  SimpleXMLRPCServer, shelve, subprocess, sqlite3, tarfile, Tkinter,
+  SimpleXMLRPCServer, shelve, socket, subprocess, sqlite3, tarfile, Tkinter,
   test.test_support, textwrap, threading, tokenize, traceback, urlparse,
   wsgiref, xml, xmlrpclib.