Sorry, something went wrong.
|
See also GH-20400. Should I reopen? |
Sorry, something went wrong.
|
I do not know why GH-20400 was closed. Seems there were no objections against it. But many of these functions are still used in Python tests, so we should first clean up tests from them. Also, we need to research how often they are used in third-party code. The deprecation period can be prolonged if there are many occurrences. All features removed in this PR were deprecated for at least 6 releases. |
Sorry, something went wrong.
|
I do not know why GH-20400 was closed. Seems there were no objections against it. I closed it because I got no response, and I had enough to do already with my sqlite3 PR's :) Also, we need to research how often they are used in third-party code. The deprecation period can be prolonged if there are many occurrences. All features removed in this PR were deprecated for at least 6 releases. Absolutely. |
Sorry, something went wrong.
|
@tirkarthi, what is the best drop-in replacement for assertDictContainsSubset? https://stackoverflow.com/a/19221301/2199657 mentioned: Drop in replacement is to use assertLessEqual and .items() on the dicts. That is: - self.assertDictContainsSubset(a, b)
+ self.assertLessEqual(a.items(), b.items())
twilio/twilio-python#636 and tensorflow/tfx@010e94d adopted different approaches. What is Python's official recommendation? |
Sorry, something went wrong.
https://bugs.python.org/issue45162