Bug report
Bug description:
when I just wrote this program, and just save it with name .py, the highlight does not work.
p=1
t=1
while 1:
p*=0.95
t+=1
print(p,t)

But, when I just rename it with 1.py, the highlight works.

I'm using Windows 11, Python 3.13.0b4.
CPython versions tested on:
3.13
Operating systems tested on:
Windows