Rev 2245: (John Arbash Meinel) (r=Martin) Improve the read/write_lock decorators to create custom functions for better profiling and documentation. in /home/pqm/archives/thelove/bzr/+trunk/

Canonical.com Patch Queue Manager pqm at pqm.ubuntu.com
Thu Jan 25 19:46:27 GMT 2007


------------------------------------------------------------
revno: 2245
revision-id: pqm at pqm.ubuntu.com-20070125194626-4ded330415b7276d
parent: pqm at pqm.ubuntu.com-20070125051817-53a80525dbdf87b4
parent: john at arbash-meinel.com-20070125155429-x53892xqx4r17l8h
committer: Canonical.com Patch Queue Manager<pqm at pqm.ubuntu.com>
branch nick: +trunk
timestamp: Thu 2007-01-25 19:46:26 +0000
message:
  (John Arbash Meinel) (r=Martin) Improve the read/write_lock decorators to create custom functions for better profiling and documentation.
modified:
  bzr                            bzr.py-20050313053754-5485f144c7006fa6
  bzrlib/decorators.py           decorators.py-20060112082512-6bfc2d882df1698d
  bzrlib/tests/test_decorators.py test_decorators.py-20060113063037-0e7bd4566758f4fa
    ------------------------------------------------------------
    merged: john at arbash-meinel.com-20070125155429-x53892xqx4r17l8h
    parent: john at arbash-meinel.com-20070124204020-szyxbjpn9mzbsks7
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: decorators
    timestamp: Thu 2007-01-25 09:54:29 -0600
    message:
      Clean up the documentation and imports for decorators (per Martin's suggestions)
    ------------------------------------------------------------
    merged: john at arbash-meinel.com-20070124204020-szyxbjpn9mzbsks7
    parent: john at arbash-meinel.com-20070124175950-jsf09jr7wq3u1neb
    parent: pqm at pqm.ubuntu.com-20070124170602-5f008e922b3dd800
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: decorators
    timestamp: Wed 2007-01-24 14:40:20 -0600
    message:
      [merge] bzr.dev 2242
    ------------------------------------------------------------
    merged: john at arbash-meinel.com-20070124175950-jsf09jr7wq3u1neb
    parent: john at arbash-meinel.com-20070124173401-dstdatq52iz8fi1m
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: decorators
    timestamp: Wed 2007-01-24 11:59:50 -0600
    message:
      Add tests that decorators generate useful wrappers.
    ------------------------------------------------------------
    merged: john at arbash-meinel.com-20070124173401-dstdatq52iz8fi1m
    parent: john at arbash-meinel.com-20070112002700-uvutedw5kko38zsp
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: decorators
    timestamp: Wed 2007-01-24 11:34:01 -0600
    message:
      Add the ability to have fast decorators as well as pretty ones, and have 'bzr' select the right one at startup.
    ------------------------------------------------------------
    merged: john at arbash-meinel.com-20070112002700-uvutedw5kko38zsp
    parent: john at arbash-meinel.com-20070111224224-kj9t3nmsmpphnp2e
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: decorators
    timestamp: Thu 2007-01-11 18:27:00 -0600
    message:
      Change decorators to define the same parameters as the wrapped func.
      
      This should make it easier to use help(bzrlib.Branch.foo) since you see the
      real parameters, rather than *args, **kwargs.
    ------------------------------------------------------------
    merged: john at arbash-meinel.com-20070111224224-kj9t3nmsmpphnp2e
    parent: pqm at pqm.ubuntu.com-20070111161229-759760c90ec737e6
    committer: John Arbash Meinel <john at arbash-meinel.com>
    branch nick: decorators
    timestamp: Thu 2007-01-11 16:42:24 -0600
    message:
      Change the read_lock and write_lock decorators to use custom names



More information about the bazaar-commits mailing list