Rev 1439: * Deprecated functions and methods can now be marked as such using the in /home/robertc/source/baz/integration

Robert Collins robertc at robertcollins.net
Thu Jan 5 21:33:03 GMT 2006


------------------------------------------------------------
revno: 1439
revision-id: robertc at robertcollins.net-20060105213257-72e57eb4e30b0bc2
parent: robertc at robertcollins.net-20060104233225-7ce047eb1fca63ec
parent: robertc at robertcollins.net-20060105124646-af18da35bc3f64b4
committer: Robert Collins <robertc at robertcollins.net>
branch nick: integration
timestamp: Fri 2006-01-06 08:32:57 +1100
message:
   * Deprecated functions and methods can now be marked as such using the 
     bzrlib.symbol_versioning module. Marked method have their docstring
     updated and will issue a DeprecationWarning using the warnings module
     when they are used. (Robert Collins)
added:
  bzrlib/symbol_versioning.py    symbol_versioning.py-20060105104851-9ecf8af605d15a80
  bzrlib/tests/test_symbol_versioning.py test_symbol_versioning.py-20060105104851-51d7722c2018d42b
modified:
  HACKING                        HACKING-20050805200004-2a5dc975d870f78c
  NEWS                           NEWS-20050323055033-4e00b5db738777ff
  bzrlib/__init__.py             __init__.py-20050309040759-33e65acf91bbcd5d
  bzrlib/tests/__init__.py       selftest.py-20050531073622-8d0e3c8845c97a64
  bzrlib/tests/test_sampler.py   testsampler.py-20051006114006-67f6d8ecb1fda6de
    ------------------------------------------------------------
    merged: robertc at robertcollins.net-20060105124646-af18da35bc3f64b4
    parent: robertc at robertcollins.net-20060105120726-6c818f10b227aa62
    committer: Robert Collins <robertc at robertcollins.net>
    branch nick: deprecation
    timestamp: Thu 2006-01-05 23:46:46 +1100
    message:
      Set the __name__ attribute on decorated methods and functions.
    ------------------------------------------------------------
    merged: robertc at robertcollins.net-20060105120726-6c818f10b227aa62
    parent: robertc at robertcollins.net-20060105114350-e21c40532770563e
    committer: Robert Collins <robertc at robertcollins.net>
    branch nick: deprecation
    timestamp: Thu 2006-01-05 23:07:26 +1100
    message:
      Update NEWS and HACKING for the symbol_versioning module.
    ------------------------------------------------------------
    merged: robertc at robertcollins.net-20060105114350-e21c40532770563e
    parent: robertc at robertcollins.net-20060105110307-21db4cbdfd94f2c6
    committer: Robert Collins <robertc at robertcollins.net>
    branch nick: deprecation
    timestamp: Thu 2006-01-05 22:43:50 +1100
    message:
      decorate docstrings in deprecated functions.
    ------------------------------------------------------------
    merged: robertc at robertcollins.net-20060105110307-21db4cbdfd94f2c6
    parent: robertc at robertcollins.net-20060105104926-6e5dc14eff2352ca
    committer: Robert Collins <robertc at robertcollins.net>
    branch nick: deprecation
    timestamp: Thu 2006-01-05 22:03:07 +1100
    message:
      Implement deprecated_function.
    ------------------------------------------------------------
    merged: robertc at robertcollins.net-20060105104926-6e5dc14eff2352ca
    parent: robertc at robertcollins.net-20060104233225-7ce047eb1fca63ec
    committer: Robert Collins <robertc at robertcollins.net>
    branch nick: deprecation
    timestamp: Thu 2006-01-05 21:49:26 +1100
    message:
      Implement deprecated_method



More information about the bazaar-commits mailing list