-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Compatibility with PythonScripts (#10)
Compatibility with PythonScripts: * Needed for current versions of Products/CMFCore/FSPythonScript.py. * Use ``six`` to access the function object and function code in ``zope.publisher.publisher.unwrapMethod``. This restores compatibility with Products.PythonScripts, where parameters were not extracted. * Use both new and old locations for __code__ * Added test showing we can still handle a pre Python 2.6 method.
- Loading branch information
Showing
3 changed files
with
72 additions
and
4 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