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 Tomalak
Recipients Tomalak, sechi_francesco
Date 2009-05-06.13:45:55
SpamBayes Score 0.00010685456
Marked as misclassified No
Message-id <1241617556.92.0.487221090334.issue5752@psf.upfronthosting.co.za>
In-reply-to
Content
Of course it should be:

def _write_data(writer, data, is_attrib=False):
    "Writes datachars to writer."
    data = data.replace("&", "&amp;").replace("<", "&lt;")
    data = data.replace("\"", "&quot;").replace(">", "&gt;")
    if is_attrib: 
        data = data.replace("\r", "&#13;").replace("\n", "&#10;")
    writer.write(data)
History
Date User Action Args
2009-05-06 13:45:57Tomalaksetrecipients: + Tomalak, sechi_francesco
2009-05-06 13:45:56Tomalaksetmessageid: <1241617556.92.0.487221090334.issue5752@psf.upfronthosting.co.za>
2009-05-06 13:45:56Tomalaklinkissue5752 messages
2009-05-06 13:45:56Tomalakcreate