GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||
GeezerVison is showing github.com — GH-116380: Add tests for `glob.glob0()` and `glob.glob1()`. by barneygale · Pull Request #117305 · python/cpython Conversation
|
|
They are undocumented and no longer used in the stdlib. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Indeed. But they're used by third-party code, and neither deprecated nor underscore-prefixed. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
They are not underscored because this is not needed. Opened #117337. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Does deprecating these functions preclude the addition of tests in your view? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
The new tests LGTM. Some tests will be needed for deprecation anyway. But all tests added in this PR will be changed, and maybe moved to other place. This will only increase the size of the logs. Would you mind creating a PR to deprecate these functions, along with adding new tests? Or do you prefer merging this PR first? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Good shout. I've opened #117371 to deprecate the functions, and incorporated the tests there. I'll close this PR! |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.