diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2021-12-23 00:32:35 -0800 |
---|---|---|
committer | Greg Becker <becker33@llnl.gov> | 2022-01-12 06:14:18 -0800 |
commit | 572fbf4f49564669d8157567c6d18684cc6e086a (patch) | |
tree | 6348e411c8efa08bcaded9a9f4480fce7894931e /.mailmap | |
parent | 396c37d82f1d05084a9d4ba3a08775ef160f4604 (diff) | |
download | spack-572fbf4f49564669d8157567c6d18684cc6e086a.tar.gz spack-572fbf4f49564669d8157567c6d18684cc6e086a.tar.bz2 spack-572fbf4f49564669d8157567c6d18684cc6e086a.tar.xz spack-572fbf4f49564669d8157567c6d18684cc6e086a.zip |
unparser: handle unicode string literals consistently across Python versions
Python 2 and 3 represent string literals differently in the AST. Python 2 requires '\x'
literals, and Python 3 source is always unicode, and allows unicode to be written
directly. These also unparse differently by default.
- [x] modify unparser to write both out the way `repr` would in Python 2 when
`py_ver_consistent` is provided.
Diffstat (limited to '.mailmap')
0 files changed, 0 insertions, 0 deletions