ebin123456 / py-amqplib

Automatically exported from code.google.com/p/py-amqplib
GNU Lesser General Public License v2.1
0 stars 0 forks source link

method_framing.py & serialization.py have syntax errors with Python 3.1.1 #12

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Which version of amqplib are you using? 0.8

Have you checked to see if there is a newer version in the "Featured
Downloads" section of the front page of this project? No.

Which broker are you using (RabbitMQ?) which version? 1.7.0

Which version of Python? 3.1.1

What steps will reproduce the problem?
1. run setyp.py install
2. flags the files method_framing.py and serialization.py
3.

What is the expected output? What do you see instead?
I expected to see the build complete, which it did after I modified the two 
source files.

Please provide any additional information below.

changed Exception, e to read (Exception, e) in method_framing.py
changed print hex to print (hex) in serialization.py

Original issue reported on code.google.com by JohnDA...@gmail.com on 25 Jan 2010 at 2:09

GoogleCodeExporter commented 9 years ago
Any plans to have this running on py3?

Original comment by dusan.ma...@gmail.com on 21 Feb 2011 at 1:46

GoogleCodeExporter commented 9 years ago
Yes, I think Python 3.x compatibility would be very desirable, and will work on 
it.

Original comment by barry.pe...@gmail.com on 28 Mar 2011 at 6:17

GoogleCodeExporter commented 9 years ago
Issue 20 has been merged into this issue.

Original comment by barry.pe...@gmail.com on 28 Mar 2011 at 6:17

GoogleCodeExporter commented 9 years ago
I believe Python 3.x compatibility is working pretty decently as of revision 
26498aaf72e4 

Running "setup.py install" with a Python 3.x should automatically run the 2to3 
translation utility and give you something that passes the unittests (which 
also need to be run through 2to3).  The simple demo programs are bilingual and 
run on either Python series without translation.

Original comment by barry.pe...@gmail.com on 29 Mar 2011 at 5:27