Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bpo-28331: fix "CPython implementation detail:" label is removed when content is translated. #195

Merged
merged 1 commit into from
Mar 8, 2017

Conversation

methane
Copy link
Member

@methane methane commented Feb 20, 2017

@methane methane added type-bug An unexpected behavior, bug, or error docs Documentation in the Doc dir needs backport to 2.7 labels Feb 20, 2017
Copy link
Member

@berkerpeksag berkerpeksag left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, I'm strongly against introducing yet another hack for a pretty small use case.

@methane
Copy link
Member Author

methane commented Feb 21, 2017

@JulienPalard We (Japanese translation team) fixed this in our fork.
I think French documentation should apply same fix too.

@methane
Copy link
Member Author

methane commented Feb 21, 2017

I keep this PR open, until another "NO" from core dev.

@methane
Copy link
Member Author

methane commented Feb 23, 2017 via email

@berkerpeksag
Copy link
Member

I think matching the implementation of the imp-detail directive with the other custom directives is a good idea -- I don't have an objection to that part of the PR. However, I'm still -1 on adding a dummy HTML.

Customizing the tools of an upstream project is a very common practice in open source world. Downstream projects are doing a lot of different things with Python and this doesn't mean that all these hacks should go into upstream (we've rejected most of them in the past)

@vstinner
Copy link
Member

vstinner commented Feb 23, 2017 via email

@methane
Copy link
Member Author

methane commented Mar 8, 2017

I saw most replies on the ML thread is positive.
And I checked this fix works on Sphinx 1.3.3 (docs.python.org uses this version) without any warnings too.

Now I think this change is safe enough to merge, and small enough to maintain.
Feel free to revert it if it cause any regression.

@methane methane merged commit c351ce6 into python:master Mar 8, 2017
@methane methane deleted the fix-impl-detail branch March 8, 2017 10:07
@methane
Copy link
Member Author

methane commented Mar 8, 2017

Since translation will be focus on latest stable release, I removed "needs backport to (2.7|3.5)" labels.
I'll backport this to 3.6 later, if no problem happened at 3.7-dev document.

methane added a commit to methane/cpython that referenced this pull request Mar 22, 2017
akruis pushed a commit to akruis/cpython that referenced this pull request Dec 31, 2018
…r coroutines (python#195)

Silently ignore attempts to close a running generator, coroutine or asynchronous
generator. This avoids spurious error messages, if such an object is deallocated
as part of a paused, restorable tasklet.
akruis pushed a commit to akruis/cpython that referenced this pull request Jan 1, 2019
Stackless can now pickle coroutine_wrapper objects.
akruis pushed a commit to akruis/cpython that referenced this pull request Jan 20, 2019
…r coroutines (python#195)

Silently ignore attempts to close a running generator, coroutine or asynchronous
generator. This avoids spurious error messages, if such an object is deallocated
as part of a paused, restorable tasklet.
(cherry picked from commit 905d0ef)
pablogsal pushed a commit to pablogsal/cpython that referenced this pull request Nov 29, 2022
jaraco pushed a commit that referenced this pull request Dec 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants