[issue36182] Path.write_text() docs do not include the case that a file exists

2019-09-11 Thread Julien Palard


Change by Julien Palard :


--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 

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



[issue36182] Path.write_text() docs do not include the case that a file exists

2019-09-11 Thread Julien Palard


Julien Palard  added the comment:


New changeset 893653357cc83d49049debfeb9074a4ce99cd478 by Julien Palard (Miss 
Islington (bot)) in branch '3.8':
bpo-36182: Update pathlib.Path.write_text() docs (GH-12161) (GH-15977)
https://github.com/python/cpython/commit/893653357cc83d49049debfeb9074a4ce99cd478


--

___
Python tracker 

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



[issue36182] Path.write_text() docs do not include the case that a file exists

2019-09-11 Thread miss-islington


Change by miss-islington :


--
pull_requests: +15610
pull_request: https://github.com/python/cpython/pull/15977

___
Python tracker 

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



[issue36182] Path.write_text() docs do not include the case that a file exists

2019-09-11 Thread Julien Palard


Julien Palard  added the comment:


New changeset af636f4f91b8289b6dad95cb84123f6e22fd7f4f by Julien Palard 
(Lysandros Nikolaou) in branch 'master':
bpo-36182: Update pathlib.Path.write_text() docs (GH-12161)
https://github.com/python/cpython/commit/af636f4f91b8289b6dad95cb84123f6e22fd7f4f


--
nosy: +mdk

___
Python tracker 

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



[issue36182] Path.write_text() docs do not include the case that a file exists

2019-07-19 Thread Lysandros Nikolaou


Lysandros Nikolaou  added the comment:

Pinging for review.

--

___
Python tracker 

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



[issue36182] Path.write_text() docs do not include the case that a file exists

2019-03-04 Thread Lysandros Nikolaou


Change by Lysandros Nikolaou :


--
keywords: +patch
pull_requests: +12159
stage:  -> patch review

___
Python tracker 

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



[issue36182] Path.write_text() docs do not include the case that a file exists

2019-03-04 Thread Lysandros Nikolaou


Lysandros Nikolaou  added the comment:

I'll submit a PR shortly.

--

___
Python tracker 

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



[issue36182] Path.write_text() docs do not include the case that a file exists

2019-03-04 Thread Karthikeyan Singaravelan


Karthikeyan Singaravelan  added the comment:

I was searching along similar lines since this was present as part of the 
original commit : https://hg.python.org/cpython/rev/a4da150fbfd4 . I guess it 
makes sense to restore the text.

--
nosy: +xtreak

___
Python tracker 

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



[issue36182] Path.write_text() docs do not include the case that a file exists

2019-03-04 Thread Inada Naoki


Inada Naoki  added the comment:

It may be removed accidentally by this commit.

https://github.com/python/cpython/commit/8477ed60486a22f79f257ee49f0bc18d0e73f216#diff-56cd2f82cd518e7baf1edab64771f619

--
nosy: +inada.naoki

___
Python tracker 

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



[issue36182] Path.write_text() docs do not include the case that a file exists

2019-03-04 Thread Lysandros Nikolaou


Lysandros Nikolaou  added the comment:

For reference, 
https://docs.python.org/3/library/pathlib.html#pathlib.Path.write_bytes.

--

___
Python tracker 

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



[issue36182] Path.write_text() docs do not include the case that a file exists

2019-03-04 Thread Lysandros Nikolaou


New submission from Lysandros Nikolaou :

Hi,

in the pathlib.Path.write_bytes() documentation it is clearly stated that "An 
existing file of the same name is overwritten." Wouldn't it make sense to 
include something similar to the pathlib.Path.write_text() docs. I had to 
quickly test it manually to find out what's happening as it wasn't clear to me 
if the statement applies to write_text() as well.

--
assignee: docs@python
components: Documentation
messages: 337100
nosy: docs@python, lys.nikolaou
priority: normal
severity: normal
status: open
title: Path.write_text() docs do not include the case that a file exists
versions: Python 3.8

___
Python tracker 

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