- Fix a bug introduced in 4.7.0 which would cause the profiler to crash when profiling code with unusual locals, notably some pytest extensions (#332)
- Fix a bug that causes pyinstrument to fail to import packages like
glom
on Python 3.12 or later, which mutate the locals() dict. (#336) - Fix a bug that caused a
UnicodeDecodeError
on some platforms (#330) - Fix a DivideByZero error that occurs in some situations (#335)
- The IPython integration takes greater step to ensure a clean profile output, by ensuring internal frames are trimmed before printing. (#321)