Mercurial > p > roundup > code
view .hgignore @ 8519:19152fd94fcf
bug: move import findargspec out of Permission __init__ method
We have a few places where imports are done inside a method/function.
For methods that are called once it's not an issue but the Permissions
__init__ method is called often and accounts for > 10% of the time in
the __init__ function when looking at wsgi-lineprof output.
So move it to the module level.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Mon, 02 Feb 2026 23:41:36 -0500 |
| parents | b99e76e76496 |
| children |
line wrap: on
line source
syntax: glob *.orig *.rej *~ \#*\# .\#* *.swp *.tmp *.pyd *.pyc *.pyo build demo dist MANIFEST roundup.egg-info _test_* *.cover share/doc/roundup/html doc/FAQ.html doc/admin_guide.html doc/announcement.html doc/customizing.html doc/design.html doc/developers.html doc/features.html doc/glossary.html doc/implementation.html doc/index.html doc/installation.html doc/mysql.html doc/overview.html doc/postgresql.html doc/security.html doc/tracker_templates.html doc/upgrading.html doc/user_guide.html doc/whatsnew-0.7.html doc/whatsnew-0.8.html doc/xmlrpc.html locale/*.mo locale/*.bak locale/*.poedit website/www/_tmp/ website/www/COPYING.txt website/www/docs website/www/html/ .pytest_cache .hypothesis
