##// END OF EJS Templates
Merge pull request #4412 from jdfreder/traitlet_notify_fix...
Merge pull request #4412 from jdfreder/traitlet_notify_fix Fix traitlet _notify_trait by-ref issue This fixes a problem with the existing traitlet machinery, where anytrait values get added to the notifiers list every time the _notify_trait function is called. The bug is that each time the traitlet changes, the anytrait callbacks will each be called N times, where N is the number of times the traitlet has been changed (in the current application instance).

File last commit:

r11086:c137395d
r13151:4788e78a merge
Show More
exceptions.py
16 lines | 676 B | text/x-python | PythonLexer
Jonathan Frederic
Comment & Refactor, utils and nbconvert main.
r10673 """NbConvert specific exceptions"""
Jonathan Frederic
Create exceptions file to house all of the convert specific exceptions....
r10431 #-----------------------------------------------------------------------------
# Copyright (c) 2013, the IPython Development Team.
#
# Distributed under the terms of the Modified BSD License.
#
# The full license is in the file COPYING.txt, distributed with this software.
#-----------------------------------------------------------------------------
#-----------------------------------------------------------------------------
# Classes and functions
#-----------------------------------------------------------------------------
Jonathan Frederic
Comment & Refactor, utils and nbconvert main.
r10673
Jonathan Frederic
Create exceptions file to house all of the convert specific exceptions....
r10431 class ConversionException(Exception):
"""An exception raised by the conversion process."""
pass