Here is a pic of a panel I recently saw. The sump pit is more than 36" from the wall, but that discharge pipe does cross the required 'working space:'
Some might argue that having the pipe there is a good thing, as it will discourage folks from stacking stuff in front of the panel. Others might see the pit as blocking access to the panel. (FWIW, you can NOT stand on that pit cover). What say you?
I think that adding an elbow to the discharge pipe to kick it to the left would get it out of the way and get the trip-free workspace that we would all prefer. The only tripping hazard then would be the cords to the sump pump, but I should think we be able to work around that easily enough. BTW, in my stepfather's house we put the sump pit (with a sturdy cover) right in front of the panel...nothing ever got stored there.
A more elegant solution would be a wooden platform (a pallet?) over the whole mess that would be removable to service the sump and give a good non-conductive work surface but that is far beyond what an inspector could request.
An 'existing' condition in a large townhouse complex (+/- 350 units). The pit is there, the discharge is off to the right, so no trip. Some have Greg's idea of a 'platform', some have fitted covers that are part of the radon remediation, some have...nothing!
As Electure said...stored items can be moved, although it a pain in the butt; and two existing 'wrongs' can be corrected.