[Python-3000] properties on IOBase
Guido van Rossum
guido at python.org
Thu Apr 10 23:28:08 CEST 2008
On Thu, Apr 10, 2008 at 1:27 PM, Benjamin Peterson
<musiccomposition at gmail.com> wrote:
> On Thu, Apr 10, 2008 at 10:04 AM, Guido van Rossum <guido at python.org> wrote:
> > On Wed, Apr 9, 2008 at 7:07 PM, Benjamin Peterson
> > <musiccomposition at gmail.com> wrote:
> > > Should IOBase's writeable, readable, and seekable methods have
> > > decorators like the closed method?
> >
> > No, read the PEP.
> I did. It doesn't mention closed at all, so I though I'd ask.
Well closed is a property (always has been) and the others are
methods. There are good reasons why the design is this way.
--
--Guido van Rossum (home page: http://www.python.org/~guido/)
More information about the Python-3000
mailing list