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 martin.panter
Recipients Gerrit.Holl, docs@python, martin.panter
Date 2015-10-15.22:16:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1444947401.87.0.0691246000567.issue25415@psf.upfronthosting.co.za>
In-reply-to
Content
“No public constructor” to me means that it is not defined how or if you can construct instances other than by the public subclasses. What do you expect to happen? How do you expect the public subclasses such as FileIO and BufferedReader to work if the base constructor does not work?

The other three base classes (RawIOBase, BufferedIOBase, TextIOBase) also say “there is no public constructor”. However allowing custom subclasses of these is very useful, so I would actually be for removing these restrictions from the documentation, and instead saying that each constructor accepts no arguments.
History
Date User Action Args
2015-10-15 22:16:41martin.pantersetrecipients: + martin.panter, docs@python, Gerrit.Holl
2015-10-15 22:16:41martin.pantersetmessageid: <1444947401.87.0.0691246000567.issue25415@psf.upfronthosting.co.za>
2015-10-15 22:16:41martin.panterlinkissue25415 messages
2015-10-15 22:16:41martin.pantercreate