Codebase list python-amqp / 9f963bd
Imported Upstream version 1.4.6 SVN-Git Migration 8 years ago
8 changed file(s) with 51 addition(s) and 11 deletion(s). Raw diff Collapse all Expand all
33 py-amqp is fork of amqplib used by Kombu containing additional features and improvements.
44 The previous amqplib changelog is here:
55 http://code.google.com/p/py-amqplib/source/browse/CHANGES
6
7 .. _version-1.4.6:
8
9 1.4.6
10 =====
11 :release-date: 2014-08-11 06:00 P.M UTC
12 :release-by: Ask Solem
13
14 - Now keeps buffer when socket times out.
15
16 Fix contributed by Artyom Koval.
17
18 - Adds ``Connection.Transport`` attribute that can be used to specify
19 a different transport implementation.
20
21 Contributed by Yury Selivanov.
622
723 .. _version-1.4.5:
824
231247
232248 1.1.0
233249 =====
234 :release-date: 2012-11-08 10:36 P.M UTC
250 :release-date: 2013-11-08 10:36 P.M UTC
235251 :release-by: Ask Solem
236252
237253 - No longer supports Python 2.5
00 Metadata-Version: 1.1
11 Name: amqp
2 Version: 1.4.5
2 Version: 1.4.6
33 Summary: Low-level AMQP client for Python (fork of amqplib)
44 Home-page: http://github.com/celery/py-amqp
55 Author: Ask Solem
99 Python AMQP 0.9.1 client library
1010 =====================================================================
1111
12 :Version: 1.4.5
12 :Version: 1.4.6
1313 :Web: http://amqp.readthedocs.org/
1414 :Download: http://pypi.python.org/pypi/amqp/
1515 :Source: http://github.com/celery/py-amqp/
11 Python AMQP 0.9.1 client library
22 =====================================================================
33
4 :Version: 1.4.5
4 :Version: 1.4.6
55 :Web: http://amqp.readthedocs.org/
66 :Download: http://pypi.python.org/pypi/amqp/
77 :Source: http://github.com/celery/py-amqp/
1515 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
1616 from __future__ import absolute_import
1717
18 VERSION = (1, 4, 5)
18 VERSION = (1, 4, 6)
1919 __version__ = '.'.join(map(str, VERSION[0:3])) + ''.join(VERSION[3:])
2020 __author__ = 'Barry Pederson'
2121 __maintainer__ = 'Ask Solem'
161161 # Let the transport.py module setup the actual
162162 # socket connection to the broker.
163163 #
164 self.transport = create_transport(host, connect_timeout, ssl)
164 self.transport = self.Transport(host, connect_timeout, ssl)
165165
166166 self.method_reader = MethodReader(self.transport)
167167 self.method_writer = MethodWriter(self.transport, self.frame_max)
180180 ])
181181
182182 return self._x_open(virtual_host)
183
184 def Transport(self, host, connect_timeout, ssl=False):
185 return create_transport(host, connect_timeout, ssl)
183186
184187 @property
185188 def connected(self):
148148
149149 def read_frame(self, unpack=unpack):
150150 read = self._read
151 try:
152 frame_type, channel, size = unpack('>BHI', read(7, True))
151 read_frame_buffer = EMPTY_BUFFER
152 try:
153 frame_header = read(7, True)
154 read_frame_buffer += frame_header
155 frame_type, channel, size = unpack('>BHI', frame_header)
153156 payload = read(size)
157 read_frame_buffer += payload
154158 ch = ord(read(1))
155159 except socket.timeout:
160 self._read_buffer = read_frame_buffer + self._read_buffer
156161 raise
157162 except (OSError, IOError, socket.error) as exc:
158163 # Don't disconnect for ssl read time outs
00 Metadata-Version: 1.1
11 Name: amqp
2 Version: 1.4.5
2 Version: 1.4.6
33 Summary: Low-level AMQP client for Python (fork of amqplib)
44 Home-page: http://github.com/celery/py-amqp
55 Author: Ask Solem
99 Python AMQP 0.9.1 client library
1010 =====================================================================
1111
12 :Version: 1.4.5
12 :Version: 1.4.6
1313 :Web: http://amqp.readthedocs.org/
1414 :Download: http://pypi.python.org/pypi/amqp/
1515 :Source: http://github.com/celery/py-amqp/
33 py-amqp is fork of amqplib used by Kombu containing additional features and improvements.
44 The previous amqplib changelog is here:
55 http://code.google.com/p/py-amqplib/source/browse/CHANGES
6
7 .. _version-1.4.6:
8
9 1.4.6
10 =====
11 :release-date: 2014-08-11 06:00 P.M UTC
12 :release-by: Ask Solem
13
14 - Now keeps buffer when socket times out.
15
16 Fix contributed by Artyom Koval.
17
18 - Adds ``Connection.Transport`` attribute that can be used to specify
19 a different transport implementation.
20
21 Contributed by Yury Selivanov.
622
723 .. _version-1.4.5:
824
231247
232248 1.1.0
233249 =====
234 :release-date: 2012-11-08 10:36 P.M UTC
250 :release-date: 2013-11-08 10:36 P.M UTC
235251 :release-by: Ask Solem
236252
237253 - No longer supports Python 2.5