summaryrefslogtreecommitdiff
path: root/Python
diff options
context:
space:
mode:
authorZhou Fangyi <fangyi.zhou@yuriko.moe>2018-02-10 06:59:29 +0000
committerSerhiy Storchaka <storchaka@gmail.com>2018-02-10 08:59:29 +0200
commit5df5286abda57a0b3865d4fc3e25aaf1a820ef49 (patch)
treee12b88d17b4505bba6d3fb320a4207d9a134c671 /Python
parenta445feb72902e4a3c5ae712f0c289309e1580d52 (diff)
downloadcpython-git-5df5286abda57a0b3865d4fc3e25aaf1a820ef49.tar.gz
bpo-30688: Import unicodedata only when needed. (GH-5606)
Importing unicodedata in sre_parse leads to failure in compilation. unicodedata is unused during compilation, and is not compiled when this file is imported. The error occurs when generating posix variables, pprint is required. The dependency chain goes on like this: sysconfig -> pprint -> re -> sre_compile -> sre_parse (this file) This commits fixes compilation issues introduced by 2272cec13b53c405d86c45d404f035f201c0baef. (Issue 30688, GH-5588)
Diffstat (limited to 'Python')
0 files changed, 0 insertions, 0 deletions