This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author matthiastroffaes
Recipients cjwelborn, cool-RR, matthiastroffaes, pitrou
Date 2014-09-30.12:53:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1412081632.19.0.840272378289.issue20218@psf.upfronthosting.co.za>
In-reply-to
Content
Chiming in here: Sphinx's testing framework does include a feature that allows easily read/write files into/from text/bytes directly from path-like objects. There is thus a demand out there. If this feature were to make it into stdlib, it would be loved at least by Sphinx testers and sphinx extension module testers.

Current implementation in Sphinx:

https://bitbucket.org/birkenfeld/sphinx/src/f87ae5c0272e7384dc976414d091aa8b175827cd/tests/path.py?at=default#cl-129

Discussion to move to pathlib on Sphinx tracker:

https://bitbucket.org/birkenfeld/sphinx/issue/1241/move-test-utilities-into-a-sphinx#comment-12645576

Some code examples of how this is typically used in Sphinx:

https://bitbucket.org/tk0miya/sphinx-testing/src/ee89298fa8f848b7c3ca93656df5330db85b4291/README.rst?at=default

https://github.com/mcmtroffaes/sphinxcontrib-bibtex/commit/0a0bf07a34e6f7e3c66ddacc0da02b4a2caba794
History
Date User Action Args
2014-09-30 12:53:52matthiastroffaessetrecipients: + matthiastroffaes, pitrou, cool-RR, cjwelborn
2014-09-30 12:53:52matthiastroffaessetmessageid: <1412081632.19.0.840272378289.issue20218@psf.upfronthosting.co.za>
2014-09-30 12:53:52matthiastroffaeslinkissue20218 messages
2014-09-30 12:53:51matthiastroffaescreate