-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The old "AttributeError: __call__" bug resurfaced with Python 2.1, bu…
…t this change is intended to solve it once and for all: there's now a "safe_callable" function, implemented both in cDocumentTemplate and pDocumentTemplate, that can more reliably check for callability. A surprising side effect is that DTML is about 15% faster with this change (according to a rudimentary test).
- Loading branch information
Showing
3 changed files
with
97 additions
and
74 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