cvs commit: ports/databases/py-memcached Makefile distinfo

Sunpoet Po-Chuan Hsieh sunpoet at
Wed Feb 1 18:52:59 UTC 2012

sunpoet     2012-02-01 18:52:58 UTC

  FreeBSD ports repository

  Modified files:
    databases/py-memcached Makefile distinfo 
  - Update to 1.48
  - Take maintainership
  - Bug #745633: Values of maximum size are not stored API inconsistency, max
    value length was tested for <= while max KEY length was <. So I picked that
    keys and values *LONGER* than the specified max value are what is used, and
    added documentation and tests to that effect. The test for max value tested
    that length plus 4, so I've changed that to be that value plus 1. Issue found
    by matt-quru.
  - Bug #713488: Issues Invalid "delete" command. Protocol has changed so that the
    "delete" operation no longer takes a "time" argument. It seems that some
    servers will refuse a "delete key 0" while others will accept it, but the
    official server will NOT accept "delete key 1". So I've changed it so that if
    no "time" argument is specified, no time argument is sent to the server.
  - Bug #713451: server.expect("END") needs to be in a finally block Expect an
    "END" when the _recv_value() raises an exception.  Patch by Jay Farrimond.
  - Bug: #741090: cas cache can grow unbounded.  Default now is that the cache is
    not used, unless the "Client()" object is created with "cache_cas=True".  In
    that case, you need to have your own cas clearing code, a simple one would be
    to use Client().reset_cas() to completely clear the cas_ids cache.  Problem
    pointed out by Shaun Cutts.
  - Bug #728359: Make python-memcache work on memcache restarts.  Patch by Tarek
    Ziade', reviewed and further patches submitted by Hugo Beauze'e-Luysse and
    Neganov Alexandr.
  - Bug #798342: If memcached server sends unknown flag in response for "get",
    results in: "UnboundLocalError: local variable 'val' referenced before
    assignment" Now returns "None" instead.  Patch by Sharoon Thomas
  Revision  Changes    Path
  1.17      +4 -3      ports/databases/py-memcached/Makefile
  1.16      +2 -2      ports/databases/py-memcached/distinfo

More information about the cvs-ports mailing list