##// END OF EJS Templates
Make event triggering robust to (un)registration....
Make event triggering robust to (un)registration. Event callbacks can register or unregister new callbacks for the same event while executing, and the previous triggering implementation allowed for event callbacks to be inadvertently skipped. The fix is to make a copy of the list of callbacks before executing any of them. With this change, the resulting semantics are simple: any callbacks registered before triggering are executed, and any new callbacks registered are only visible at the next triggering of the event. Note that this could potentially break existing callers who expected newly-appended callbacks were immediately executed. Fixes #9447. Originally based on a patch by @marksandler2.

File last commit:

r7846:e288666b
r22317:68860ee5
Show More
.gitattributes
5 lines | 109 B | text/plain | TextLexer
Fernando Perez
Add support for commit information in auto-generated archives....
r3199 IPython/.git_commit_info.ini export-subst
Darren Dale
update .gitattributes to normalize line endings
r3217 * text=auto
Bradley M. Froehle
Tell git about certain file extensions (.py, .js, .html) for use in word-diffs.
r7846 *.py diff=python
*.js diff=javascript
*.html diff=html