summaryrefslogtreecommitdiff
path: root/Python/random.c
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2013-10-29 19:31:43 +0100
committerVictor Stinner <victor.stinner@gmail.com>2013-10-29 19:31:43 +0100
commit68b674c9d403906e91bb5a294449d90f2d747b8c (patch)
tree4b9b5b498a92b84467dda7e684fc2a8d2933da04 /Python/random.c
parent0b0c86717807bf86ba5d1d7d332529ad08179934 (diff)
downloadcpython-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/random.c')
0 files changed, 0 insertions, 0 deletions