Skip to content

Commit a8558a4

Browse files
authored
Merge pull request #3456 from jepler/qstr-and-or-demagic
makeqstrdefs: don't make _and_, _or_ poisoned substrings for QSTRs
2 parents bcabf5e + 28e80e4 commit a8558a4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

py/makeqstrdefs.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,10 @@
5757
name2codepoint['pipe'] = ord('|')
5858
name2codepoint['tilde'] = ord('~')
5959

60+
# These are just vexing!
61+
del name2codepoint['and']
62+
del name2codepoint['or']
63+
6064
def write_out(fname, output):
6165
if output:
6266
for m, r in [("/", "__"), ("\\", "__"), (":", "@"), ("..", "@@")]:

0 commit comments

Comments
 (0)