Skip to content

Commit 088aee5

Browse files
committed
add pending changes
1 parent f219167 commit 088aee5

20 files changed

Lines changed: 135 additions & 8042 deletions

CPythonLib.includes

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ distutils/**
1010
email/**
1111
encodings/**
1212
ensurepip/**
13+
html/**
1314
http/**
1415
importlib/*
1516
logging/*
@@ -69,6 +70,7 @@ difflib.py
6970
dircache.py
7071
dircmp.py
7172
dis.py
73+
doctest.py
7274
DocXMLRPCServer.py
7375
dospath.py
7476
dumbdbm.py
@@ -119,6 +121,7 @@ nntplib.py
119121
numbers.py
120122
nturl2path.py
121123
opcode.py
124+
operator.py
122125
optparse.py
123126
pdb.py
124127
pickle.py
@@ -158,14 +161,15 @@ site-packages/README
158161
smtpd.py
159162
smtplib.py
160163
sndhdr.py
164+
socket.py
161165
socketserver.py
162166
sre_compile.py
163167
sre_constants.py
164168
sre_parse.py
165169
stat.py
166170
string.py
167171
stringprep.py
168-
StringIO.py
172+
subprocess.py
169173
symbol.py
170174
sysconfig.py
171175
tabnanny.py

CoreExposed.includes

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ org/python/core/PyStaticMethod.class
4545
org/python/core/PyString.class
4646
org/python/core/PyStringMap.class
4747
org/python/core/PySuper.class
48+
org/python/core/PyTableCode.class
4849
org/python/core/PyTraceback.class
4950
org/python/core/PyTuple.class
5051
org/python/core/PyType.class
@@ -53,6 +54,7 @@ org/python/core/PyRange.class
5354
org/python/core/stringlib/MarkupIterator.class
5455
org/python/core/stringlib/FieldNameIterator.class
5556
org/python/modules/PyStruct.class
57+
org/python/modules/PyNamespace.class
5658
org/python/jsr223/PyScriptEngineScope.class
5759
org/python/modules/_codecs$EncodingMap.class
5860
org/python/modules/_collections/PyDefaultDict.class
@@ -63,6 +65,7 @@ org/python/modules/_csv/PyWriter.class
6365
org/python/modules/_io/PyIOBase.class
6466
org/python/modules/_io/PyRawIOBase.class
6567
org/python/modules/_io/PyFileIO.class
68+
org/python/modules/_multiprocessing/PySemLock.class
6669
org/python/modules/_functools/PyPartial.class
6770
org/python/modules/_hashlib$Hash.class
6871
org/python/modules/bz2/PyBZ2File.class

Lib/_jyio.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,8 +170,9 @@ def open(file, mode="r", buffering=-1, encoding=None, errors=None,
170170
opened in a text mode, and for bytes a BytesIO can be used like a file
171171
opened in a binary mode.
172172
"""
173-
if not isinstance(file, (str, bytes, int)):
174-
raise TypeError("invalid file: %r" % file)
173+
# file is a FileIO on Jython
174+
#if not isinstance(file, (str, bytes, int)):
175+
# raise TypeError("invalid file: %r" % file)
175176
if not isinstance(mode, str):
176177
raise TypeError("invalid mode: %r" % mode)
177178
if not isinstance(buffering, int):

0 commit comments

Comments
 (0)