Path: blob/master/src/sage/structure/debug_options.pyx
8814 views
"""1Debug options for the `sage.structure` modules23EXAMPLES::45sage: from sage.structure.debug_options import debug6sage: debug.bad_parent_warnings7False8sage: debug.unique_parent_warnings9False10sage: debug.refine_category_hash_check11True12"""1314#*****************************************************************************15# Copyright (C) 2013 Robert Bradshaw <[email protected]>16# William Stein <[email protected]>17# Volker Braun <[email protected]>18#19# Distributed under the terms of the GNU General Public License (GPL)20# as published by the Free Software Foundation; either version 2 of21# the License, or (at your option) any later version.22# http://www.gnu.org/licenses/23#*****************************************************************************242526cdef class DebugOptions_class:27def __cinit__(self):28"""29Initializer for the debug options3031TESTS::3233sage: from sage.structure.debug_options import debug34sage: type(debug)35<type 'sage.structure.debug_options.DebugOptions_class'>36"""37self.bad_parent_warnings = False38self.unique_parent_warnings = False39# This one will be enabled during doctests40self.refine_category_hash_check = False414243debug = DebugOptions_class()444546