◐ Shell
clean mode source ↗

GH-106008: Make implicit boolean conversions explicit by brandtbucher · Pull Request #106003 · python/cpython

added 15 commits

June 6, 2023 13:58

@brandtbucher brandtbucher changed the title Make implicit boolean conversions explicit GH-106008: Make implicit boolean conversions explicit

Jun 23, 2023

markshannon

@brandtbucher

carljm

TeamSpen210

@brandtbucher

@brandtbucher

facebook-github-bot pushed a commit to facebookincubator/cinderx that referenced this pull request

Aug 22, 2025
Summary:
Implements what we need from [GH-106008](python/cpython#106003).

Technically the included updates to `UNARY_NOT`, and `POP_JUMP_IF_FALSE|TRUE` are optimizations and not strictly needed. However, it really makes sense to to them.

Reviewed By: DinoV

Differential Revision: D80682012

fbshipit-source-id: 6150d52dddd28ef5c2e401ed17df7c7cad09074b