Staging
v0.5.1
https://github.com/python/cpython
Revision 2b5ff073ab9c232307f82dfd1cab0589ef293df5 authored by Guido van Rossum on 15 April 2001, 13:32:27 UTC, committed by Guido van Rossum on 15 April 2001, 13:32:27 UTC
cut-and-paste copy of the seek() method on the _Subfile class, but it
didn't make one bit of sense: it sets self.pos, which is not used in
this class or its subclasses, and it uses self.start and self.stop,
which aren't defined on this class or its subclasses.  This is purely
my own fault -- I added this in rev 1.4 and apparently never tried to
use it.  Since it's not documented, and of very questionable use given
that there's no tell(), I'm ripping it out.

This resolves SF bug 416199 by Andrew Dalke: mailbox.py seek problems.
1 parent fc34986
History
Tip revision: 2b5ff073ab9c232307f82dfd1cab0589ef293df5 authored by Guido van Rossum on 15 April 2001, 13:32:27 UTC
Get rid of the seek() method on the _Mailbox class. This was a
Tip revision: 2b5ff07
File Mode Size
Demo
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Python
RISCOS
Tools
.cvsignore -rw-r--r-- 79 bytes
.hgtags -rw-r--r-- 2.0 KB
LICENSE -rw-r--r-- 12.2 KB
Makefile.pre.in -rw-r--r-- 21.8 KB
README -rw-r--r-- 37.8 KB
acconfig.h -rw-r--r-- 6.0 KB
config.h.in -rw-r--r-- 16.5 KB
configure -rwxr-xr-x 177.3 KB
configure.in -rw-r--r-- 36.3 KB
install-sh -rwxr-xr-x 5.5 KB
setup.py -rw-r--r-- 24.5 KB

README

back to top