You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "C:/Users/eandersson/Desktop/pika-master/test.py", line 7, in <module>
channel = connection.channel()
File "C:\Users\eandersson\Desktop\pika-master\pika\adapters\blocking_connection.py", line 195, in channel
self._channels[channel_number] = BlockingChannel(self, channel_number)
File "C:\Users\eandersson\Desktop\pika-master\pika\adapters\blocking_connection.py", line 452, in __init__
super(BlockingChannel, self).__init__(connection, channel_number)
File "C:\Users\eandersson\Desktop\pika-master\pika\channel.py", line 77, in __init__
self._cancelled = collections.deque(list(), maxlen=10)
TypeError: deque() does not take keyword arguments
Possible solutions
First one way could cause unexpected behavior under Jython.
There is unfortunately another issue with Jython that I missed when submitting the previous fixes in #440, related to Issue #370.
Caused by this bug in Jython http://bugs.jython.org/issue1949
Traceback
Possible solutions
First one way could cause unexpected behavior under Jython.
Second one would need to be wrapped around any append call and make it difficult to maintain the code.
Third one would need to cover all options adding to the dequeue, but most likely be the cleanest solution.
The text was updated successfully, but these errors were encountered: