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 LambertDW
Recipients LambertDW, MLModel, georg.brandl, loewis, rhettinger
Date 2009-03-19.14:30:15
SpamBayes Score 0.000683299
Marked as misclassified No
Message-id <1237473024.25.0.107412203505.issue5513@psf.upfronthosting.co.za>
In-reply-to
Content
# With py3Krc1 it took me days to figure out how to
# replace my base class file.   Granted, there were
# issues with io module at the time.  Following met
# my need.


import io

class File(io.TextIOWrapper):

    '''Open a text file with read access, providing...'''

    def __init__(self,name):
        super().__init__(open(name).buffer)
History
Date User Action Args
2009-03-19 14:30:25LambertDWsetrecipients: + LambertDW, loewis, georg.brandl, rhettinger, MLModel
2009-03-19 14:30:24LambertDWsetmessageid: <1237473024.25.0.107412203505.issue5513@psf.upfronthosting.co.za>
2009-03-19 14:30:16LambertDWlinkissue5513 messages
2009-03-19 14:30:15LambertDWcreate