[Python-Dev] PEP 509

Ethan Furman ethan at stoneleaf.us
Tue Jan 12 17:24:50 EST 2016


On 01/12/2016 01:34 PM, Victor Stinner wrote:
> 2016-01-12 19:52 GMT+01:00 Ethan Furman <ethan at stoneleaf.us>:
>> [1] We're not going to call it __version__ are we?  Seems like
>> __cache_token__ is a much better name.
>
> See the online version to the most recent version of the PEP:
> https://www.python.org/dev/peps/pep-0509/
>
> In the first version I proposed to expose the version, but I changed
> my mind, it's not private (only exposed in the C API).

Even if not exposed at the Python layer, it's still exposed when working 
at the C layer.  Is __version__ any less confusing there?  (I only work 
in C when working on Python, and only occasionally, so my question is real.)

--
~Ethan~


More information about the Python-Dev mailing list