classification
Title: Test and document that `dir=...` in tempfile may be PathLike
Type: behavior Stage: resolved
Components: Documentation, Tests Versions: Python 3.9, Python 3.8, Python 3.7
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: docs@python Nosy List: Anthony Sottile, docs@python, miss-islington, zach.ware
Priority: normal Keywords: patch, patch, patch

Created on 2019-01-21 22:07 by Anthony Sottile, last changed 2019-09-09 17:33 by miss-islington. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 11644 merged Anthony Sottile, 2019-01-21 22:36
PR 11644 merged Anthony Sottile, 2019-01-21 22:36
PR 11644 merged Anthony Sottile, 2019-01-21 22:36
PR 15796 merged miss-islington, 2019-09-09 15:54
PR 15797 merged miss-islington, 2019-09-09 15:54
Messages (4)
msg334188 - (view) Author: Anthony Sottile (Anthony Sottile) * Date: 2019-01-21 22:07
This appears to be true in 3.6+ -- I'd like to add a test and documentation ensuring that going forward.

Related: https://github.com/python/typeshed/issues/2749
msg351508 - (view) Author: Zachary Ware (zach.ware) * (Python committer) Date: 2019-09-09 15:54
New changeset 370138ba9c29595df773cc057d17ea26fb6f21bd by Zachary Ware (Anthony Sottile) in branch 'master':
bpo-35803: Document and test dir=PathLike for tempfile (GH-11644)
https://github.com/python/cpython/commit/370138ba9c29595df773cc057d17ea26fb6f21bd
msg351538 - (view) Author: miss-islington (miss-islington) Date: 2019-09-09 17:31
New changeset eadf6b8787e979920c4fb6845797c33d270d2729 by Miss Islington (bot) in branch '3.8':
bpo-35803: Document and test dir=PathLike for tempfile (GH-11644)
https://github.com/python/cpython/commit/eadf6b8787e979920c4fb6845797c33d270d2729
msg351539 - (view) Author: miss-islington (miss-islington) Date: 2019-09-09 17:33
New changeset b4591ad33a727873c0a07d084211295bf4f5b892 by Miss Islington (bot) in branch '3.7':
bpo-35803: Document and test dir=PathLike for tempfile (GH-11644)
https://github.com/python/cpython/commit/b4591ad33a727873c0a07d084211295bf4f5b892
History
Date User Action Args
2019-09-09 17:33:21miss-islingtonsetmessages: + msg351539
2019-09-09 17:31:35miss-islingtonsetnosy: + miss-islington
messages: + msg351538
2019-09-09 15:56:59zach.waresetkeywords: patch, patch, patch
status: open -> closed
stage: patch review -> resolved
resolution: fixed
versions: + Python 3.7, Python 3.9
2019-09-09 15:54:53miss-islingtonsetpull_requests: + pull_request15449
2019-09-09 15:54:46miss-islingtonsetpull_requests: + pull_request15448
2019-09-09 15:54:37zach.waresetnosy: + zach.ware
messages: + msg351508
2019-01-21 22:37:02Anthony Sottilesetkeywords: + patch
stage: patch review
pull_requests: + pull_request11426
2019-01-21 22:36:57Anthony Sottilesetkeywords: + patch
stage: (no value)
pull_requests: + pull_request11425
2019-01-21 22:36:52Anthony Sottilesetkeywords: + patch
stage: (no value)
pull_requests: + pull_request11424
2019-01-21 22:07:02Anthony Sottilecreate