[PyQt] QNetworkCacheMetaData.attributes() hangs forever

Ales Erjavec ales.erjavec324 at gmail.com
Wed Apr 26 11:28:13 BST 2017


Hi,

Accessing QNetworkCacheMetaData.attributes() seems to hang the process forever

Test code:
###

from PyQt5.QtNetwork import QNetworkCacheMetaData, QNetworkRequest
md = QNetworkCacheMetaData()
md.setAttributes({QNetworkRequest.HttpReasonPhraseAttribute: b'Ok'})
md.attributes()  # hangs forever

###

Tested on:
PyQt5: 5.8.2
Python: 3.5, 3.6
OSX: 10.11.6

Best wishes
   Aleš Erjavec


More information about the PyQt mailing list