[issue33894] tempfile.tempdir cannot be unset

2020-10-08 Thread Eric V. Smith
Change by Eric V. Smith : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue33894] tempfile.tempdir cannot be unset

2020-10-08 Thread Irit Katriel
Irit Katriel added the comment: This is complete and can be closed. -- nosy: +iritkatriel ___ Python tracker ___ ___ Python-bugs-li

[issue33894] tempfile.tempdir cannot be unset

2018-06-22 Thread Philip Rowlands
Philip Rowlands added the comment: Thanks for the edit. I did try a PR but was defeated by build/doc tool's recent version requirements (and didn't want to send untested changes, however minor). The reason for getting rid of "unset" is the confusion of "state", i.e. it has never been assigne

[issue33894] tempfile.tempdir cannot be unset

2018-06-21 Thread Eric V. Smith
Eric V. Smith added the comment: New changeset b225cb770fb17596298f5a05c41a7c90c470c4f8 by Eric V. Smith (Miss Islington (bot)) in branch '3.6': bpo-33894: Clarified the tempfile.tempdir documentation (GH-7829) (GH-7842) https://github.com/python/cpython/commit/b225cb770fb17596298f5a05c41a7c9

[issue33894] tempfile.tempdir cannot be unset

2018-06-21 Thread miss-islington
Change by miss-islington : -- pull_requests: +7452 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue33894] tempfile.tempdir cannot be unset

2018-06-21 Thread miss-islington
Change by miss-islington : -- pull_requests: +7451 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue33894] tempfile.tempdir cannot be unset

2018-06-20 Thread Srinivas Reddy T
Change by Srinivas Reddy T : -- keywords: +patch pull_requests: +7437 stage: -> patch review ___ Python tracker ___ ___ Python-bug

[issue33894] tempfile.tempdir cannot be unset

2018-06-18 Thread Eric V. Smith
Eric V. Smith added the comment: I like philiprowlands' version: - If tempdir is unset or None at any call to + If tempdir is None (the default) at any call to Care to produce a PR? -- versions: +Python 2.7, Python 3.6, Python 3.7 ___ Python track

[issue33894] tempfile.tempdir cannot be unset

2018-06-18 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: What about: "If tempdir is unset or None (the default value has not been modified) ..." ? -- nosy: +pablogsal ___ Python tracker __

[issue33894] tempfile.tempdir cannot be unset

2018-06-18 Thread Philip Rowlands
Philip Rowlands added the comment: How about - If tempdir is unset or None at any call to + If tempdir is None (the default) at any call to This avoids headaches over the meaning of "unset", and accurately reflects the code at: https://github.com/python/cpython/blob/3.6/Lib/tempfile.py#L289

[issue33894] tempfile.tempdir cannot be unset

2018-06-18 Thread Eric V. Smith
Eric V. Smith added the comment: "If tempdir is unset or None" means "If tempdir has not been assigned to, or if it has been assigned the value None". "Unset" doesn't mean "delete from the module". I agree the documentation wording could be improved. -- assignee: -> docs@python com

[issue33894] tempfile.tempdir cannot be unset

2018-06-18 Thread Philip Rowlands
New submission from Philip Rowlands : Quoting https://docs.python.org/3/library/tempfile.html """ tempfile.tempdir When set to a value other than None, this variable defines the default value for the dir argument to the functions defined in this module. If tempdir is unset or None at any call