flake8
passed.
JSHint
passed.
Review Request #10199 — Created Oct. 6, 2018 and submitted
On Python 2.6 and early versions of 2.7,
object.__setattr__
can't be
used on old-style classes (those not inheriting fromobject
), which
meant that some spies would succeed on some versions of Python and fail
on others.We now fall back to simply modifying the dictionary in these cases.
Unit tests pass on all supported versions of Python.
Description | From | Last Updated |
---|---|---|
Should we explicitly check for the version here? |
brennie |