On Wed, 15 Feb 2023 at 02:06, Inada Naoki <songofaca...@gmail.com> wrote:
>
> `-X importtime=2`
>
> This is expert-only tool. So no need for verbose name.

+1 that re-using existing parameter names is both concise and also convenient.

However: do we have an opportunity to make the parameter _value_ both
concise and also memorable?

  `-X importtime`  # existing behaviour (backwards-compatible)
  `-X importtime=initial`  # existing behaviour (memorable)
  `-X importtime=all`  # record timing for every import that happens,
including cases when the module is retrieved from cache

Regards,
James
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/7EDKPWPNYHDRGET575B5MKTVN4G4THPX/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to