Patch #941486: add os.path.lexists(). Also fix bug #940578 by using lexists in glob.glob.
diff --git a/Lib/plat-riscos/riscospath.py b/Lib/plat-riscos/riscospath.py
index 27b5732..97b4f65 100644
--- a/Lib/plat-riscos/riscospath.py
+++ b/Lib/plat-riscos/riscospath.py
@@ -218,6 +218,8 @@
     except swi.error:
         return 0
 
+lexists = exists
+
 
 def isdir(p):
     """