On Monday, April 15, 2013 2:08:26 PM UTC-5, Edward K. Ream wrote:

Leo will load docutils from leo/extensions if an initial import of docutils 
> fails.


This is turning into quite a project.  The present trunk code suffices to 
print the F1 message, and other help messages, but the code fails *many* 
unit tests.  This is not a proper long-term solution.  Instead, I must 
begin the port afresh and use a more automated approach.

My initial porting efforts were useful.  I've learned about docutils, its 
unit tests, and also 2to3.  I've even written a prototype for an enhanced 
--fix=imports fixer that will add *both* python 2 and 3 imports.  This 
could be a crucial part of creating a unified code base.

Unicode handling is a vital part of docutils, as I discovered as I watched 
many of docutils 1200+ unit tests failing :-)  Alas, a vital unicode 
consistency check in docutils/utils/punctuation_chars.py fails on Windows.  
I've just asked the docutils-dev group about this.  See: 
http://news.gmane.org/gmane.text.docutils.devel

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/leo-editor?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to