Iterators unwrapping internal elements
in pyQuery just like in jQuery all iterators hand the internal objects as the argument to all iterators.
This leads to the paradoxical situation (just like in jQuery) that in the vast majority of cases you have to rewrap the argument to do something useful with it.
I know that the jQuery guys would love to change that decision, but it's too late for them to change that api.
You however still can I would venture to guess.
The old behavior is still easily available by the  syntax.
Another reason why this is problematic: you can set specific options on how to parse the content on pyQuery, like parser="xml" or your own css to xpath converter. However whenever you rewrap a subtree you have to make sure that you hand in those options again, which can easily be missed. (And caused me several hours of bug fixing un-quality time).