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.

Author bkabrda
Recipients bkabrda
Date 2014-06-06.11:48:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
with Python 3.3/3.4, I noticed that there are lots of syscalls on open() - I noticed 2x fstat, 2x ioctl and 2x lseek. This is not noticable when working with small amounts of files on local filesystem, but if working with files via NSF or if working with huge amounts of files, lots of syscalls cost a lot of time. Therefore I'd like to create patches that would reduce the number of syscalls on open().
I've already managed to create first one (attached), that gets rid of one of the fstat calls (all the information are obtained from one fstat call).
I hope this makes sense and that the patch is acceptable. If not, I'll be happy to work on it to make it better. (This is my first real patch for C part of Python, so I hope I did everything right...)
Date User Action Args
2014-06-06 11:48:05bkabrdasetrecipients: + bkabrda
2014-06-06 11:48:05bkabrdasetmessageid: <>
2014-06-06 11:48:05bkabrdalinkissue21679 messages
2014-06-06 11:48:05bkabrdacreate