The deprecated
method and error object predate RFCs. We could have an RFC to change established practice but I doubt we will spend time RFCing every previously established practice.
As for a sed script – there’s another thread for this, where the idea of automatically sed-ding has already been discarded.
hjh