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

CLN/ENH/BLD: Remove need for 2to3 for Python 3. #4384

Merged
merged 11 commits into from Jul 29, 2013

Commits on Jul 29, 2013

  1. CLN: Newer syntax, unicode, iterator range, zip, etc

    Use new syntax ('except as', print as function, new raise syntax, next
    function rather than method, next and __next__ defined throughout,
    switchout xrange, etc.)
    
    Now range is always equivalent to 2.X xrange throughout (but need to
    import range from py3compat to use it). Also remove range fixer from
    setup.py. + compatible long and string types, etc.
    jtratner committed Jul 29, 2013
    2
    Copy the full SHA
    6c304c7 View commit details
    Browse the repository at this point in the history
  2. TST/ENH: Add assert_isinstance util to util/testing + better type che…

    …cking
    
    cleanup instance checks in pandas/tests, add assert_isinstance method
    
    CLN: assert_(isinstance --> assert_isinstace
    
    Make is_instance_factory cleaner + basestring --> (str, bytes)
    
    use list(range in pytables tests
    
    make _WINDOW_TYPES update 2/3 compatible
    jtratner committed Jul 29, 2013
    Copy the full SHA
    434f26b View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    a038653 View commit details
    Browse the repository at this point in the history
  4. CLN: Py2/3-compatible dict keys/items/values.

    + many other fixups
    jtratner committed Jul 29, 2013
    Copy the full SHA
    0802d1c View commit details
    Browse the repository at this point in the history
  5. CLN/ENH: Add list versions of iterator methods.

    py3compat now has lrange, lzip, lmap, lreduce and lfilter, which work
    like the python builtins and produce lists (to make it more clear where
    looking for iterators vs. containers).
    jtratner committed Jul 29, 2013
    Copy the full SHA
    b83784f View commit details
    Browse the repository at this point in the history
  6. CLN: Add __bool__ alias for __nonzero__

    Python3 uses __bool__, not __nonzero__
    jtratner committed Jul 29, 2013
    Copy the full SHA
    0c0cfbc View commit details
    Browse the repository at this point in the history
  7. CLN/ENH: Merge compat with py3compat and six

    For simplicity, move the relevant portions of six into
    compat and combine py3compat and compat together (given the distinctions
    were relatively arbitrary already). Also switch to importing u to make
    things cleaner.
    jtratner committed Jul 29, 2013
    Copy the full SHA
    e957fbc View commit details
    Browse the repository at this point in the history
  8. Copy the full SHA
    e73c54d View commit details
    Browse the repository at this point in the history
  9. Copy the full SHA
    27b601e View commit details
    Browse the repository at this point in the history
  10. CLN: Add unicode compatibility wrapper for dateutil.

    Dateutil < 2.0 doesn't always handle unicode well. This wraps
    `dateutil.parser.parse` and converts unicode to bytes.
    
    +wrap get_filepath_or_buffer in `str`
    jtratner committed Jul 29, 2013
    Copy the full SHA
    98e25fc View commit details
    Browse the repository at this point in the history
  11. Copy the full SHA
    fa16b95 View commit details
    Browse the repository at this point in the history