-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
gh-121445: C implementation for fnmatch
#121446
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
Closed
Closed
Changes from 1 commit
Commits
Show all changes
98 commits
Select commit
Hold shift + click to select a range
10a6094
add implementation
picnixz ca03388
add initial tests
picnixz adb6ed0
add generated objects
picnixz e95c255
update PC/config.c
picnixz 9b1c20d
update Modules/Setup
picnixz 85fa953
update VCX project files
picnixz 363ec36
fix return value
picnixz 42b019f
fix typo in pythoncore.vcxproj
picnixz 4120a95
Update pythoncore.vcxproj.filters
picnixz 36394bb
Amend un-necessary modifications in `test_fnmatch.py`
picnixz 2c2f9f1
update configurations
picnixz ecf8146
add C implementation
picnixz cb16b6a
update Python implementation
picnixz 751c069
update tests
picnixz 9258068
add generated objects
picnixz 5a7183c
re-expose private API
picnixz 2a80200
fix implementation?
picnixz 36432e8
update generated objects
picnixz 4a36980
FIX BUILD
picnixz 4881f1c
remove interned strings
picnixz ec5a922
revert addition
picnixz b29ccb4
make it fail on Windows for now
picnixz a91f689
Update configurations?
picnixz 9e93b58
split implementation
picnixz 5cfd580
regenerated objects
picnixz 891a368
maybe it's like that?
picnixz adc18bd
maybe like this...?
picnixz 658fb81
regenerate configure script
picnixz cb29bd3
update tests
picnixz c1fae24
update files
picnixz f9343f3
update generated objects
picnixz 46d7744
update module names
picnixz 5bc902e
fix smelly names
picnixz 7814028
fix translation unit
picnixz 3f075bb
remove fnmatch(3) detection
picnixz c78a813
remove fnmatch(3) layout
picnixz 2e166cc
update configuration scripts
picnixz 14cd1fd
update function names
picnixz 2a718f4
make the C interface equivalent to the Python one
picnixz c7a0685
fixups
picnixz 1340fd2
update generated objects
picnixz 2b6fe4f
reflect `__all__` ordering
picnixz 124f8f8
update comments
picnixz 7621d6c
blurb
picnixz 9b94fe6
(hopefully MSVC will be happy...)
picnixz 3903987
fix MSVC warnings
picnixz 21ccc7c
Merge branch 'main' into fnmatch-c-implementation
picnixz c7422a5
fixup typo!
picnixz 7dbe55c
`get_fnmatchmodulestate_state` -> `get_fnmatchmodule_state`
picnixz 4a87911
remove unused imports
picnixz aca2b1b
update state
picnixz 2ef61ad
simplify implementation
picnixz 13dc17e
harmonize docs
picnixz dba784b
improvements
picnixz 5374ff4
revert some improvements that were not improvements
picnixz 4ff4f37
remove incorrect usage of clinic
picnixz 178f2d3
update TODO note
picnixz 9d237b1
use a dynamic module instead
picnixz b1568d4
remove un-necessary definitions
picnixz 84b0b82
update configuration
picnixz 8696024
intern strings & functions
picnixz b27b6d8
various improvements
picnixz b564b22
PEP-7 fixes
picnixz 6740b10
Merge branch 'main' into fnmatch-c-implementation
picnixz d73f66d
update comments and names
picnixz 6258b71
refactorization:
picnixz d595cb4
improve coverage
picnixz e4296d8
update benchmarks
picnixz cc92c4b
fixup
picnixz 527712a
Merge branch 'main' into fnmatch-c-implementation
picnixz ee27297
refactorization:
picnixz 0622be6
update dependencies
picnixz 481fae0
merge commit
picnixz ff60eeb
Revert "merge commit"
picnixz aff1f97
Merge branch 'main' into fnmatch-c-implementation
picnixz 3727582
update dependencies
picnixz 90e809a
Merge remote-tracking branch 'upstream/main' into fnmatch-c-implement…
picnixz c89cf47
Fix missing exception handler
picnixz 4fbd06b
cosmetic changes
picnixz 3b348f5
update comments
picnixz da42703
remove some macros
picnixz 97ed24d
cleanup
picnixz d38a0cb
test empty range
picnixz db88ff5
update macros.h
picnixz 2caa5b8
update algorithm
picnixz ef2de2a
PEP 7
picnixz c00c8f9
remove un-necessary code
picnixz e93cd87
use convenience macros for aborting flow
picnixz 3a05676
refactor macros
picnixz db75626
rename `COMPILED_CACHE_SIZE` to `LRU_CACHE_SIZE`
picnixz df76ba3
add LRU cache for `re.escape`
picnixz ac46e2c
cache `re.compile(...).sub` for set operations tokens
picnixz fa04ea1
update implementation
picnixz 0b4cced
use macros for abort-flow
picnixz 5039bce
allow path-like objects in `fnmatch.filter`
picnixz afc22b2
macros bike-shedding
picnixz e66a602
type bike-shedding
picnixz 2b59064
update outdated comment
picnixz File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
update Modules/Setup
- Loading branch information
commit 9b1c20dcdc8fe562c2a7287b67ee20483e164b4c
There are no files selected for viewing
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
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.
Uh oh!
There was an error while loading. Please reload this page.