MergeableList.pop() (without any argument) should pop the last element in the list.

Bug #675787 reported by Eric Casteleijn
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
desktopcouch
Fix Released
High
Eric Casteleijn
desktopcouch (Ubuntu)
Fix Released
High
Eric Casteleijn

Bug Description

pop() does not behave like it does in a regular list:

>>> from desktopcouch.records.record import MergeableList
>>> a = MergeableList([1,2,3,4])
>>> a.pop()
Traceback (most recent call last):
  File "<input>", line 1, in <module>
TypeError: pop() takes exactly 2 arguments (1 given)
>>>

Related branches

Changed in desktopcouch:
assignee: nobody → Eric Casteleijn (thisfred)
Changed in desktopcouch:
status: In Progress → Fix Committed
Changed in desktopcouch (Ubuntu):
importance: Undecided → High
assignee: nobody → Eric Casteleijn (thisfred)
status: New → In Progress
milestone: none → natty-alpha-1
Changed in desktopcouch (Ubuntu):
milestone: natty-alpha-1 → natty-alpha-2
Changed in desktopcouch:
status: Fix Committed → Fix Released
Changed in desktopcouch (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.