diamond is not py3k ready
See original GitHub issuepython3 setup.py build works fine but then running the result:
$ PYTHONPATH=build/lib/ python3 build/scripts-3.5/diamond
File "build/scripts-3.5/diamond", line 112
print "Diamond version %s" % (get_diamond_version())
^
SyntaxError: invalid syntax
this is likely just the tip of the iceberg, and there is more work to do to make diamond really py3k ready
Issue Analytics
- State:
- Created 8 years ago
- Comments:19 (12 by maintainers)
Top Results From Across the Web
What is the Diamond Problem in Python and why its not ...
This is not the diamond problem! The diamond problem occurs when two classes have a common ancestor, and another class has both those ......
Read more >[cctbxbb] Scons for python3 released
I am not sure why it would be a waste of time to use SCons3.0 with python3 as I think you are suggesting....
Read more >Diamond Price Regression Analysis
This Python 3 environment comes with many helpful analytics libraries ... 53940 non-null float64 6 price 53940 non-null int64 7 x 53940 non-null...
Read more >How to Print Diamond Pattern in Python
CODING CONCEPT (IN PYTHON 3) ... We will follow the following steps to make the diamond pattern : ... When done both we...
Read more >Load testing with Python. Locust for testing and Bokeh for ...
No need for clunky UIs or bloated XML, just plain code. LOCUST INSTALLATION. Locust requires Python 2.6+. It is not currently compatible with...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Python 2.7 is now EOL as well. I’m not sure if Diamond is even still maintained, but it seems like if this project is going to continue than py3 support is pretty much a necessity…
python 2.5/2.6 are dead, so keeping their compatibility (and doing so preventing “progress”) seems the wrong way for a python project.
other than then usual boilerplate of the advantage of py3k, it is anyway the future of the language and a huge amount of work has been done to allow developers to write code that could be executed -without any change- both in 2.7 and 3.3+
There might be also people that would like to only run python3 on their machine (Arch switched /usr/bin/python to python3 long time ago), and given it’s possible to extend with additional collectors, those might be easier written with a py3k-friendly syntax and/or you could gather more collaborations not closing that door in the code.
I wont use expressions like “0 value”/ no value, as it is discouraging and shortsighted.
thanks anyway for your attention