summaryrefslogtreecommitdiffstats
path: root/Lib/unittest.py
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2004-08-27 22:35:44 (GMT)
committerTim Peters <tim.peters@gmail.com>2004-08-27 22:35:44 (GMT)
commit91879ab8ea3ccb611a2b46b81a9984f451cb0669 (patch)
tree66096168141e90580a019ea884398f84ae4b14da /Lib/unittest.py
parent05eba1fdc80efe145bac39d9d84cb1cc439f303c (diff)
downloadcpython-91879ab8ea3ccb611a2b46b81a9984f451cb0669.zip
cpython-91879ab8ea3ccb611a2b46b81a9984f451cb0669.tar.gz
cpython-91879ab8ea3ccb611a2b46b81a9984f451cb0669.tar.bz2
PyUnicode_Join(): Bozo Alert. While this is chugging along, it may
need to convert str objects from the iterable to unicode. So, if someone set the system default encoding to something nasty enough, the conversion process could mutate the input iterable as a side effect, and PySequence_Fast doesn't hide that from us if the input was a list. IOW, can't assume the size of PySequence_Fast's result is invariant across PyUnicode_FromObject() calls.
Diffstat (limited to 'Lib/unittest.py')
0 files changed, 0 insertions, 0 deletions