Update pysh.py

Add minor justification for some hackish code