-
-
Notifications
You must be signed in to change notification settings - Fork 32.7k
Closed as not planned
Closed as not planned
Copy link
Description
Bug report
Bug description:
Reproduce commans:
bash configure --enable-optimizations --enable-experimental-jit=yes --enable-profiling
time make -j &> make.log
make SHELL="bash -x"
python3.10 ./Tools/jit/build.py x86_64-pc-linux-gnu --output-dir . --pyconfig-dir . --cflags=""
result:
Traceback (most recent call last):
File "/home/yansendao/git/cpython/./Tools/jit/build.py", line 8, in <module>
import _targets
File "/home/yansendao/git/cpython/Tools/jit/_targets.py", line 16, in <module>
import _optimizers
File "/home/yansendao/git/cpython/Tools/jit/_optimizers.py", line 44, in <module>
class _Block:
File "/home/yansendao/git/cpython/Tools/jit/_optimizers.py", line 51, in _Block
target: typing.Self | None = None
AttributeError: module 'typing' has no attribute 'Self'
confiure.log
make.log
config.log
CPython versions tested on:
CPython main branch
Operating systems tested on:
Linux
Metadata
Metadata
Assignees
Labels
No labels