5 Commits

Author SHA1 Message Date
Kovid Goyal
764e8bff7e
Remove py3 conditionals 2020-08-22 18:47:56 +05:30
Kovid Goyal
9ff27782de
Remove useless __future__ imports
Not needed on python3
2020-08-22 18:47:55 +05:30
Kovid Goyal
29cd8d64ea
Change shebangs to python from python2
Also remove a few other miscellaneous references to python2
2020-08-22 18:47:51 +05:30
Kovid Goyal
b177f0a109
Nicer fix for lru_cache() that does not require meta_path trickery 2019-04-13 10:01:46 +05:30
Kovid Goyal
79f5a6c18b
Add lru_cache() to polyglot
I decided to vendor the implementation from
https://raw.githubusercontent.com/jaraco/backports.functools_lru_cache/master/backports/functools_lru_cache.py

as it depends on setuptools_scm installing which is failing on the macOS
build machine with SSL errors that I cant be bothered to track down. Not
to mention that installing a an extra dependency just for a single
function is absurd.
2019-04-13 09:42:27 +05:30