[Python-3000-checkins] r53985 - python/branches/p3yk/Lib/io.py

neal.norwitz python-3000-checkins at python.org
Tue Feb 27 07:26:16 CET 2007


Author: neal.norwitz
Date: Tue Feb 27 07:26:14 2007
New Revision: 53985

Modified:
   python/branches/p3yk/Lib/io.py
Log:
Add some XXX comments for Guido to look at.

Modified: python/branches/p3yk/Lib/io.py
==============================================================================
--- python/branches/p3yk/Lib/io.py	(original)
+++ python/branches/p3yk/Lib/io.py	Tue Feb 27 07:26:14 2007
@@ -166,6 +166,8 @@
                 self._seekable = True
         return self._seekable
 
+    # XXX(nnorwitz): is there any reason to redefine __enter__ & __exit__?
+    #  Both already have the same impl in the base class.
     def __enter__(self):
         return self
 
@@ -203,6 +205,8 @@
     def writable(self):
         return "w" in self._mode
 
+    # XXX(nnorwitz)???  def fileno(self): return self._sock.fileno()
+
 
 class BytesIO(RawIOBase):
 


More information about the Python-3000-checkins mailing list