1. Summary
  2. Files
  3. Support
  4. Report Spam
  5. Create account
  6. Log in

Ticket #201 (closed defect: fixed)

Opened 9 months ago

Last modified 9 months ago

PluralBinding insert misbehavior

Reported by: pabigot Owned by: pabigot
Priority: major Milestone: PyXB 1.2.3
Component: Binding model Version: PyXB 1.2.2
Keywords: Cc:

Description

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.

Attachments

0001-trac-201-PluralBinding-insert-misbehavior.patch (2.3 KB) - added by pabigot 9 months ago.
Patch for #201

Change History

Changed 9 months ago by pabigot

Patch for #201

Changed 9 months ago by pabigot

  • 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
Note: See TracTickets for help on using tickets.