Skip to content

text_error_template doesn't work with Python 3K #137

Description

@sqlalchemy-bot

Migrated issue, originally created by Anonymous

The template source within text_error_template in exceptions.py contains "unicode.strip" which of course Python 3K doesn't understand :

% for (filename, lineno, function, line) in tback.traceback:
File "${filename}", line ${lineno}, in ${function or '?'}
${line | unicode.strip}
% endfor

Activity

  1. sqlalchemy-bot commented on Jun 22, 2010

    @sqlalchemy-bot
    Author

    Michael Bayer (@zzzeek) wrote:

    808dde1

  2. sqlalchemy-bot commented on Jun 22, 2010

    @sqlalchemy-bot
    Author

    Changes by Michael Bayer (@zzzeek):

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions