This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Gerrit.Holl
Recipients Gerrit.Holl
Date 2015-10-15.17:58:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1444931934.97.0.280840323098.issue25415@psf.upfronthosting.co.za>
In-reply-to
Content
According to the [documentation](https://docs.python.org/3/library/io.html#io.IOBase), `io.IOBase` has no public constructors.  Yet I can create objects from it:

$ python3.5
Python 3.5.0 (default, Sep 13 2015, 17:20:05) 
[GCC 4.4.7 20120313 (Red Hat 4.4.7-16)] on linux
Type "help", "copyright", "credits" or "license" for more information.
Python are go!
>>> import io
>>> p = io.IOBase()
>>> p.readable()
False
>>> p.closed
False
# etc...

It doesn't do much, but the documentation is not consistent with the behaviour in practice.
History
Date User Action Args
2015-10-15 17:58:55Gerrit.Hollsetrecipients: + Gerrit.Holl
2015-10-15 17:58:54Gerrit.Hollsetmessageid: <1444931934.97.0.280840323098.issue25415@psf.upfronthosting.co.za>
2015-10-15 17:58:54Gerrit.Holllinkissue25415 messages
2015-10-15 17:58:54Gerrit.Hollcreate