# HG changeset patch # User Radomir Dopieralski # Date 1516632320 -3600 # Node ID 0a216b982fd139dc605b7b4eb46621f996e45af5 # Parent a607cb7f633316e1547044ad93889c8dc39769bb Bump version to 1.6 diff -r a607cb7f6333 -r 0a216b982fd1 jpath.py --- a/jpath.py Mon Jan 22 11:31:52 2018 +0100 +++ b/jpath.py Mon Jan 22 15:45:20 2018 +0100 @@ -55,7 +55,7 @@ import operator __all__ = ['get', 'get_all'] -__version__ = '1.5' +__version__ = '1.6' # Make it work both in python 2.x and 3.x @@ -252,6 +252,7 @@ for value in token.parse(tokens, item): yield value + @Tokenizer.token class WildcardToken(Token): """*[*].*, may return multiple results""" @@ -431,6 +432,7 @@ return get_all(jpath, data)[0] + if __name__ == "__main__": # Run tests when started. import doctest diff -r a607cb7f6333 -r 0a216b982fd1 setup.py --- a/setup.py Mon Jan 22 11:31:52 2018 +0100 +++ b/setup.py Mon Jan 22 15:45:20 2018 +0100 @@ -13,10 +13,10 @@ long_description=jpath.__doc__, author='Radomir Dopieralski', author_email='jpath@sheep.art.pl', - url = 'http://www.stxnext.pl/open-source/jpath', download_url = 'https://bitbucket.org/thesheep/jpath/get/tip.tar.gz', classifiers = [ 'Development Status :: 6 - Mature', + 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 3', 'Intended Audience :: Developers', 'License :: OSI Approved :: Python Software Foundation License',