You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[sqlite3] don't combine error checks when adding integer constants #89797
In Modules/_sqlite/module.c, add_integer_constants() accumulates the return values of repeated PyModule_AddIntMacro() calls. We should change this to instead bailing immediately on error.
New changeset 39b4d59 by Erlend Egeberg Aasland in branch 'main': bpo-45634: Don't combine error checks when adding sqlite3 int constants (GH-29251) 39b4d59
New changeset ed91f95 by Erlend Egeberg Aasland in branch '3.10':
[3.10] bpo-45634: Don't combine error checks when adding sqlite3 int constants (GH-29251). (GH-29343) ed91f95
Activity
erlend-aasland commentedon Oct 27, 2021
In Modules/_sqlite/module.c, add_integer_constants() accumulates the return values of repeated PyModule_AddIntMacro() calls. We should change this to instead bailing immediately on error.
corona10 commentedon Oct 31, 2021
New changeset 39b4d59 by Erlend Egeberg Aasland in branch 'main':
bpo-45634: Don't combine error checks when adding
sqlite3int constants (GH-29251)39b4d59
corona10 commentedon Oct 31, 2021
New changeset ed91f95 by Erlend Egeberg Aasland in branch '3.10':
[3.10] bpo-45634: Don't combine error checks when adding
sqlite3int constants (GH-29251). (GH-29343)ed91f95
erlend-aasland commentedon Oct 31, 2021
Thanks for reviewing, Dong-hee!