We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1131a06 commit 10932b4Copy full SHA for 10932b4
graalpython/com.oracle.graal.python.pegparser.generator/main_asdl_gen.py
@@ -46,9 +46,9 @@
46
def stamp(sst_path: pathlib.Path, ast_path: pathlib.Path):
47
if sst_path.is_dir() and ast_path.is_dir():
48
return [
49
- p.read_text() for p in sorted(sst_path.rglob("*")) if p.is_file()
+ p.read_bytes() for p in sorted(sst_path.rglob("*")) if p.is_file()
50
] + [
51
- p.read_text() for p in sorted(ast_path.rglob("*")) if p.is_file()
+ p.read_bytes() for p in sorted(ast_path.rglob("*")) if p.is_file()
52
]
53
else:
54
return []
0 commit comments