I think i've found the solution in the doc, but then there is an issue
in the doc :
http://code.google.com/appengine/docs/memcache/overview.html
# Atomically increment an integer value.
memcache.set(key="counter", 0) and it should be :
memcache.set(key="counter", str(0)) ?
Regards
--------
incr(key, delta=1)
Atomically increments a key's value. Internally, the value is a
unsigned 64-bit integer. Memcache doesn't check 64-bit overflows. The
value, if too large, will wrap around.
The key must already exist in the cache to be incremented. To
initialize a counter, set() it to the initial value, as an ASCII
decimal integer. Future get()s of the key, post-increment, will still
be an ASCII decimal value.
-----------------