by athrowaway3z · 5y ago · 0 comments
Another solution would be to accept the current role of assert as quick error checking and add in debug_assert to indicate a conditional error check. The biggest issue with that approach is that a majority will suddenly ask "Wait, python has a debug mode?"
The original feature is perfect. But there is 5 good years of educating users so it can be used.
So the problem is some vendors ship libs that have failing asserts so cannot run in debug mode?