#10095: __import__ behaviour causing signal receivers to be connected twice
-------------------------------------+--------------------------------------
Reporter: ben | Owner: nobody
Status: closed | Milestone:
Component: Core framework | Version: SVN
Resolution: duplicate | Keywords: signal import
Stage: Unreviewed | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
-------------------------------------+--------------------------------------
Comment (by mtredinnick):
Note, also, that we don't guarantee things will only be imported once.
Python's `__import__` statement is the same as `reload()`, it reimports
the module, even if it already exists. It's up to code authors to make any
allowances for double execution of code lines.
--
Ticket URL: <http://code.djangoproject.com/ticket/10095#comment:2>
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
-~----------~----~----~----~------~----~------~--~---