Chandra-MARX / marxs

Multi-Architecture-Raytrace-Xraymission-Simulator
http://marxs.readthedocs.io/en/latest/
GNU General Public License v3.0
6 stars 9 forks source link

Remove python 2 support #65

Closed hamogu closed 6 years ago

hamogu commented 8 years ago

This includes:

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.

hamogu commented 7 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.

hamogu commented 6 years ago

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.

hamogu commented 6 years ago

Other changes: standard dicts now preserve order, no need for ordered dict any longer...