Skip to content

Python3 branches segfault when None is given for 's' format in return message.  #11

Description

@hmvp

This gives strange results:

try:
    connection.send_method_return(message, 's', [None])
    logger.error('x')
except Exception as e:
    # Format might be wrong with the arguments (often when an argument is None)
    logger.error('s')

    logger.exception(e)
try:
    connection.send_method_return(message, 's', [None])
    logger.error('x2')
except Exception as e:
    logger.error('s2')
    logger.exception(e)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions