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 3464 3036 7f32 3133 3238 .Ref: 4d06.21328
│ │ │ │ +0171e190: 3335 350a 5265 663a 2031 3362 327f 3231 355.Ref: 13b2.21
│ │ │ │ +0171e1a0: 3332 3833 3536 0a52 6566 3a20 3464 3034 328356.Ref: 4d04
│ │ │ │ +0171e1b0: 7f32 3133 3238 3335 380a 5265 663a 2032 .21328358.Ref: 2
│ │ │ │ +0171e1c0: 3139 347f 3231 3332 3833 3630 0a52 6566 194.21328360.Ref
│ │ │ │ +0171e1d0: 3a20 6c69 6272 6172 792f 6374 7970 6573 : library/ctypes
│ │ │ │ +0171e1e0: 2061 7564 6974 5f65 7665 6e74 5f63 7479 audit_event_cty
│ │ │ │ +0171e1f0: 7065 735f 6d65 6d6f 7279 7669 6577 5f61 pes_memoryview_a
│ │ │ │ +0171e200: 745f 307f 3231 3332 3833 3632 0a52 6566 t_0.21328362.Ref
│ │ │ │ +0171e210: 3a20 3464 3035 7f32 3133 3238 3336 340a : 4d05.21328364.
│ │ │ │ +0171e220: 5265 663a 2062 7569 6c74 696e 732f 7374 Ref: builtins/st
│ │ │ │ +0171e230: 6474 7970 6573 2074 7570 6c65 2069 6e64 dtypes tuple ind
│ │ │ │ +0171e240: 6578 7f32 3133 3238 3336 360a 5265 663a ex.21328366.Ref:
│ │ │ │ +0171e250: 2034 6430 387f 3231 3332 3833 3638 0a52 4d08.21328368.R
│ │ │ │ +0171e260: 6566 3a20 3135 3530 7f32 3133 3238 3337 ef: 1550.2132837
│ │ │ │ +0171e270: 300a 5265 663a 2062 7569 6c74 696e 732f 0.Ref: builtins/
│ │ │ │ +0171e280: 7374 6474 7970 6573 206c 6973 7420 636c stdtypes list cl
│ │ │ │ +0171e290: 6561 727f 3231 3332 3833 3732 0a52 6566 ear.21328372.Ref
│ │ │ │ +0171e2a0: 3a20 6c69 6272 6172 792f 7379 7320 6175 : library/sys au
│ │ │ │ +0171e2b0: 6469 745f 6576 656e 745f 7379 735f 7265 dit_event_sys_re
│ │ │ │ +0171e2c0: 6d6f 7465 5f65 7865 635f 307f 3231 3332 mote_exec_0.2132
│ │ │ │ +0171e2d0: 3833 3734 0a52 6566 3a20 6275 696c 7469 8374.Ref: builti
│ │ │ │ +0171e2e0: 6e73 2f73 7464 7479 7065 7320 6c69 7374 ns/stdtypes list
│ │ │ │ +0171e2f0: 2063 6f70 797f 3231 3332 3833 3736 0a52 copy.21328376.R
│ │ │ │ +0171e300: 6566 3a20 3631 317f 3231 3332 3833 3738 ef: 611.21328378
│ │ │ │ +0171e310: 0a52 6566 3a20 3162 3034 7f32 3133 3238 .Ref: 1b04.21328
│ │ │ │ +0171e320: 3338 300a 5265 663a 206c 6962 7261 7279 380.Ref: library
│ │ │ │ +0171e330: 2f75 6e69 7474 6573 7420 756e 6974 7465 /unittest unitte
│ │ │ │ +0171e340: 7374 2074 6561 7244 6f77 6e4d 6f64 756c st tearDownModul
│ │ │ │ +0171e350: 657f 3231 3332 3833 3832 0a52 6566 3a20 e.21328382.Ref:
│ │ │ │ +0171e360: 3135 6533 7f32 3133 3238 3338 340a 5265 15e3.21328384.Re
│ │ │ │ +0171e370: 663a 2075 7369 6e67 2f63 6d64 6c69 6e65 f: using/cmdline
│ │ │ │ +0171e380: 2061 7564 6974 5f65 7665 6e74 5f63 7079 audit_event_cpy
│ │ │ │ +0171e390: 7468 6f6e 5f72 756e 5f66 696c 655f 307f thon_run_file_0.
│ │ │ │ +0171e3a0: 3231 3332 3833 3836 0a52 6566 3a20 3464 21328386.Ref: 4d
│ │ │ │ +0171e3b0: 3030 7f32 3133 3238 3338 380a 5265 663a 00.21328388.Ref:
│ │ │ │ +0171e3c0: 206c 6962 7261 7279 2f5f 7468 7265 6164 library/_thread
│ │ │ │ +0171e3d0: 2073 7461 7274 5f6e 6577 5f74 6872 6561 start_new_threa
│ │ │ │ +0171e3e0: 647f 3231 3332 3833 3930 0a52 6566 3a20 d.21328390.Ref:
│ │ │ │ +0171e3f0: 6c69 6272 6172 792f 7469 6d65 2061 7564 library/time aud
│ │ │ │ +0171e400: 6974 5f65 7665 6e74 5f74 696d 655f 736c it_event_time_sl
│ │ │ │ +0171e410: 6565 705f 307f 3231 3332 3833 3932 0a52 eep_0.21328392.R
│ │ │ │ +0171e420: 6566 3a20 7573 696e 672f 636d 646c 696e ef: using/cmdlin
│ │ │ │ +0171e430: 6520 6175 6469 745f 6576 656e 745f 6370 e audit_event_cp
│ │ │ │ +0171e440: 7974 686f 6e5f 7275 6e5f 7374 6469 6e5f ython_run_stdin_
│ │ │ │ +0171e450: 307f 3231 3332 3833 3934 0a52 6566 3a20 0.21328394.Ref:
│ │ │ │ +0171e460: 7573 696e 672f 636d 646c 696e 6520 6175 using/cmdline au
│ │ │ │ +0171e470: 6469 745f 6576 656e 745f 6370 7974 686f dit_event_cpytho
│ │ │ │ +0171e480: 6e5f 7275 6e5f 7374 6469 6e5f 317f 3231 n_run_stdin_1.21
│ │ │ │ +0171e490: 3332 3833 3936 0a52 6566 3a20 6275 696c 328396.Ref: buil
│ │ │ │ +0171e4a0: 7469 6e73 2f73 7464 7479 7065 7320 7261 tins/stdtypes ra
│ │ │ │ +0171e4b0: 6e67 6520 696e 6465 787f 3231 3332 3833 nge index.213283
│ │ │ │ +0171e4c0: 3938 0a52 6566 3a20 3464 3033 7f32 3133 98.Ref: 4d03.213
│ │ │ │ +0171e4d0: 3238 3430 300a 5265 663a 2034 6430 377f 28400.Ref: 4d07.
│ │ │ │ +0171e4e0: 3231 3332 3834 3032 0a52 6566 3a20 3464 21328402.Ref: 4d
│ │ │ │ +0171e4f0: 3131 7f32 3133 3238 3430 340a 5265 663a 11.21328404.Ref:
│ │ │ │ +0171e500: 2062 7569 6c74 696e 732f 7374 6474 7970 builtins/stdtyp
│ │ │ │ +0171e510: 6573 2074 7570 6c65 2063 6f75 6e74 7f32 es tuple count.2
│ │ │ │ +0171e520: 3133 3238 3430 360a 5265 663a 2032 6264 1328406.Ref: 2bd
│ │ │ │ +0171e530: 347f 3231 3332 3834 3038 0a52 6566 3a20 4.21328408.Ref:
│ │ │ │ +0171e540: 6c69 6272 6172 792f 7379 7320 6175 6469 library/sys audi
│ │ │ │ +0171e550: 745f 6576 656e 745f 6370 7974 686f 6e5f t_event_cpython_
│ │ │ │ +0171e560: 7265 6d6f 7465 5f64 6562 7567 6765 725f remote_debugger_
│ │ │ │ +0171e570: 7363 7269 7074 5f30 7f32 3133 3238 3431 script_0.2132841
│ │ │ │ +0171e580: 300a 5265 663a 2031 3565 347f 3231 3332 0.Ref: 15e4.2132
│ │ │ │ +0171e590: 3834 3132 0a52 6566 3a20 3464 3066 7f32 8412.Ref: 4d0f.2
│ │ │ │ +0171e5a0: 3133 3238 3431 340a 5265 663a 2062 7569 1328414.Ref: bui
│ │ │ │ +0171e5b0: 6c74 696e 732f 7374 6474 7970 6573 206c ltins/stdtypes l
│ │ │ │ +0171e5c0: 6973 7420 6578 7465 6e64 7f32 3133 3238 ist extend.21328
│ │ │ │ +0171e5d0: 3431 360a 5265 663a 2038 6563 7f32 3133 416.Ref: 8ec.213
│ │ │ │ +0171e5e0: 3238 3431 380a 5265 663a 2031 6265 327f 28418.Ref: 1be2.
│ │ │ │ +0171e5f0: 3231 3332 3834 3230 0a52 6566 3a20 6275 21328420.Ref: bu
│ │ │ │ +0171e600: 696c 7469 6e73 2f73 7464 7479 7065 7320 iltins/stdtypes
│ │ │ │ +0171e610: 6c69 7374 2072 656d 6f76 657f 3231 3332 list remove.2132
│ │ │ │ +0171e620: 3834 3232 0a52 6566 3a20 6275 696c 7469 8422.Ref: builti
│ │ │ │ +0171e630: 6e73 2f73 7464 7479 7065 7320 6c69 7374 ns/stdtypes list
│ │ │ │ +0171e640: 2061 7070 656e 647f 3231 3332 3834 3234 append.21328424
│ │ │ │ +0171e650: 0a52 6566 3a20 6c69 6272 6172 792f 6173 .Ref: library/as
│ │ │ │ +0171e660: 796e 6369 6f20 6175 6469 745f 6576 656e yncio audit_even
│ │ │ │ +0171e670: 745f 6370 7974 686f 6e5f 7275 6e5f 7374 t_cpython_run_st
│ │ │ │ +0171e680: 6469 6e5f 307f 3231 3332 3834 3236 0a52 din_0.21328426.R
│ │ │ │ +0171e690: 6566 3a20 6275 696c 7469 6e73 2f73 7464 ef: builtins/std
│ │ │ │ +0171e6a0: 7479 7065 7320 6c69 7374 2070 6f70 7f32 types list pop.2
│ │ │ │ +0171e6b0: 3133 3238 3432 380a 5265 663a 2036 3130 1328428.Ref: 610
│ │ │ │ 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
│ │ │ │ +0171e6e0: 206c 6973 7420 696e 7365 7274 7f32 3133 list insert.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:.