This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ionelmc
Recipients Anthony Sottile, Chris Billington, Ivan.Pozdeev, SilentGhost, __Vano, barry, brett.cannon, cheryl.sabella, christian.heimes, eric.smith, eric.snow, ethan smith, ionelmc, jaraco, mhammond, ncoghlan, pitrou, steve.dower, takluyver, terry.reedy, veky
Date 2019-02-26.20:52:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> Because there’s no good place to stick a pdb/breakpoint to debug such issues other than, and that usually requires sudo.

Something bad was installed with sudo but suddenly sudo is not acceptable for debugging? This seems crazy.

How exactly are pth files hard to debug? Are those files hard to edit? They sure are, but the problem ain't the point where they are run, it's the fact that a big lump of code is stuffed on a single line. Lets fix that instead!

I've written pth files with lots of stuff in them, and my experience is quite the opposite - they help with debugging. A lot. It's an incredibly useful python feature.

> I don’t remember the details, but yes I have been caught in this trap. 

Maybe if you remember the details we can discuss what are the debugging options, and what can be improved.
Date User Action Args
2019-02-26 20:52:41ionelmcsetrecipients: + ionelmc, mhammond, barry, brett.cannon, terry.reedy, jaraco, ncoghlan, pitrou, eric.smith, christian.heimes, SilentGhost, __Vano, eric.snow, takluyver, steve.dower, veky, Ivan.Pozdeev, Anthony Sottile, ethan smith, cheryl.sabella, Chris Billington
2019-02-26 20:52:41ionelmcsetmessageid: <>
2019-02-26 20:52:41ionelmclinkissue33944 messages
2019-02-26 20:52:41ionelmccreate