Advertisement
Guest User

Untitled

a guest
Jan 13th, 2016
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.84 KB | None | 0 0
  1. Porting to Python 3
  2. -------------------
  3. 2to3 transforms most py2 strings to py3 strings with unicode support
  4. use bytes in module hasher
  5. use encode=unicode in elementtree.serialize
  6. New ordering logic
  7.  
  8. Porting to PytQt5
  9. -----------------
  10.  
  11. pyqt4topyqt5 issues:
  12. disconnect->connect!
  13. [0] inserted in getfilenamefromgui
  14. inserts signal [type] to connections
  15. Does not prefix opyqtSignal with "QtCore."
  16. Misses some connections?
  17.  
  18. qmatrix->qtransform (Backport?)
  19. scene removed from constructors (qt5-fixes) (Backport?)
  20. translate removed
  21. qgraphicsitem.itemAt needs view transform
  22. qmessagebox.information/... Custom buttons obsolete
  23.  
  24. new-style signals (pyqt4topyqt5 script leaves a lot of manual work) (Backport?)
  25.  
  26. pyqt5 uses cooperative multiple inheritance: (needs python 3)
  27. def __init__(**kwargs):
  28. super().__init__(**kwargs)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement