10

Only Python: friendly-traceback is back!

 2 years ago
source link: https://aroberge.blogspot.com/2021/07/friendly-traceback-is-back.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

friendly-traceback is back!

 A few months ago, I mentioned that friendly-traceback had been renamed friendly. As friendly/friendly-traceback evolved, the number of dependencies increased. For some third-party projects that use friendly/friendly-traceback, such as futurecoder and HackInScience, many of these dependencies are simply redundant and represent a performance hit.  For this reason, I have split friendly/friendly-traceback into two separate projects, and created a new "organization" on Github [1] with separate repositories:  one for friendly-traceback, and a separate one for friendly (which has friendly-traceback as a dependency). I even temporarily added a third project (friendly_idle) but folded it back into friendly as the extra burden of maintaining a relatively small project with lots of duplication was too much work for very little benefit.

Much progress has been done with these projects since the last minor release (0.3) and I am in the process of doing a major update to the documentation prior to the 0.4 release; friendly-traceback is currently at version 0.3.154.

If you are a user of friendly/friendly-traceback, you likely need to do "pip install friendly".  If you want to use the information provided by friendly/friendly-traceback into your own project, you likely only need to do "pip install friendly-back".

[1] This change meant going back to zero stars on Github! 


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK