Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
cb1a0283
Commit
cb1a0283
authored
May 21, 2013
by
Serhiy Storchaka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #17979: Fixed the re module in build with --disable-unicode.
parent
e6f2e6cc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
Misc/NEWS
Misc/NEWS
+2
-0
Modules/sre.h
Modules/sre.h
+2
-2
No files found.
Misc/NEWS
View file @
cb1a0283
...
...
@@ -58,6 +58,8 @@ Core and Builtins
Library
-------
-
Issue
#
17979
:
Fixed
the
re
module
in
build
with
--
disable
-
unicode
.
-
Issue
#
17606
:
Fixed
support
of
encoded
byte
strings
in
the
XMLGenerator
.
characters
()
and
ignorableWhitespace
()
methods
.
Original
patch
by
Sebastian
Ortiz
Vasquez
.
...
...
Modules/sre.h
View file @
cb1a0283
...
...
@@ -23,8 +23,8 @@
# define SRE_MAXREPEAT ((SRE_CODE)PY_SSIZE_T_MAX + 1u)
# endif
#else
# define SRE_CODE unsigned
long
# if SIZEOF_SIZE_T > SIZEOF_
LONG
# define SRE_CODE unsigned
int
# if SIZEOF_SIZE_T > SIZEOF_
INT
# define SRE_MAXREPEAT (~(SRE_CODE)0)
# else
# define SRE_MAXREPEAT ((SRE_CODE)PY_SSIZE_T_MAX + 1u)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment