summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-01-15 06:58:15 (GMT)
committerGeorg Brandl <georg@python.org>2008-01-15 06:58:15 (GMT)
commitca9c6e433c6637352eecbe3432786a1ae9bec1de (patch)
treeca95dd16dae4127c028f8205c4cd16e6c0aff2a8 /Doc/whatsnew
parentaf30b2846e64134efef8b072033abb85cfeae251 (diff)
downloadcpython-ca9c6e433c6637352eecbe3432786a1ae9bec1de.zip
cpython-ca9c6e433c6637352eecbe3432786a1ae9bec1de.tar.gz
cpython-ca9c6e433c6637352eecbe3432786a1ae9bec1de.tar.bz2
Remove duplicate entry.
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r--Doc/whatsnew/2.6.rst14
1 files changed, 3 insertions, 11 deletions
diff --git a/Doc/whatsnew/2.6.rst b/Doc/whatsnew/2.6.rst
index 45eadf1..df746e7 100644
--- a/Doc/whatsnew/2.6.rst
+++ b/Doc/whatsnew/2.6.rst
@@ -1022,14 +1022,6 @@ complete list of changes, or look through the CVS logs for all the details.
These attributes are all read-only.
(Contributed by Christian Heimes.)
- The :attr:`dont_write_bytecode` variable controls whether Python
- writes any :file:`.pyc` or :file:`.pyo` files on importing a module.
- If this variable is true, the compiled files are not written. The
- variable can be set by Python code, by supplying the :option:`-B`
- switch, or by setting the :envvar:`PYTHONDONTWRITEBYTECODE`
- environment variable to any non-empty string when running the Python
- interpreter.
-
* The :mod:`tarfile` module now supports POSIX.1-2001 (pax) and
POSIX.1-1988 (ustar) format tarfiles, in addition to the GNU tar
format that was already supported. The default format
@@ -1270,9 +1262,9 @@ Some of the more notable changes are:
or :file:`.pyo` files by either supplying the :option:`-B` switch
or setting the :envvar:`PYTHONDONTWRITEBYTECODE` environment variable
to any non-empty string when running the Python interpreter. These
- are used to set a :attr:`dont_write_bytecode` variable in the
- :mod:`sys` module. Python code can change this variable to
- control whether bytecode files are subsequently written.
+ are also used to set the :data:`sys.dont_write_bytecode` attribute;
+ Python code can change this variable to control whether bytecode
+ files are subsequently written.
(Contributed by Neal Norwitz and Georg Brandl.)
.. ======================================================================