wikitools icon indicating copy to clipboard operation
wikitools copied to clipboard

Python 3 support

Open jleclanche opened this issue 11 years ago • 7 comments

Python 3 support would be really nice...

jleclanche avatar Dec 15 '13 01:12 jleclanche

Yeah. You did a great job here. But Python 3 Support would be really nice <3

lotarso avatar May 31 '14 22:05 lotarso

Has anyone done an evaluation of what's needed? That would probably be a good first step. :-)

mzmcbride avatar Jun 02 '14 05:06 mzmcbride

When I tried to run it with only Python 3.3, incredible numbers of Python 2.x-style print statements came up as errors; that would be a good place to start.

enterprisey avatar Jun 07 '14 00:06 enterprisey

I tried to run it in my Python 3.4 virtualenv, with the following result:

Python 3.4.0 (default, Apr 11 2014, 13:05:11) 
[GCC 4.8.2] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import wikitools
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/fhocutt/MediaWiki-OPW/wikitools-python3/lib/python3.4/site-packages/wikitools/__init__.py", line 19, in <module>
    from wiki import *
ImportError: No module named 'wiki'

fhocutt avatar Jun 07 '14 00:06 fhocutt

I tried to translate it with 2to3 (https://docs.python.org/2/library/2to3.html) - I gave up :)

lotarso avatar Jun 07 '14 00:06 lotarso

Work started at https://github.com/alexz-enwp/wikitools/tree/py3

alexz-enwp avatar Dec 28 '14 20:12 alexz-enwp

still not supported after 3 years!!

maatyy avatar Nov 22 '17 10:11 maatyy