This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author flox
Recipients ezio.melotti, flox, pitrou
Date 2010-01-16.11:42:31
SpamBayes Score 1.1184428e-05
Marked as misclassified No
Message-id <>
A patch which provides a context manager and a decorator.
(with ideas from Ezio and Antoine)

Sample usages:

with temp_cwd() as cwd:
  assert cwd == os.getcwd()

def test_zipfile():
  # do something useful
  print os.path.abspath('.')
Date User Action Args
2010-01-16 11:42:34floxsetrecipients: + flox, pitrou, ezio.melotti
2010-01-16 11:42:34floxsetmessageid: <>
2010-01-16 11:42:32floxlinkissue7712 messages
2010-01-16 11:42:32floxcreate