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 lambacck
Recipients belopolsky, doerwalter, eric.araujo, ezio.melotti, georg.brandl, gpolo, lambacck, rhettinger, vstinner
Date 2010-11-23.15:11:15
SpamBayes Score 3.196546e-08
Marked as misclassified No
Message-id <1290525077.45.0.414955444629.issue10087@psf.upfronthosting.co.za>
In-reply-to
Content
I don't think we *need* to have the encoding in the HTML calendar, but I doubt we could remove it at this point, deprecate maybe, but since I don't use the module I don't have a sense for how often the need for encoding comes up.

The one thing that the encoding is doing in the HTML calendar is ensuring that Unicode characters that are not directly translatable in the target encoding are replaced with html character references (the "xmlcharrefreplace" option to the errors argument in the encode method).

The encoding may be a holdover from Python 2x where the expected result was a string. The docs say HTMLCalendar was added in Python 2.5 at the same time that the Local versions were added.
History
Date User Action Args
2010-11-23 15:11:17lambaccksetrecipients: + lambacck, doerwalter, georg.brandl, rhettinger, belopolsky, vstinner, gpolo, ezio.melotti, eric.araujo
2010-11-23 15:11:17lambaccksetmessageid: <1290525077.45.0.414955444629.issue10087@psf.upfronthosting.co.za>
2010-11-23 15:11:16lambaccklinkissue10087 messages
2010-11-23 15:11:15lambacckcreate