Repository navigation
Typo: "Writeable" Should be "Writable" in IO Library Documentation #82221
Description
Activity
SeanHappenny commented
on Sep 5, 2019 SeanHappennymannequinMannequinAuthorMore actionsProblem: There are 4 instances of the typo "writeable" in the documentation for the IO library affecting, at least, versions 3.7, 3.8, 3.9, and the latest master of the documentation (https://docs.python.org/[3.7,3.8,3.9]/library/io.html and https://github.com/python/cpython/blob/master/Doc/library/io.rst). This can cause confusion to the reader. The instances are under the "BufferedWriter" section (https://docs.python.org/3/library/io.html#io.BufferedWriter) and "BufferedRWPair" section (https://docs.python.org/3.7/library/io.html#io.BufferedRWPair).
Fix: Change all instances of "writeable" to "writable" in the IO library documentation.
- added3.7 (EOL)end of lifeend of life3.8 (EOL)end of lifeend of life3.9 (EOL)end of lifeend of life
on Sep 5, 2019 - addeddocsDocumentation in the Doc dirDocumentation in the Doc dirtype-featureA feature request or enhancementA feature request or enhancement
on Sep 5, 2019 There are more cases of using this spelling in the code base, but I personally don't see how any confusion can arise and why this "fix" is needed.
SeanHappenny commented
on Sep 5, 2019 SeanHappennymannequinMannequinAuthorMore actionsIt is a minor issue and I understand that there are many, much more
important fixes and features the whole Python dev team is working on.But reading the documentation for these classes indicates that these
classes may have a "writeable" member. If, as an example, the user then
needs to examine the implementation of these classes and searches for
"writeable" in the CPython, they'll find instances in comments, but not in
the code. This may cause them to miss the real spelling of the method
"writable()".Also, another justification is that the documentation should be correct and
currently it is not. This fix should be a very simple find-and-replace, but
does touch multiple files (probably more than those I referenced) and I
understand how that is.On Thu, Sep 5, 2019, 11:44 SilentGhost <report@bugs.python.org> wrote:
SilentGhost <ghost.adh@runbox.com> added the comment:
There are more cases of using this spelling in the code base, but I
personally don't see how any confusion can arise and why this "fix" is
needed.----------
nosy: +SilentGhost
Python tracker <report@bugs.python.org>
<https://bugs.python.org/issue38040\>
Wiktionary and dictionary.com see 'writeable' as an alternate spelling of 'writable', while merriam-webster.com does not. Neither of the former say anything about American versus British usage. I wonder if the first two are rubber-stamping what used to be a misspelling. Or maybe the unabridged merriam-webster behind a paywall has it as a rare variant (but if so, I would expect mention in the 'writable' entry. If it is British, it should be changed. If it is misleading, ditto.
thefreedictionary entry quotes American Heritage and Random House Webster as listing 'writeable' as an alternate.
- added3.11only security fixesonly security fixes3.10 (EOL)end of lifeend of lifeand removed3.8 (EOL)end of lifeend of life3.7 (EOL)end of lifeend of life
on Apr 30, 2022 The Oxford English Dictionary doesn't draw a regional distinction between the two, although "writable" is the entry heading.
Forms: 1500s wrytable, 1600s– writable, 1700s– writeable.
They have 10 citations using "writable" and four using "writeable".
Google's Books Ngram Viewer shows "writable" is more popular than "writeable" in English as a whole, and also in both American English and British English.
So it looks like "writeable" is a less common alternative to "writable".
- added3.12only security fixesonly security fixesand removed3.10 (EOL)end of lifeend of life3.9 (EOL)end of lifeend of life3.11only security fixesonly security fixes
on May 21, 2023 The discussion here focused on spelling correctness, but the OP asserted a mismatch between documentation and the actual spelling of a method name in the code, which would be a documentation problem regardless of whether it's technically a correct alternative spelling:
But reading the documentation for these classes indicates that these
classes may have a "writeable" member. If, as an example, the user then
needs to examine the implementation of these classes and searches for
"writeable" in the CPython, they'll find instances in comments, but not in
the code. This may cause them to miss the real spelling of the method
"writable()".But I can't substantiate the OP's assertion here. None of the four uses of the term
writeablein https://docs.python.org/3/library/io.html are referring to any particular method or property name in the code.
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
Linked PRs