Closed hamogu closed 6 years ago
One big hurdle is that mayavi, the default plotting package is not available on python3 yet. MARXS runs independent of that, but it is so much more useful it it's available.
Introduction of new language features (f string, a @ b
, super
does not require arguments any longer) can happen gradually when work on a specific module is done. No need to edit everything right now since the old version are still valid. The same is true for type annotations. They can be added as needed instead of one big editing effort to get them all in at once.
Other changes: standard dicts now preserve order, no need for ordered dict any longer...
This includes:
six
and fix to python 3np.dot(a, b)
toa @ b
for code readabilityIGNORE_OUTPUT
with marks doctests that have different output on 2 and 3PY2
orPY3
and delete special cases.This issue will at least stay open, until the astropy infrastructure has support for running doctests in rst files. It is more important to test those to make sure they are up do date then to increase the code readability somewhat by saving a few lines.