forked from andreasvc/pyre2
-
Notifications
You must be signed in to change notification settings - Fork 1
Pull #4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
DeanF
wants to merge
115
commits into
DeanF:master
Choose a base branch
from
andreasvc:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Pull #4
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- All tests pass. - Don't test for exotic/deprecated stuff such as non-initial flags in patterns and octal escapes without leading 0 or triple digits. - Known corner cases no longer reported as failed tests. - support \b inside character class to mean backspace - use re.error instead of defining subclass RegexError; ensures that exceptions can be caught both in re2 and in a potential fallback to re.
- contains() works like match() but returns a bool to avoid creating a Match object. see #12 - add wrapper for re.Pattern so that contains() and count() methods are also available when falling back to re.
Poetry and other modern build system need to know which build-tools to install prior to calling setup.py. added a pyproject.toml to specify cython as a dependency.
Support building wheels automatically using github actions
…se flow Signed-off-by: Stephen L Arnold <nerdboy@gentoo.org>
workaroud for manylinux dependency install error plus release automation
Signed-off-by: Stephen L Arnold <nerdboy@gentoo.org>
Signed-off-by: Stephen L Arnold <nerdboy@gentoo.org>
Signed-off-by: Stephen L Arnold <nerdboy@gentoo.org>
Signed-off-by: Stephen L Arnold <nerdboy@gentoo.org>
…ORY) Signed-off-by: Stephen L Arnold <nerdboy@gentoo.org>
New cmake and pybind11 build setup
readme: update badges, merge install sections, fix some rendering issues
Signed-off-by: Stephen L Arnold <nerdboy@gentoo.org>
Signed-off-by: Stephen L Arnold <nerdboy@gentoo.org>
Signed-off-by: Stephen L Arnold <nerdboy@gentoo.org>
add missing tests to sdist package, update readme and ci worflows (#1)
Signed-off-by: Stephen Arnold <nerdboy@gentoo.org>
* this is essentially a workaround for non-pypi pkg cruft Signed-off-by: Stephen Arnold <nerdboy@gentoo.org>
Signed-off-by: Stephen Arnold <nerdboy@gentoo.org>
* also cleanup the wheel artifact check, download to artifacts/ Signed-off-by: Stephen Arnold <nerdboy@gentoo.org>
CI, python, and cmake cleanup
* update .gitignore and .gitchangelog.rc and (re)generate new changelog * add sphinx docs build using apidoc extension and readme/changelog symlinks * rst apidoc modules are auto-generated and are in .gitignore along with the generated html dir * add dependencies to packaging and add docs/changes cmds to tox file. Includes a tox extension for shared tox environments; the new tox commands are an example of this => 4 cmds using one tox env Signed-off-by: Stephen Arnold <nerdboy@gentoo.org>
* cleanup docs config, remove dicey sphinx_git extension * switch readme badge, download wheel artifacts to single directory Signed-off-by: Stephen Arnold <nerdboy@gentoo.org>
* also cleanup sphinx workflow Signed-off-by: Stephen Arnold <nerdboy@gentoo.org>
Signed-off-by: Stephen Arnold <nerdboy@gentoo.org>
add basic sphinx docs build using apidoc
- Drop support for Python 2. - Add support for Python 3.13 in tests & ciwheelbuild, and move tests/test_charliterals.txt to unitest as the previous test (Python 3.13 error changed). - Don’t use cmake 4.0 to build the library. - Fix GitHub Actions’ “release” workflow.
* Add set_fallback_module() to give users choice Some patterns are not supported by re2. The existing set_fallback_notification() allows the user to decide what to do when a pattern is not supported: be quiet, emit a warning, raise an exception. This commits adds set_fallback_module() to allow the user to choose which module use as a fallback. The default/initial choice is Python's re module, to be consistent with current behavior. The change has been tested using regex as a fallback module, which in some scenarios might still be faster than Python's re.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.