'in' operation in session #64

lovelylain opened this Issue May 11, 2011 · 0 comments


None yet

1 participant


No one use ('sth' in session) in webpy's session? Classic-style class will call getattr method if contains method does not exist, but new-style class will call getitem.
Besides, I really think python's import method is very bad, almost I must use import(modname, None, None, ['']) whenever I use it. In webpy's application.py, the reload_mapping method shoule also use import(modname, None, None, ['']) instead of just import(modname).
Anymore, I think memoize in utils.py should be replaced with function, because current implementation in fact makes sth slower.
By the way, is there any components for webpy? webpy is earlier than flask, but component is fewer!

@lovelylain lovelylain closed this May 15, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment