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

Python3 compatibility fixes #284

Merged
merged 33 commits into from
Aug 6, 2017
Merged

Commits on Sep 7, 2016

  1. Python 3 compatibility

    * print should now be functions instead of statements
    * raises should now respect the new syntax
    * "<>" operator was replaced by "!="
    jmdeschenes committed Sep 7, 2016
    Configuration menu
    Copy the full SHA
    f30695d View commit details
    Browse the repository at this point in the history
  2. Python 3 compatibility

    * Fixed tuple unpacking issues
    * replaced has_key with "in" syntax
    * exec is now a function instead of a statement
    jmdeschenes committed Sep 7, 2016
    Configuration menu
    Copy the full SHA
    a0b54f2 View commit details
    Browse the repository at this point in the history
  3. Python 3 compatibility

    * Fixed __metaclass__ compatibility using six.add_metaclass
    jmdeschenes committed Sep 7, 2016
    Configuration menu
    Copy the full SHA
    c05e2c4 View commit details
    Browse the repository at this point in the history
  4. Python 3 Compatibility

    * replaced xrange by six.moves.range
    jmdeschenes committed Sep 7, 2016
    Configuration menu
    Copy the full SHA
    0287cad View commit details
    Browse the repository at this point in the history
  5. Python 3 compatibility

    * Fixed tuple unpacking issues
    * Fixed izip issues using six
    jmdeschenes committed Sep 7, 2016
    Configuration menu
    Copy the full SHA
    9838127 View commit details
    Browse the repository at this point in the history
  6. Python 3 compatibility

    * Replaced self.assert_ with self.assertTrue
    jmdeschenes committed Sep 7, 2016
    Configuration menu
    Copy the full SHA
    1fb7e72 View commit details
    Browse the repository at this point in the history
  7. Python 3 compatibility

    * Fixed several non-trivial list vs iterables in kiva
    jmdeschenes committed Sep 7, 2016
    Configuration menu
    Copy the full SHA
    2cd1509 View commit details
    Browse the repository at this point in the history
  8. Python 3 compatibility

    * Fixed several non-trivial list vs iterables in enable
    jmdeschenes committed Sep 7, 2016
    Configuration menu
    Copy the full SHA
    67f76f3 View commit details
    Browse the repository at this point in the history
  9. Python 3 compatibility

    * Fixed reduce function using six
    * Fixed a few other issues not seen previously
    jmdeschenes committed Sep 7, 2016
    Configuration menu
    Copy the full SHA
    903f48b View commit details
    Browse the repository at this point in the history
  10. Python 3 compatibility

    * fixed unicode and unichr calls
    jmdeschenes committed Sep 7, 2016
    Configuration menu
    Copy the full SHA
    c1f66e0 View commit details
    Browse the repository at this point in the history
  11. Python 3 compatibility

    * Fixed StringIO with six
    jmdeschenes committed Sep 7, 2016
    Configuration menu
    Copy the full SHA
    f950f42 View commit details
    Browse the repository at this point in the history

Commits on Sep 8, 2016

  1. Python 3 compatibility

    * Fixed imports
    * Fixed some StringIO that were missed in the initial pass
    * Some string fixes
    jmdeschenes committed Sep 8, 2016
    Configuration menu
    Copy the full SHA
    d43a075 View commit details
    Browse the repository at this point in the history
  2. Python 3 compatibility

    * Fixed issues with basestring
    * fixed issues with long
    jmdeschenes committed Sep 8, 2016
    Configuration menu
    Copy the full SHA
    3aebe74 View commit details
    Browse the repository at this point in the history
  3. Python 3 compatibility

    * Some fixes with import *
    jmdeschenes committed Sep 8, 2016
    Configuration menu
    Copy the full SHA
    c9e571b View commit details
    Browse the repository at this point in the history

Commits on Sep 9, 2016

  1. Python 3 compatibility fixes

    Solved some issues while running unit test.
    jmdeschenes committed Sep 9, 2016
    Configuration menu
    Copy the full SHA
    9acbd4d View commit details
    Browse the repository at this point in the history

Commits on Jan 9, 2017

  1. Fixed issues with python 3 string in font_manager

    Jean-Mathieu Deschenes committed Jan 9, 2017
    Configuration menu
    Copy the full SHA
    efbae1e View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2017

  1. Extra modifications

    Jean-Mathieu Deschenes committed Jul 19, 2017
    Configuration menu
    Copy the full SHA
    6b62549 View commit details
    Browse the repository at this point in the history

