graphite-project/carbon — pull request #61 by JustinVenus (2013-01-16 21:01:01+00:00)
Title: python2.4 compatibility fix remove inlineCallbacks

The amqp code in carbon uses inlineCallbacks which relies on reentrant generators, a feature introduced in python2.5. This patch uses the more verbose (more lines of code to implement) deferredGenerator which effectively does the same thing as inlineCallbacks, but is also compatible with python2.4. This patch also has the side effect of allowing "setup.py bdist_rpm" to work on Centos/RHEL 5 without modification.

This patch would only be needed for as long as carbon supports python2.4.