Very High Activity

Commits : Individual Commit

  Analyzed 2 days ago based on code collected 2 days ago.

Commit ID aad1226fa707a0b84a78470a8cf4ed8174923f70

Avatar 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
 
 
 

Creative Commons License Copyright © 2013 Black Duck Software, Inc. and its contributors, Some Rights Reserved. Unless otherwise marked, this work is licensed under a Creative Commons Attribution 3.0 Unported License . Ohloh ® and the Ohloh logo are trademarks of Black Duck Software, Inc. in the United States and/or other jurisdictions. All other trademarks are the property of their respective holders.