Hi,
I am attempting to upgrade our system from Pytbon2.6/PyXB-1.1.4 to
Python-2.7.4/PyXB-1.2.3. I am seeing a number of errors with our scripts
where a PluralBinding class is treated like a list.
Eg1:
this code
for MuxInput in If.sdr_mux_input + ["default"]:
gives:
TypeError: unsupported operand type(s) for +: '_PluralBinding' and 'list'
Eg2:
this code:
SdrIfs = Die.sdr_interface
MuxedSdrIfs = Die.muxed_sdr_interface
DdrIfs = Die.ddr_interface
for If in SdrIfs + MuxedSdrIfs + DdrIfs:
gives:
TypeError: unsupported operand type(s) for +: '_PluralBinding' and
'_PluralBinding'
Can someone enlighten me as to what is going on here? I see that the
_PluralBinding class is trying to behave like a list. It does not appear to
be present at all in content.py in PyXB-1.1.4.
Thanks.
--
Patrick Byrne
------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
_______________________________________________
pyxb-users mailing list
pyxb-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pyxb-users