| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|\ \
| | |
| | | |
Fix some issues in Python 3
|
| | | |
|
| | | |
|
| | | |
|
|\ \ \
| |/ /
|/| | |
Python3 unit tests
|
| | | |
|
| | | |
|
|\ \ \
| |/ /
|/| | |
Fixed broken build when using make
|
|/ / |
|
|\ \
| |/
|/| |
Add support of Python3
|
| | |
|
| | |
|
| |
| |
| |
| | |
This commit fixes crashes when librabbitmq is used in kombu.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
|/ |
|
|\
| |
| | |
Manylinux1 wheels
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use "make manylinux1", you need to have docker installed. The library is
not being imported correctly in Python 2.6 with this error:
+ /opt/python/cp26-cp26m/bin//python -c 'import librabbitmq'
Traceback (most recent call last):
File "<string>", line 1, in <module>
File
"/opt/python/cp26-cp26m/lib/python2.6/site-packages/librabbitmq/__init__.py",
line 7, in <module>
from amqp.protocol import queue_declare_ok_t
File
"/opt/python/cp26-cp26m/lib/python2.6/site-packages/amqp/__init__.py",
line 48, in <module>
from .basic_message import Message # noqa
File
"/opt/python/cp26-cp26m/lib/python2.6/site-packages/amqp/basic_message.py",
line 29, in <module>
from .serialization import GenericContent
File
"/opt/python/cp26-cp26m/lib/python2.6/site-packages/amqp/serialization.py",
line 34, in <module>
from .exceptions import FrameSyntaxError
File
"/opt/python/cp26-cp26m/lib/python2.6/site-packages/amqp/exceptions.py",
line 21, in <module>
from .five import python_2_unicode_compatible
File
"/opt/python/cp26-cp26m/lib/python2.6/site-packages/amqp/five.py", line
14, in <module>
import vine.five
File
"/opt/python/cp26-cp26m/lib/python2.6/site-packages/vine/__init__.py",
line 6, in <module>
from .abstract import Thenable
File
"/opt/python/cp26-cp26m/lib/python2.6/site-packages/vine/abstract.py",
line 7, in <module>
from .five import with_metaclass
File
"/opt/python/cp26-cp26m/lib/python2.6/site-packages/vine/five.py", line
230
def with_metaclass(Type, skip_attrs={'__dict__', '__weakref__'}):
^
SyntaxError: invalid syntax
Makefile:67: recipe for target 'manylinux1' failed
make: *** [manylinux1] Error 1
|
| |
|
|\
| |
| | |
Check if the return value is -1. If so, goto fail, which will invoke PyErr_Ocurred().
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
PyErr_Ocurred().
https://docs.python.org/2/c-api/int.html
https://docs.python.org/2/c-api/float.html
Somehow runnning PyErr_Ocurred() when no exception has been generated triggers an unknown thread state and
seg faults.
Again, I noticed this issue when trying to pass in a Python dictionary with integer/double values and seg faults.
|
|\ \
| | |
| | | |
Fix issues with hostname corruption when Python strings go out of scope.
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
RabbitMQ state object. However, once those arguments leave scope inside the
init() function, Python deallocates the memory.
If we want to keep references to them, we need to do custom malloc operations
to store them and deallocate them when we're no longer using the object.
I noticed this problem when putting a breakpoint on the
kombu/transport/librabbitmq.py establish_connection() and attempted to print
the Connection object. On multiple publishing, I noticed the Connection string
object corrupted, particularly the hostname.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
We can leverage RMQ extensions similar to https://github.com/ruby-amqp/bunny/tree/master/examples/connection and
https://github.com/ruby-amqp/bunny/blob/master/lib/bunny/session.rb#L56-65.
Add ability to set boolean parameters too.
Switching back to simply args.
Uses __init__() to pass in client_properties instead of the connect() parameter.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
PyErr_Ocurred().
https://docs.python.org/2/c-api/int.html
https://docs.python.org/2/c-api/float.html
Somehow runnning PyErr_Ocurred() when no exception has been generated triggers an unknown thread state and
seg faults.
|
| |
| |
| |
| |
| |
| | |
As I was trying to add AMQP extensions, I noticed that I couldn't pass in a dictionary with boolean types without adding support.
Add indent.
|
|\ \
| | |
| | | |
Update to correct submodule URL for rabbitmq-codegen.
|
| |/ |
|
| | |
|
| |
| |
| |
| | |
There're some issues related to Buildout having troubles installing librabbitmq: https://github.com/celery/librabbitmq/issues/61, https://github.com/celery/librabbitmq/issues/58
It seems that this simple change fixes it. Not the prettiest solution, but it works.
|
|\ \
| | |
| | | |
Typo in README
|
| | | |
|
|\ \ \
| | | |
| | | | |
Don't remove -Wall, since that can break compilation. Fixes #68
|
| |/ / |
|
| | |
| | |
| | | |
This fixes the remained of issues I had for Solaris
|
| | |
| | |
| | | |
Most important, must feed PY_SSIZE_T_CLEAN into Python.h for defs to work. Also added a cast to help warn of future changes that might break things.
|