Message159911
| Author |
sbt |
| Recipients |
Arfrever, eric.araujo, gregory.p.smith, gvanrossum, larry, loewis, maubp, ncoghlan, pitrou, python-dev, r.david.murray, rosslagerwall, sbt, shaurz, vstinner |
| Date |
2012年05月04日.08:03:48 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1336118629.66.0.608044868426.issue14127@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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") |
|
History
|
|---|
| 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 |
|