Hi,

On Sat, Feb 26, 2011 at 6:23 AM, Pauli Virtanen <p...@iki.fi> wrote:
> On Sat, 26 Feb 2011 07:29:55 -0500, Michael Droettboom wrote:
> [clip]
>> Yes.  The minimum version for this Python 3.x compatibility work is
>> Python 2.6.  Anything earlier is just insane ;)
>
> Out of curiosity: did you consider using a single source tree for Python
> 2.x and 3.x, rather than a separate branch; providing Python 3 support by
> running 2to3 on build stage and #ifdef's + compatibility headers in C
> code?
>
> This approach allowed Numpy to support Pythons down to 2.4 with little
> extra work, and requires manual Python 3 specific fixes only when
> something breaks (which does not seem to occur often in practice).

I haven't done any Py3k porting.

I saw you (Pauli) doing the numpy and scipy ports using the same
codebase / 2to3 strategy, and that you were pleased with the results
(and it worked...).

IIRC the nose testing framework had a py3k branch that got very stale,
and they finally got there by dumping the py3k branch and using 2to3
on the same source tree.

See you,

Matthew

------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to