# PEP 558: Defined semantics for locals()

**URL:** <https://discuss.python.org/t/pep-558-defined-semantics-for-locals/2936>\
**Category:** PEPs\
**Created:** [December 31, 2019, 4:10am UTC](https://discuss.python.org/t/pep-558-defined-semantics-for-locals/2936 "2019-12-31T04:10:14Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![steve.dower](https://sea2.discourse-cdn.com/flex002/user_avatar/discuss.python.org/steve.dower/32/56_2.png) [@steve.dower](https://discuss.python.org/u/steve.dower)\
**Post date:** [January 1, 2020, 3:56pm UTC](https://discuss.python.org/t/pep-558-defined-semantics-for-locals/2936/3 "2020-01-01T15:56:18Z")

</div>

Bikeshedding, but can we have the new C API be GetLocalsSnapshot instead of GetPyLocals? Just to save the documentation lookup to figure out what’s so “Py” about it?

---

_[View the full topic](https://discuss.python.org/t/pep-558-defined-semantics-for-locals/2936)._
