Menu

#201 PluralBinding insert misbehavior

PyXB 1.2.3
closed
None
fixed
Binding model
major
PyXB 1.2.2
defect
2013-07-08
2013-07-08
No

See: https://sourceforge.net/p/pyxb/discussion/956708/thread/39867245

Looks like insert improperly assumes its second argument is an iterable when in fact it is a single value.

1 Attachments

Discussion

  • Peter A. Bigot

    Peter A. Bigot - 2013-07-08
    • status changed from new to closed
    • resolution set to fixed

      commit 0d45e2398f99378ab3777cd956ba65f5b624bef6
      Author: Peter A. Bigot pab@pabigot.com
      Date: Mon Jul 8 16:13:25 2013 -0500

      trac/201: PluralBinding insert misbehavior
      
      Mutable sequence insert method takes a value, not an iterable, as its second
      argument.
      

      :100644 100644 a09836e... 36f983f... M pyxb/binding/content.py
      :000000 100644 0000000... 62ed6da... A tests/trac/test-trac-0201.py