Skip to content

remove obsolete encoding headers#3366

Closed
partev wants to merge 1 commit into
pytorch:mainfrom
partev:patch-3
Closed

remove obsolete encoding headers#3366
partev wants to merge 1 commit into
pytorch:mainfrom
partev:patch-3

Conversation

@partev

@partev partev commented May 24, 2025

Copy link
Copy Markdown
Contributor

header "# -- coding: utf-8 --" is only needed for Python 2.x.

Since Python 3.x default encoding is utf-8 and coding header is not necessary.

this patch removes those headers not to confuse newcomers

cc @svekars @sekyondaMeta @AlannaBurke

@pytorch-bot

pytorch-bot Bot commented May 24, 2025

Copy link
Copy Markdown

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/tutorials/3366

Note: Links to docs will display an error until the docs builds have been completed.

❌ 1 New Failure, 1 Cancelled Job

As of commit 1d18970 with merge base ab2aafd (image):

NEW FAILURE - The following job has failed:

CANCELLED JOB - The following job was cancelled. Please retry:

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@svekars svekars added the website Issues related to website rendering label May 29, 2025
@github-actions

github-actions Bot commented Sep 8, 2025

Copy link
Copy Markdown

Looks like this PR hasn't been updated in a while so we're going to go ahead and mark this as stale.
Feel free to remove the stale label if you feel this was a mistake.
If you are unable to remove the stale label please contact a maintainer in order to do so.
If you want the bot to never mark this PR stale again, add the no-stale label.
stale pull requests will automatically be closed after 30 days of inactivity.

@github-actions github-actions Bot added the stale Stale PRs label Sep 8, 2025
@github-actions github-actions Bot closed this Oct 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla signed stale Stale PRs website Issues related to website rendering

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants