Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrating to Python3 #3

Closed
wants to merge 1 commit into from
Closed

Migrating to Python3 #3

wants to merge 1 commit into from

Conversation

ghost
Copy link

@ghost ghost commented Mar 30, 2014

Hi Matt,

I have made following modifications to support Python3. Please take note that they are not gonna work on Python2. To support both of them, personally, I have no idea either to have only one set of code with "if-else" all over the place or making extra effort supporting two set of code.

  • Modify PubChemPy to support Python3 (no backward compatibility with Python2).
  • Unit testing passed successfully.
  • Add IPython notebook based on unit testing.

I have converted console unit testing into IPython notebook. Following is the URL to view it on browser.

http://nbviewer.ipython.org/urls/raw.githubusercontent.com/ekaakurniawan/PubChemPy/master/PubChemPy.ipynb?create=1

Regards,
Eka A. Kurniawan

- Modify PubChemPy to support Python3 (no backward compatibility with
Python2).
- Unit testing passed successfully.
- Add IPython notebook based on unit testing.
@mcs07
Copy link
Owner

mcs07 commented Mar 31, 2014

Thanks, this looks great.

Although I would like to maintain Python 2.7 compatibility at least, so I will look into whether it will be feasible to support both simultaneously with one single codebase.

@mcs07
Copy link
Owner

mcs07 commented Mar 31, 2014

OK, I've made a few modifications to preserve Python 2.7 support, and now it looks like Python 2.7-3.4 are all supported.

I've merged the changes in pull request #4.

Thanks again!

@mcs07 mcs07 closed this Mar 31, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants