view roundup/cgi/TAL/__init__.py @ 5429:daa19de102a2

Python 3 preparation: make fallback SysCallError an actual exception class. The code defines a fallback version of SysCallError when import of OpenSSL.SSL. But in Python 3, defining it as None and then using in "except" statements results in: TypeError: catching classes that do not inherit from BaseException is not allowed
author Joseph Myers <jsm@polyomino.org.uk>
date Wed, 25 Jul 2018 09:56:22 +0000
parents 8c2402a78bb0
children
line wrap: on
line source

##############################################################################
#
# Copyright (c) 2001, 2002 Zope Corporation and Contributors.
# All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
# Version 2.0 (ZPL).  A copy of the ZPL should accompany this distribution.
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
# FOR A PARTICULAR PURPOSE
#
##############################################################################
""" Template Attribute Language package """

Roundup Issue Tracker: http://roundup-tracker.org/