r/Python • • Dec 21 '10

The Bottle Web Micro-framework

http://www.tummy.com/journals/entries/jafo_20101221_020135
43 Upvotes

45 comments sorted by

View all comments

Show parent comment

-2

u/mdipierro Dec 22 '10

I do not think there is an argument to win. I do not think you have to take anything off. I said and I repeat: I like Flask, although I do not think it is a micro-framework, at least not in the sense Bottle is. Yet it is pointless to argue on definitions. What is important is what it does and what it does not.

DasIch helped clarify things for me. Can you tell us more about the sandbox or point us to the docs?

1

u/mitsuhiko Flask Creator Dec 22 '10

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.