[Paste] Inserting literal ${foo} in a template

2006-12-01 Thread Alberto Valverde
Hi, I'm using paste.script to generate a project's structure using templates. I need to insert a literal ${foo} in a template, however, paste.script interprets this as one of it's place holders and barfs because the variable doesn't exist. I've tried escaping the $ and the curly braces wit

[Paste] Problem with embedded new-lines in paste.auth.cookie's Set-Cookie header

2008-04-29 Thread Alberto Valverde
Hi, I have a problem using paste.auth.cookie to wrap an app when it is deployed on Apache/mod_wsgi. Apparently paste.auth.cookie sometimes sends a malformed Set-Cookie header with an embedded new line which Apache chokes on. This is the discussion where we tracked the problem in mod_wsgi's ML: ht

[Paste] paste.registry as a standalone EGG

2008-06-12 Thread Alberto Valverde
Hi, Are there any plans to pull paste.registry out of the Paste distribution into a separate one? I've recently removed Paste's dependency from ToscaWidgets in favor of smaller WebOb and ended up copying the registry.py module almost verbatim which is certainly sub-optimal. I believe the registry

[Paste] WebOb is amazing

2008-06-13 Thread Alberto Valverde
Hi, Just wanted to quickly say thanks for WebOb. I've just rewritten a filtering WSGI middleware using it and it went from 33 complicated lines to just 9 which are as self-explanatory as can be, here's the diff: http://toscawidgets.org/trac/tw/changeset/320%3Ace66a967df54 I think this says a lot

[Paste] Possible typo in webtest

2008-07-09 Thread Alberto Valverde
Hi, Seems webtest.TestApp.delete has a typo in it: Traceback (most recent call last): File "/home/alberto/src/rum/rum/tests/test_controller.py", line 176, in test_delete resp = self.app.delete(url_for(model.Model, id=id)) File "/home/alberto/lib/python2.5/site-packages/WebTest-1.0-py2.5.e