Skip to content

bpo-29840: bool() no longer raises OverflowError for objects without … - #1211

Closed
serhiy-storchaka wants to merge 2 commits into
python:masterfrom
serhiy-storchaka:bool-no-overflow
Closed

serhiy-storchaka wants to merge 2 commits into
python:masterfrom
serhiy-storchaka:bool-no-overflow

Conversation

@serhiy-storchaka

@serhiy-storchaka serhiy-storchaka commented Apr 20, 2017 •

Copy link
Copy Markdown
Member

…defined
__bool__ when __len__() returned a large integer or raised OverflowError.

…defined

__bool__ when __len__() returned large integer or raised OverflowError.
@serhiy-storchaka serhiy-storchaka added the type-feature A feature request or enhancement label Apr 20, 2017
@serhiy-storchaka

Copy link
Copy Markdown
Member Author

It was decides to just document this constrain.

@serhiy-storchaka
serhiy-storchaka deleted the bool-no-overflow branch April 23, 2017 07:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type-feature A feature request or enhancement

2 participants