[Python-ideas] Re: Proposal: -X importcache to supplement -X importtime for loaded modules

2023-02-14 Thread anthony.flury via Python-ideas
Personally, I am -1 on the name - I think '-X importtrace' or similar would be better I think. I am +100 on the functionality - Unless you put in log messages, tracking imports is complex - so something like this I can see being very useful. I know I don't make the decisions, but it seems

[Python-ideas] Re: Proposal: -X importcache to supplement -X importtime for loaded modules

2023-02-14 Thread Barry
Try raising on https://discuss.python.org/ where you are more likely to have a python core dev comment on this idea. Barry > On 14 Feb 2023, at 15:12, anthony.flury via Python-ideas > wrote: > >  > Personally, > I am -1 on the name - I think '-X importtrace' or similar would be better I > t

[Python-ideas] Re: Proposal: -X importcache to supplement -X importtime for loaded modules

2023-02-14 Thread Inada Naoki
`-X importtime=2` This is expert-only tool. So no need for verbose name. On Sat, Feb 11, 2023 at 10:01 PM Noah Kim wrote: > > All, > > I'm writing to propose an adjacent interpreter flag to `-X importtime`: `-X > importcache` (open to alternative naming). > > While `-X importtime` is incredibly

[Python-ideas] Re: Proposal: -X importcache to supplement -X importtime for loaded modules

2023-02-14 Thread Noah Kim
I really like this approach! > On Feb 14, 2023, at 9:04 PM, Inada Naoki wrote: > > `-X importtime=2` > > This is expert-only tool. So no need for verbose name. > >> On Sat, Feb 11, 2023 at 10:01 PM Noah Kim wrote: >> >> All, >> >> I'm writing to propose an adjacent interpreter flag to `-X