Message122219
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. |
|
Date |
User |
Action |
Args |
2010-11-23 15:11:17 | lambacck | set | recipients:
+ lambacck, doerwalter, georg.brandl, rhettinger, belopolsky, vstinner, gpolo, ezio.melotti, eric.araujo |
2010-11-23 15:11:17 | lambacck | set | messageid: <1290525077.45.0.414955444629.issue10087@psf.upfronthosting.co.za> |
2010-11-23 15:11:16 | lambacck | link | issue10087 messages |
2010-11-23 15:11:15 | lambacck | create | |
|