Skip to content

Conversation

@hauntsaninja
Copy link
Contributor

@hauntsaninja hauntsaninja commented Aug 8, 2023

@hauntsaninja
Copy link
Contributor Author

This is a very common mistake, see #99918 (comment)

@hauntsaninja hauntsaninja changed the title gh-56166: Deprecate passing counts and flags via position in re Aug 8, 2023
@serhiy-storchaka
Copy link
Member

Thank you for your PR @hauntsaninja, but there is a different solution to a problem with signature. Also, these parameters are not keyword-only yet, so they should not be documented so. Instead the deprecation of passing the corresponding arguments positionally should be documented. I created a different PR #107778.

@hauntsaninja hauntsaninja deleted the gh-56166 branch August 8, 2023 17:35
@terryjreedy
Copy link
Member

terryjreedy commented Aug 9, 2023

Since the other patch passed all checks, I am assuming that inspect.signature will continue to display '0' rather than'_zero_sentinal', so that the IDLE tests should continue as is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

4 participants