[rabbitmq-discuss] Codegen and Python 3.x (was: more complex java client examples)

Tony Garnock-Jones tonyg at lshift.net
Wed Feb 17 23:17:59 GMT 2010

Hi John,

On Sun, Feb 14, 2010 at 10:34 AM, John Apps <johndapps at gmail.com> wrote:
> Am I right in assuming that codegen.py requires Python 2.6 and NOT Python
> 3.1? The latter throws lots of syntax error messages, especially on the
> print statements as these do not use brackets "(".
> Or did I miss a qualifier when starting Python?

The codegen was written when 2.5 was all the rage and 3.0 was a faraway
dream. No-one has yet taken the time to investigate porting it forward,
so for now, please use a 2.x-series python with the simplejson module


More information about the rabbitmq-discuss mailing list