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 ncoghlan
Recipients belopolsky, christian.heimes, ncoghlan
Date 2008-02-11.10:58:59
SpamBayes Score 0.07203621
Marked as misclassified No
Message-id <1202727540.27.0.922416998124.issue2021@psf.upfronthosting.co.za>
In-reply-to
Content
The wrapper approach has the virtue of providing easy access to the
underlying file object and its methods. That actually gets a bit more
difficult when you switch to a subclassing approach (you need to either
explicitly qualify the methods or play around with super()).

The wrapper approach also has the virtue of being a valid candidate for
backport to 2.5.2, while that is most definitely *not* the case for
making file fully subclassable. If you would like to pursue that idea
further, I suggest opening a separate issue for it.
History
Date User Action Args
2008-02-11 10:59:00ncoghlansetspambayes_score: 0.0720362 -> 0.07203621
recipients: + ncoghlan, belopolsky, christian.heimes
2008-02-11 10:59:00ncoghlansetspambayes_score: 0.0720362 -> 0.0720362
messageid: <1202727540.27.0.922416998124.issue2021@psf.upfronthosting.co.za>
2008-02-11 10:58:59ncoghlanlinkissue2021 messages
2008-02-11 10:58:59ncoghlancreate