Message414454
So this bug is referenced when pydevd encounters some problem with 3.11a5+:
https://github.com/fabioz/PyDev.Debugger/issues/213
Since the link to this bug is apparently baked into the error messages printed by pydevd, I am adding this comment to this old, closed bug.
I can't seem to reproduce it. I modernized the reproducer script:
###
import inspect,sys
print('Version info:',sys.version_info)
print()
f1 = inspect.getabsfile(inspect)
f2 = inspect.getabsfile(inspect.iscode)
print('File for `inspect` :',f1)
print('File for `inspect.iscode`:',f2)
print('Do these match?',f1==f2)
if f1==f2:
print('OK')
else:
print('BUG - this is a bug in this version of Python')
###EOF
And the output is:
Version info: sys.version_info(major=3, minor=11, micro=0, releaselevel='alpha', serial=5)
File for `inspect` : c:\users\gvanrossum\appdata\local\programs\python\python311\lib\inspect.py
File for `inspect.iscode`: c:\users\gvanrossum\appdata\local\programs\python\python311\lib\inspect.py
Do these match? True
OK
I tried it with the most recent Python built from source and get the same result:
Version info: sys.version_info(major=3, minor=11, micro=0, releaselevel='alpha', serial=5)
File for `inspect` : c:\users\gvanrossum\cpython\lib\inspect.py
File for `inspect.iscode`: c:\users\gvanrossum\cpython\lib\inspect.py
Do these match? True
OK
So I wonder if the problem that's currently plagueing pydevd in 3.11 alpha releases is slightly different? |
|
Date |
User |
Action |
Args |
2022-03-03 16:06:17 | gvanrossum | set | recipients:
+ gvanrossum, collinwinter, fer_perez, zseil, jerry.seutter |
2022-03-03 16:06:17 | gvanrossum | set | messageid: <1646323577.9.0.387173252349.issue1666807@roundup.psfhosted.org> |
2022-03-03 16:06:17 | gvanrossum | link | issue1666807 messages |
2022-03-03 16:06:17 | gvanrossum | create | |
|