[pypy-commit] pypy py3.5: Backout lib-python/ change in 4bb7cf3
rlamy
pypy.commits at gmail.com
Thu Dec 21 05:48:03 EST 2017
Author: Ronan Lamy <ronan.lamy at gmail.com>
Branch: py3.5
Changeset: r93531:a3e4d351acbe
Date: 2017-12-21 10:47 +0000
http://bitbucket.org/pypy/pypy/changeset/a3e4d351acbe/
Log: Backout lib-python/ change in 4bb7cf3
diff --git a/lib-python/3/ssl.py b/lib-python/3/ssl.py
--- a/lib-python/3/ssl.py
+++ b/lib-python/3/ssl.py
@@ -140,23 +140,6 @@
except NameError:
_SSLv2_IF_EXISTS = None
-
-
-
-import os
-class DirEntry:
- def __init__(self, path, name):
- self.path = os.path.join(path, name)
- self.name = name
- def is_dir(self):
- return os.path.isdir(self.path)
-def myscandir(path='.'):
- for name in os.listdir(path):
- yield DirEntry(path, name)
-os.scandir = myscandir
-
-
-
if sys.platform == "win32":
from _ssl import enum_certificates, enum_crls
More information about the pypy-commit
mailing list