bottlepy / bottle

bottle.py is a fast and simple micro-framework for python web-applications.
http://bottlepy.org/
MIT License
8.33k stars 1.46k forks source link

refactor global template() #1322

Open SergBobrovsky opened 3 years ago

SergBobrovsky commented 3 years ago
tplid = (id(lookup), tpl)

This looks a bit dirty - i made the same by the right way ) The same template can be reached by many ways - that's why abspas was added as 2nd key Tempate string was kept as a key to.