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
│ │ │ │ -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
│ │ │ │ +0171e180: 0a52 6566 3a20 3464 3036 7f32 3133 3238 .Ref: 4d06.21328
│ │ │ │ +0171e190: 3335 350a 5265 663a 2062 7569 6c74 696e 355.Ref: builtin
│ │ │ │ +0171e1a0: 732f 7374 6474 7970 6573 206c 6973 7420 s/stdtypes list
│ │ │ │ +0171e1b0: 636c 6561 727f 3231 3332 3833 3536 0a52 clear.21328356.R
│ │ │ │ +0171e1c0: 6566 3a20 7573 696e 672f 636d 646c 696e ef: using/cmdlin
│ │ │ │ +0171e1d0: 6520 6175 6469 745f 6576 656e 745f 6370 e audit_event_cp
│ │ │ │ +0171e1e0: 7974 686f 6e5f 7275 6e5f 7374 6469 6e5f ython_run_stdin_
│ │ │ │ +0171e1f0: 307f 3231 3332 3833 3538 0a52 6566 3a20 0.21328358.Ref:
│ │ │ │ +0171e200: 6275 696c 7469 6e73 2f73 7464 7479 7065 builtins/stdtype
│ │ │ │ +0171e210: 7320 6c69 7374 2069 6e73 6572 747f 3231 s list insert.21
│ │ │ │ +0171e220: 3332 3833 3630 0a52 6566 3a20 3162 6532 328360.Ref: 1be2
│ │ │ │ +0171e230: 7f32 3133 3238 3336 320a 5265 663a 2062 .21328362.Ref: b
│ │ │ │ +0171e240: 7569 6c74 696e 732f 7374 6474 7970 6573 uiltins/stdtypes
│ │ │ │ +0171e250: 206c 6973 7420 7265 6d6f 7665 7f32 3133 list remove.213
│ │ │ │ +0171e260: 3238 3336 340a 5265 663a 206c 6962 7261 28364.Ref: libra
│ │ │ │ +0171e270: 7279 2f5f 7468 7265 6164 2073 7461 7274 ry/_thread start
│ │ │ │ +0171e280: 5f6e 6577 5f74 6872 6561 647f 3231 3332 _new_thread.2132
│ │ │ │ +0171e290: 3833 3636 0a52 6566 3a20 3262 6434 7f32 8366.Ref: 2bd4.2
│ │ │ │ +0171e2a0: 3133 3238 3336 380a 5265 663a 206c 6962 1328368.Ref: lib
│ │ │ │ +0171e2b0: 7261 7279 2f63 7479 7065 7320 6175 6469 rary/ctypes audi
│ │ │ │ +0171e2c0: 745f 6576 656e 745f 6374 7970 6573 5f6d t_event_ctypes_m
│ │ │ │ +0171e2d0: 656d 6f72 7976 6965 775f 6174 5f30 7f32 emoryview_at_0.2
│ │ │ │ +0171e2e0: 3133 3238 3337 300a 5265 663a 2034 6430 1328370.Ref: 4d0
│ │ │ │ +0171e2f0: 357f 3231 3332 3833 3732 0a52 6566 3a20 5.21328372.Ref:
│ │ │ │ +0171e300: 3464 3030 7f32 3133 3238 3337 340a 5265 4d00.21328374.Re
│ │ │ │ +0171e310: 663a 2062 7569 6c74 696e 732f 7374 6474 f: builtins/stdt
│ │ │ │ +0171e320: 7970 6573 206c 6973 7420 6578 7465 6e64 ypes list extend
│ │ │ │ +0171e330: 7f32 3133 3238 3337 360a 5265 663a 2075 .21328376.Ref: u
│ │ │ │ +0171e340: 7369 6e67 2f63 6d64 6c69 6e65 2061 7564 sing/cmdline aud
│ │ │ │ +0171e350: 6974 5f65 7665 6e74 5f63 7079 7468 6f6e it_event_cpython
│ │ │ │ +0171e360: 5f72 756e 5f66 696c 655f 307f 3231 3332 _run_file_0.2132
│ │ │ │ +0171e370: 3833 3738 0a52 6566 3a20 3464 3034 7f32 8378.Ref: 4d04.2
│ │ │ │ +0171e380: 3133 3238 3338 300a 5265 663a 2034 6430 1328380.Ref: 4d0
│ │ │ │ +0171e390: 387f 3231 3332 3833 3832 0a52 6566 3a20 8.21328382.Ref:
│ │ │ │ +0171e3a0: 6c69 6272 6172 792f 756e 6974 7465 7374 library/unittest
│ │ │ │ +0171e3b0: 2075 6e69 7474 6573 7420 7465 6172 446f unittest tearDo
│ │ │ │ +0171e3c0: 776e 4d6f 6475 6c65 7f32 3133 3238 3338 wnModule.2132838
│ │ │ │ +0171e3d0: 340a 5265 663a 206c 6962 7261 7279 2f73 4.Ref: library/s
│ │ │ │ +0171e3e0: 7973 2061 7564 6974 5f65 7665 6e74 5f63 ys audit_event_c
│ │ │ │ +0171e3f0: 7079 7468 6f6e 5f72 656d 6f74 655f 6465 python_remote_de
│ │ │ │ +0171e400: 6275 6767 6572 5f73 6372 6970 745f 307f bugger_script_0.
│ │ │ │ +0171e410: 3231 3332 3833 3836 0a52 6566 3a20 6c69 21328386.Ref: li
│ │ │ │ +0171e420: 6272 6172 792f 7379 7320 6175 6469 745f brary/sys audit_
│ │ │ │ +0171e430: 6576 656e 745f 7379 735f 7265 6d6f 7465 event_sys_remote
│ │ │ │ +0171e440: 5f65 7865 635f 307f 3231 3332 3833 3838 _exec_0.21328388
│ │ │ │ +0171e450: 0a52 6566 3a20 3464 3131 7f32 3133 3238 .Ref: 4d11.21328
│ │ │ │ +0171e460: 3339 300a 5265 663a 206c 6962 7261 7279 390.Ref: library
│ │ │ │ +0171e470: 2f61 7379 6e63 696f 2061 7564 6974 5f65 /asyncio audit_e
│ │ │ │ +0171e480: 7665 6e74 5f63 7079 7468 6f6e 5f72 756e vent_cpython_run
│ │ │ │ +0171e490: 5f73 7464 696e 5f30 7f32 3133 3238 3339 _stdin_0.2132839
│ │ │ │ +0171e4a0: 320a 5265 663a 2034 6430 667f 3231 3332 2.Ref: 4d0f.2132
│ │ │ │ +0171e4b0: 3833 3934 0a52 6566 3a20 3135 6534 7f32 8394.Ref: 15e4.2
│ │ │ │ +0171e4c0: 3133 3238 3339 360a 5265 663a 2036 3131 1328396.Ref: 611
│ │ │ │ +0171e4d0: 7f32 3133 3238 3339 380a 5265 663a 2031 .21328398.Ref: 1
│ │ │ │ +0171e4e0: 3535 307f 3231 3332 3834 3030 0a52 6566 550.21328400.Ref
│ │ │ │ +0171e4f0: 3a20 3133 6232 7f32 3133 3238 3430 320a : 13b2.21328402.
│ │ │ │ +0171e500: 5265 663a 2036 3130 7f32 3133 3238 3430 Ref: 610.2132840
│ │ │ │ +0171e510: 340a 5265 663a 2062 7569 6c74 696e 732f 4.Ref: builtins/
│ │ │ │ +0171e520: 7374 6474 7970 6573 206c 6973 7420 636f stdtypes list co
│ │ │ │ +0171e530: 7079 7f32 3133 3238 3430 360a 5265 663a py.21328406.Ref:
│ │ │ │ +0171e540: 2031 6230 347f 3231 3332 3834 3038 0a52 1b04.21328408.R
│ │ │ │ +0171e550: 6566 3a20 6275 696c 7469 6e73 2f73 7464 ef: builtins/std
│ │ │ │ +0171e560: 7479 7065 7320 7475 706c 6520 636f 756e types tuple coun
│ │ │ │ +0171e570: 747f 3231 3332 3834 3130 0a52 6566 3a20 t.21328410.Ref:
│ │ │ │ +0171e580: 3865 637f 3231 3332 3834 3132 0a52 6566 8ec.21328412.Ref
│ │ │ │ +0171e590: 3a20 3135 6533 7f32 3133 3238 3431 340a : 15e3.21328414.
│ │ │ │ +0171e5a0: 5265 663a 2034 6430 337f 3231 3332 3834 Ref: 4d03.213284
│ │ │ │ +0171e5b0: 3136 0a52 6566 3a20 6275 696c 7469 6e73 16.Ref: builtins
│ │ │ │ +0171e5c0: 2f73 7464 7479 7065 7320 6c69 7374 2061 /stdtypes list a
│ │ │ │ +0171e5d0: 7070 656e 647f 3231 3332 3834 3138 0a52 ppend.21328418.R
│ │ │ │ +0171e5e0: 6566 3a20 6275 696c 7469 6e73 2f73 7464 ef: builtins/std
│ │ │ │ +0171e5f0: 7479 7065 7320 7475 706c 6520 696e 6465 types tuple inde
│ │ │ │ +0171e600: 787f 3231 3332 3834 3230 0a52 6566 3a20 x.21328420.Ref:
│ │ │ │ +0171e610: 6275 696c 7469 6e73 2f73 7464 7479 7065 builtins/stdtype
│ │ │ │ +0171e620: 7320 6c69 7374 2070 6f70 7f32 3133 3238 s list pop.21328
│ │ │ │ +0171e630: 3432 320a 5265 663a 2032 3139 347f 3231 422.Ref: 2194.21
│ │ │ │ +0171e640: 3332 3834 3234 0a52 6566 3a20 7573 696e 328424.Ref: usin
│ │ │ │ +0171e650: 672f 636d 646c 696e 6520 6175 6469 745f g/cmdline audit_
│ │ │ │ +0171e660: 6576 656e 745f 6370 7974 686f 6e5f 7275 event_cpython_ru
│ │ │ │ +0171e670: 6e5f 7374 6469 6e5f 317f 3231 3332 3834 n_stdin_1.213284
│ │ │ │ +0171e680: 3236 0a52 6566 3a20 6275 696c 7469 6e73 26.Ref: builtins
│ │ │ │ +0171e690: 2f73 7464 7479 7065 7320 7261 6e67 6520 /stdtypes range
│ │ │ │ +0171e6a0: 696e 6465 787f 3231 3332 3834 3238 0a52 index.21328428.R
│ │ │ │ +0171e6b0: 6566 3a20 6c69 6272 6172 792f 7469 6d65 ef: library/time
│ │ │ │ +0171e6c0: 2061 7564 6974 5f65 7665 6e74 5f74 696d audit_event_tim
│ │ │ │ +0171e6d0: 655f 736c 6565 705f 307f 3231 3332 3834 e_sleep_0.213284
│ │ │ │ +0171e6e0: 3330 0a52 6566 3a20 3464 3037 7f32 3133 30.Ref: 4d07.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:.