Re: Python 3 support
Chris Lambacher <[email protected]> Wed, 30 Jan 2013 23:11:05 -0500
| Newsgroups | gmane.comp.python.formencode |
|---|---|
| Message-ID | <CAAXXHg+qQvjgdAzx483fHwpuwzUJRzCdwBtv2j6RE406wmVkxA@mail.gmail.com> |
--===============1032793832948688903== Content-Type: multipart/alternative; boundary=e89a8ff1c584d0eb2c04d48dd0f9 --e89a8ff1c584d0eb2c04d48dd0f9 Content-Type: text/plain; charset=UTF-8 Hi Christoph, After I put out the 1.2.5 release and created a branch for 1.2.x I started playing around with doing a Python 3 port. I tried to do it semi-automatically with python-modernize with the six and --compat-unicode options. It didn't even close to work cleanly and I was trying to work out how to get the meta class to work when I ran out of time. I've since seen some code that works on 2 & 3 that does the same thing I was trying to get to work so, I was on the right track. I *might* have some time in Feb to pick up on this. But if someone else wants to take a run at it that would be good. I didn't run the tests with the Python 3 warnings first so that might be a good first step (i.e. convert "except Invalid, e" to "except Invalid as e"). -Chris On Wed, Jan 30, 2013 at 7:22 PM, Christoph Zwerschke <[email protected]> wrote: > What is the current state of Python 3 support > (https://github.com/formencode/formencode/issues/2), > is anybody working on it? > > -- Christoph > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_jan > _______________________________________________ > FormEncode-discuss mailing list > FormEncode-discuss-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org > https://lists.sourceforge.net/lists/listinfo/formencode-discuss > -- Christopher Lambacher [email protected] --e89a8ff1c584d0eb2c04d48dd0f9 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div><div>Hi Christoph,<br><br></div>After I put out the 1= .2.5 release and created a branch for 1.2.x I started playing around with d= oing a Python 3 port. I tried to do it semi-automatically with python-moder= nize with the six and --compat-unicode options. It didn't even close to= work cleanly and I was trying to work out how to get the meta class to wor= k when I ran out of time. I've since seen some code that works on 2 &am= p; 3 that does the same thing I was trying to get to work so, I was on the = right track. I *might* have some time in Feb to pick up on this. But if som= eone else wants to take a run at it that would be good. I didn't run th= e tests with the Python 3 warnings first so that might be a good first step= (i.e. convert "except Invalid, e" to "except Invalid as e&q= uot;).<br> <br></div>-Chris<br></div><div class=3D"gmail_extra"><br><br><div class=3D"= gmail_quote">On Wed, Jan 30, 2013 at 7:22 PM, Christoph Zwerschke <span dir= =3D"ltr"><<a href=3D"mailto:[email protected]" target=3D"_blank">cito@onlin= e.de</a>></span> wrote:<br> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p= x #ccc solid;padding-left:1ex">What is the current state of Python 3 suppor= t<br> (<a href=3D"https://github.com/formencode/formencode/issues/2" target=3D"_b= lank">https://github.com/formencode/formencode/issues/2</a>),<br> is anybody working on it?<br> <br> -- Christoph<br> <br> ---------------------------------------------------------------------------= ---<br> Everyone hates slow websites. So do we.<br> Make your web apps faster with AppDynamics<br> Download AppDynamics Lite for free today:<br> <a href=3D"http://p.sf.net/sfu/appdyn_d2d_jan" target=3D"_blank">http://p.s= f.net/sfu/appdyn_d2d_jan</a><br> _______________________________________________<br> FormEncode-discuss mailing list<br> <a href=3D"mailto:FormEncode-discuss-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org">FormEncode-disc= [email protected]</a><br> <a href=3D"https://lists.sourceforge.net/lists/listinfo/formencode-discuss"= target=3D"_blank">https://lists.sourceforge.net/lists/listinfo/formencode-= discuss</a><br> </blockquote></div><br><br clear=3D"all"><br>-- <br>Christopher Lambacher<b= r><a href=3D"mailto:[email protected]">[email protected]</a> </div> --e89a8ff1c584d0eb2c04d48dd0f9-- --===============1032793832948688903== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_jan --===============1032793832948688903== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ FormEncode-discuss mailing list FormEncode-discuss-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/formencode-discuss --===============1032793832948688903==--