[3.7] bpo-35283: Add a deprecated warning for the threading.Thread.isAlive by corona10 · Pull Request #11459 · python/cpython
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 I have made the requested changes; please review again. I will then notify any core developers who have left a review that you're ready for them to take another look at this pull request.
In practice, I would prefer to start with a change in the master branch, and later consider what to do in the 3.7 branch. I'm not sure if it's ok to start to emit a PendingDeprecatinonWarning in 3.7.3.
corona10
changed the title
[3.7] bpo-35283: Add a _DummyThread.isAlive alias and a deprecated msg.
[3.7] bpo-35283: Add a deprecated warning for the threading.Thread.isAlive
I have made the requested changes; please review again.
Also, I reflect your review on the master branch PR #11454
thanks!
Thanks for making the requested changes!
@vstinner: please review the changes made to this pull request.
Most of the case, the backport patch you mentioned can be written by a bot.
(e.g #7204) So, we don't have to open seperate PR.
But in this case, as vstiner mentioned, we should apply PendingDeprecationWarning for python 3.7.
So for to do this, IMHO manual backport patch is a right way. if not
python3.7 will have a weird change to isAlive() method with deprecating message.
DeprecationWarning -> PendingDeprecationWarning
So I think that this PR can be merged after #11454 is merged when core developers decide to emit PendingDeprecationWarning to 3.7 also .
Most of the case, the backport patch you mentioned can be written by a bot.
(e.g #7204) So, we don't have to open seperate PR.But in this case, as vstiner mentioned, we should apply
PendingDeprecationWarningfor python 3.7.
So for to do this, IMHO manual backport patch is a right way. if not
python3.7 will have a weird change toisAlive()method with deprecating message.
DeprecationWarning->PendingDeprecationWarningSo I think that this PR can be merged after #11454 is merged when core developers decide to emit
PendingDeprecationWarningto 3.7 also .
Yes you right. But the when the bot generate the backport, maintainer could modify the PR, isn't?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters