Permalink
Commits on Feb 9, 2018
  1. Added constant for default tube name (#72)

    svisser authored and earl committed Feb 7, 2018
    This can be useful for applications that need to watch other tubes and ignore beanstalkd's "default" tube
Commits on Aug 31, 2016
  1. Update copyright

    earl committed Aug 31, 2016
Commits on May 11, 2015
  1. Add a basic "binary data" example / doctest

    earl committed May 10, 2015
    Note that this does _not_ demonstrate or test for full 8-bit
    transparency across implementations. (beanstalkc-to-beanstalkc could
    still easily pass this by using a fully revertible internal encoding.)
    
    However, this example should already be sufficient to illustrate a
    design issue for beanstalkc Python 3 adaptations. It should also be a
    good additional sanity check (even when ignoring 8-bit transparency), as
    the length of the job data in Unicode codepoints no longer equals the
    length in bytes after encoding via e.g. UTF-8:
    
        >>> data = '\x00\x01\xfe\xff'
        >>> len(data)
        4
        >>> len(data.encode('utf-8'))
        6
  2. Cosmetics

    earl committed May 11, 2015
Commits on May 10, 2015
  1. Minor doctest cosmetics

    earl committed May 10, 2015
  2. Make the tests work with python 3

    seveas authored and earl committed Feb 7, 2015
    - Use print(), not print
    - Use IGNORE_EXCEPTION_DETAIL to make exception testing tests not fail.
      In python 3, you would see 'beanstalkc.CommandFailed' instead of
      'CommandFailed', this option makes tests pass regardless.
    
    Tested with python 2.7 and python3.
  3. Make exception handling compatible with python 2.4-3.5

    seveas authored and earl committed Feb 7, 2015
    Not using the 'as' syntax, but calls to sys.exc_info is compatible with
    python 2.4 and newer (maybe older as well, but I don't have one
    available for testing). Tested on 2.4, 2.7 and 3.4.
Commits on Dec 7, 2014
  1. Add context handlers to Connection()

    twinshadow authored and earl committed Jan 16, 2014
Commits on Sep 6, 2014
  1. Merge pull request #53 from svisser/patch-1

    earl committed Sep 6, 2014
    Update Travis to use Beanstalkd 1.10
Commits on Jul 24, 2014
Commits on Jun 22, 2014
  1. Cosmetics: formatting

    earl committed Jun 22, 2014
  2. Formatting: fix PEP-8 violations

    earl committed Jun 22, 2014
    Thanks to Guo Jing for pointing out the improper indendation of the
    hanging indent.
Commits on Mar 2, 2014
  1. Release beanstalkc 0.4.0

    earl committed Mar 2, 2014
Commits on Jan 15, 2014
  1. Merge pull request #41 from Doerge/put_fix

    earl committed Jan 15, 2014
    Changed expected responses and errors for put(..)
Commits on Jan 14, 2014
Commits on Jul 31, 2013
  1. Merge pull request #35 from Doerge/socketclose_fix

    earl committed Jul 31, 2013
    Wrap socket#close in its own try-except
Commits on Jul 27, 2013
  1. Wrapped _socket.close in its own try-except.

    Doerge committed Jul 27, 2013
    Fixes the bug described in Issue #34 in beanstalkc:
    #34
Commits on Jun 5, 2013
  1. Fix typo in tutorial

    earl committed Jun 5, 2013
Commits on Jun 4, 2013
Commits on Jan 31, 2013
  1. Link from README to TUTORIAL

    earl committed Jan 31, 2013
Commits on Jan 28, 2013
  1. Update docstring to accurately reflect protocol

    Kyle Jones
    Kyle Jones committed Jan 28, 2013
Commits on Jan 9, 2013
  1. Test with custom-built beanstalkd 1.8 on Travis CI

    earl committed Jan 8, 2013
    Our testsuite tests features only available with beanstalkd 1.8+. To
    make this dependency explicit, we now build beanstalkd from source on
    Travis CI instead of relying on on distro-provided packages.
Commits on Jan 8, 2013
  1. Minor documentation cleanups

    earl committed Jan 8, 2013
  2. Fix doctest for Job.kick

    earl committed Jan 8, 2013