Re: [PyQt] design flaw in python khtml DOM bindings

2008-10-26 Thread Jim Bublitz
On Sunday 26 October 2008 12:48, lkcl wrote: > jim, hi, > > https://bugs.kde.org/show_bug.cgi?id=172740 > > the maintainers of the khtmlpart have agreed to add an enum to uniquely > identify every single object derived from Node, which should help. > > are you _sure_ it's to do with twine - twine i

Re: [PyQt] design flaw in python khtml DOM bindings

2008-10-26 Thread lkcl
jim, hi, https://bugs.kde.org/show_bug.cgi?id=172740 the maintainers of the khtmlpart have agreed to add an enum to uniquely identify every single object derived from Node, which should help. are you _sure_ it's to do with twine - twine is going to have to be _seriously_ sophisticated, to under

Re: [PyQt] design flaw in python khtml DOM bindings

2008-10-15 Thread lkcl
David Boddie wrote: > > I don't think it was a problem in PyKDE3. At least, I don't remember > running > into any issues with casting - not with the DOM classes anyway. My brother > wrote some convenience wrappers around the KHTML DOM, so I think I would > have > heard something if it had been

Re: [PyQt] design flaw in python khtml DOM bindings

2008-10-15 Thread lkcl
Jim Bublitz wrote: > > On Tuesday 14 October 2008 14:21, Luke Kenneth Casson Leighton wrote: > >> the issue is that the wrapper objects aren't unique [don't return the >> same python object for a given DOM c++ object], due to the underlying >> c++ objects being typecast down to "Node*" (or Elem

Re: [PyQt] design flaw in python khtml DOM bindings

2008-10-14 Thread David Boddie
On Tue Oct 14 23:34:29 BST 2008, Jim Bublitz wrote: > On Tuesday 14 October 2008 14:21, Luke Kenneth Casson Leighton wrote: > > i cannot express enough how much _not_ fixing this makes khtml > > completely unusable. > > There were DOM applications written for PyKDE3, which also didn't do any > pro

Re: [PyQt] design flaw in python khtml DOM bindings

2008-10-14 Thread Jim Bublitz
On Tuesday 14 October 2008 14:21, Luke Kenneth Casson Leighton wrote: > folks, hi, > thanks to some kind people on the kde-dev mailing list i'm posting > here to describe an important design issue which makes the python > khtml.DOM bindings completely unusable - for serious projects - unless > it's

[PyQt] design flaw in python khtml DOM bindings

2008-10-14 Thread Luke Kenneth Casson Leighton
folks, hi, thanks to some kind people on the kde-dev mailing list i'm posting here to describe an important design issue which makes the python khtml.DOM bindings completely unusable - for serious projects - unless it's fixed. the issue is that the wrapper objects aren't unique [don't return the sa