{ "info": { "author": "Dieter Maurer", "author_email": "dieter@handshake.de", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Framework :: Zope2", "Intended Audience :: Developers", "License :: OSI Approved :: Zope Public License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Utilities" ], "description": "This package defines the parameterless function ``add_abort_hooks``\nwhich patches `transaction` to support (before and after) abort hooks.\n\nThe support is analogous to that of before commit hooks.\nEspecially, ``transaction._transaction.Transaction`` gets two new methods\n``addBeforeAbortHook`` and ``addAfterAbortHook``\nanaloguous to ``addBeforeCommitHook`` with identical\nsignature. The hooks are called at the begin or end,\nrespectively, of `Transaction.abort()`.\n\nNote that the abort hooks are not called when the transaction\nis internally aborted during a transaction commit. In this case,\nthe after commit hooks are called (with ``False`` as first parameter).\nTherefore, it is likely that you will register a corresponding\npair of abort hook and after commit hook.\nIn fact, I had expected that the after commit hooks would be called\nduring ``abort`` as well, but the ZODB developers decided that not calling\nthem on ``abort`` is a feature, not a bug.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://pypi.python.org/pypi/dm.transaction.aborthook", "keywords": "ZODB recovery", "license": "ZPL", "maintainer": null, "maintainer_email": null, "name": "dm.transaction.aborthook", "package_url": "https://pypi.org/project/dm.transaction.aborthook/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/dm.transaction.aborthook/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://pypi.python.org/pypi/dm.transaction.aborthook" }, "release_url": "https://pypi.org/project/dm.transaction.aborthook/1.0/", "requires_dist": null, "requires_python": null, "summary": "Patch `transaction` to support abort hooks", "version": "1.0" }, "last_serial": 791257, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "6d85550aca29523efa9aab4985fde473", "sha256": "30def72f7eb2a70a9ea6dbdf9674e2757b51550e1763238a4210fe0394228e77" }, "downloads": -1, "filename": "dm.transaction.aborthook-1.0.tar.gz", "has_sig": false, "md5_digest": "6d85550aca29523efa9aab4985fde473", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2861, "upload_time": "2011-11-14T12:24:46", "url": "https://files.pythonhosted.org/packages/71/f2/9b1ea855984fc71813f0c99df2bc331ed15984d47bd630d9de15e102facd/dm.transaction.aborthook-1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "6d85550aca29523efa9aab4985fde473", "sha256": "30def72f7eb2a70a9ea6dbdf9674e2757b51550e1763238a4210fe0394228e77" }, "downloads": -1, "filename": "dm.transaction.aborthook-1.0.tar.gz", "has_sig": false, "md5_digest": "6d85550aca29523efa9aab4985fde473", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2861, "upload_time": "2011-11-14T12:24:46", "url": "https://files.pythonhosted.org/packages/71/f2/9b1ea855984fc71813f0c99df2bc331ed15984d47bd630d9de15e102facd/dm.transaction.aborthook-1.0.tar.gz" } ] }