[issue8890] Use tempfile instead of /tmp in examples

Éric Araujo report at bugs.python.org
Fri Nov 19 15:54:51 CET 2010

Éric Araujo <merwok at netwok.org> added the comment:

Who wants to make a patch to update the documentation?

For command-line examples (like “python setup.py install --install-base /tmp”), someone has to research what standard variable to use (TMPDIR, TMP, something else?).

keywords: +easy
stage:  -> needs patch
title: Modules have dangerous examples in documentation -> Use tempfile instead of /tmp in examples
versions:  -Python 2.6

Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list