PySide Bugzilla Closed for New Bugs

PySide is now a Qt Add-on and uses the Qt Project's JIRA Bug Tracker instead of this Bugzilla instance. This Bugzilla is left for reference purposes.

Bug 229 - Missing PySide.QtCore.Qt.escape
: Missing PySide.QtCore.Qt.escape
Status: CLOSED WONTFIX
Product: PySide
Classification: Unclassified
Component: QtCore
: 0.3.1
: All All
: P5 normal
Assigned To: renato filho
:
:
:
  Show dependency treegraph
 
Reported: 2010-05-20 11:46 EEST by Luca Donaggio
Modified: 2010-08-13 11:18 EEST (History)
7 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Luca Donaggio 2010-05-20 11:46:55 EEST
Method "escape" is missing from the PySide Qt bindings (object "Qt" module
"QtCore").
Comment 1 Hugo Parente Lima 2010-05-20 15:00:39 EEST
Fixed in commit pyside-shicoken/5442c99d143fedb2fd7acd02e6e9d6195c16504d
Comment 2 Hugo Parente Lima 2010-05-20 16:47:08 EEST
Oops, the bug is not fixed yet.

Qt docs says that Qt namespace are on QtCore module, but these functions are
part of QtGui.
Comment 3 Hugo Parente Lima 2010-05-20 17:09:48 EEST
After a discussion with other PySide developers, we decided not export this
function, the reasons are:

- This function is part of QtGui, if we create a QtGui.Qt, this will cause some
headaches with QtCore.Qt.
- PyQt4 also didn't export this function.
- There are functions in python std lib that you can use to achieve the same
goals, like xml.sax.saxutils.escape().

So, I'll mark thsi bug as WONTFIX.
Comment 4 Luca Donaggio 2010-05-21 05:57:52 EEST
Actually I'm using cgi.escape(), so having PySide.QtCore.Qt.escape() to do the
same thing is not such a big deal.