[core] Protect session data from unwanted loading.
Use specialised Session and Connection types that forward their 'data' and
'session_data' attributes to the pyramid request.session attribute.
This forwarding is done with properties, instead of copying a reference, which
allow to access request.session (and the session factory) if and only if
Session.data or Connection.session_data is accessed.
In some cases, most notably the static resources requests, it can mean no
access the session during the request handling, which saves a request to the
session persistence layer.
Closes #4891437
Source: pyramid-cubicweb
Section: python
Priority: optional
Build-Depends:
python,
python-setuptools,
python-pyramid,
python-waitress,
debhelper (>= 9),
Standards-Version: 3.9.6
Maintainer: Julien Cristau <julien.cristau@logilab.fr>
Homepage: https://www.cubicweb.org/project/pyramid_cubicweb
Vcs-Browser: http://hg.logilab.org/master/pyramid_cubicweb
Vcs-Hg: http://hg.logilab.org/master/pyramid_cubicweb
Package: pyramid-cubicweb
Architecture: all
Depends:
${misc:Depends},
${python:Depends},
python-pyramid (>= 1.5.0),
python-waitress (>= 0.8.9),
cubicweb-common (>= 3.19.3),
# XXX wsgicors?
Description: Integrate CubicWeb with a Pyramid application
Provides pyramid extensions to load a CubicWeb instance and serve it through
the pyramid stack.
.
It prefigures what CubicWeb 4.0 will be.