diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2010-05-14 16:35:39 +0000 |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2010-05-14 16:35:39 +0000 |
commit | 26fb5996a75473b4bdd3f1c01f986a74d7ac9f9d (patch) | |
tree | e480794a0644b9342a16b26d94630a2fafe12095 /Python/pythonrun.c | |
parent | 041dfa120f829cf151c6e41f1f11935ad2263b4f (diff) | |
download | cpython-26fb5996a75473b4bdd3f1c01f986a74d7ac9f9d.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/pythonrun.c')
0 files changed, 0 insertions, 0 deletions