##// END OF EJS Templates
copy timeit.Timer.timeit from CPython 3.4...
copy timeit.Timer.timeit from CPython 3.4 we were relying on self.inner for %timeit, which is an undocumented implementation detail of Python, and no longer shared by PyPy. This copies the CPython implementation, so it is no longer an undocumented attribute. It will likely not be optimal for some PyPy timings, but at least it works.
Min RK -
r19988:19b061c4
Show More
Name Size Modified Last Commit Author
/ git-hooks
README.md Loading ...
install-hooks.sh Loading ...
post-checkout Loading ...
post-merge Loading ...

git hooks for IPython

add these to your .git/hooks

For now, we just have post-checkout and post-merge,
both of which update submodules and attempt to rebuild css sourcemaps,
so make sure that you have a fully synced repo whenever you checkout or pull.

To use these hooks, run ./install-hooks.sh.
If you havn't initialised and updated the submodules manually, you will then need to run git checkout master to activate the hooks (even if you already have master checked out).