cournape / import-profiler

A basic python import profiler to find bottlenecks in import times
MIT License
15 stars 8 forks source link

#4: Initialize the import level at 0 instead of -1, for Python 3 compatibility #7

Open nicoulaj opened 6 years ago

nicoulaj commented 6 years ago

(I did not test on Python 2 after this change)

nicoulaj commented 6 years ago

@cournape any chance you could review this ?

RafalSkolasinski commented 5 years ago

Any chance this could be merged?

pb-cdunn commented 4 years ago

This works great for me! I pip install --user import_profiler and then modify one line in-place. I'm glad it's so simple to fix.

xingren23 commented 7 months ago

Any chance this could be merged?

julien-blanchon commented 7 months ago

Wtf why is this not merged ?

prashantsengar-cl commented 1 week ago

I forked to add support for Python 3 and it does work well. https://github.com/prashantsengar-cl/import-profiler.

I have made more changes other than the changes in this PR (also contributed #10 )