◐ Shell
clean mode source ↗

gh-56166: Deprecate passing confusing positional arguments in re functions by serhiy-storchaka · Pull Request #107778 · python/cpython

@bedevere-bot mentioned this pull request

Aug 8, 2023
…e functions

Deprecate passing optional arguments maxsplit, count and flags in
module-level functions re.split(), re.sub() and re.subn() as positional.
They should only be passed by keyword.

@serhiy-storchaka

hauntsaninja

miketheman added a commit to miketheman/pytest-postgresql that referenced this pull request

Dec 26, 2024
In Python 3.13, usage of a positional argument for `maxsplit` has been
formally deprecated.
Refs: python/cpython#107778

Signed-off-by: Mike Fiedler <miketheman@gmail.com>

aarongable pushed a commit to chromium/chromium that referenced this pull request

Feb 25, 2025

hubot pushed a commit to chromium/crashpad that referenced this pull request

Feb 25, 2025

gm4sl pushed a commit to backtrace-labs/crashpad that referenced this pull request

Apr 1, 2025