diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2011-09-30 00:26:10 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2011-09-30 00:26:10 (GMT) |
commit | b153615008570cffb2e5a782d96c2b79db51ea02 (patch) | |
tree | d6565431a779955c0c6543060951cd6fcca952f7 /Objects/fileobject.c | |
parent | 1fe99a2ea7c0f54b19153fce352be456b2613b94 (diff) | |
download | cpython-b153615008570cffb2e5a782d96c2b79db51ea02.zip cpython-b153615008570cffb2e5a782d96c2b79db51ea02.tar.gz cpython-b153615008570cffb2e5a782d96c2b79db51ea02.tar.bz2 |
PyUnicode_CopyCharacters() uses exceptions instead of assertions
Call PyErr_BadInternalCall() if inputs are not unicode strings.
Diffstat (limited to 'Objects/fileobject.c')
0 files changed, 0 insertions, 0 deletions