From: Yuri T. <qar...@gm...> - 2008-12-04 22:50:51
|
> Nice :) What about adding version check ? Something like this: > > if sys.version >= "3.0": > from html import entities as htmlentitydefs > else: > import htmlentitydefs We shouldn't _have_ to do that, but works for now. I also realized that "para-with-hr" already fails, so the new problem is just limited to test-markdown.py. (Test-markdown.py fails in python 3.0 when it tries to save diff for a failed test.) So, with the most recent commit (cd73ef7), all you have to do is run 2to3 on "markdown", "markdown.py" and (optionally) "test-markdown.py". - yuri -- http://sputnik.freewisdom.org/ |