If this is set to a non-empty string it is equivalent to specifying the
│ │ │ -i option.
│ │ │ This variable can also be modified by Python code using os.environ
│ │ │ to force inspect mode on program termination.
│ │ │ -Raises an auditing event cpython.run_stdin with no arguments.
│ │ │ +Raises an auditing event cpython.run_stdin with no arguments.
│ │ │
│ │ │
Changed in version 3.12.5: (also 3.11.10, 3.10.15, 3.9.20, and 3.8.20)
│ │ │ Emits audit events.
│ │ │
│ │ │
│ │ │
Changed in version 3.13: Uses PyREPL if possible, in which case PYTHONSTARTUP is
│ │ │ also executed. Emits audit events.
│ │ ├── ./usr/share/info/python3.14.info.gz
│ │ │ ├── python3.14.info
│ │ │ │ @@ -1515026,98 +1515026,98 @@
│ │ │ │ 0171e110: 3039 3132 0a52 6566 3a20 556e 6963 6f64 0912.Ref: Unicod
│ │ │ │ 0171e120: 6520 4368 6172 6163 7465 7220 4461 7461 e Character Data
│ │ │ │ 0171e130: 6261 7365 2d46 6f6f 746e 6f74 652d 327f base-Footnote-2.
│ │ │ │ 0171e140: 3138 3939 3039 3439 0a4e 6f64 653a 2050 18990949.Node: P
│ │ │ │ 0171e150: 7974 686f 6e20 4d6f 6475 6c65 2049 6e64 ython Module Ind
│ │ │ │ 0171e160: 6578 7f31 3839 3930 3939 330a 4e6f 6465 ex.18990993.Node
│ │ │ │ 0171e170: 3a20 496e 6465 787f 3139 3031 3038 3131 : Index.19010811
│ │ │ │ -0171e180: 0a52 6566 3a20 6275 696c 7469 6e73 2f73 .Ref: builtins/s
│ │ │ │ -0171e190: 7464 7479 7065 7320 7475 706c 6520 636f tdtypes tuple co
│ │ │ │ -0171e1a0: 756e 747f 3231 3332 3833 3535 0a52 6566 unt.21328355.Ref
│ │ │ │ -0171e1b0: 3a20 6c69 6272 6172 792f 7379 7320 6175 : library/sys au
│ │ │ │ -0171e1c0: 6469 745f 6576 656e 745f 7379 735f 7265 dit_event_sys_re
│ │ │ │ -0171e1d0: 6d6f 7465 5f65 7865 635f 307f 3231 3332 mote_exec_0.2132
│ │ │ │ -0171e1e0: 3833 3536 0a52 6566 3a20 3135 6534 7f32 8356.Ref: 15e4.2
│ │ │ │ -0171e1f0: 3133 3238 3335 380a 5265 663a 2034 6431 1328358.Ref: 4d1
│ │ │ │ -0171e200: 317f 3231 3332 3833 3630 0a52 6566 3a20 1.21328360.Ref:
│ │ │ │ -0171e210: 3133 6232 7f32 3133 3238 3336 320a 5265 13b2.21328362.Re
│ │ │ │ -0171e220: 663a 2032 3139 347f 3231 3332 3833 3634 f: 2194.21328364
│ │ │ │ -0171e230: 0a52 6566 3a20 6275 696c 7469 6e73 2f73 .Ref: builtins/s
│ │ │ │ -0171e240: 7464 7479 7065 7320 6c69 7374 2063 6c65 tdtypes list cle
│ │ │ │ -0171e250: 6172 7f32 3133 3238 3336 360a 5265 663a ar.21328366.Ref:
│ │ │ │ -0171e260: 2038 6563 7f32 3133 3238 3336 380a 5265 8ec.21328368.Re
│ │ │ │ -0171e270: 663a 2075 7369 6e67 2f63 6d64 6c69 6e65 f: using/cmdline
│ │ │ │ -0171e280: 2061 7564 6974 5f65 7665 6e74 5f63 7079 audit_event_cpy
│ │ │ │ -0171e290: 7468 6f6e 5f72 756e 5f73 7464 696e 5f31 thon_run_stdin_1
│ │ │ │ -0171e2a0: 7f32 3133 3238 3337 300a 5265 663a 206c .21328370.Ref: l
│ │ │ │ -0171e2b0: 6962 7261 7279 2f63 7479 7065 7320 6175 ibrary/ctypes au
│ │ │ │ -0171e2c0: 6469 745f 6576 656e 745f 6374 7970 6573 dit_event_ctypes
│ │ │ │ -0171e2d0: 5f6d 656d 6f72 7976 6965 775f 6174 5f30 _memoryview_at_0
│ │ │ │ -0171e2e0: 7f32 3133 3238 3337 320a 5265 663a 2062 .21328372.Ref: b
│ │ │ │ -0171e2f0: 7569 6c74 696e 732f 7374 6474 7970 6573 uiltins/stdtypes
│ │ │ │ -0171e300: 206c 6973 7420 6578 7465 6e64 7f32 3133 list extend.213
│ │ │ │ -0171e310: 3238 3337 340a 5265 663a 2034 6430 667f 28374.Ref: 4d0f.
│ │ │ │ -0171e320: 3231 3332 3833 3736 0a52 6566 3a20 6c69 21328376.Ref: li
│ │ │ │ -0171e330: 6272 6172 792f 7379 7320 6175 6469 745f brary/sys audit_
│ │ │ │ -0171e340: 6576 656e 745f 6370 7974 686f 6e5f 7265 event_cpython_re
│ │ │ │ -0171e350: 6d6f 7465 5f64 6562 7567 6765 725f 7363 mote_debugger_sc
│ │ │ │ -0171e360: 7269 7074 5f30 7f32 3133 3238 3337 380a ript_0.21328378.
│ │ │ │ -0171e370: 5265 663a 206c 6962 7261 7279 2f75 6e69 Ref: library/uni
│ │ │ │ -0171e380: 7474 6573 7420 756e 6974 7465 7374 2074 ttest unittest t
│ │ │ │ -0171e390: 6561 7244 6f77 6e4d 6f64 756c 657f 3231 earDownModule.21
│ │ │ │ -0171e3a0: 3332 3833 3830 0a52 6566 3a20 6c69 6272 328380.Ref: libr
│ │ │ │ -0171e3b0: 6172 792f 5f74 6872 6561 6420 7374 6172 ary/_thread star
│ │ │ │ -0171e3c0: 745f 6e65 775f 7468 7265 6164 7f32 3133 t_new_thread.213
│ │ │ │ -0171e3d0: 3238 3338 320a 5265 663a 2034 6430 337f 28382.Ref: 4d03.
│ │ │ │ -0171e3e0: 3231 3332 3833 3834 0a52 6566 3a20 6275 21328384.Ref: bu
│ │ │ │ -0171e3f0: 696c 7469 6e73 2f73 7464 7479 7065 7320 iltins/stdtypes
│ │ │ │ -0171e400: 6c69 7374 2063 6f70 797f 3231 3332 3833 list copy.213283
│ │ │ │ -0171e410: 3836 0a52 6566 3a20 6275 696c 7469 6e73 86.Ref: builtins
│ │ │ │ -0171e420: 2f73 7464 7479 7065 7320 6c69 7374 2069 /stdtypes list i
│ │ │ │ -0171e430: 6e73 6572 747f 3231 3332 3833 3838 0a52 nsert.21328388.R
│ │ │ │ -0171e440: 6566 3a20 6c69 6272 6172 792f 6173 796e ef: library/asyn
│ │ │ │ -0171e450: 6369 6f20 6175 6469 745f 6576 656e 745f cio audit_event_
│ │ │ │ -0171e460: 6370 7974 686f 6e5f 7275 6e5f 7374 6469 cpython_run_stdi
│ │ │ │ -0171e470: 6e5f 307f 3231 3332 3833 3930 0a52 6566 n_0.21328390.Ref
│ │ │ │ -0171e480: 3a20 3262 6434 7f32 3133 3238 3339 320a : 2bd4.21328392.
│ │ │ │ -0171e490: 5265 663a 2034 6430 357f 3231 3332 3833 Ref: 4d05.213283
│ │ │ │ -0171e4a0: 3934 0a52 6566 3a20 3135 6533 7f32 3133 94.Ref: 15e3.213
│ │ │ │ -0171e4b0: 3238 3339 360a 5265 663a 2034 6430 307f 28396.Ref: 4d00.
│ │ │ │ -0171e4c0: 3231 3332 3833 3938 0a52 6566 3a20 3135 21328398.Ref: 15
│ │ │ │ -0171e4d0: 3530 7f32 3133 3238 3430 300a 5265 663a 50.21328400.Ref:
│ │ │ │ -0171e4e0: 2036 3130 7f32 3133 3238 3430 320a 5265 610.21328402.Re
│ │ │ │ -0171e4f0: 663a 2062 7569 6c74 696e 732f 7374 6474 f: builtins/stdt
│ │ │ │ -0171e500: 7970 6573 2074 7570 6c65 2069 6e64 6578 ypes tuple index
│ │ │ │ -0171e510: 7f32 3133 3238 3430 340a 5265 663a 2031 .21328404.Ref: 1
│ │ │ │ -0171e520: 6230 347f 3231 3332 3834 3036 0a52 6566 b04.21328406.Ref
│ │ │ │ -0171e530: 3a20 6275 696c 7469 6e73 2f73 7464 7479 : builtins/stdty
│ │ │ │ -0171e540: 7065 7320 7261 6e67 6520 696e 6465 787f pes range index.
│ │ │ │ -0171e550: 3231 3332 3834 3038 0a52 6566 3a20 7573 21328408.Ref: us
│ │ │ │ -0171e560: 696e 672f 636d 646c 696e 6520 6175 6469 ing/cmdline audi
│ │ │ │ -0171e570: 745f 6576 656e 745f 6370 7974 686f 6e5f t_event_cpython_
│ │ │ │ -0171e580: 7275 6e5f 6669 6c65 5f30 7f32 3133 3238 run_file_0.21328
│ │ │ │ -0171e590: 3431 300a 5265 663a 2036 3131 7f32 3133 410.Ref: 611.213
│ │ │ │ -0171e5a0: 3238 3431 320a 5265 663a 2075 7369 6e67 28412.Ref: using
│ │ │ │ -0171e5b0: 2f63 6d64 6c69 6e65 2061 7564 6974 5f65 /cmdline audit_e
│ │ │ │ -0171e5c0: 7665 6e74 5f63 7079 7468 6f6e 5f72 756e vent_cpython_run
│ │ │ │ -0171e5d0: 5f73 7464 696e 5f32 7f32 3133 3238 3431 _stdin_2.2132841
│ │ │ │ -0171e5e0: 340a 5265 663a 2034 6430 367f 3231 3332 4.Ref: 4d06.2132
│ │ │ │ -0171e5f0: 3834 3136 0a52 6566 3a20 6275 696c 7469 8416.Ref: builti
│ │ │ │ -0171e600: 6e73 2f73 7464 7479 7065 7320 6c69 7374 ns/stdtypes list
│ │ │ │ -0171e610: 2070 6f70 7f32 3133 3238 3431 380a 5265 pop.21328418.Re
│ │ │ │ -0171e620: 663a 2031 6265 327f 3231 3332 3834 3230 f: 1be2.21328420
│ │ │ │ -0171e630: 0a52 6566 3a20 3464 3034 7f32 3133 3238 .Ref: 4d04.21328
│ │ │ │ -0171e640: 3432 320a 5265 663a 2062 7569 6c74 696e 422.Ref: builtin
│ │ │ │ -0171e650: 732f 7374 6474 7970 6573 206c 6973 7420 s/stdtypes list
│ │ │ │ -0171e660: 7265 6d6f 7665 7f32 3133 3238 3432 340a remove.21328424.
│ │ │ │ -0171e670: 5265 663a 2034 6430 377f 3231 3332 3834 Ref: 4d07.213284
│ │ │ │ -0171e680: 3236 0a52 6566 3a20 3464 3038 7f32 3133 26.Ref: 4d08.213
│ │ │ │ -0171e690: 3238 3432 380a 5265 663a 206c 6962 7261 28428.Ref: libra
│ │ │ │ -0171e6a0: 7279 2f74 696d 6520 6175 6469 745f 6576 ry/time audit_ev
│ │ │ │ -0171e6b0: 656e 745f 7469 6d65 5f73 6c65 6570 5f30 ent_time_sleep_0
│ │ │ │ +0171e180: 0a52 6566 3a20 3162 6532 7f32 3133 3238 .Ref: 1be2.21328
│ │ │ │ +0171e190: 3335 350a 5265 663a 2034 6430 337f 3231 355.Ref: 4d03.21
│ │ │ │ +0171e1a0: 3332 3833 3536 0a52 6566 3a20 3133 6232 328356.Ref: 13b2
│ │ │ │ +0171e1b0: 7f32 3133 3238 3335 380a 5265 663a 206c .21328358.Ref: l
│ │ │ │ +0171e1c0: 6962 7261 7279 2f63 7479 7065 7320 6175 ibrary/ctypes au
│ │ │ │ +0171e1d0: 6469 745f 6576 656e 745f 6374 7970 6573 dit_event_ctypes
│ │ │ │ +0171e1e0: 5f6d 656d 6f72 7976 6965 775f 6174 5f30 _memoryview_at_0
│ │ │ │ +0171e1f0: 7f32 3133 3238 3336 300a 5265 663a 2062 .21328360.Ref: b
│ │ │ │ +0171e200: 7569 6c74 696e 732f 7374 6474 7970 6573 uiltins/stdtypes
│ │ │ │ +0171e210: 206c 6973 7420 706f 707f 3231 3332 3833 list pop.213283
│ │ │ │ +0171e220: 3632 0a52 6566 3a20 3262 6434 7f32 3133 62.Ref: 2bd4.213
│ │ │ │ +0171e230: 3238 3336 340a 5265 663a 2034 6430 667f 28364.Ref: 4d0f.
│ │ │ │ +0171e240: 3231 3332 3833 3636 0a52 6566 3a20 6275 21328366.Ref: bu
│ │ │ │ +0171e250: 696c 7469 6e73 2f73 7464 7479 7065 7320 iltins/stdtypes
│ │ │ │ +0171e260: 7475 706c 6520 696e 6465 787f 3231 3332 tuple index.2132
│ │ │ │ +0171e270: 3833 3638 0a52 6566 3a20 6c69 6272 6172 8368.Ref: librar
│ │ │ │ +0171e280: 792f 6173 796e 6369 6f20 6175 6469 745f y/asyncio audit_
│ │ │ │ +0171e290: 6576 656e 745f 6370 7974 686f 6e5f 7275 event_cpython_ru
│ │ │ │ +0171e2a0: 6e5f 7374 6469 6e5f 307f 3231 3332 3833 n_stdin_0.213283
│ │ │ │ +0171e2b0: 3730 0a52 6566 3a20 6275 696c 7469 6e73 70.Ref: builtins
│ │ │ │ +0171e2c0: 2f73 7464 7479 7065 7320 7261 6e67 6520 /stdtypes range
│ │ │ │ +0171e2d0: 696e 6465 787f 3231 3332 3833 3732 0a52 index.21328372.R
│ │ │ │ +0171e2e0: 6566 3a20 6275 696c 7469 6e73 2f73 7464 ef: builtins/std
│ │ │ │ +0171e2f0: 7479 7065 7320 7475 706c 6520 636f 756e types tuple coun
│ │ │ │ +0171e300: 747f 3231 3332 3833 3734 0a52 6566 3a20 t.21328374.Ref:
│ │ │ │ +0171e310: 3464 3037 7f32 3133 3238 3337 360a 5265 4d07.21328376.Re
│ │ │ │ +0171e320: 663a 2032 3139 347f 3231 3332 3833 3738 f: 2194.21328378
│ │ │ │ +0171e330: 0a52 6566 3a20 3464 3036 7f32 3133 3238 .Ref: 4d06.21328
│ │ │ │ +0171e340: 3338 300a 5265 663a 2031 3535 307f 3231 380.Ref: 1550.21
│ │ │ │ +0171e350: 3332 3833 3832 0a52 6566 3a20 6c69 6272 328382.Ref: libr
│ │ │ │ +0171e360: 6172 792f 7469 6d65 2061 7564 6974 5f65 ary/time audit_e
│ │ │ │ +0171e370: 7665 6e74 5f74 696d 655f 736c 6565 705f vent_time_sleep_
│ │ │ │ +0171e380: 307f 3231 3332 3833 3834 0a52 6566 3a20 0.21328384.Ref:
│ │ │ │ +0171e390: 3135 6533 7f32 3133 3238 3338 360a 5265 15e3.21328386.Re
│ │ │ │ +0171e3a0: 663a 2031 6230 347f 3231 3332 3833 3838 f: 1b04.21328388
│ │ │ │ +0171e3b0: 0a52 6566 3a20 3135 6534 7f32 3133 3238 .Ref: 15e4.21328
│ │ │ │ +0171e3c0: 3339 300a 5265 663a 2062 7569 6c74 696e 390.Ref: builtin
│ │ │ │ +0171e3d0: 732f 7374 6474 7970 6573 206c 6973 7420 s/stdtypes list
│ │ │ │ +0171e3e0: 636c 6561 727f 3231 3332 3833 3932 0a52 clear.21328392.R
│ │ │ │ +0171e3f0: 6566 3a20 6c69 6272 6172 792f 7379 7320 ef: library/sys
│ │ │ │ +0171e400: 6175 6469 745f 6576 656e 745f 6370 7974 audit_event_cpyt
│ │ │ │ +0171e410: 686f 6e5f 7265 6d6f 7465 5f64 6562 7567 hon_remote_debug
│ │ │ │ +0171e420: 6765 725f 7363 7269 7074 5f30 7f32 3133 ger_script_0.213
│ │ │ │ +0171e430: 3238 3339 340a 5265 663a 2034 6431 317f 28394.Ref: 4d11.
│ │ │ │ +0171e440: 3231 3332 3833 3936 0a52 6566 3a20 3631 21328396.Ref: 61
│ │ │ │ +0171e450: 317f 3231 3332 3833 3938 0a52 6566 3a20 1.21328398.Ref:
│ │ │ │ +0171e460: 6275 696c 7469 6e73 2f73 7464 7479 7065 builtins/stdtype
│ │ │ │ +0171e470: 7320 6c69 7374 2072 656d 6f76 657f 3231 s list remove.21
│ │ │ │ +0171e480: 3332 3834 3030 0a52 6566 3a20 3464 3034 328400.Ref: 4d04
│ │ │ │ +0171e490: 7f32 3133 3238 3430 320a 5265 663a 2036 .21328402.Ref: 6
│ │ │ │ +0171e4a0: 3130 7f32 3133 3238 3430 340a 5265 663a 10.21328404.Ref:
│ │ │ │ +0171e4b0: 206c 6962 7261 7279 2f75 6e69 7474 6573 library/unittes
│ │ │ │ +0171e4c0: 7420 756e 6974 7465 7374 2074 6561 7244 t unittest tearD
│ │ │ │ +0171e4d0: 6f77 6e4d 6f64 756c 657f 3231 3332 3834 ownModule.213284
│ │ │ │ +0171e4e0: 3036 0a52 6566 3a20 3464 3038 7f32 3133 06.Ref: 4d08.213
│ │ │ │ +0171e4f0: 3238 3430 380a 5265 663a 2038 6563 7f32 28408.Ref: 8ec.2
│ │ │ │ +0171e500: 3133 3238 3431 300a 5265 663a 2062 7569 1328410.Ref: bui
│ │ │ │ +0171e510: 6c74 696e 732f 7374 6474 7970 6573 206c ltins/stdtypes l
│ │ │ │ +0171e520: 6973 7420 696e 7365 7274 7f32 3133 3238 ist insert.21328
│ │ │ │ +0171e530: 3431 320a 5265 663a 2075 7369 6e67 2f63 412.Ref: using/c
│ │ │ │ +0171e540: 6d64 6c69 6e65 2061 7564 6974 5f65 7665 mdline audit_eve
│ │ │ │ +0171e550: 6e74 5f63 7079 7468 6f6e 5f72 756e 5f66 nt_cpython_run_f
│ │ │ │ +0171e560: 696c 655f 307f 3231 3332 3834 3134 0a52 ile_0.21328414.R
│ │ │ │ +0171e570: 6566 3a20 3464 3035 7f32 3133 3238 3431 ef: 4d05.2132841
│ │ │ │ +0171e580: 360a 5265 663a 206c 6962 7261 7279 2f73 6.Ref: library/s
│ │ │ │ +0171e590: 7973 2061 7564 6974 5f65 7665 6e74 5f73 ys audit_event_s
│ │ │ │ +0171e5a0: 7973 5f72 656d 6f74 655f 6578 6563 5f30 ys_remote_exec_0
│ │ │ │ +0171e5b0: 7f32 3133 3238 3431 380a 5265 663a 2034 .21328418.Ref: 4
│ │ │ │ +0171e5c0: 6430 307f 3231 3332 3834 3230 0a52 6566 d00.21328420.Ref
│ │ │ │ +0171e5d0: 3a20 6275 696c 7469 6e73 2f73 7464 7479 : builtins/stdty
│ │ │ │ +0171e5e0: 7065 7320 6c69 7374 2063 6f70 797f 3231 pes list copy.21
│ │ │ │ +0171e5f0: 3332 3834 3232 0a52 6566 3a20 7573 696e 328422.Ref: usin
│ │ │ │ +0171e600: 672f 636d 646c 696e 6520 6175 6469 745f g/cmdline audit_
│ │ │ │ +0171e610: 6576 656e 745f 6370 7974 686f 6e5f 7275 event_cpython_ru
│ │ │ │ +0171e620: 6e5f 7374 6469 6e5f 317f 3231 3332 3834 n_stdin_1.213284
│ │ │ │ +0171e630: 3234 0a52 6566 3a20 7573 696e 672f 636d 24.Ref: using/cm
│ │ │ │ +0171e640: 646c 696e 6520 6175 6469 745f 6576 656e dline audit_even
│ │ │ │ +0171e650: 745f 6370 7974 686f 6e5f 7275 6e5f 7374 t_cpython_run_st
│ │ │ │ +0171e660: 6469 6e5f 307f 3231 3332 3834 3236 0a52 din_0.21328426.R
│ │ │ │ +0171e670: 6566 3a20 6c69 6272 6172 792f 5f74 6872 ef: library/_thr
│ │ │ │ +0171e680: 6561 6420 7374 6172 745f 6e65 775f 7468 ead start_new_th
│ │ │ │ +0171e690: 7265 6164 7f32 3133 3238 3432 380a 5265 read.21328428.Re
│ │ │ │ +0171e6a0: 663a 2062 7569 6c74 696e 732f 7374 6474 f: builtins/stdt
│ │ │ │ +0171e6b0: 7970 6573 206c 6973 7420 6578 7465 6e64 ypes list extend
│ │ │ │ 0171e6c0: 7f32 3133 3238 3433 300a 5265 663a 2062 .21328430.Ref: b
│ │ │ │ 0171e6d0: 7569 6c74 696e 732f 7374 6474 7970 6573 uiltins/stdtypes
│ │ │ │ 0171e6e0: 206c 6973 7420 6170 7065 6e64 7f32 3133 list append.213
│ │ │ │ 0171e6f0: 3238 3433 320a 1f0a 456e 6420 5461 6720 28432...End Tag
│ │ │ │ 0171e700: 5461 626c 650a 0a1f 0a4c 6f63 616c 2056 Table....Local V
│ │ │ │ 0171e710: 6172 6961 626c 6573 3a0a 636f 6469 6e67 ariables:.coding
│ │ │ │ 0171e720: 3a20 7574 662d 380a 456e 643a 0a : utf-8.End:.