Commits on Jul 20, 2017

  1. Merge branch 'master' into test

    # Conflicts:
    #	enable/savage/compliance/comparator.py
    #	enable/savage/compliance/viewer.py
    #	enable/savage/svg/attributes.py
    #	enable/savage/svg/css/colour.py
    #	enable/savage/svg/document.py
    #	enable/savage/svg/tests/test_document.py
    #	enable/savage/trait_defs/ui/qt4/svg_editor.py
    #	kiva/agg/src/graphics_context.i
    #	kiva/fonttools/fontTools/misc/textTools.py
    #	kiva/fonttools/fontTools/ttLib/__init__.py
    #	kiva/fonttools/fontTools/ttLib/macUtils.py
    #	kiva/fonttools/fontTools/ttLib/sfnt.py
    #	kiva/fonttools/fontTools/ttLib/tables/DefaultTable.py
    #	kiva/fonttools/fontTools/ttLib/tables/__init__.py
    #	kiva/fonttools/fontTools/ttLib/tables/_n_a_m_e.py
    #	kiva/fonttools/font_manager.py
    #	kiva/fonttools/misc/textTools.py
    #	kiva/pdfmetrics.py
    #	kiva/ps.py
    #	kiva/quartz/setup.py
    #	kiva/svg.py
    #	kiva/tests/test_macport.py
    #	setup.py
    Jean-Mathieu Deschenes committed Jul 20, 2017
    Configuration menu
    Copy the full SHA
    dc2e3e6 View commit details
    Browse the repository at this point in the history

Commits on Jul 23, 2017

  1. Configuration menu
    Copy the full SHA
    58a690d View commit details
    Browse the repository at this point in the history

Commits on Jul 24, 2017

  1. Several fixes for py3

    jdeschenes committed Jul 24, 2017
    Configuration menu
    Copy the full SHA
    2a7983e View commit details
    Browse the repository at this point in the history
  2. All unit tests passes.

    jdeschenes committed Jul 24, 2017
    Configuration menu
    Copy the full SHA
    fd4fd79 View commit details
    Browse the repository at this point in the history

Commits on Jul 25, 2017

  1. Configuration menu
    Copy the full SHA
    fc07976 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7bda4f8 View commit details
    Browse the repository at this point in the history
  3. Small corrections.

    jdeschenes committed Jul 25, 2017
    Configuration menu
    Copy the full SHA
    b015584 View commit details
    Browse the repository at this point in the history

Commits on Jul 26, 2017

  1. From comments of @jwiggins, there were extra parenthesis.

    Jean-Mathieu Deschenes committed Jul 26, 2017
    Configuration menu
    Copy the full SHA
    1967c3c View commit details
    Browse the repository at this point in the history

Commits on Jul 27, 2017

  1. Changes from @jwiggins comments.

    * Removed unused imports
    * Changed six.u to six.text_type
    * Replaced call with a dictionary comprehension in drawer.py
    * Fixed an an issue with a callable in svg_regex.py
    * Removed sm.zip in favour of the builtin function
    * Changed print("") to print()
    * Removed a pix_format keyword call.
    
    Still missing:
    
    * Corrections for itervalues, iterkeys and iteritems
    * Some clarifications for the comments that were written
    * `pdfmetrics.parseAFMFile`
    jdeschenes committed Jul 27, 2017
    Configuration menu
    Copy the full SHA
    e0453eb View commit details
    Browse the repository at this point in the history

Commits on Aug 1, 2017

  1. Configuration menu
    Copy the full SHA
    412b479 View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2017

  1. Changes from @jwiggins comments.

    * Added a test for the `test_draw_24`
    * Fixed an import error in cairo.py
    * Removed changes from tohtml.py
    * Removed reference of CP Trac #2111 in comments
    * Fixed issue in function parseAFMFile
    * Added very preliminary test for parseAFMFile
    jdeschenes committed Aug 2, 2017
    Configuration menu
    Copy the full SHA
    dffcaa5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a8e9605 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'master' into python3_compat

    # Conflicts:
    #	enable/qt4/base_window.py
    #	enable/wx/base_window.py
    jdeschenes committed Aug 2, 2017
    Configuration menu
    Copy the full SHA
    7afc595 View commit details
    Browse the repository at this point in the history
  4. Forgot one iteritems

    jdeschenes committed Aug 2, 2017
    Configuration menu
    Copy the full SHA
    e3830f0 View commit details
    Browse the repository at this point in the history

Commits on Aug 3, 2017

  1. Another round of comments from @jwiggins

    * Removed unused imports
    * added `from __future__ import print_function` in tohtml.py
    * fixed syntax error in vu_meter.py
    Jean-Mathieu Deschenes committed Aug 3, 2017
    Configuration menu
    Copy the full SHA
    4ea95a5 View commit details
    Browse the repository at this point in the history

Commits on Aug 6, 2017

  1. Configuration menu
    Copy the full SHA
    812b243 View commit details
    Browse the repository at this point in the history