Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #28727: Optimize pattern_richcompare() for a==a | Victor Stinner | 2016-11-22 | 1 | -0/+6 |
| | | | | A pattern is equal to itself. | ||||
* | Issue #28727: Fix typo in pattern_richcompare() | Victor Stinner | 2016-11-22 | 1 | -1/+1 |
| | | | | Typo catched by Serhiy Storchaka, thanks! | ||||
* | Implement rich comparison for _sre.SRE_Pattern | Victor Stinner | 2016-11-21 | 1 | -6/+67 |
| | | | | | | | Issue #28727: Regular expression patterns, _sre.SRE_Pattern objects created by re.compile(), become comparable (only x==y and x!=y operators). This change should fix the issue #18383: don't duplicate warning filters when the warnings module is reloaded (thing usually only done in unit tests). | ||||
* | Issue 24454: Removed unused match_getitem_doc. | Eric V. Smith | 2016-09-11 | 1 | -3/+0 |
| | |||||
* | Issue 24454: Added whatsnew entry, removed __getitem__ from match_methods. ↵ | Eric V. Smith | 2016-09-11 | 1 | -1/+0 |
| | | | | Thanks Serhiy Storchaka. | ||||
* | Issue 24454: Improve the usability of the re match object named group API | Eric V. Smith | 2016-09-11 | 1 | -1/+18 |
| | |||||
* | replace Py_(u)intptr_t with the c99 standard types | Benjamin Peterson | 2016-09-06 | 1 | -7/+7 |
| | |||||
* | Rename _PyObject_FastCall() to _PyObject_FastCallDict() | Victor Stinner | 2016-08-22 | 1 | -1/+1 |
| | | | | | | | | Issue #27809: * Rename _PyObject_FastCall() function to _PyObject_FastCallDict() * Add _PyObject_FastCall(), _PyObject_CallNoArg() and _PyObject_CallArg1() macros calling _PyObject_FastCallDict() | ||||
* | pattern_subx() now uses fast call | Victor Stinner | 2016-08-19 | 1 | -8/+1 |
| | | | | Issue #27128. | ||||
* | merge 3.5 (#27774) | Benjamin Peterson | 2016-08-16 | 1 | -3/+1 |
|\ | |||||
| * | merge 3.4 (#27774) | Benjamin Peterson | 2016-08-16 | 1 | -3/+1 |
| |\ | |||||
| | * | merge 3.3 (#27774) | Benjamin Peterson | 2016-08-16 | 1 | -3/+1 |
| | |\ | |||||
| | | * | do not decref value borrowed from list (closes #27774) | Benjamin Peterson | 2016-08-16 | 1 | -3/+1 |
| | | | | |||||
* | | | | - Issue #27332: Fixed the type of the first argument of module-level functions | Serhiy Storchaka | 2016-07-07 | 1 | -6/+6 |
|\ \ \ \ | |/ / / | | | | | | | | | generated by Argument Clinic. Patch by Petr Viktorin. | ||||
| * | | | Issue #27332: Fixed the type of the first argument of module-level functions | Serhiy Storchaka | 2016-07-07 | 1 | -6/+6 |
| | | | | | | | | | | | | | | | | generated by Argument Clinic. Patch by Petr Viktorin. | ||||
* | | | | Issue #27177: Match objects in the re module now support index-like objects | Serhiy Storchaka | 2016-06-18 | 1 | -2/+3 |
| | | | | | | | | | | | | | | | | as group indices. Based on patches by Jeroen Demeyer and Xiang Zhang. | ||||
* | | | | Issue #26200: Added Py_SETREF and replaced Py_XSETREF with Py_SETREF | Serhiy Storchaka | 2016-04-10 | 1 | -1/+1 |
|\ \ \ \ | |/ / / | | | | | | | | | in places where Py_DECREF was used. | ||||
| * | | | Issue #26200: Added Py_SETREF and replaced Py_XSETREF with Py_SETREF | Serhiy Storchaka | 2016-04-10 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | in places where Py_DECREF was used. | ||||
* | | | | Issue #22570: Renamed Py_SETREF to Py_XSETREF. | Serhiy Storchaka | 2016-04-06 | 1 | -1/+1 |
|\ \ \ \ | |/ / / | |||||
| * | | | Issue #22570: Renamed Py_SETREF to Py_XSETREF. | Serhiy Storchaka | 2016-04-06 | 1 | -1/+1 |
| | | | | |||||
* | | | | Issue #25923: Added more const qualifiers to signatures of static and ↵ | Serhiy Storchaka | 2015-12-25 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | private functions. | ||||
* | | | | Issue #25923: Added the const qualifier to static constant arrays. | Serhiy Storchaka | 2015-12-25 | 1 | -1/+1 |
| | | | | |||||
* | | | | Issue #20440: Massive replacing unsafe attribute setting code with special | Serhiy Storchaka | 2015-12-24 | 1 | -2/+1 |
|\ \ \ \ | |/ / / | | | | | | | | | macro Py_SETREF. | ||||
| * | | | Issue #20440: Massive replacing unsafe attribute setting code with special | Serhiy Storchaka | 2015-12-24 | 1 | -2/+1 |
| | | | | | | | | | | | | | | | | macro Py_SETREF. | ||||
* | | | | Issue #18684: Fixed reading out of the buffer in the re module. | Serhiy Storchaka | 2015-07-06 | 1 | -5/+21 |
|\ \ \ \ | |/ / / | |||||
| * | | | Issue #18684: Fixed reading out of the buffer in the re module. | Serhiy Storchaka | 2015-07-06 | 1 | -5/+21 |
| |\ \ \ | | |/ / | |||||
| | * | | Issue #18684: Fixed reading out of the buffer in the re module. | Serhiy Storchaka | 2015-07-06 | 1 | -5/+21 |
| | | | | |||||
* | | | | Merge 3.5 (Issue #19235) | Yury Selivanov | 2015-07-03 | 1 | -1/+2 |
|\ \ \ \ | |/ / / | |||||
| * | | | Issue #19235: Add new RecursionError exception. Patch by Georg Brandl. | Yury Selivanov | 2015-07-03 | 1 | -1/+2 |
| | | | | |||||
* | | | | Issue #24426: Fast searching optimization in regular expressions now works | Serhiy Storchaka | 2015-06-21 | 1 | -3/+0 |
|/ / / | | | | | | | | | | | | | for patterns that starts with capturing groups. Fast searching optimization now can't be disabled at compile time. | ||||
* | | | Fix Windows build breakage from checkins on Issues #20148 and #20168. | Larry Hastings | 2015-05-03 | 1 | -141/+140 |
| | | | |||||
* | | | Issue #20148: Converted the _sre module to Argument Clinic. | Serhiy Storchaka | 2015-05-03 | 1 | -311/+391 |
| | | | |||||
* | | | Issue #14260: The groupindex attribute of regular expression pattern object | Serhiy Storchaka | 2015-03-29 | 1 | -1/+14 |
| | | | | | | | | | | | | now is non-modifiable mapping. | ||||
* | | | Issue #22364: Improved some re error messages using regex for hints. | Serhiy Storchaka | 2015-03-25 | 1 | -3/+3 |
| | | | |||||
* | | | Issue #22818: Splitting on a pattern that could match an empty string now | Serhiy Storchaka | 2015-02-03 | 1 | -0/+13 |
| | | | | | | | | | | | | | | | raises a warning. Patterns that can only match empty strings are now rejected. | ||||
* | | | Issue #17381: Fixed handling of case-insensitive ranges in regular expressions. | Serhiy Storchaka | 2014-10-31 | 1 | -3/+25 |
| | | | | | | | | | | | | Added new opcode RANGE_IGNORE. | ||||
* | | | Issue #22584: Got rid of character tables in _sre.c and use standard macros | Serhiy Storchaka | 2014-10-10 | 1 | -34/+6 |
| | | | | | | | | | | | | Py_TOLOWER, Py_ISSPACE, etc. | ||||
* | | | Issue #22437: Number of capturing groups in regular expression is no longer | Serhiy Storchaka | 2014-09-29 | 1 | -14/+37 |
| | | | | | | | | | | | | limited by 100. | ||||
* | | | Issue #22156: Fix some "comparison between signed and unsigned integers" | Victor Stinner | 2014-08-15 | 1 | -1/+1 |
|/ / | | | | | | | compiler warnings in the Modules/ subdirectory. | ||||
* | | Issue #20998: Fixed re.fullmatch() of repeated single character pattern | Serhiy Storchaka | 2014-05-14 | 1 | -8/+7 |
| | | | | | | | | with ignore case. Original patch by Matthew Barnett. | ||||
* | | Issue #20283: RE pattern methods now accept the string keyword parameters | Serhiy Storchaka | 2014-03-06 | 1 | -64/+79 |
|\ \ | |/ | | | | | | | as documented. The pattern and source keyword parameters are left as deprecated aliases. | ||||
| * | Issue #20283: RE pattern methods now accept the string keyword parameters | Serhiy Storchaka | 2014-03-06 | 1 | -20/+64 |
| | | | | | | | | | | as documented. The pattern and source keyword parameters are left as deprecated aliases. | ||||
* | | Issue #20530: Argument Clinic's signature format has been revised again. | Larry Hastings | 2014-02-09 | 1 | -2/+4 |
| | | | | | | | | | | | | | | The new syntax is highly human readable while still preventing false positives. The syntax also extends Python syntax to denote "self" and positional-only parameters, allowing inspect.Signature objects to be totally accurate for all supported builtins in Python 3.4. | ||||
* | | Issue #20326: Argument Clinic now uses a simple, unique signature to | Larry Hastings | 2014-01-28 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | annotate text signatures in docstrings, resulting in fewer false positives. "self" parameters are also explicitly marked, allowing inspect.Signature() to authoritatively detect (and skip) said parameters. Issue #20326: Argument Clinic now generates separate checksums for the input and output sections of the block, allowing external tools to verify that the input has not changed (and thus the output is not out-of-date). | ||||
* | | Issue #20390: Small fixes and improvements for Argument Clinic. | Larry Hastings | 2014-01-26 | 1 | -2/+1 |
| | | |||||
* | | Issue #20189: Four additional builtin types (PyTypeObject, | Larry Hastings | 2014-01-24 | 1 | -4/+4 |
| | | | | | | | | | | | | PyMethodDescr_Type, _PyMethodWrapper_Type, and PyWrapperDescr_Type) have been modified to provide introspection information for builtins. Also: many additional Lib, test suite, and Argument Clinic fixes. | ||||
* | | Issue #19723: Missed one conversion to the new Argument Clinic syntax. | Larry Hastings | 2014-01-07 | 1 | -3/+3 |
| | | |||||
* | | Issue #20144: Argument Clinic now supports simple constants as parameter | Larry Hastings | 2014-01-07 | 1 | -18/+50 |
| | | | | | | | | | | default values. inspect.Signature correspondingly supports them in __text_signature__ fields for builtins. | ||||
* | | Issue #16203: Add re.fullmatch() function and regex.fullmatch() method, | Serhiy Storchaka | 2013-11-23 | 1 | -18/+59 |
| | | | | | | | | | | | | which anchor the pattern at both ends of the string to match. Original patch by Matthew Barnett. | ||||
* | | Issue #13592: Improved the repr for regular expression pattern objects. | Serhiy Storchaka | 2013-11-23 | 1 | -1/+81 |
| | | | | | | | | Based on patch by Hugo Lopes Tavares. |