summaryrefslogtreecommitdiff
path: root/Python/errors.c
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2010-05-14 16:35:39 +0000
committerVictor Stinner <victor.stinner@haypocalc.com>2010-05-14 16:35:39 +0000
commita45598a035a3a68e19e7aebff7c5ddf003517363 (patch)
tree88b48472e99b7c574d8ca79bdad0288622d57616 /Python/errors.c
parent77c3862417552902425d1ccb1ace468d81dab36b (diff)
downloadcpython-git-a45598a035a3a68e19e7aebff7c5ddf003517363.tar.gz
posix_listdir(), posix_readlink(): avoid temporary PyBytes object
Use directly PyUnicode_DecodeFSDefaultAndSize() instead of PyBytes_FromStringAndSize() + PyUnicode_FromEncodedObject() if the argument is unicode.
Diffstat (limited to 'Python/errors.c')
0 files changed, 0 insertions, 0 deletions