pkgsrc-WIP-cvs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: wip/py-amqplib



Module name:    wip
Committed by:   othyro
Date:           Sat Sep 21 12:13:58 UTC 2013

Modified Files:
        wip/py-amqplib: Makefile PLIST distinfo

Log Message:
Update to latest release. This is ready for import after the freeze and
is needed since the newest release of py-kombu depends on it.

CHANGES
--------
Version 1.0.2

    Fix a packaging problem for Windows users, no changes
    to the actual Python code.

Version 1.0.1

    A one-line change to transport.py to fix a problem older
    FreeBSDs have with socket.getaddrinfo()

    Otherwise just packaging changes to include more Trove
    classifiers and docs/tests/etc in the source distribution file.

Version 1.0.0

    Big speedup for sending large messages.  For example, sending
    a single 100MB message on my machine goes from 90 seconds to
    around 0.6 seconds.

    Use setuptools if available, for enhanced functionality
    for packagers.

    Raise a ValueError if unserializable objects are present in
    a Message's application_headers, instead of just quietly failing
    and causing a connection to close.

    Message objects can now be pickled/unpickled, previously unpickling
    raised a RuntimeError: maximum recursion depth exceeded

    PYTHON 3.x COMPATIBILITY

        Code has been tweaked so that when 2to3 is run over the client
        library and the unittests, the unittests will pass for Python
        3.0, 3.1 and 3.2

        There are some subtle behavioral changes to deal with how Python
        3.x needs to encode/decode strings and they go/come over the
        wire.  Message bodies are encoded at transmission time, instead
        of Message object creation time.  Message application_header
        strings are assumed to be encoded as UTF-8

    Add support for queue_unbind, since RabbitMQ supports it as an extension
    to the 0-8 protocol.

    Add IPv6 support.  The client uses socket.getaddrinfo(), so you can use
    domain names with AAAA DNS records, or IPv6 literal addresses.  If you
    need to specify a port number along with a literal address, put the
    address in square brackets (see RFC 2732), for example:
        [::1]:5672

    Some minor TCP changes, enabling keepalive, NODELAY (big speed
    improvement there), shutting down sockets before closing to keep from
    losing data (on Windows mainly?)

Version 0.6.1

    One minor change to watch out for is that low-level errors
    such as a closed connection now appear as IOExceptions
    instead of

        TypeError: 'NoneType' object is not iterable

    which never really explained anything.

    Fix potential problem with library getting stuck in a loop
    if the peer closed the socket.  Also, break a few more references
    when closing Connections and Channels, to help garbage collection.
    Thanks for majek04@... for pointing these out.

    Add support for using Connection and Channel objects as context
    managers for 'with' statements (available in Python >= 2.5), so you
    can write code like:

        with Connection() as conn:
            with conn.channel() as ch:
                # do stuff with ch and conn

    and have the Channel and Connection objects closed automatically
    when the blocks exit.


To generate a diff of this commit:
cvs -z3 rdiff -u -r1.1.1.1 -r1.2 wip/py-amqplib/distinfo
cvs -z3 rdiff -u -r1.2 -r1.3 wip/py-amqplib/PLIST
cvs -z3 rdiff -u -r1.4 -r1.5 wip/py-amqplib/Makefile

To view a diff of this commit:
http://pkgsrc-wip.cvs.sourceforge.net/pkgsrc-wip/wip/py-amqplib/distinfo?r1=1.1.1.1&r2=1.2
http://pkgsrc-wip.cvs.sourceforge.net/pkgsrc-wip/wip/py-amqplib/PLIST?r1=1.2&r2=1.3
http://pkgsrc-wip.cvs.sourceforge.net/pkgsrc-wip/wip/py-amqplib/Makefile?r1=1.4&r2=1.5

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/22/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=64545871&iu=/4140/ostg.clktrk
_______________________________________________
pkgsrc-wip-cvs mailing list
pkgsrc-wip-cvs%lists.sourceforge.net@localhost
https://lists.sourceforge.net/lists/listinfo/pkgsrc-wip-cvs


Home | Main Index | Thread Index | Old Index