disqus / python-phabricator

Python bindings for Phabricator
Apache License 2.0
159 stars 66 forks source link

Python 3 support #18

Closed FinnG closed 8 years ago

FinnG commented 9 years ago

I'd quite like to use this module with python 3, but there isn't support:

gfg@marty ~/Personal/git/python-phabricator $ ipython3
Python 3.3.2+ (default, Feb 28 2014, 00:52:16) 
Type "copyright", "credits" or "license" for more information.

IPython 0.13.2 -- An enhanced Interactive Python.
?         -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help      -> Python's own help system.
object?   -> Details about 'object', use 'object??' for extra details.

In [1]: import phabricator
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-1-e23a3ad0eef6> in <module>()
----> 1 import phabricator

/home/gfg/Personal/git/python-phabricator/phabricator/__init__.py in <module>()
     17 import copy
     18 import hashlib
---> 19 import httplib
     20 import json
     21 import os.path

ImportError: No module named 'httplib'

In [2]: 
EClaesson commented 9 years ago

I have a Python 3 port over here: https://github.com/Konvexum/python-phabricator3

BYK commented 8 years ago

This is done on master now and we are planning to release 0.6.0 soon with Python 3 support.