sgzwiz / brython

Automatically exported from code.google.com/p/brython
BSD 3-Clause "New" or "Revised" License
0 stars 1 forks source link

del doc["something"] does not allow deletion of some node in the hierarchy #38

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
DOMNode.prototype.__delitem__ implementation is not symetrical
with DOMNode.prototype.__getitem__

The later has some special treatment for "document" nodes
allowing some arbitrary look up of the "key" in the hierarchy.

__delitem__ has lost this ability.

This currently breaks kanban task deletion.
It does not matter per se, I will address the issue accordingly
with the way you decide to address this inconsistency. 

Original issue reported on code.google.com by pedro.ro...@gmail.com on 7 Jan 2013 at 9:59

GoogleCodeExporter commented 9 years ago
Fixed in revision#362

Original comment by pierre.q...@gmail.com on 8 Jan 2013 at 7:42

GoogleCodeExporter commented 9 years ago

Original comment by pierre.q...@gmail.com on 8 Jan 2013 at 7:42