[pypy-svn] pypy fast-forward: Start a list of things we probably won't fix for the next release.
amauryfa
commits-noreply at bitbucket.org
Fri Jan 14 23:14:38 CET 2011
Author: Amaury Forgeot d'Arc <amauryfa at gmail.com>
Branch: fast-forward
Changeset: r40703:3a6b8febddfe
Date: 2011-01-14 23:13 +0100
http://bitbucket.org/pypy/pypy/changeset/3a6b8febddfe/
Log: Start a list of things we probably won't fix for the next release. I
hope it will stay short
diff --git a/lib-python/TODO b/lib-python/TODO
--- a/lib-python/TODO
+++ b/lib-python/TODO
@@ -53,8 +53,6 @@
- many features are missing from the _ssl module
-- Enable -3 option to run test_py3kwarn. (OR SKIP THIS FEATURE)
-
- "Shorter float representation" (see pypy/translator/c/test/test_dtoa.py) to
format/parse floats. Enable this with a translation option.
@@ -80,3 +78,23 @@
- Show a ResourceWarning when a file/socket is not explicitely closed, like
CPython did for 3.2: http://svn.python.org/view?view=rev&revision=85920
in PyPy this should be enabled by default
+
+Won't do for this release
+-------------------------
+
+Note: when you give up with a missing feature, please mention it here, as well
+as the various skips added to the test suite.
+
+- py3k warnings
+
+ * the -3 flag is accepted on the command line, but displays a warning (see
+ `translator/goal/app_main.py`)
+
+- CJK codecs.
+
+ * In `./conftest.py`, skipped all `test_codecencodings_*.py` and
+ `test_codecmaps_*.py`.
+
+ * In test_codecs, commented out various items in `all_unicode_encodings`.
+
+
diff --git a/pypy/translator/goal/app_main.py b/pypy/translator/goal/app_main.py
--- a/pypy/translator/goal/app_main.py
+++ b/pypy/translator/goal/app_main.py
@@ -401,6 +401,10 @@
sys.flags = type(sys.flags)(flags)
sys.py3kwarning = sys.flags.py3k_warning
+ if sys.py3kwarning:
+ print >> sys.stderr, (
+ "Warning: pypy does not implement py3k warnings")
+
## if not we_are_translated():
## for key in sorted(options):
## print '%40s: %s' % (key, options[key])
diff --git a/lib-python/modified-2.7.0/test/test_codecs.py b/lib-python/modified-2.7.0/test/test_codecs.py
--- a/lib-python/modified-2.7.0/test/test_codecs.py
+++ b/lib-python/modified-2.7.0/test/test_codecs.py
@@ -1196,8 +1196,8 @@
all_unicode_encodings = [
"ascii",
"base64_codec",
- "big5",
- "big5hkscs",
+ ## "big5",
+ ## "big5hkscs",
"charmap",
"cp037",
"cp1006",
@@ -1234,27 +1234,27 @@
"cp869",
"cp874",
"cp875",
- "cp932",
- "cp949",
- "cp950",
- "euc_jis_2004",
- "euc_jisx0213",
- "euc_jp",
- "euc_kr",
- "gb18030",
- "gb2312",
- "gbk",
+ ## "cp932",
+ ## "cp949",
+ ## "cp950",
+ ## "euc_jis_2004",
+ ## "euc_jisx0213",
+ ## "euc_jp",
+ ## "euc_kr",
+ ## "gb18030",
+ ## "gb2312",
+ ## "gbk",
"hex_codec",
"hp_roman8",
- "hz",
+ ## "hz",
"idna",
- "iso2022_jp",
- "iso2022_jp_1",
- "iso2022_jp_2",
- "iso2022_jp_2004",
- "iso2022_jp_3",
- "iso2022_jp_ext",
- "iso2022_kr",
+ ## "iso2022_jp",
+ ## "iso2022_jp_1",
+ ## "iso2022_jp_2",
+ ## "iso2022_jp_2004",
+ ## "iso2022_jp_3",
+ ## "iso2022_jp_ext",
+ ## "iso2022_kr",
"iso8859_1",
"iso8859_10",
"iso8859_11",
@@ -1270,7 +1270,7 @@
"iso8859_7",
"iso8859_8",
"iso8859_9",
- "johab",
+ ## "johab",
"koi8_r",
"koi8_u",
"latin_1",
@@ -1285,9 +1285,9 @@
"punycode",
"raw_unicode_escape",
"rot_13",
- "shift_jis",
- "shift_jis_2004",
- "shift_jisx0213",
+ ## "shift_jis",
+ ## "shift_jis_2004",
+ ## "shift_jisx0213",
"tis_620",
"unicode_escape",
"unicode_internal",
More information about the Pypy-commit
mailing list