graphite-project/carbon — pull request #66 by JustinVenus (2013-01-30 07:28:52+00:00)
Title: Issue 61 (republishing) 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.