summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2007-02-27 06:26:14 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2007-02-27 06:26:14 (GMT)
commit8b41c3dc28a16da97af50cc5f7b884db2cea7b0c (patch)
tree3036d9503a20945d5dfa31868e57bc4ab1ba8236 /Lib
parent28524c7f10beb2821cae57a165ef920abbf76b77 (diff)
downloadcpython-8b41c3dc28a16da97af50cc5f7b884db2cea7b0c.zip
cpython-8b41c3dc28a16da97af50cc5f7b884db2cea7b0c.tar.gz
cpython-8b41c3dc28a16da97af50cc5f7b884db2cea7b0c.tar.bz2
Add some XXX comments for Guido to look at.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/io.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/io.py b/Lib/io.py
index c714c6b..b9ec50d 100644
--- a/Lib/io.py
+++ b/Lib/io.py
@@ -166,6 +166,8 @@ class FileIO(RawIOBase):
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 @@ class SocketIO(RawIOBase):
def writable(self):
return "w" in self._mode
+ # XXX(nnorwitz)??? def fileno(self): return self._sock.fileno()
+
class BytesIO(RawIOBase):