Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Make sure that __str__ and __repr__ never fail by catching all exce…
…ptions and using the custom fallback. (This is equivalent to the C Proxy behavior.) - Allow __getslice__ and __setslice__ to access the original object's implementation instead of always falling back to __getitem__ and __setitem__. Do we really want to support this or just remove the test? (It is deprecated this Python 2.0!) - Make sure that Checker.set_permissions is set initiated as an empty dict, if not provided. While not immediately obvious, this is the C-based checker behavior as well. Oh yeah, all tests pass now on py26, py27, py32, py33, and pypy!
- Loading branch information
Showing
5 changed files
with
22 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Maybe add tox environments which test this under 2.7 and 3.3?