On Oct 26, 5:20 pm, Georg Brandl <ge...@python.org> wrote:
> Am 26.10.2010 17:00, schrieb SHIBUKAWA Yoshiki:
> > Hi,
>
> > I'd like to create patch for Internationalization feature for 1.1
> > (http://sphinx.pocoo.org/latest/intl.html).
>
> > I tried this feature but the result catalog file's contents are shuffled.
> > Because 'gettext' builder stores catalog items into dict and generates.
> > This feature will become excellent behavior if replace dict to OrderedDict.
> > But OrderedDict available only on 2.7 or 3.2.
>
> > I have two options to create patch.
>
> > 1. add dependency tohttp://pypi.python.org/pypi/ordereddict/and use it.
> > 2. add ordereddict class to sphinx.util.compat.
>
> > Which option is better?
>
> > I hope this feature because I translated many document/books via Sphinx.
>
> Hi,
>
> this feature is indeed a good idea.  For such a small and stable module as
> ordereddict, I prefer not having an additional dependency, but to add it
> as a single new module, e.g. sphinx.util.ordereddict.

I guess you should only import the sphinx.util version if the user
hasn't got Python 2.7/3.2 though?

Matt

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-dev" group.
To post to this group, send email to sphinx-...@googlegroups.com.
To unsubscribe from this group, send email to 
sphinx-dev+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sphinx-dev?hl=en.

Reply via email to