##// 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:

r21981:160d3472
r22317:68860ee5
Show More
.travis.yml
21 lines | 571 B | text/x-yaml | YamlLexer
Marc Abramowitz
Add .travis.yml for Travis CI (http://travis-ci.org/)
r7633 # http://travis-ci.org/#!/ipython/ipython
language: python
python:
Matthias Bussonnier
Update travis to 3.5 (instead of 3.5.0.rc4)
r21775 - 3.5
MinRK
reorder travis so slowest groups start first
r16540 - 3.4
Min RK
remove downstream projects from travis
r21248 - 3.3
Marc Abramowitz
Add .travis.yml for Travis CI (http://travis-ci.org/)
r7633 - 2.7
Min RK
expedite travis...
r19868 sudo: false
Marc Abramowitz
Add .travis.yml for Travis CI (http://travis-ci.org/)
r7633 before_install:
Min RK
use `pip install .[all]` on travis...
r18565 - git clone --quiet --depth 1 https://github.com/minrk/travis-wheels travis-wheels
Min RK
remove downstream projects from travis
r21248 - 'if [[ $GROUP != js* ]]; then COVERAGE=""; fi'
Marc Abramowitz
Add .travis.yml for Travis CI (http://travis-ci.org/)
r7633 install:
Matthias Bussonnier
Check setuptools version in setup.py...
r21981 - pip install "setuptools>=18.5"
Min RK
remove unneeded requirements.txt
r21931 - pip install -f travis-wheels/wheelhouse -e file://$PWD#egg=ipython[test]
Matthias Bussonnier
enable codecov
r21791 - pip install codecov
Marc Abramowitz
Add .travis.yml for Travis CI (http://travis-ci.org/)
r7633 script:
Min RK
remove downstream projects from travis
r21248 - cd /tmp && iptest --coverage xml && cd -
Matthias Bussonnier
enable test coverage on coveralls
r19539 after_success:
- cp /tmp/ipy_coverage.xml ./
- cp /tmp/.coverage ./
Matthias Bussonnier
enable codecov
r21791 - codecov