2013/1/7 Lars Buitinck <[email protected]>:
> 2013/1/7 Andreas Mueller <[email protected]>:
>> Could we maybe set up a short wiki page explaining how to work on py3k
>> support?

In my branch, I got rid of the 2to3 translation in the top level
setup.py file, then added six [1] in sklearn.external and then
iteratively launched the build_ext --inplace + tests under python 3.2
(at the time, now we can focus on 3.3), spotted the most common
failures, devise a bunch of "sed" commands to apply en-masse + vim
macros and finally manual editiong + git diff quick check, then
iterate.

Read this first:
http://docs.python.org/dev/howto/pyporting.html#try-to-support-python-2-6-and-newer-only

and maybe http://docs.python.org/dev/howto/pyporting.html as a whole
to get the global picture.

It's tedious but not very complicated. Try to have a quick glance at
my commits in:

https://github.com/ogrisel/scikit-learn/commits/py3k

to get a feel of the work to do.

[1] http://packages.python.org/six/

--
Olivier
http://twitter.com/ogrisel - http://github.com/ogrisel

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
_______________________________________________
Scikit-learn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to