11.. highlightlang :: none
22
3+ .. _using-on-general :
4+
35Command line and environment
46============================
57
@@ -12,6 +14,8 @@ settings.
1214 :ref: `implementations ` for further resources.
1315
1416
17+ .. _using-on-cmdline :
18+
1519Command line
1620------------
1721
@@ -304,39 +308,21 @@ Miscellaneous options
304308
305309.. cmdoption :: -3
306310
307- Warn about Python 3.x incompatibilities.
311+ Warn about Python 3.x incompatibilities. Among these are:
308312
309- .. versionadded :: 2.6
313+ * :meth: `dict.has_key `
314+ * :func: `apply `
315+ * :func: `callable `
316+ * :func: `coerce `
317+ * :func: `execfile `
318+ * :func: `reduce `
319+ * :func: `reload `
310320
321+ .. versionadded :: 2.6
311322
312- Related files -- UNIX
313- ---------------------
314323
315- These are subject to difference depending on local installation conventions;
316- :envvar: `prefix ` (``${prefix} ``) and :envvar: `exec_prefix ` (``${exec_prefix} ``)
317- are installation-dependent and should be interpreted as for GNU software; they
318- may be the same.
319-
320- For example, on most Linux systems, the default for both is :file: `/usr `.
321-
322- +-----------------------------------------------+------------------------------------------+
323- | File/directory | Meaning |
324- +===============================================+==========================================+
325- | :file: `{ exec_prefix } /bin/python ` | Recommended location of the interpreter. |
326- +-----------------------------------------------+------------------------------------------+
327- | :file: `{ prefix } /lib/python{ version } `, | Recommended locations of the directories |
328- | :file: `{ exec_prefix } /lib/python{ version } ` | containing the standard modules. |
329- +-----------------------------------------------+------------------------------------------+
330- | :file: `{ prefix } /include/python{ version } `, | Recommended locations of the directories |
331- | :file: `{ exec_prefix } /include/python{ version } ` | containing the include files needed for |
332- | | developing Python extensions and |
333- | | embedding the interpreter. |
334- +-----------------------------------------------+------------------------------------------+
335- | :file: `~/.pythonrc.py ` | User-specific initialization file loaded |
336- | | by the user module; not used by default |
337- | | or by most applications. |
338- +-----------------------------------------------+------------------------------------------+
339324
325+ .. _using-on-envvars :
340326
341327Environment variables
342328---------------------
0 commit comments