Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commit9ee8a1a

Browse files
committed
Cease supporting DATrie under PyPy.
1 parent1025014 commit9ee8a1a

File tree

5 files changed

+11
-9
lines changed

5 files changed

+11
-9
lines changed

‎CHANGES.rst‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ Released on XXX
1313

1414
* Now requires the ``mock`` package for the testsuite.
1515

16+
* Cease supporting DATrie under PyPy.
17+
1618

1719
0.9999999/1.0b8
1820
~~~~~~~~~~~~~~~

‎README.rst‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,8 @@ Optional Dependencies
104104
The following third-party libraries may be used for additional
105105
functionality:
106106

107-
- ``datrie`` can be used to improve parsing performance (though in
108-
almost all cases the improvement is marginal);
107+
- ``datrie`` can be usedunder CPythonto improve parsing performance
108+
(though inalmost all cases the improvement is marginal);
109109

110110
- ``lxml`` is supported as a tree format (for both building and
111111
walking) under CPython (but *not* PyPy where it is known to cause

‎requirements-optional-cpython.txt‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,7 @@
33
# lxml is supported with its own treebuilder ("lxml") and otherwise
44
# uses the standard ElementTree support
55
lxml
6+
7+
# DATrie can be used in place of our Python trie implementation for
8+
# slightly better parsing performance.
9+
datrie

‎requirements-optional.txt‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,6 @@
44
# streams.
55
genshi
66

7-
# DATrie can be used in place of our Python trie implementation for
8-
# slightly better parsing performance.
9-
datrie
10-
117
# charade can be used as a fallback in case we are unable to determine
128
# the encoding of a document.
139
charade

‎setup.py‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,18 +65,18 @@
6565

6666
# A conditional extra will only install these items when the extra is
6767
# requested and the condition matches.
68+
"datrie:python_implementation == 'CPython'": ["datrie"],
6869
"lxml:python_implementation == 'CPython'": ["lxml"],
6970

7071
# Standard extras, will be installed when the extra is requested.
7172
"genshi": ["genshi"],
72-
"datrie": ["datrie"],
7373
"charade": ["charade"],
7474

7575
# The all extra combines a standard extra which will be used anytime
7676
# the all extra is requested, and it extends it with a conditional
7777
# extra that will be installed whenever the condition matches and the
7878
# all extra is requested.
79-
"all": ["genshi","datrie","charade"],
80-
"all:python_implementation == 'CPython'": ["lxml"],
79+
"all": ["genshi","charade"],
80+
"all:python_implementation == 'CPython'": ["datrie","lxml"],
8181
},
8282
)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp