Message159911
Without the check for RuntimeError
os.utime("foo", times=(5,5), ns=(5,5))
raises
TypeError("TypeError: 'str' does not support the buffer interface")
because we have fallen through to the narrow path. The correct error is
RuntimeError("utime: you may specify either 'times' or 'ns' but not both") |
|
Date |
User |
Action |
Args |
2012-05-04 08:03:49 | sbt | set | recipients:
+ sbt, gvanrossum, loewis, gregory.p.smith, ncoghlan, pitrou, vstinner, larry, eric.araujo, Arfrever, r.david.murray, maubp, shaurz, rosslagerwall, python-dev |
2012-05-04 08:03:49 | sbt | set | messageid: <1336118629.66.0.608044868426.issue14127@psf.upfronthosting.co.za> |
2012-05-04 08:03:49 | sbt | link | issue14127 messages |
2012-05-04 08:03:48 | sbt | create | |
|