summaryrefslogtreecommitdiffstats
path: root/Lib/mutex.py
diff options
context:
space:
mode:
authorNeil Schemenauer <nascheme@enme.ucalgary.ca>2003-01-24 22:15:21 (GMT)
committerNeil Schemenauer <nascheme@enme.ucalgary.ca>2003-01-24 22:15:21 (GMT)
commitb808e99d34dc27204d2c8ad07489c2ba84dd98f5 (patch)
treed896af47fe81a84f6e22cd5ef5a01c87db84acaa /Lib/mutex.py
parent3422c99de1d1c001ebc1416e3efc1b10452347b5 (diff)
downloadcpython-b808e99d34dc27204d2c8ad07489c2ba84dd98f5.zip
cpython-b808e99d34dc27204d2c8ad07489c2ba84dd98f5.tar.gz
cpython-b808e99d34dc27204d2c8ad07489c2ba84dd98f5.tar.bz2
Raise a TypeError if a float is passed when an integer is specified.
Calling PyInt_AsLong() on a float truncates it which is almost never the desired behavior. This closes SF bug #660144.
Diffstat (limited to 'Lib/mutex.py')
0 files changed, 0 insertions, 0 deletions