Metadata-Version: 1.1
Name: stfu
Version: 1.2
Summary: STFU those exceptions (explicitly)
Home-page: UNKNOWN
Author: João Bernardo Oliveira
Author-email: jbvsmo@example.com
License: BSD
Description: 
        Silence chosen exceptions.
        
        Author: João Bernardo Oliveira - @jbvsmo
        
        Replacement for the idiom:
            
        >>> try:
        ...     may_raise_exception()
        ... except Exception:
        ...     pass
        
        Just write:
        
        >>> with stfu:
        ...     may_raise_exception()
        
        >>> with stfu(TypeError, ValueError):
        ...     may_raise_exception()
        
        
        To catch *everything* (even KeyboardInterrup and StopIteration):
        
        >>> with stfu_all:
        ...     may_raise_any_exception()
        
        
        "Errors should never pass silently.
         Unless explicitly silenced." :)
        
        
Keywords: stfu,exception,silence
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Software Development :: Code Generators
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Software Development :: Libraries :: Application Frameworks
Classifier: Topic :: Software Development :: Libraries :: Python Modules
