diff options
| author | Bert JW Regeer <bertjw@regeer.org> | 2015-02-07 12:57:11 -0700 |
|---|---|---|
| committer | Bert JW Regeer <bertjw@regeer.org> | 2015-02-07 13:08:13 -0700 |
| commit | c600ab6fe31e2ea95f1aea9f8c40ae585f6afe39 (patch) | |
| tree | 3a3a397bc0d4a002044da377413adf419ad25912 /docs/quick_tutorial | |
| parent | c7c02f44492da19d848d66556c2c13b9c79ee7ee (diff) | |
| download | pyramid-c600ab6fe31e2ea95f1aea9f8c40ae585f6afe39.tar.gz pyramid-c600ab6fe31e2ea95f1aea9f8c40ae585f6afe39.tar.bz2 pyramid-c600ab6fe31e2ea95f1aea9f8c40ae585f6afe39.zip | |
Remove __providesBy__ attribute from being copied
This change reverts part of what
https://github.com/Pylons/pyramid/issues/1212 changed. We attempt to
copy information used by zope.interfaces to the new class to avoid
creating new objects that could possibly leak.
Unfortunately copying over __providedBy__ causes issues with the
sub-class after modification no longer implementing interfaces, for more
information see:
https://github.com/Pylons/pyramid/issues/1529#issuecomment-73373581
Once __providedBy__ is removed from the list, this is no longer the case
and the new class that is created in `_set_properties` properly report
that it implements the interfaces it used to implement before.
Diffstat (limited to 'docs/quick_tutorial')
0 files changed, 0 insertions, 0 deletions
