pysphere icon indicating copy to clipboard operation
pysphere copied to clipboard

Add support to python3

Open GoogleCodeExporter opened this issue 11 years ago • 7 comments

Fist make the python 2.X version as compatible as possible with python 3 (e.g. 
by modifying ZSI's object types comparisons with the isinstance built-in)

Then run 2to3 and add the necessary fixes

Original issue reported on code.google.com by [email protected] on 21 Mar 2012 at 5:35

GoogleCodeExporter avatar Apr 14 '15 07:04 GoogleCodeExporter

in r64: Some enhancements as a start to make the code python 3 compatible

Removed unused imports (in ZSI)
Removed dead code from ZSI

First changes to make pysphere python3 compatible:
 * replaced ZSI types verifications from type() to isinstance()
 * replaced dictionary calls to has_key() for "key in d"

Original comment by [email protected] on 26 Mar 2012 at 6:54

GoogleCodeExporter avatar Apr 14 '15 07:04 GoogleCodeExporter

Any update on when a python 3 version would be available?

Original comment by [email protected] on 7 Jun 2012 at 9:00

GoogleCodeExporter avatar Apr 14 '15 07:04 GoogleCodeExporter

Any information on the Python 3 support? Or maybe there has been some 
development done on "THE" python vsphere library...

Original comment by [email protected] on 15 Aug 2013 at 7:19

GoogleCodeExporter avatar Apr 14 '15 07:04 GoogleCodeExporter

I think we should support python 2.7.9 and python 3.4.2.. that is better

Original comment by [email protected] on 25 Dec 2014 at 3:02

GoogleCodeExporter avatar Apr 14 '15 07:04 GoogleCodeExporter

[deleted comment]

GoogleCodeExporter avatar Apr 14 '15 07:04 GoogleCodeExporter

Is a python 3.4 compatible version of pysphere available ? Any update on this 
would be of great help. We are working with Python 3.4 and cannot go back to 
Python 2.7. 

Original comment by [email protected] on 14 Apr 2015 at 6:39

GoogleCodeExporter avatar Apr 14 '15 07:04 GoogleCodeExporter

I tried to port pysphere for Python 3. Current version is in this branch. Please note that this version is not backward compatible with Python 2.

machalekj avatar Oct 24 '18 12:10 machalekj