Re: Python 3.4 StandardError problem

Aahz <[email protected]>
Newsgroups gmane.text.docutils.user
Organization The Cat & Dragon
Message-ID <[email protected]>
On Tue, Jun 02, 2015, Vladimir Prus wrote:
> 
> I'm trying to use docutils on Windows, with Python 3.4, and I get an error like this:
> 
> Traceback (most recent call last):
>    File "C:/Users/Vladimir/Local/docutils-0.12/tools/rst2html.py", line 17, in <module>
>      from docutils.core import publish_cmdline, default_description
>    File "C:\Users\Vladimir\Local\docutils-0.12\docutils\__init__.py", line 68, in <module>
>      class ApplicationError(StandardError):
> NameError: name 'StandardError' is not defined

This looks like an improper 2to3 conversion:

https://docs.python.org/3/library/2to3.html#2to3fixer-standarderror

I haven't really used Python3 yet, so I have no idea what's going on,
just felt like testing my research skills.  ;-)
-- 
Aahz ([email protected])           <*>         http://www.pythoncraft.com/

"Times are bad.  Children no longer obey their parents, and everyone is
writing a book."  --Cicero

------------------------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.