From qiuyingbo at gmail.com Mon Apr 25 20:39:51 2016 From: qiuyingbo at gmail.com (qyb) Date: Tue, 26 Apr 2016 08:39:51 +0800 Subject: [Pymilter] Does anyone test pymilter on python3 or port it to python3? Message-ID: -------------- next part -------------- An HTML attachment was scrubbed... URL: From c at roessner.co Tue Apr 26 07:23:06 2016 From: c at roessner.co (=?utf-8?Q?Christian_R=C3=B6=C3=9Fner?=) Date: Tue, 26 Apr 2016 13:23:06 +0200 Subject: [Pymilter] Does anyone test pymilter on python3 or port it to python3? In-Reply-To: References: Message-ID: <84CACA1F-119E-42CA-B3BA-02E45EA01B2A@roessner.co> I would be interested for an answer as well :-) Concerning the python stuff, I could help porting it. I can not do this for the C part. I have some experience now with porting, using the future module. So most porting can be done by adding the from __future__ import foo stuff and from builtins import ... And using the new Py3 module names that are tracked by the future module. I already started porting the python code, but unfortunately the code is not formatted PEP8 style, so it is a lot of work right now to clean up the code. I use JetBrains PyCharm for makeing code Py2/3 compatible, as it has support for it. But unless the code is not PEP8 compliant, I get hundreds of warnings. But if I know that someone helps me with the C part, I would continue my efforts. Best wishes Christian ? Christian R??ner B.Sc. Erlenwiese 14, 36304 Alsfeld T: +49 6631 78823400, F: +49 6631 78823409, M: +49 171 9905345 USt-IdNr.: DE225643613, http://www.roessner-network-solutions.com -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 3032 bytes Desc: not available URL: