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 | a45598a035a3a68e19e7aebff7c5ddf003517363 (patch) | |
| tree | 88b48472e99b7c574d8ca79bdad0288622d57616 /Lib/subprocess.py | |
| parent | 77c3862417552902425d1ccb1ace468d81dab36b (diff) | |
| download | cpython-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 'Lib/subprocess.py')
0 files changed, 0 insertions, 0 deletions
