| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
Scrutinizer CI is not enabled for this repository. The files are
outdated and unused.
|
|
|
|
| |
minor changes to select_parser
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Break up pyparsing.py monolith into sub-modules in a pyparsing package
* Convert relative imports to absolutes
* Reference submodule pyparsing in setup.py modules
* Remove recursive import of pyparsing from setup.py
* Black updates
* setup.py updates - packages vs. modules. use .dev1 for the version
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* select_parser example: misc improvements
* sqlite now supports TRUE and FALSE as literal values
* use common numeric expressions
* fix identifier quoting
* downcase identifiers unless they're quoted
* fix string quoting
* add support for sql comments
* additional test cases
* Reformat test-runner aspects
* Improve support for NOT expressions (eg. NOT IN, NOT LIKE)
|
| |
|
|
|
|
|
| |
Available since Python 2.4.
https://docs.python.org/3/library/functions.html#classmethod
|
|
|
|
|
| |
Available since Python 2.4.
https://docs.python.org/3/library/functions.html#staticmethod
|
| |
|
|
|
|
| |
replace most resetting() context managers and try-finallys with ppt.reset_pyparsing_context
|
|
|
|
|
|
|
|
|
|
|
|
| |
The pyupgrade project is available at
https://github.com/asottile/pyupgrade and can be installed through pip.
The pyupgrade tool automatically upgrades syntax for newer versions of
the language. As pyparsing is now Python 3 only, can apply some cleanups
and simplifications. Ran the tool using the following command:
$ find . -name \*.py -exec pyupgrade --py3-plus {} \;
For now, pyparsing.py was skipped while it is refactored to a package.
|
| |
|
|
|
|
|
|
|
| |
The tests are run through either tox or Travis CI. In both cases, the
setup.py "test_suite" entrypoint is not used.
Further, the use of "test_suite" is discouraged as it installs using
eggs rather than pip.
|
|
|
|
|
|
|
|
| |
After commit 3481b6f3f9bb2dae7e9d88ed08989b5f71238e4b, tox failed to run
tests locally. The tox configuration now uses a command identical to
Travis. It runs the unittest test discoverer.
The command "discover" is the default if no additional argument is
passed to unittest.
|
|
|
|
|
|
|
|
|
|
|
| |
Starting with wheel 0.32.0 (2018-09-29), the "license_file" option is
deprecated.
https://wheel.readthedocs.io/en/stable/news.html
The wheel will continue to include LICENSE, it is now included
automatically:
https://wheel.readthedocs.io/en/stable/user_guide.html#including-license-files-in-the-generated-wheel-file
|
|
|
|
|
|
|
|
| |
After tox is executed, it is not necessary to install tox in the newly
created virtualenv. Simplify the tox dependencies to just the single one
required, coverage.
This makes the requirements-dev.txt unnecessary and unused, so can
remove it. Its pinned versions are outdated anyway.
|
| |
|
|
|
|
| |
For Python 3 only code, the import path is known and stable. Can remove
the ImportError workaround.
|
|
|
|
|
| |
Discovered using the command:
flake8 --select F401 .
|
|
|
| |
On Python3, always use chr().
|
|
|
|
|
|
|
|
|
| |
In Python 3, urlopen() can always be used as a context manager. Wrapping
with closing() is not necessary.
https://docs.python.org/3/library/urllib.request.html#urllib.request.urlopen
> This function always returns an object which can work as a context
> manager …
|
|
|
|
|
|
|
|
|
|
| |
Unlink Python 2, in Python 3, __ne__ defaults to the inverse of the
__eq__ method. Can remove the definitions that follow this default.
From the Python docs
https://docs.python.org/3/reference/datamodel.html#object.__ne__
> By default, __ne__() delegates to __eq__() and inverts the result
> unless it is NotImplemented.
|
|
|
|
| |
In Python 3, the __nonzero__ method was renamed to __bool__. It no
longer exists as a magic method.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
As pyparsing is now Python 3 only, the wheel is not "universal". A
universal wheel is defined as:
https://wheel.readthedocs.io/en/stable/user_guide.html
> If your project contains no C extensions and is expected to work on
> both Python 2 and 3, you will want to tell wheel to produce universal
> wheels …
As the project is _not_ expected to work on Python 2, it should not be
distributed as a Python 2 wheel. Instead, it should be distributed as a
Python-3-only wheel.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- pyparsing supports Python 3.8
- pyparsing is Python 3 only
- pyparsing supports PyPy in addition to CPython
The trove classifiers display on PyPI and provide quick, at-a-glance
information for library users to know if it is suitable for inclusion in
a project.
For a complete list of trove classifiers, see:
https://pypi.org/classifiers/
|
|
|
|
|
|
|
| |
Allows contributors to easily run the full test matrix locally.
Python 3.8 was released on on October 14th, 2019.
https://docs.python.org/3/whatsnew/3.8.html
|
|
|
|
|
| |
- The default "dist" is now xenial, can remove the override.
- The "sudo" key is now deprecated and is no longer necessary.
- Python 3.8 final is now available.
|
|
|
| |
As pyparsing is a dependency used by setuptools this allows packagers to use distutils as a fallback when bootstraping setuptools without much fuss.
|
|
|
|
| |
with regex or other RE-compatible module
|
| |
|
|\ |
|
| | |
|
|/ |
|
|\ |
|
| | |
|
|/ |
|
|
|
| |
Thanks!
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
pyparsing module
|
|
|
|
| |
result containing []
|
|\ |
|
| |
| |
| |
| | |
test
|
|/
|
|
| |
message; minor improvement when default literal string class is other than Literal; always add extra newline after dump()
|
| |
|
|
|
|
| |
performance; update CHANGES to reflect new booleansearchparser example
|
| |
|
| |
|
|
|
|
| |
helpful message when tests fail; exit with exit code to include with package tests; trim trailing whitespace
|