[Python-Dev] PEP 509: Add a private version to dict (original) (raw)

Maciej Fijalkowski fijall at gmail.com
Mon Jan 11 15:10:30 EST 2016


On Mon, Jan 11, 2016 at 9:56 PM, Victor Stinner <victor.stinner at gmail.com> wrote:

Le 11 janv. 2016 8:09 PM, "Maciej Fijalkowski" <fijall at gmail.com> a écrit :

Hi Victor.

You know that pypy does this stuff without changing and exposing python semantics right? We have a version dict that does not leak abstractions to the user. The PEP adds a field to the C structure PyDictObject. Are you asking me to hide it from the C structure? The first version of my PEP added a public read-only property at Python level, but I changed the PEP. See the alternatives section for more detail. Victor

I asked you to hide it from python, read the wrong version :-)

Cool!



More information about the Python-Dev mailing list