[Python-Dev] peps: Updates in response to Barry Warsaw's feedback

Antoine Pitrou solipsis at pitrou.net
Sun Jan 6 13:26:08 CET 2013


On Sun,  6 Jan 2013 08:25:44 +0100 (CET)
nick.coghlan <python-checkins at python.org> wrote:
> http://hg.python.org/peps/rev/3eb7e4b587da
> changeset:   4654:3eb7e4b587da
> user:        Nick Coghlan <ncoghlan at gmail.com>
> date:        Sun Jan 06 17:22:45 2013 +1000
> summary:
>   Updates in response to Barry Warsaw's feedback
> 
> files:
>   pep-0432.txt |  217 ++++++++++++++++++++++++++------------
>   1 files changed, 146 insertions(+), 71 deletions(-)
> 
> 
> diff --git a/pep-0432.txt b/pep-0432.txt
> --- a/pep-0432.txt
> +++ b/pep-0432.txt
> @@ -40,19 +40,21 @@
>  well-defined phases during the startup sequence:
>  
>  * Pre-Initialization - no interpreter available
> -* Initialization - interpreter partially available
> -* Initialized - full interpreter available, __main__ related metadata
> +* Initializing - interpreter partially available
> +* Initialized - interpreter available, __main__ related metadata
>    incomplete
> -* Main Execution - optional state, __main__ related metadata populated,
> -  bytecode executing in the __main__ module namespace
> +* Main Execution - __main__ related metadata populated, bytecode
> +  executing in the __main__ module namespace (embedding applications
> +  may choose not to use this phase)

Since we are here, I would bikeshed a little and point out that
"initializing" and "initialiazed" are states, not phases. Either way,
the nomenclature should be consistent.

Regards

Antoine.




More information about the Python-Dev mailing list