Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Ticket #2479 (closed defect: migrated)

Opened 9 years ago

Last modified 8 years ago

Port to the new Bunch package

Reported by: lmacken Owned by:
Priority: low Milestone: 2.2
Component: TurboGears Version: 2.1b1
Severity: normal Keywords:
Cc:

Description

Instead of rolling our own, we should see if we can easily drop in the new Bunch package in place our our existing Bunch object.  http://pypi.python.org/pypi/bunch/1.0.0

Change History

comment:1 Changed 8 years ago by chrisz

  • Version changed from trunk to 2.1b1
  • Milestone changed from __unclassified__ to 2.2

util.Bunch is useful not only internally, but also in apps, e.g. as substitute for not yet existing model objects when rendering forms. Beefing it up a bit can not harm.

TG 2.1 is already a rc, but we can consider this for TG 2.2. We should check if jsonification works properly and whether we should better incorporate this in our codebase, because it's so small and we already have so many dependencies.

comment:2 Changed 8 years ago by pedersen

  • Status changed from new to closed
  • Resolution set to migrated
Note: See TracTickets for help on using tickets.