Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion 2 Lib/test/test_bigaddrspace.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def test_repeat(self):

class StrTest(unittest.TestCase):

unicodesize = 2 if sys.maxunicode < 65536 else 4
unicodesize = 4

@bigaddrspacetest
def test_concat(self):
Expand Down
5 changes: 1 addition & 4 deletions 5 Tools/unicode/mkstringprep.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
import re, sys
import re
from unicodedata import ucd_3_2_0 as unicodedata

if sys.maxunicode == 65535:
raise RuntimeError("need UCS-4 Python")

def gen_category(cats):
for i in range(0, 0x110000):
if unicodedata.category(chr(i)) in cats:
Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.