Author: Armin Rigo <[email protected]>
Branch: py3.6
Changeset: r97340:618365170725
Date: 2019-08-30 13:52 +0200
http://bitbucket.org/pypy/pypy/changeset/618365170725/

Log:    Don't make a subclass of NotImplementedError to avoid using
        NotImplementedError---it's unlikely to work correctly in RPython

diff --git a/pypy/module/posix/interp_nt.py b/pypy/module/posix/interp_nt.py
--- a/pypy/module/posix/interp_nt.py
+++ b/pypy/module/posix/interp_nt.py
@@ -35,7 +35,7 @@
 
 
 # plain NotImplementedError is invalid RPython
-class LLNotImplemented(NotImplementedError):
+class LLNotImplemented(Exception):
 
     def __init__(self, msg):
         self.msg = msg
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to