diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2013-10-29 19:31:43 +0100 |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2013-10-29 19:31:43 +0100 |
commit | 68b674c9d403906e91bb5a294449d90f2d747b8c (patch) | |
tree | 4b9b5b498a92b84467dda7e684fc2a8d2933da04 /Python/dynload_stub.c | |
parent | 0b0c86717807bf86ba5d1d7d332529ad08179934 (diff) | |
download | cpython-git-68b674c9d403906e91bb5a294449d90f2d747b8c.tar.gz |
Issue #19437: Fix _PyUnicode_New() (constructor of legacy string), set all
attributes before checking for error. The destructor expects all attributes to
be set. It is now safe to call Py_DECREF(unicode) in the constructor.
Diffstat (limited to 'Python/dynload_stub.c')
0 files changed, 0 insertions, 0 deletions