- 
    
Bug
 - 
    Resolution: Done
 - 
    
P3: Somewhat important
 - 
    None
 - 
    6.2.1
 - 
    None
 
- 
        
 - 
        943aa9ef6fef7533a3566f230aaf878efe46725e (pyside/pyside-setup/dev) 1c1134fe90e9f185ab4b052a829dd8bf5ff0e0e8 (pyside/pyside-setup/6.2)
 
The C++ API provides {c}begin() and {c}end() to iterate over all the QRects in a QRegion.
The PySide API provides no way of doing this as far as I can see. In PySide begin() always returns the first QRect. PySide1 had a rects() method which provided all the QRects.
I am porting a PySide/Qt4 application to PySide6/Qt6 and this is a show-stopper for me.