Message255997
| Author |
martin.panter |
| Recipients |
berker.peksag, brett.cannon, docs@python, ezio.melotti, georg.brandl, martin.panter, python-dev, r.david.murray, serhiy.storchaka |
| Date |
2015年12月06日.01:25:19 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1449365138.15.0.44167136386.issue23738@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Here is a more conservative patch using square brackets, and documenting the defaults in the text. I updated all the documentation from my previous patch, and added new changes for the "io" module.
One quirk was that BufferedReader.read1() does not actually support the value −1. Therefore I changed the base class to BufferedIOBase.read1([size]) without mentioning what happens when size is omitted. Related: Issue 23214. |
|