[New-bugs-announce] [issue38879] Reordered error checking in PyArena_New().

Zoltán Szatmáry report at bugs.python.org
Thu Nov 21 11:12:32 EST 2019


New submission from Zoltán Szatmáry <szatmary.zoltan1222 at gmail.com>:

Put "arena->a_cur = arena->a_head;" after the error checking of "arena->a_objects = PyList_New(0);". It's more optimal, even if it can't be measured.

----------
hgrepos: 386
messages: 357180
nosy: Zotyamester
priority: normal
pull_requests: 16809
severity: normal
status: open
title: Reordered error checking in PyArena_New().

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue38879>
_______________________________________


More information about the New-bugs-announce mailing list