[openstack-dev] [Fuel][Nailgun] Web framework

Sebastian Kalinowski skalinowski at mirantis.com
Wed Dec 3 13:03:40 UTC 2014


2014-12-03 13:47 GMT+01:00 Igor Kalnitsky <ikalnitsky at mirantis.com>:

> > I don't like that Flask uses a global request object [3].
>
> Przemyslaw, actually Pecan does use global objects too. BTW, what's
> wrong with global objects? They are thread-safe in both Pecan and
> Flask.
>

To be fair, Pecan could also pass request and response explicit to method
[1]

[1] http://pecan.readthedocs.org/en/latest/contextlocals.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20141203/d690f5fe/attachment.html>


More information about the OpenStack-dev mailing list