Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

omitir warnings de 'availability' y 'wasm-notavail'#1847

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
cmaureir merged 1 commit into3.11fromskip_warnings_wasm
Oct 26, 2022

Conversation

cmaureir
Copy link
Collaborator

@cmaureircmaureir commentedOct 26, 2022
edited
Loading

edit: including explanation

the whole story on the 'availability' warnings are that there is a.. availability:: command in the cpython docs that include, in some cases, stuff from the 'wasm-availability' file. So we have references "within" the 'availabiliy' command.

as you can see, the entry has no mention of WASM or wahtsover in some entries, like "Unix, Windows",
but still will generate the following warning:

cpython/Doc/library/os.rst:: WARNING: inconsistent term references in translated message. original: [':ref:`Availability <availability>`', ':ref:`wasm-availability`'], translated: [':ref:`Disponibilidad <availability>`']

The reason that due to the internal reference to 'wasm-availability' , even in cases like this entry, where it's only Unix and Windows, for example:

https://docs.python.org/3.11/library/os.html?highlight=os#os.getenv

it generates the reference to the 'Availability' page, which inside has the 'wasm-availability' inside:

https://docs.python.org/3.11/library/intro.html#availability

Additionally, thewasm-notavail file is excluded to avoid the warning related to the file not being inclued in any index. We could have add:orphan: to the file insidecpython but we do it via the exclude patterns to avoid touching files on the submodule.

@cmaureircmaureir added the hacktoberfest-acceptedmantainer-approved contribution to hacktoberfest labelOct 26, 2022
@cmaureircmaureir changed the titleomitir warnings de 'availability'omitir warnings de 'availability' y 'wasm-notavail'Oct 26, 2022
@cmaureircmaureir merged commit0ea8d36 into3.11Oct 26, 2022
@cmaureir
Copy link
CollaboratorAuthor

Gracias por el review@raulcd 💯

@cmaureir
Copy link
CollaboratorAuthor

Mencionando#1845 para que esté enlazado ese issue con este pr

@cmaureircmaureir deleted the skip_warnings_wasm branchMarch 3, 2023 11:38
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@raulcdraulcdraulcd approved these changes

Assignees
No one assigned
Labels
hacktoberfest-acceptedmantainer-approved contribution to hacktoberfest
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@cmaureir@raulcd

[8]ページ先頭

©2009-2025 Movatter.jp