Python 2: accept both long and int for type=int (module options) (#53289)

* Added unit test
This commit is contained in:
Felix Fontein
2019-03-05 15:39:03 +01:00
committed by Sam Doran
parent 1112e1d0da
commit 07fcb60d55
3 changed files with 13 additions and 5 deletions

View File

@@ -0,0 +1,3 @@
bugfixes:
- "If large integers are passed as options to modules under Python 2, module argument
parsing will reject them as they are of type ``long`` and not of type ``int``."