Very High Activity

Commits : Individual Commit

  Analyzed 16 days ago based on code collected 17 days ago.

Commit ID aad1226fa707a0b84a78470a8cf4ed8174923f70

Cdc3cafa377f0e0e93fc69636021ef65?&s=64&rating=pg&d=https%3a%2f%2fwww Contributor: Antonio Cuni Files Modified: 4
Date: 12-July-2012 at 22:36 Lines Added: 17
Repository: https://bitbucket.org/pypy/pypy Lines Removed: 37
Commit Comment: the 'exceptions' module is gone in Python3, and exceptions are now directly in
builtins. However, in PyPy we cannot simply move them to builtins, because
they are needed in the early bootstrap of the space, before builtins is
initialized. So, we keep them in a separate module (renamed to
'__exceptions__' because it's an internal implementation detail only) but we
pretend that its __module__ is 'builtins'.

This approach has the extra bonus that it minimizes the divergence from
default.
 

Changes by Language

Language Code Added Code Removed Comments Added Comment Removed Blanks Added Blanks Removed
  Python 17 31 0 0 0 6

Changes by File

Showing page 1 of 1
File Language Code Added Code Removed Comments Added Comment Removed Blanks Added Blanks Removed
pypy/interpreter/baseobjspace.py Python 1 1 0 0 0 0
pypy/module/exceptions/__init__.py Python 1 0 0 0 0 0
pypy/module/exceptions/interp_exceptions.py Python 9 9 0 0 0 0
pypy/module/exceptions/test/test_exc.py Python 6 21 0 0 0 6