Thursday, Jan 13, 2022
shippedMigrated python_utils calls to standard library equivalents
Anurag Verma worked through part of issue #13956 in oppia/oppia, removing custom utility functions in favor of Python's built-in alternatives.
Two commits landed across two pull requests. The first merged PR [1] replaced all instances of python_utils.ZIP() with the built-in zip() function throughout the codebase. A second PR [3] swapped python_utils.url_unsplit for urllib.unsplit, continuing the same pattern of deprecating the custom utilities wrapper. Both changes were part of a larger migration effort [2] to reduce the project's dependency on its own utility layer.
Sources
- Fix part of #13956: Replaced python_utils.ZIP() with zip() (#14279) · oppia/oppia
- Fix part of #13956: Replaced python_utils.ZIP() with zip() · oppia/oppia
- Fix part of #13956: python_utils.url_unsplit->urllib.unsplit (#14338) · oppia/oppia