[pypy-svn] pypy interplevel-exception-classes: oops

amauryfa commits-noreply at bitbucket.org
Fri Feb 18 11:49:17 CET 2011


Author: Amaury Forgeot d'Arc <amauryfa at gmail.com>
Branch: interplevel-exception-classes
Changeset: r42143:0954a68b1a24
Date: 2011-02-18 11:20 +0100
http://bitbucket.org/pypy/pypy/changeset/0954a68b1a24/

Log:	oops

diff --git a/pypy/module/select/__init__.py b/pypy/module/select/__init__.py
--- a/pypy/module/select/__init__.py
+++ b/pypy/module/select/__init__.py
@@ -12,7 +12,7 @@
     interpleveldefs = {
         'poll'  : 'interp_select.poll',
         'select': 'interp_select.select',
-        'error' : 'space.new_exception_class("select.error")',
+        'error' : 'space.fromcache(interp_select.Cache).w_error'
     }
 
     # TODO: this doesn't feel right...


More information about the Pypy-commit mailing list