diff options
| author | Victor Stinner <victor.stinner@haypocalc.com> | 2011-10-03 21:36:02 (GMT) |
|---|---|---|
| committer | Victor Stinner <victor.stinner@haypocalc.com> | 2011-10-03 21:36:02 (GMT) |
| commit | 9ce5a835bbb33c8a7f22e8ab4c6c226ecb27b0be (patch) | |
| tree | 7f91e204d547fc86c83298daf3b672e18cb43af8 /Objects/codeobject.c | |
| parent | b80389535581300295758f3a9b50e9628b77ae3c (diff) | |
| download | cpython-9ce5a835bbb33c8a7f22e8ab4c6c226ecb27b0be.zip cpython-9ce5a835bbb33c8a7f22e8ab4c6c226ecb27b0be.tar.gz cpython-9ce5a835bbb33c8a7f22e8ab4c6c226ecb27b0be.tar.bz2 | |
PyUnicode_Join() checks output length in debug mode
PyUnicode_CopyCharacters() may copies less character than requested size, if
the input string is smaller than the argument. (This is very unlikely, but who
knows!?)
Avoid also calling PyUnicode_CopyCharacters() if the string is empty.
Diffstat (limited to 'Objects/codeobject.c')
0 files changed, 0 insertions, 0 deletions
