This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

作者 bkabrda
收信人 benjamin.peterson, bkabrda, pitrou, serhiy.storchaka, stutzbach
日期 2014-06-09.08:12:04
SpamBayes Score -1.0
Marked as misclassified
Message-id <1402301528.34.0.543361606772.issue21679@psf.upfronthosting.co.za>
In-reply-to
内容
Thanks a lot for the code review! I'm attaching a revised version of the patch. Fixes I made:

- added check whether PyLong_AsLong returned an error
- removed "ADD_INTERNED(_blksize)" and "PyObject *_PyIO_str__blksize;" - I noticed that these are only necessary when exported by _iomodule.h, which isn't needed for _blksize ATM
- moved blksize to a place of fileio structure where it won't create unnecessary padding

I hope attaching the version 2 of the patch here is ok, if I should have attached it in the code review tool somehow, please let me know.
历史
日期 用户 动作 参数
2014-06-09 08:12:08bkabrda修改recipients: + bkabrda, pitrou, benjamin.peterson, stutzbach, serhiy.storchaka
2014-06-09 08:12:08bkabrda修改messageid: <1402301528.34.0.543361606772.issue21679@psf.upfronthosting.co.za>
2014-06-09 08:12:08bkabrda链接issue21679 messages
2014-06-09 08:12:07bkabrda创建