Blobs are subclassable
Bug #127182 reported by
Jim Fulton
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
ZODB | Status tracked in 3.9 | |||||
3.8 |
Fix Released
|
Low
|
Christian Theune | |||
3.9 |
Fix Released
|
Low
|
Christian Theune |
Bug Description
Blobs do not support subclassing, but people are tempted to subclass them.
At a minimum we need to make very explicit in their documentation that subclassing isn't supported. It might be worthwhile going further, Marius suggested raising an error in __init__ if self is of the wrong class. That should be easy and might provide adequate protection.
Changed in zodb: | |
importance: | Undecided → Low |
status: | New → Confirmed |
Changed in zodb: | |
status: | Confirmed → In Progress |
To post a comment you must log in.
Letting Sebastian handle this.