diff options
author | Chih-Hsuan Yen <yan12125@gmail.com> | 2019-05-26 17:08:20 (GMT) |
---|---|---|
committer | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2019-05-26 17:08:19 (GMT) |
commit | aaf47caf35984e614d93bd8bea5227df55e0e3e6 (patch) | |
tree | 14f42690fe8234b67dac4ced92dbaff183865375 /Misc/NEWS.d | |
parent | 91f4380cedbae32b49adbea2518014a5624c6523 (diff) | |
download | cpython-aaf47caf35984e614d93bd8bea5227df55e0e3e6.zip cpython-aaf47caf35984e614d93bd8bea5227df55e0e3e6.tar.gz cpython-aaf47caf35984e614d93bd8bea5227df55e0e3e6.tar.bz2 |
bpo-37053: handle strings like u"bar" correctly in Tools/parser/unparse.py (GH-13583)
Constant.kind is added in https://bugs.python.org/issue36280.
Current possible values for Constant.kind are "u" or None.
For r'bar' and b'bar', Constant.kind value is None, so there's no need
for special handling.
https://bugs.python.org/issue37053
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r-- | Misc/NEWS.d/next/Tools-Demos/2019-05-26-16-47-06.bpo-37053.-EYRuz.rst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Tools-Demos/2019-05-26-16-47-06.bpo-37053.-EYRuz.rst b/Misc/NEWS.d/next/Tools-Demos/2019-05-26-16-47-06.bpo-37053.-EYRuz.rst new file mode 100644 index 0000000..5320dc5 --- /dev/null +++ b/Misc/NEWS.d/next/Tools-Demos/2019-05-26-16-47-06.bpo-37053.-EYRuz.rst @@ -0,0 +1 @@ +Handle strings like u"bar" correctly in Tools/parser/unparse.py. Patch by Chih-Hsuan Yen.
\ No newline at end of file |