[issue17851] Grammar errors in threading.Lock documentation

2013-05-02 Thread Ezio Melotti

Changes by Ezio Melotti :


--
stage:  -> committed/rejected

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17851] Grammar errors in threading.Lock documentation

2013-04-29 Thread Ramchandra Apte

Ramchandra Apte added the comment:

I'm saying that they aren't valid grammar mistakes (there is no grammar
mistake). I agree with Georg Brandl's comment.

On 27 April 2013 20:18, Andriy Mysyk  wrote:

>
> Andriy Mysyk added the comment:
>
> Ramachandra, if I understand you correctly, I think what you are saying
> that both are grammar mistakes and the first one could addressed by adding
> "s" to block.
>
> --
>
> ___
> Python tracker 
> 
> ___
>

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17851] Grammar errors in threading.Lock documentation

2013-04-27 Thread R. David Murray

R. David Murray added the comment:

I (as a native English speaker, FWIW) agree that the existing text is correct 
insofar as the reported problems go.  I, however, would remove the comma after 
'block'.  I don't know that it is wrong as written, but it reads strangely to 
my ear.

--
nosy: +r.david.murray

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17851] Grammar errors in threading.Lock documentation

2013-04-27 Thread Georg Brandl

Georg Brandl added the comment:

I see no problem with both points: "block" is the correct verb form in this 
context ("attempts" being plural), and the version including comma reads better 
to me.

--
nosy: +georg.brandl
resolution:  -> works for me
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17851] Grammar errors in threading.Lock documentation

2013-04-27 Thread Andriy Mysyk

Andriy Mysyk added the comment:

Ramachandra, if I understand you correctly, I think what you are saying that 
both are grammar mistakes and the first one could addressed by adding "s" to 
block.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17851] Grammar errors in threading.Lock documentation

2013-04-27 Thread Ramchandra Apte

Ramchandra Apte added the comment:

oops, should be "the crowd blocks me"

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17851] Grammar errors in threading.Lock documentation

2013-04-27 Thread Ramchandra Apte

Ramchandra Apte added the comment:

afaik they don't seem to be grammatical errors
"subsequent attempts to acquire it block" - block is the verb, don't see 
anything wrong
similar example: the crowd blocks me. (present tense)
"which one of the waiting threads proceeds is not defined, and may vary across 
implementations." - there is only one clause, so no comma needed.
If two separate clauses. are separated a coordinating conjunction (such as 
and), commas are required afaik.

--
nosy: +Ramchandra Apte

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17851] Grammar errors in threading.Lock documentation

2013-04-26 Thread Andriy Mysyk

Andriy Mysyk added the comment:

submitting a patch for both grammar errors

--
assignee:  -> docs@python
components: +Documentation
keywords: +patch
nosy: +docs@python
Added file: http://bugs.python.org/file30029/issue17851.patch

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17851] Grammar errors in threading.Lock documentation

2013-04-26 Thread Andriy Mysyk

New submission from Andriy Mysyk:

No need for comma in "which one of the waiting threads proceeds is not defined, 
and may vary across implementations."

"Once a thread has acquired a lock, subsequent attempts to acquire it block, 
until it is released; any thread may release it" should read "are blocked" 
instead of "block."


/Documents/python/cpython/Doc/build/html/library/threading.html

--
messages: 187887
nosy: amysyk
priority: normal
severity: normal
status: open
title: Grammar errors in threading.Lock documentation
type: enhancement
versions: Python 3.4

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com