Skip to content

issues with unicode_literals and pysides.QtCore.Slot #2378

@tacaswell

Description

@tacaswell

If I use PySides as the qt4 backend:

tcaswell@mara:~$ ipython --pylab
Python 2.7.5+ (default, Aug  4 2013, 10:07:17) 
Type "copyright", "credits" or "license" for more information.

IPython 2.0.0-dev -- An enhanced Interactive Python.
?         -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help      -> Python's own help system.
object?   -> Details about 'object', use 'object??' for extra details.
Segmentation fault

git bisect points me to commit f4adec7 as the first bad commit.

It works (that is, does not seg-fault) if pyqt is used instead.

I spent a bit of time trying to track down exactly where it was blowing up and it seems to bad a bad interaction between from __future__ import unicode_literals and the pyside version of @QtCore.Slot().

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions