Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Add document signoff and library book state examples; | ptmcg | 2018-12-31 | 7 | -38/+277 | |
| | ||||||
* | Update statemachine demo code to Py3 | Paul McGuire | 2018-12-31 | 3 | -29/+60 | |
| | ||||||
* | Update Lucene grammar example, but remove from Travis-CI acceptance scripts | Paul McGuire | 2018-12-30 | 2 | -2/+5 | |
| | ||||||
* | Remove print() call left in to test decoy | Paul McGuire | 2018-12-30 | 1 | -1/+1 | |
| | ||||||
* | Cleanup unit tests for better Py2 compatibility and current pyparsing usage: ↵ | Paul McGuire | 2018-12-30 | 1 | -83/+100 | |
| | | | | prefix string literals containing unicode with 'u'; replace all 'setResultsName' calls to use (name) form; replace all calls to builtin print() with Py2-3 compatible print_(), and add decoy print() method to catch incorrect calls | |||||
* | Set PYTHONPATH before running examples in Travis-CI | Paul McGuire | 2018-12-30 | 1 | -6/+6 | |
| | ||||||
* | Update Travis-CI scripts to include examples; fix bug in runTests if ↵ | Paul McGuire | 2018-12-30 | 5 | -23/+34 | |
| | | | | postParse function returns None (or any non-str value) | |||||
* | Update chemicalFormulas.py example to use new runTests postParse argument, ↵ | Paul McGuire | 2018-12-30 | 2 | -28/+49 | |
| | | | | add test cases that parse subscript integers | |||||
* | Fix matching of dictOf with empty contents (Issue #53) | ptmcg | 2018-12-28 | 3 | -2/+24 | |
| | ||||||
* | Fix partial named results when And embedded in named MatchFirst or Or | ptmcg | 2018-12-28 | 10 | -12/+550 | |
| | ||||||
* | Merge pull request #60 from jdufresne/typo | Paul McGuire | 2018-12-27 | 1 | -1/+1 | |
|\ | | | | | Fix typo: 'whre' -> 'where' | |||||
| * | Fix typo: 'whre' -> 'where' | Jon Dufresne | 2018-12-25 | 1 | -1/+1 | |
| | | ||||||
* | | Merge pull request #61 from jdufresne/https | Paul McGuire | 2018-12-26 | 20 | -26/+26 | |
|\ \ | |/ |/| | Use HTTPS URLs where available in docs, examples, and comments | |||||
| * | Use HTTPS URLs where available in docs, examples, and comments | Jon Dufresne | 2018-12-25 | 20 | -26/+26 | |
|/ | ||||||
* | Merge pull request #59 from jdufresne/psyco | Paul McGuire | 2018-12-24 | 3 | -736/+710 | |
|\ | | | | | Remove mentions of 'psyco' from docs and examples | |||||
| * | Merge branch 'master' into psyco | Paul McGuire | 2018-12-24 | 5 | -713/+712 | |
| |\ | |/ |/| | ||||||
* | | Merge pull request #58 from jdufresne/bare-except | Paul McGuire | 2018-12-24 | 5 | -9/+9 | |
|\ \ | | | | | | | Replace bare 'except:' with 'except Exception;' | |||||
| * | | Replace bare 'except:' with 'except Exception;' | Jon Dufresne | 2018-12-24 | 5 | -9/+9 | |
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | Catching all exceptions is generally considered a bad practice under most circumstances as it will also catch KeyboardInterrupt and SystemExit. These special cases should be raised to the interpreter to allow the Python process to exit. This fix complies with pycodestyle's error code E722: https://pycodestyle.readthedocs.io/en/latest/intro.html#error-codes > do not use bare except, specify exception instead | |||||
| * | Remove mentions of 'psyco' from docs and examples | Jon Dufresne | 2018-12-24 | 3 | -30/+5 | |
|/ | | | | | | | | | | | | | | | The psyco package has been declared umaintained and dead. It is no longer receiving bug fixes including for security issues. From http://psyco.sourceforge.net/ > 12 March 2012 > > Psyco is unmaintained and dead. Please look at PyPy for the > state-of-the-art in JIT compilers for Python. Avoid recommending the use of an unmaintained package (since 2012). Users can continue to use PyPy for the latest and greatest in Python JIT. | |||||
* | Merge pull request #57 from jdufresne/unused | Paul McGuire | 2018-12-24 | 27 | -61/+46 | |
|\ | | | | | Remove unused imports throughout project | |||||
| * | Remove unused imports throughout project | Jon Dufresne | 2018-12-24 | 27 | -61/+46 | |
|/ | | | | | | | | | | | | | Unused imports were discovered using flake8. By removing the unused imports, the code is a bit friendlier to new contributors as it is clearer what is being used and not simply leftover from previous refactoring. The flake8 command: $ flake8 . --select F401 http://flake8.pycqa.org/ | |||||
* | Merge changes from last PR, plus some more up-to-date coding styles and ↵ | Paul McGuire | 2018-12-23 | 1 | -5/+21 | |
| | | | | pyparsing features | |||||
* | Merge pull request #55 from jdufresne/ws | Paul McGuire | 2018-12-23 | 87 | -1663/+1617 | |
|\ | | | | | Trim trailing white space throughout the project | |||||
| * | Trim trailing white space throughout the project | Jon Dufresne | 2018-12-22 | 87 | -1663/+1617 | |
|/ | | | | | | Many editors clean up trailing white space on save. By removing it all in one go, it helps keep future diffs cleaner by avoiding spurious white space changes on unrelated lines. | |||||
* | Merge pull request #54 from jdufresne/unused-import | Paul McGuire | 2018-12-22 | 2 | -11/+5 | |
|\ | | | | | Remove distutils fallback and outdated comment | |||||
| * | Remove distutils fallback and outdated comment | Jon Dufresne | 2018-12-22 | 2 | -11/+5 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | setuptools includes a vendored version of pyparsing (and other dependencies). They are not install through traditional tools. Therefore, distutils is not required as fallback to facilitate setuptools. https://github.com/pypa/setuptools/blob/v40.6.3/setuptools/_vendor/pyparsing.py The Python documentation recommends against using distutils: https://docs.python.org/3/library/distutils.html > Most Python users will not want to use this module directly, but > instead use the cross-version tools maintained by the Python Packaging > Authority. In particular, setuptools is an enhanced alternative to > distutils that provides ... Also remove the unused imports. | |||||
* | | Merge pull request #56 from jdufresne/cookie | Paul McGuire | 2018-12-22 | 2 | -2/+2 | |
|\ \ | |/ |/| | Fix encoding cookie to use encoding "utf-8" | |||||
| * | Fix encoding cookie to use encoding "utf-8" | Jon Dufresne | 2018-12-22 | 2 | -2/+2 | |
|/ | | | | | | | | | | | | | | | The all caps "UTF-8" causes warnings or errors in some editors. "utf-8" is more widely recognized. For example, when opening files in Emacs, I see: > Warning (mule): Invalid coding system ‘UTF-8’ is specified > for the current buffer/file by the :coding tag. > It is highly recommended to fix it before writing to a file. > Really proceed with writing? (yes or no) I'm then promped before saving. The CPython source code uses the lowecase form. | |||||
* | Fix runTests to strip leading BOM added for some unicode strings after ↵ | Paul McGuire | 2018-12-22 | 2 | -3/+4 | |
| | | | | splitlines(); fix typo in CHANGES when I renamed post_parse to postParse | |||||
* | Fix postParse bug introduced in runTests; extended cleanup of unitTests ↵ | Paul McGuire | 2018-12-21 | 2 | -442/+518 | |
| | | | | (convert bare asserts to TestCase.assertTrue and assertEqual; remove trailing spaces throughout) | |||||
* | Add support for optional postParse argument to ParserElement.runTests | Paul McGuire | 2018-12-21 | 3 | -8/+37 | |
| | ||||||
* | Issue #51 Expanded the whitespace characters recognized by the White class ↵ | ptmcg | 2018-12-13 | 2 | -16/+56 | |
| | | | | to include all unicode defined spaces; added docstrings to unicode ranges | |||||
* | Do true division when computing average (be sure to import from __future__ ↵ | ptmcg | 2018-11-23 | 1 | -2/+3 | |
| | | | | for Python2/3 cross-compat) | |||||
* | Minor update to module welcome; add version to generated docs | ptmcg | 2018-11-22 | 2 | -3/+4 | |
| | ||||||
* | Intern unicode range strings to prevent their listing in generated docs ↵ | ptmcg | 2018-11-22 | 2 | -16/+57 | |
| | | | | (pyparsing #50); fixed bug in composition of unicode_sets using multiple inheritance | |||||
* | Merge remote-tracking branch 'origin/master' | ptmcg | 2018-11-21 | 3 | -5/+6 | |
|\ | ||||||
| * | Merge pull request #49 from mcepl/docs_to_tarball | Paul McGuire | 2018-11-21 | 3 | -5/+6 | |
| |\ | | | | | | | Not sure how I managed to screw up building documentation again. | |||||
| | * | Not sure how I managed to screw up building documentation again. | Matěj Cepl | 2018-11-21 | 3 | -5/+6 | |
| |/ | ||||||
* | | Convert sphinx inline code literal markups to less-verbose form | ptmcg | 2018-11-21 | 1 | -225/+242 | |
|/ | ||||||
* | More sphinx cleanup | ptmcg | 2018-11-21 | 1 | -143/+194 | |
| | ||||||
* | Merge pull request #47 from mcepl/docs_to_tarball | Paul McGuire | 2018-11-21 | 6 | -2534/+2539 | |
|\ | | | | | Docs to tarball and make tests running on py2k | |||||
| * | Fix failing tests (both py2K and py3k) | Matěj Cepl | 2018-11-21 | 3 | -8/+9 | |
| | | | | | | | | Fixes #48 | |||||
| * | Use unittest2 for python2 (Python 2.7 unittest doesn't have subTest) | Matěj Cepl | 2018-11-21 | 1 | -1/+4 | |
| | | ||||||
| * | Convert CRLF->CR in CHANGES, LICENSE, and add docs/ to tarball | Matěj Cepl | 2018-11-21 | 3 | -2525/+2526 | |
|/ | ||||||
* | Update timestamp and CHANGES file to reflect mcepl improvements | ptmcg | 2018-11-20 | 2 | -1/+5 | |
| | ||||||
* | Merge pull request #46 from mcepl/44_distribute_tests | Paul McGuire | 2018-11-20 | 21 | -7439/+6661 | |
|\ | | | | | This looks great, thanks for the effort! | |||||
| * | Forgot to remove docs/conf_old.py | Matěj Cepl | 2018-11-20 | 1 | -159/+0 | |
| | | ||||||
| * | Reformatting of documentation strings. | Matěj Cepl | 2018-11-20 | 1 | -364/+562 | |
| | | ||||||
| * | Add some fixes | Matěj Cepl | 2018-11-20 | 1 | -19/+40 | |
| | | ||||||
| * | Update ~/.idea directory. | Matěj Cepl | 2018-11-20 | 4 | -4/+29 | |
| | |