Permalink
Commits on Mar 2, 2017
  1. Put quotes around (sometimes-empty) rule name in missing-visitor erro…

    …r message.
    
    This was confusing people, as in #110.
    
    I also did an audit of the rest of the %s occurrences in the codebase, and no other obviously beneficial quotes are missing.
    committed Mar 2, 2017
  2. Make Grammar iteration ordered. Close #108.

    This makes life easier for visualizers like #104 and might make our `__repr__`s more like the original input as well.
    committed on GitHub Mar 2, 2017
Commits on Feb 25, 2017
  1. Merge six pinning at 1.9.0. Close #109.

    pin six>=1.9.0 for python_2_unicode_compatible
    committed on GitHub Feb 25, 2017
Commits on Feb 23, 2017
  1. pin six>=1.9.0 for python_2_unicode_compatible

    sam raker committed Feb 23, 2017
Commits on Feb 11, 2017
  1. Remove unused imports.

    lucaswiman committed Feb 11, 2017
  2. Fix ordering of shallow copy.

    lucaswiman committed Feb 11, 2017
  3. Remove direct calls to dict()

    lucaswiman committed Feb 11, 2017
  4. Add failing test that rule ordering is preserved.

    Unsurprisingly python 3.6 preserves the ordering.
    lucaswiman committed Feb 11, 2017
  5. Fix a bug in unicode encoding of reprs.

    The previous implementation could lead to double-decoding:
        >>> from parsimonious.utils import Token
        >>> repr(Token('asdf'))
        '<Token "asdf">'
        >>> repr(Token(u'💣'))
        Traceback (most recent call last):
          File "<stdin>", line 1, in <module>
          File "parsimonious/utils.py", line 19, in __repr__
            return self.__str__().encode('utf-8')
        UnicodeDecodeError: 'ascii' codec can't decode byte 0xf0 in position 8: ordinal not in range(128)
    lucaswiman committed Feb 11, 2017
Commits on Nov 11, 2016
Commits on Nov 3, 2016
  1. Remove duplicate VisitationError import.

    Ramiro Morales committed Nov 3, 2016
Commits on Sep 22, 2016
  1. No need for the None check anymore

    It should be covered by the isinstance above
    cknv committed Sep 22, 2016
  2. Better nose based test

    cknv committed Sep 22, 2016
Commits on Sep 16, 2016
  1. Type check when comparing nodes

    cknv committed Sep 16, 2016
Commits on Sep 9, 2016
  1. Bring readme up to date, and bump version back to 0.7.0 after all.

    Token-based parsing, though experimental, counts as a new feature and warrants the tenths-place bump.
    committed Sep 9, 2016
Commits on Sep 8, 2016
  1. Switch to `six` rather than 2to3. Fix `Grammar.__repr__` bug under Py…

    …thon 3. Drop support for 3.2. Close #89.
    
    The `six` switch is for both reasons of fashion (adoption) and to make it easier to develop Parsimonious on Python 3 without having to backport changes to Python 2.
    committed Sep 8, 2016
  2. Update version history.

    committed Sep 8, 2016
  3. Don't number _ vars.

    We numbered them before only because the interpreter insisted on it within formal param lists.
    committed Sep 8, 2016
  4. Rename _a to more descriptive names.

    Lucas Wiman committed Sep 8, 2016
  5. Compatibility and formatting nits.

    Lucas Wiman committed Sep 8, 2016
Commits on May 29, 2016
  1. Fix bithacks so that "x" can be displayed.

    Lucas Wiman committed May 29, 2016