diff options
author | Walter Dörwald <walter@livinglogic.de> | 2007-07-30 13:31:40 +0000 |
---|---|---|
committer | Walter Dörwald <walter@livinglogic.de> | 2007-07-30 13:31:40 +0000 |
commit | e78178e2c05ec2bb628b70a8b5422bb4dae63343 (patch) | |
tree | d1c8662e41b7f8f95714bc903ad048a01673c369 /Objects/complexobject.c | |
parent | 2dbde5ea444de788721e9195d644da38061204c3 (diff) | |
download | cpython-git-e78178e2c05ec2bb628b70a8b5422bb4dae63343.tar.gz |
Bytes (which are the input for decoding) are mutable now. If a decoding
error callback changes the bytes object in the exception the decoder might
use memory that's no longer in use. Change unicode_decode_call_errorhandler()
so that it fetches the adresses of the bytes array (start and end) from the
exception object and passes them back to the caller.
Diffstat (limited to 'Objects/complexobject.c')
0 files changed, 0 insertions, 0 deletions