[issue37361] urllib3: TypeError: unsupported operand type(s) for -=: 'Session' and 'int' in Retry class

2019-06-21 Thread SilentGhost
Change by SilentGhost : -- resolution: -> not a bug type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue37361] urllib3: TypeError: unsupported operand type(s) for -=: 'Session' and 'int' in Retry class

2019-06-21 Thread Andreas Jung
Andreas Jung added the comment: invalid -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37361] urllib3: TypeError: unsupported operand type(s) for -=: 'Session' and 'int' in Retry class

2019-06-21 Thread Andreas Jung
Change by Andreas Jung : -- stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue37361] urllib3: TypeError: unsupported operand type(s) for -=: 'Session' and 'int' in Retry class

2019-06-21 Thread Andreas Jung
New submission from Andreas Jung : Python 3.7.3 The following code is support to add a retry to the requests module. "total" is correctly initialized with 5 here but internally self.total becomes an instation of "Session" import requests from requests.adapters import HTTPAdapter from