When using pickle with protocol 2 pickling a Storage object fails
This is caused by the __getattr__ getting called to find the
__getinitargs__ and __getnewargs__ methods. They dont exist in the
dictionary so consequently they return None. Pickle then calls the None
and consequently dies.
Imp
I have some code that works as follows
@cache('key', 60, cache_model=cache.ram)
@cache('key', 60, cache_model=cache.disk)
def f()
do stuff
return dict()
I do the dual cache thing since the ram cache is not shared between
processes that get spawned by Apache.
The recent changes to g
At present a cython compiled version of html.py is not possible due to
http://trac.cython.org/cython_trac/ticket/639
This means that you can't have functions with attributes.
in html.py the after the function definition for URL()
is closely followed by
URL.verify = verifyURL
This leads to a
Or even better
message="Sender's name: %(your_name)s\nSender's e-mail:
%(your_email)s\n\nHello World!..." % request.vars
Marius
Would there be merit in defining _id for a table schema where the
_primarykey list contains a single field
Doing this seems to allow SQLFORM.grid to behave as desired
I have a simple patch that seems to do this. I am not sure how this
affects insert performance etc
I had another problem with url argument handling that came in was
"/app/controller/function/arg1\r".
The default regex matching ( regex_args.match(request.raw_args( )) for
the arguments would return false and then the application would
respond with an "invalid request" error. It is not obvious f
Shouldn't we detect that? Possibly display a message like 'error
cannot write to filesystem'? I have been bitten by this one before on
a poorly configured shared hosting setup.
On Jan 6, 1:28 am, Massimo Di Pierro
wrote:
> You will not finding anything at tha apache log error. This is a
> web2py
7 matches
Mail list logo