PEP 558: Note compatibility constraints on locals(), other updates by ncoghlan · Pull Request #1069 · python/peps

@ncoghlan

@ncoghlan

- new design discussion section to cover the requirement that the
  semantics of locals() itself at function scope be left alone
- propose a C level API that exactly matches Python level
  frame.f_locals semantics
- other minor text formatting and wording updates