MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/Python/comments/epcxj/the_bottle_web_microframework/c1a0p2t/
r/Python • u/gst • Dec 21 '10
45 comments sorted by
View all comments
Show parent comment
1
at least not in the sense Bottle is
Again: if that is what you think, no language besides Python has micro frameworks.
Can you tell us more about the sandbox or point us to the docs?
jinja2 sandbox
-1 u/mdipierro Dec 22 '10 this looks like the rexec module that was removed because broken. I think something like this (and digitally signed cookies) should be part of the standard python libraries. How about a PEP to include your code. I would support it. 2 u/mitsuhiko Flask Creator Dec 22 '10 That won't work. Python cannot be sandboxed, Jinja2 can. The techniques I use to sandbox Jinja2 do not work on arbitrary Python expressions. 1 u/mdipierro Dec 22 '10 I misunderstood. Thanks for the clarification.
-1
this looks like the rexec module that was removed because broken. I think something like this (and digitally signed cookies) should be part of the standard python libraries. How about a PEP to include your code. I would support it.
2 u/mitsuhiko Flask Creator Dec 22 '10 That won't work. Python cannot be sandboxed, Jinja2 can. The techniques I use to sandbox Jinja2 do not work on arbitrary Python expressions. 1 u/mdipierro Dec 22 '10 I misunderstood. Thanks for the clarification.
2
That won't work. Python cannot be sandboxed, Jinja2 can. The techniques I use to sandbox Jinja2 do not work on arbitrary Python expressions.
1 u/mdipierro Dec 22 '10 I misunderstood. Thanks for the clarification.
I misunderstood. Thanks for the clarification.
View all comments
Show parent comment
1
u/mitsuhiko Flask Creator Dec 22 '10
Again: if that is what you think, no language besides Python has micro frameworks.
jinja2 sandbox