Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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 | |
| | | ||||||
| * | Initial conversion to Sphinx generated documentation. | Matěj Cepl | 2018-11-20 | 18 | -1694/+830 | |
| | | | | | | | | | | There are still many bugs in the documentation strings, but at least genration of documentaiton works. | |||||
| * | Convert pyparsing.py by a script | Matěj Cepl | 2018-11-20 | 1 | -123/+123 | |
| | | ||||||
| * | CRLF -> LF | Matěj Cepl | 2018-11-20 | 1 | -6010/+6010 | |
| | | ||||||
| * | include also all files necessary for tests. | Matěj Cepl | 2018-11-20 | 1 | -4/+5 | |
|/ | | | | Fixes #44 | |||||
* | Add support for combining unicode_sets using multiple inheritance | Paul McGuire | 2018-11-17 | 3 | -10/+24 | |
| | ||||||
* | Add unit test for named ParseResults combined with Dict-created named ↵ | ptmcg | 2018-11-13 | 1 | -3/+20 | |
| | | | | results in the same Group; removed reference to UnicodeTests, which subsetted the tests that were actually being run | |||||
* | Added unicode sets for LatinA and LatinB ranges | ptmcg | 2018-11-09 | 3 | -5/+33 | |
| | ||||||
* | Merge pull request #41 from cclauss/patch-1 | Paul McGuire | 2018-10-31 | 1 | -1/+1 | |
|\ | | | | | print() is a function | |||||
| * | print() is a function | cclauss | 2018-10-31 | 1 | -1/+1 | |
|/ | ||||||
* | assertRaises not compatible in Py2.6pyparsing_2.3.0 | ptmcg | 2018-10-31 | 1 | -9/+10 | |
| | ||||||
* | Add unit test for indentedBlock expression | ptmcg | 2018-10-30 | 1 | -0/+37 | |
| | ||||||
* | Fix Issue #40 - Py3 enforces tighter exception scoping, plus other exception ↵ | ptmcg | 2018-10-30 | 2 | -9/+10 | |
| | | | | typo | |||||
* | Clean up old cruft from unit tests | ptmcg | 2018-10-30 | 4 | -36/+11 | |
| | ||||||
* | Merge pull request #39 from cclauss/patch-2 | Paul McGuire | 2018-10-30 | 1 | -1/+1 | |
|\ | | | | | Undefined name: file() was removed in Python 3 | |||||
| * | Undefined name: file() was removed in Python 3 | cclauss | 2018-10-30 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | __file()__ was removed as a builtin in Python 3 so this PR advocates the use of __open()__ instead. Also note that four lines above, __testclass__ is an _undefined name_ and perhaps __testclasses__ should be used in its place. Undefined names have the potential to raise NameError at runtime. | |||||
* | | Merge pull request #38 from cclauss/patch-1 | Paul McGuire | 2018-10-30 | 1 | -2/+2 | |
|\ \ | | | | | | | Undefined name: Set() --> set() | |||||
| * | | Undefined name: Set() --> set() | cclauss | 2018-10-30 | 1 | -2/+2 | |
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | __Set()__ is an _undefined name_ in this context but __set()__ is used elsewhere in this class. [flake8](http://flake8.pycqa.org) testing of https://github.com/pyparsing/pyparsing on Python 3.7.1 $ __flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics__ ``` ./examples/searchParserAppDemo.py:15:18: F821 undefined name 'Set' result = Set() ^ 1 F821 undefined name 'Set' 1 ``` | |||||
* | | Remove _Constants in favor of types.SimpleNamespace | ptmcg | 2018-10-30 | 1 | -4/+7 | |
|/ | ||||||
* | Add some examples of most common helper expressions | ptmcg | 2018-10-30 | 1 | -0/+57 | |
| | ||||||
* | Update README.md, remove no-longer-relevant sections | Paul McGuire | 2018-10-29 | 1 | -30/+2 | |
| | ||||||
* | Removed reference to unicode_set.all property - not including this property ↵ | ptmcg | 2018-10-28 | 1 | -7/+3 | |
| | | | | for now | |||||
* | Merge remote-tracking branch 'origin/master' | ptmcg | 2018-10-28 | 4 | -8/+47 | |
|\ |