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 serhiy.storchaka
Recipients jcea, nadeem.vawda, python-dev, serhiy.storchaka, victorhooi
Date 2012-09-30.13:35:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1349012132.46.0.20386050874.issue16034@psf.upfronthosting.co.za>
In-reply-to
Content
> Also, I'm reluctant to have two copies of the code for _read_block(); it makes the code harder to read, and increases the chance of introducing a bug when changing the code.

Recursive inline _check_can_read() will be enough. Now this check calls 4 Python functions (_check_can_read(), readable(), _check_non_closed(), closed). Recursive inlining only readable() in _check_can_read() is achieved significant but less (about 30%) effect.
History
Date User Action Args
2012-09-30 13:35:32serhiy.storchakasetrecipients: + serhiy.storchaka, jcea, nadeem.vawda, python-dev, victorhooi
2012-09-30 13:35:32serhiy.storchakasetmessageid: <1349012132.46.0.20386050874.issue16034@psf.upfronthosting.co.za>
2012-09-30 13:35:32serhiy.storchakalinkissue16034 messages
2012-09-30 13:35:32serhiy.storchakacreate