sandbox examples use deprecated Python module
Bug #143512 reported by
sacco
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zope 2 |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
The sandbox security examples introduced in Zope 2.8 depend on the whrandom module which is descibed in the Python library reference as:
"Deprecated since release 2.1"
"It is no longer used. Please do not use this module directly; use random instead."
It is also trivially replaceable by the random module.
The uploaded patch does exactly that.
t.
To post a comment you must log in.
Status: Pending => Deferred
I have updated the ZopeX3-3.0 branch with your patch; landing
it for Zope 2.8 requires stitching a not-yet-existing ZopeX3
3.0.2 release back to the Zope 2.8 branch.