Skip to content

Commit

Permalink
Added note re thread safety.
Browse files Browse the repository at this point in the history
  • Loading branch information
Xof committed May 17, 2012
1 parent a11ca29 commit 23d3ffa
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion xact.py
Expand Up @@ -8,6 +8,9 @@
the dirty flag when doing database-modifying raw SQL.
* Better interaction with pgPool II, if you're using it.
* A workaround for a subtle but nasty bug in Django's transaction management.
As currently implemented, it is NOT thread-safe as a decorator (it IS thread-safe
as a context manager). Fix coming.
For full details, check the README.md file.
"""
Expand Down Expand Up @@ -109,5 +112,5 @@ def xact(using=None):
# CHRISTOPHE PETTUS SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, BUT
# NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
# PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS,
# AND POSTGRESQL EXPERTS, INC. HAS NO OBLIGATIONS TO PROVIDE MAINTENANCE,
# AND CHRISTOPHE PETTUS HAS NO OBLIGATIONS TO PROVIDE MAINTENANCE,
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.

0 comments on commit 23d3ffa

Please sign in to comment.