Skip to content

[3.8] bpo-37206: Unrepresentable default values no longer represented as None. (GH-13933)#16141

Merged
serhiy-storchaka merged 1 commit into
python:3.8from
serhiy-storchaka:backport-279f446-3.8
Sep 14, 2019
Merged

[3.8] bpo-37206: Unrepresentable default values no longer represented as None. (GH-13933)#16141
serhiy-storchaka merged 1 commit into
python:3.8from
serhiy-storchaka:backport-279f446-3.8

Conversation

@serhiy-storchaka

@serhiy-storchaka serhiy-storchaka commented Sep 14, 2019

Copy link
Copy Markdown
Member

In ArgumentClinic, value "NULL" should now be used only for unrepresentable default values
(like in the optional third parameter of getattr). "None" should be used if None is accepted
as argument and passing None has the same effect as not passing the argument at all.
(cherry picked from commit 279f446)

https://bugs.python.org/issue37206

… as None. (pythonGH-13933)

In ArgumentClinic, value "NULL" should now be used only for unrepresentable default values
(like in the optional third parameter of getattr). "None" should be used if None is accepted
as argument and passing None has the same effect as not passing the argument at all..
(cherry picked from commit 279f446)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type-bug An unexpected behavior, bug, or error

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants