diff options
| author | Victor Stinner <victor.stinner@gmail.com> | 2013-10-29 18:31:43 (GMT) |
|---|---|---|
| committer | Victor Stinner <victor.stinner@gmail.com> | 2013-10-29 18:31:43 (GMT) |
| commit | 68b674c9d403906e91bb5a294449d90f2d747b8c (patch) | |
| tree | 4b9b5b498a92b84467dda7e684fc2a8d2933da04 /Python/getopt.c | |
| parent | 0b0c86717807bf86ba5d1d7d332529ad08179934 (diff) | |
| download | cpython-68b674c9d403906e91bb5a294449d90f2d747b8c.zip cpython-68b674c9d403906e91bb5a294449d90f2d747b8c.tar.gz cpython-68b674c9d403906e91bb5a294449d90f2d747b8c.tar.bz2 | |
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/getopt.c')
0 files changed, 0 insertions, 0 deletions
