def issue_listing(header, issues, show_empty=True):
    """
    Generate one issue listing section.

    @param header: Header string for section
    @param issues: List of IssueEntry objects
    @param show_empty: show empty sections if True and issues are an empty string

    >>> issue_listing('***new issues:***', 'None')
    '\\n***new issues:***\\n\\nNone\\n'
    >>> issue_listing('***Common issues:***', '')
    '\\n***Common issues:***\\n\\n\\n'
    >>> issue_listing('***no issues***', '', show_empty=False)
    ''
    """
    if not show_empty and len(issues) == 0:
        return ''
    return '\n' + header + '\n\n' + ''.join(map(str, issues)) + '\n'
