Re: [ovs-dev] [PATCH 06/11] python: Drop use of sys.maxint.

2016-02-02 Thread Ben Pfaff
On Fri, Jan 22, 2016 at 09:32:28PM -0500, Russell Bryant wrote: > sys.maxint does not exist in Python 3, as an int does not have a max > value anymore (except as limited by implementation details and system > resources). > > sys.maxsize works as a reasonable substitute as it's the same as > sys.ma

[ovs-dev] [PATCH 06/11] python: Drop use of sys.maxint.

2016-01-22 Thread Russell Bryant
sys.maxint does not exist in Python 3, as an int does not have a max value anymore (except as limited by implementation details and system resources). sys.maxsize works as a reasonable substitute as it's the same as sys.maxint. The Python 3.0 release notes have this to say: The sys.maxint cons