News for hackers. Stuff that matters.
Re:Show HN: Py-spy – A new sampling profiler for Python prog... by bobwaycott on Thursday September 06, 2018 @07:26PM (#17930531)
Gave it a try, and wasn’t expecting to have to execute via sudo on macOS. I almost never use sudo, so this stands out as quite unexpected for a developer tool. Is there something off with my system, or are sudo privileges always going to be required on macOS?

Edit: I pip installed it into a virtualenv, if that matters.

Re:Show HN: Py-spy – A new sampling profiler for Python prog... by MetricMike on Thursday September 06, 2018 @09:45PM (#17931297)
https://github.com/benfred/py-spy#when-do-you-need-to-run-as...

tl;dr - yes, it's a limitation(?) of macOS syscalls.