Message167311
| Author |
vstinner |
| Recipients |
larry, vstinner |
| Date |
2012年08月03日.12:13:02 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1343995984.36.0.909130129312.issue15547@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
posix_truncate() accepts a file descriptor, so os.ftruncate() can be removed from Python 3.3.
memset(&path, 0, sizeof(path));
path.function_name = "truncate";
#ifdef HAVE_FTRUNCATE
path.allow_fd = 1;
#endif
if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O&O&:truncate", keywords,
path_converter, &path,
_parse_off_t, &length))
return NULL; |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2012年08月03日 12:13:04 | vstinner | set | recipients:
+ vstinner, larry |
| 2012年08月03日 12:13:04 | vstinner | set | messageid: <1343995984.36.0.909130129312.issue15547@psf.upfronthosting.co.za> |
| 2012年08月03日 12:13:03 | vstinner | link | issue15547 messages |
| 2012年08月03日 12:13:02 | vstinner | create |
|