blob: 69986c2a15b39e3257271349e6c2c5996181b83b [file] [log] [blame]
Fixed a bug where :mod:`pdb` crashes when reading source file with different encoding by replacing :func:`io.open` with :func:`io.open_code`. The new method would also call into the hook set by :func:`PyFile_SetOpenCodeHook`.