cwtags #4502759 UStringIO monkeypatch breaks assertions in write() [validation pending]
UStringIO.write() has assertions to make sure that only Unicode strings are given to it. The ways cwtags monkeypatches UStringIO has many drawbacks:
A better approach would be to call the original method from the monkeypatch (much like a super call would) to get all the benefits from the original method, while adding new handling for tag objects. | |
priority | normal |
---|---|
type | bug |
done in | 1.1.0 |
load | 0.500 |
load left | 0.000 |
closed by | #2ef6fd5f98cd Extend cw's UStringIO, don't break it (closes #4502759) |
patch | Extend cw's UStringIO, don't break it (closes #4502759) [applied] |