Uh oh!
There was an error while loading. Please reload this page.
gh-135001: Explicitly specify the encoding parameter value of calendar.HTMLCalendar as 'utf-8' - #135002
Conversation
calendar.HTMLCalendar to utf-8calendar.HTMLCalendar to utf-8Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
picnixz
commented
Jun 1, 2025
Making it a draft as it's a WIP. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase |
Wulian233
commented
Jun 2, 2025
The new commit resolves the above review and requires you to confirm that it is resolved. Thanks! I have made the requested changes; please review again |
Thanks for making the requested changes! @picnixz: please review the changes made to this pull request. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
vstinner
left a comment
There was a problem hiding this comment.
sys.getdefaultencoding() always returns "utf-8", so this PR doesn't change the default encoding. If you want, you can replace sys.getdefaultencoding() with "utf-8". But I don't think that it should be documented.
Uh oh!
There was an error while loading. Please reload this page.
calendar.HTMLCalendar to utf-8calendar.HTMLCalendar as 'utf-8'Wulian233
commented
Jun 6, 2025
I just using git reset was not the right thing to do, and I apologize for that. I honestly didn’t consider this at the time I’ve added a news entry, do you think that’s necessary? |
vstinner
commented
Jun 6, 2025
I don't think that it's necessary. |
vstinner
commented
Jun 9, 2025
test_syntax was failing on the CI. I updated the branch to try to repair the CI. |
vstinner
commented
Jun 9, 2025
Merged, thanks. |
…calendar.HTMLCalendar` as 'utf-8' (python#135002)
…calendar.HTMLCalendar` as 'utf-8' (python#135002)
…calendar.HTMLCalendar` as 'utf-8' (python#135002)
…calendar.HTMLCalendar` as 'utf-8' (python#135002)
calendar.HTMLCalendaras 'utf-8' #135001📚 Documentation preview 📚: https://cpython-previews--135002.org.readthedocs.build/