#11906: QuerySet._fill_cache is not thread-safe
---------------------------------------------------+------------------------
Reporter: mrts | Owner: nobody
Status: new | Milestone:
Component: Database layer (models, ORM) | Version: SVN
Resolution: | Keywords: threading
thread
Stage: Unreviewed | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
---------------------------------------------------+------------------------
Comment (by mrts):
Summarized it as follows in [wiki:DjangoSpecifications/Core/Threading the
unofficial threadsafety wiki page]: ''Django core is generally threadsafe
as of 1.0.3 / 1.1. However, `QuerySet`s are known not to be thread-safe,
see #11906. Usually that does not pose problems as they are (or should be)
not shared between threads in Django. The exception to that rule is the
use of exotic global/class-level/shared instance variable querysets in
your own code (e.g. when using the ORM outside of the Django dispatch
system), where you are assumed to know what you are doing and protect them
appropriately anyway.''
--
Ticket URL: <http://code.djangoproject.com/ticket/11906#comment:3>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---