Previously Chris Miles wrote:
That is fair enough, but if the controller returns no content (None or
for instance) would it make sense to not set any Content-Type (and
related) headers?
At the very least you have to send a Content-Length: 0 header. If you
don't some proxies get confused
On Thu, Jan 22, 2009 at 5:59 AM, przemek.ch przemek...@gmail.com wrote:
Hi,
python 2.6 has a switch -3 which will show warnings about code that is
not compatible with python 3
is ther a way to use tis switch with pylons?
pylons don't use python directly and there's no such switch for
On Thursday January 22, 2009 13:05:47 Jorge Vargas wrote:
On Thu, Jan 22, 2009 at 5:59 AM, przemek.ch przemek...@gmail.com wrote:
Hi,
python 2.6 has a switch -3 which will show warnings about code that is
not compatible with python 3
is ther a way to use tis switch with pylons?
Anyone?
On Sunday January 18, 2009 23:29:31 Gustavo Narea wrote:
Hello,
I've tried the tutorial at
http://wiki.pylonshq.com/display/pylonscookbook/Production+Deployment+Usin
g+Apache, +FastCGI+and+mod_rewrite, but I can't get it to work.
As suggested on the tutorial, I made a first try
Dear list,
I'm currently customizing the error messages in a Pylons project. And it
seems like whenever I abort(403, 'foobar') my error template the
request.params['message'] jusr contains 'FORBIDDEN' although I
sent 'foobar' as the 'details' parameter. Grepping through the code it
comes from
[Sun Jan 18 23:15:59 2009] [error] [client 127.0.0.1] Error - class
'genshi.template.eval.UndefinedError': {...} has no member named
flash_obj
Are you trying to render some TG flash_obj stuff? Hint, Pylons
WebHelpers usage:
http://groups.google.com/group/pylons-discuss/msg/18e9f84bf7533041
On Jan 22, 3:38 am, Wichert Akkerman wich...@wiggy.net wrote:
At the very least you have to send a Content-Length: 0 header. If you
don't some proxies get confused and some browsers will spin forever
waiting for data to arrive.
Wichert.
Indeed, and in Pylons 0.9.6.2 ErrorDocuments responses
Hi,
I am new to Pylons.
I have an application using SQLAlchemy and migrate. I want to use the
models of this application in Pylons too.
The application has lots of modules all having their own db
directory that has the migrate files and models directory that has
the models (same classes with the
basically, i'd love to see a pylons config option like this:
redirect_encoding= ascii
which would just do
url.encode('ascii') on urls submitted to redirect_to -- or any other
encoding standard.
we ran into a bit of a problem with our docs being utf8 and older
browsers not liking the redirect
On Donnerstag, 22. Januar 2009, John_Nowlan wrote:
Don't know if its relevant but have you seen:
http://wiki.pylonshq.com/display/pylonsdocs/Error+Documents
Yes, thanks. That's what I usually use. Just that the details argument
doesn't make it through to the resulting error page.
Cheers
On Wed, Jan 21, 2009 at 4:30 PM, Jonathan Vanasco jonat...@findmeon.com wrote:
i store a lot of stuff in config, much of which is 'framework' related
across modules.
the current way i deal with bools is this ( by storing things in
app_globals during init )
g.enable_feature_x= False
This is another example of the flawed, broken code known as Paste.
Pylons should decouple itself from Paste
On Jan 22, 12:11 pm, Mike Orr sluggos...@gmail.com wrote:
On Wed, Jan 21, 2009 at 4:30 PM, Jonathan Vanasco jonat...@findmeon.com
wrote:
i store a lot of stuff in config, much of
On Tue, Jan 20, 2009 at 1:37 PM, Ian Bicking i...@colorstudy.com wrote:
On Tue, Jan 20, 2009 at 11:36 AM, Ben Bangert b...@groovie.org wrote:
Similarly, other request handling operations such as creating the
request object may also be redundant, because the user may not be
interested in all
On Jan 22, 1:14 pm, Tycon adie...@gmail.com wrote:
This is another example of the flawed, broken code known as Paste.
Pylons should decouple itself from Paste
But Pylons, as you've pointed out, is flawed in numerous ways as well.
Let's throw it *all* away!
I would gladly throw python away if only ruby matched its performance.
On Jan 22, 3:48 pm, Wyatt Baldwin wyatt.lee.bald...@gmail.com wrote:
On Jan 22, 1:14 pm, Tycon adie...@gmail.com wrote:
This is another example of the flawed, broken code known as Paste.
Pylons should decouple itself
The easiest way to use any specific version of python (and any options
you need) is to explicitly invoke the python executable from the shell
(e.g. bash), for example:
$ python2.6 -3 $(which paster) serve development.ini
On Jan 22, 4:20 am, Gustavo Narea m...@gustavonarea.net wrote:
On
On Jan 22, 8:21 pm, Tycon adie...@gmail.com wrote:
I would gladly throw python away if only ruby matched its performance.
There's another option you may be interested, in case you haven't
heard of it: C. It's *very* fast.
On Jan 22, 3:48 pm, Wyatt Baldwin wyatt.lee.bald...@gmail.com wrote:
C is my expertise, but it can't match the productivity of python or
Ruby
Fortnately for C, it will always retain the performance crownm so it
will always have its uses
The same thing cannot be said for python. Once its performance is once
its performance is matched by a
better language such as
On Jan 22, 9:43 pm, Tycon adie...@gmail.com wrote:
C is my expertise, but it can't match the productivity of python or
Ruby
Fortnately for C, it will always retain the performance crownm so it
will always have its uses
The same thing cannot be said for python. Once its performance is once
19 matches
Mail list logo