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.15.info.gz
│ │ │ ├── python3.15.info
│ │ │ │ @@ -1559513,100 +1559513,100 @@
│ │ │ │ 017cbd80: 5265 663a 206c 6963 656e 7365 2070 6978 Ref: license pix
│ │ │ │ 017cbd90: 692d 7061 636b 6167 6573 7f31 3935 3836 i-packages.19586
│ │ │ │ 017cbda0: 3137 380a 5265 663a 2036 3133 357f 3139 178.Ref: 6135.19
│ │ │ │ 017cbdb0: 3538 3631 3738 0a4e 6f64 653a 2050 7974 586178.Node: Pyt
│ │ │ │ 017cbdc0: 686f 6e20 4d6f 6475 6c65 2049 6e64 6578 hon Module Index
│ │ │ │ 017cbdd0: 7f31 3935 3838 3035 390a 4e6f 6465 3a20 .19588059.Node:
│ │ │ │ 017cbde0: 496e 6465 787f 3139 3630 3831 3035 0a52 Index.19608105.R
│ │ │ │ -017cbdf0: 6566 3a20 3464 3235 7f32 3139 3636 3131 ef: 4d25.2196611
│ │ │ │ -017cbe00: 390a 5265 663a 2034 6431 657f 3231 3936 9.Ref: 4d1e.2196
│ │ │ │ -017cbe10: 3631 3230 0a52 6566 3a20 3464 3265 7f32 6120.Ref: 4d2e.2
│ │ │ │ -017cbe20: 3139 3636 3132 320a 5265 663a 2075 7369 1966122.Ref: usi
│ │ │ │ -017cbe30: 6e67 2f63 6d64 6c69 6e65 2061 7564 6974 ng/cmdline audit
│ │ │ │ -017cbe40: 5f65 7665 6e74 5f63 7079 7468 6f6e 5f72 _event_cpython_r
│ │ │ │ -017cbe50: 756e 5f66 696c 655f 307f 3231 3936 3631 un_file_0.219661
│ │ │ │ -017cbe60: 3234 0a52 6566 3a20 3464 3232 7f32 3139 24.Ref: 4d22.219
│ │ │ │ -017cbe70: 3636 3132 360a 5265 663a 206c 6962 7261 66126.Ref: libra
│ │ │ │ -017cbe80: 7279 2f75 6e69 7474 6573 7420 756e 6974 ry/unittest unit
│ │ │ │ -017cbe90: 7465 7374 2074 6561 7244 6f77 6e4d 6f64 test tearDownMod
│ │ │ │ -017cbea0: 756c 657f 3231 3936 3631 3238 0a52 6566 ule.21966128.Ref
│ │ │ │ -017cbeb0: 3a20 3464 3236 7f32 3139 3636 3133 300a : 4d26.21966130.
│ │ │ │ -017cbec0: 5265 663a 206c 6962 7261 7279 2f5f 7468 Ref: library/_th
│ │ │ │ -017cbed0: 7265 6164 2073 7461 7274 5f6e 6577 5f74 read start_new_t
│ │ │ │ -017cbee0: 6872 6561 647f 3231 3936 3631 3332 0a52 hread.21966132.R
│ │ │ │ -017cbef0: 6566 3a20 3263 3965 7f32 3139 3636 3133 ef: 2c9e.2196613
│ │ │ │ -017cbf00: 340a 5265 663a 2032 3261 627f 3231 3936 4.Ref: 22ab.2196
│ │ │ │ -017cbf10: 3631 3336 0a52 6566 3a20 7573 696e 672f 6136.Ref: using/
│ │ │ │ -017cbf20: 636d 646c 696e 6520 6175 6469 745f 6576 cmdline audit_ev
│ │ │ │ -017cbf30: 656e 745f 6370 7974 686f 6e5f 7275 6e5f ent_cpython_run_
│ │ │ │ -017cbf40: 7374 6469 6e5f 327f 3231 3936 3631 3338 stdin_2.21966138
│ │ │ │ -017cbf50: 0a52 6566 3a20 3137 3565 7f32 3139 3636 .Ref: 175e.21966
│ │ │ │ -017cbf60: 3134 300a 5265 663a 206c 6962 7261 7279 140.Ref: library
│ │ │ │ -017cbf70: 2f73 7464 7479 7065 7320 6c69 7374 2070 /stdtypes list p
│ │ │ │ -017cbf80: 6f70 7f32 3139 3636 3134 320a 5265 663a op.21966142.Ref:
│ │ │ │ -017cbf90: 206c 6962 7261 7279 2f73 7464 7479 7065 library/stdtype
│ │ │ │ -017cbfa0: 7320 7261 6e67 6520 696e 6465 787f 3231 s range index.21
│ │ │ │ -017cbfb0: 3936 3631 3434 0a52 6566 3a20 6c69 6272 966144.Ref: libr
│ │ │ │ -017cbfc0: 6172 792f 7374 6474 7970 6573 206c 6973 ary/stdtypes lis
│ │ │ │ -017cbfd0: 7420 636c 6561 727f 3231 3936 3631 3436 t clear.21966146
│ │ │ │ -017cbfe0: 0a52 6566 3a20 6c69 6272 6172 792f 7374 .Ref: library/st
│ │ │ │ -017cbff0: 6474 7970 6573 206c 6973 7420 636f 7079 dtypes list copy
│ │ │ │ -017cc000: 7f32 3139 3636 3134 380a 5265 663a 206c .21966148.Ref: l
│ │ │ │ +017cbdf0: 6566 3a20 3135 3361 7f32 3139 3636 3131 ef: 153a.2196611
│ │ │ │ +017cbe00: 390a 5265 663a 2034 6432 317f 3231 3936 9.Ref: 4d21.2196
│ │ │ │ +017cbe10: 3631 3230 0a52 6566 3a20 6c69 6272 6172 6120.Ref: librar
│ │ │ │ +017cbe20: 792f 7379 7320 6175 6469 745f 6576 656e y/sys audit_even
│ │ │ │ +017cbe30: 745f 6370 7974 686f 6e5f 7265 6d6f 7465 t_cpython_remote
│ │ │ │ +017cbe40: 5f64 6562 7567 6765 725f 7363 7269 7074 _debugger_script
│ │ │ │ +017cbe50: 5f30 7f32 3139 3636 3132 320a 5265 663a _0.21966122.Ref:
│ │ │ │ +017cbe60: 2031 3664 347f 3231 3936 3631 3234 0a52 16d4.21966124.R
│ │ │ │ +017cbe70: 6566 3a20 6c69 6272 6172 792f 7374 6474 ef: library/stdt
│ │ │ │ +017cbe80: 7970 6573 206c 6973 7420 7265 6d6f 7665 ypes list remove
│ │ │ │ +017cbe90: 7f32 3139 3636 3132 360a 5265 663a 206c .21966126.Ref: l
│ │ │ │ +017cbea0: 6962 7261 7279 2f73 7973 2073 6372 6970 ibrary/sys scrip
│ │ │ │ +017cbeb0: 745f 7061 7468 7f32 3139 3636 3132 380a t_path.21966128.
│ │ │ │ +017cbec0: 5265 663a 206c 6962 7261 7279 2f73 7464 Ref: library/std
│ │ │ │ +017cbed0: 7479 7065 7320 6c69 7374 2069 6e73 6572 types list inser
│ │ │ │ +017cbee0: 747f 3231 3936 3631 3330 0a52 6566 3a20 t.21966130.Ref:
│ │ │ │ +017cbef0: 3163 6661 7f32 3139 3636 3133 320a 5265 1cfa.21966132.Re
│ │ │ │ +017cbf00: 663a 206c 6962 7261 7279 2f63 7479 7065 f: library/ctype
│ │ │ │ +017cbf10: 7320 6175 6469 745f 6576 656e 745f 6374 s audit_event_ct
│ │ │ │ +017cbf20: 7970 6573 5f6d 656d 6f72 7976 6965 775f ypes_memoryview_
│ │ │ │ +017cbf30: 6174 5f30 7f32 3139 3636 3133 340a 5265 at_0.21966134.Re
│ │ │ │ +017cbf40: 663a 206c 6962 7261 7279 2f73 7464 7479 f: library/stdty
│ │ │ │ +017cbf50: 7065 7320 6c69 7374 2063 6c65 6172 7f32 pes list clear.2
│ │ │ │ +017cbf60: 3139 3636 3133 360a 5265 663a 2075 7369 1966136.Ref: usi
│ │ │ │ +017cbf70: 6e67 2f63 6d64 6c69 6e65 2061 7564 6974 ng/cmdline audit
│ │ │ │ +017cbf80: 5f65 7665 6e74 5f63 7079 7468 6f6e 5f72 _event_cpython_r
│ │ │ │ +017cbf90: 756e 5f73 7464 696e 5f30 7f32 3139 3636 un_stdin_0.21966
│ │ │ │ +017cbfa0: 3133 380a 5265 663a 206c 6962 7261 7279 138.Ref: library
│ │ │ │ +017cbfb0: 2f73 7464 7479 7065 7320 6c69 7374 2070 /stdtypes list p
│ │ │ │ +017cbfc0: 6f70 7f32 3139 3636 3134 300a 5265 663a op.21966140.Ref:
│ │ │ │ +017cbfd0: 2032 6339 657f 3231 3936 3631 3432 0a52 2c9e.21966142.R
│ │ │ │ +017cbfe0: 6566 3a20 6c69 6272 6172 792f 7374 6474 ef: library/stdt
│ │ │ │ +017cbff0: 7970 6573 2074 7570 6c65 2069 6e64 6578 ypes tuple index
│ │ │ │ +017cc000: 7f32 3139 3636 3134 340a 5265 663a 206c .21966144.Ref: l
│ │ │ │ 017cc010: 6962 7261 7279 2f73 7464 7479 7065 7320 ibrary/stdtypes
│ │ │ │ -017cc020: 7475 706c 6520 636f 756e 747f 3231 3936 tuple count.2196
│ │ │ │ -017cc030: 3631 3530 0a52 6566 3a20 3464 3263 7f32 6150.Ref: 4d2c.2
│ │ │ │ -017cc040: 3139 3636 3135 320a 5265 663a 2075 7369 1966152.Ref: usi
│ │ │ │ -017cc050: 6e67 2f63 6d64 6c69 6e65 2061 7564 6974 ng/cmdline audit
│ │ │ │ -017cc060: 5f65 7665 6e74 5f63 7079 7468 6f6e 5f72 _event_cpython_r
│ │ │ │ -017cc070: 756e 5f73 7464 696e 5f31 7f32 3139 3636 un_stdin_1.21966
│ │ │ │ -017cc080: 3135 340a 5265 663a 2061 6237 7f32 3139 154.Ref: ab7.219
│ │ │ │ -017cc090: 3636 3135 360a 5265 663a 206c 6962 7261 66156.Ref: libra
│ │ │ │ -017cc0a0: 7279 2f61 7379 6e63 696f 2061 7564 6974 ry/asyncio audit
│ │ │ │ -017cc0b0: 5f65 7665 6e74 5f63 7079 7468 6f6e 5f72 _event_cpython_r
│ │ │ │ -017cc0c0: 756e 5f73 7464 696e 5f30 7f32 3139 3636 un_stdin_0.21966
│ │ │ │ -017cc0d0: 3135 380a 5265 663a 2031 3735 667f 3231 158.Ref: 175f.21
│ │ │ │ -017cc0e0: 3936 3631 3630 0a52 6566 3a20 6c69 6272 966160.Ref: libr
│ │ │ │ -017cc0f0: 6172 792f 6374 7970 6573 2061 7564 6974 ary/ctypes audit
│ │ │ │ -017cc100: 5f65 7665 6e74 5f63 7479 7065 735f 6d65 _event_ctypes_me
│ │ │ │ -017cc110: 6d6f 7279 7669 6577 5f61 745f 307f 3231 moryview_at_0.21
│ │ │ │ -017cc120: 3936 3631 3632 0a52 6566 3a20 3464 3231 966162.Ref: 4d21
│ │ │ │ -017cc130: 7f32 3139 3636 3136 340a 5265 663a 2037 .21966164.Ref: 7
│ │ │ │ -017cc140: 6633 7f32 3139 3636 3136 360a 5265 663a f3.21966166.Ref:
│ │ │ │ -017cc150: 2031 6332 307f 3231 3936 3631 3638 0a52 1c20.21966168.R
│ │ │ │ -017cc160: 6566 3a20 3464 3233 7f32 3139 3636 3137 ef: 4d23.2196617
│ │ │ │ -017cc170: 300a 5265 663a 2037 6634 7f32 3139 3636 0.Ref: 7f4.21966
│ │ │ │ -017cc180: 3137 320a 5265 663a 206c 6962 7261 7279 172.Ref: library
│ │ │ │ -017cc190: 2f73 7464 7479 7065 7320 6c69 7374 2061 /stdtypes list a
│ │ │ │ -017cc1a0: 7070 656e 647f 3231 3936 3631 3734 0a52 ppend.21966174.R
│ │ │ │ -017cc1b0: 6566 3a20 3464 3234 7f32 3139 3636 3137 ef: 4d24.2196617
│ │ │ │ -017cc1c0: 360a 5265 663a 206c 6962 7261 7279 2f73 6.Ref: library/s
│ │ │ │ -017cc1d0: 7464 7479 7065 7320 6c69 7374 2072 656d tdtypes list rem
│ │ │ │ -017cc1e0: 6f76 657f 3231 3936 3631 3738 0a52 6566 ove.21966178.Ref
│ │ │ │ -017cc1f0: 3a20 6c69 6272 6172 792f 7374 6474 7970 : library/stdtyp
│ │ │ │ -017cc200: 6573 2074 7570 6c65 2069 6e64 6578 7f32 es tuple index.2
│ │ │ │ -017cc210: 3139 3636 3138 300a 5265 663a 2031 3664 1966180.Ref: 16d
│ │ │ │ -017cc220: 347f 3231 3936 3631 3832 0a52 6566 3a20 4.21966182.Ref:
│ │ │ │ -017cc230: 3163 6661 7f32 3139 3636 3138 340a 5265 1cfa.21966184.Re
│ │ │ │ -017cc240: 663a 206c 6962 7261 7279 2f73 7464 7479 f: library/stdty
│ │ │ │ -017cc250: 7065 7320 6c69 7374 2065 7874 656e 647f pes list extend.
│ │ │ │ -017cc260: 3231 3936 3631 3836 0a52 6566 3a20 6c69 21966186.Ref: li
│ │ │ │ -017cc270: 6272 6172 792f 7379 7320 6175 6469 745f brary/sys audit_
│ │ │ │ -017cc280: 6576 656e 745f 6370 7974 686f 6e5f 7265 event_cpython_re
│ │ │ │ -017cc290: 6d6f 7465 5f64 6562 7567 6765 725f 7363 mote_debugger_sc
│ │ │ │ -017cc2a0: 7269 7074 5f30 7f32 3139 3636 3138 380a ript_0.21966188.
│ │ │ │ -017cc2b0: 5265 663a 2031 3533 617f 3231 3936 3631 Ref: 153a.219661
│ │ │ │ -017cc2c0: 3930 0a52 6566 3a20 6c69 6272 6172 792f 90.Ref: library/
│ │ │ │ -017cc2d0: 6f73 206f 7320 5f63 6c65 6172 656e 767f os os _clearenv.
│ │ │ │ -017cc2e0: 3231 3936 3631 3932 0a52 6566 3a20 6c69 21966192.Ref: li
│ │ │ │ -017cc2f0: 6272 6172 792f 7469 6d65 2061 7564 6974 brary/time audit
│ │ │ │ -017cc300: 5f65 7665 6e74 5f74 696d 655f 736c 6565 _event_time_slee
│ │ │ │ -017cc310: 705f 307f 3231 3936 3631 3934 0a52 6566 p_0.21966194.Ref
│ │ │ │ -017cc320: 3a20 3464 3330 7f32 3139 3636 3139 360a : 4d30.21966196.
│ │ │ │ -017cc330: 5265 663a 206c 6962 7261 7279 2f73 7973 Ref: library/sys
│ │ │ │ -017cc340: 2073 6372 6970 745f 7061 7468 7f32 3139 script_path.219
│ │ │ │ -017cc350: 3636 3139 380a 5265 663a 206c 6962 7261 66198.Ref: libra
│ │ │ │ -017cc360: 7279 2f73 7464 7479 7065 7320 6c69 7374 ry/stdtypes list
│ │ │ │ -017cc370: 2069 6e73 6572 747f 3231 3936 3632 3030 insert.21966200
│ │ │ │ +017cc020: 7261 6e67 6520 696e 6465 787f 3231 3936 range index.2196
│ │ │ │ +017cc030: 3631 3436 0a52 6566 3a20 3464 3234 7f32 6146.Ref: 4d24.2
│ │ │ │ +017cc040: 3139 3636 3134 380a 5265 663a 2061 6237 1966148.Ref: ab7
│ │ │ │ +017cc050: 7f32 3139 3636 3135 300a 5265 663a 2075 .21966150.Ref: u
│ │ │ │ +017cc060: 7369 6e67 2f63 6d64 6c69 6e65 2061 7564 sing/cmdline aud
│ │ │ │ +017cc070: 6974 5f65 7665 6e74 5f63 7079 7468 6f6e it_event_cpython
│ │ │ │ +017cc080: 5f72 756e 5f66 696c 655f 307f 3231 3936 _run_file_0.2196
│ │ │ │ +017cc090: 3631 3532 0a52 6566 3a20 6c69 6272 6172 6152.Ref: librar
│ │ │ │ +017cc0a0: 792f 6f73 206f 7320 5f63 6c65 6172 656e y/os os _clearen
│ │ │ │ +017cc0b0: 767f 3231 3936 3631 3534 0a52 6566 3a20 v.21966154.Ref:
│ │ │ │ +017cc0c0: 3137 3566 7f32 3139 3636 3135 360a 5265 175f.21966156.Re
│ │ │ │ +017cc0d0: 663a 206c 6962 7261 7279 2f73 7464 7479 f: library/stdty
│ │ │ │ +017cc0e0: 7065 7320 6c69 7374 2061 7070 656e 647f pes list append.
│ │ │ │ +017cc0f0: 3231 3936 3631 3538 0a52 6566 3a20 3766 21966158.Ref: 7f
│ │ │ │ +017cc100: 337f 3231 3936 3631 3630 0a52 6566 3a20 3.21966160.Ref:
│ │ │ │ +017cc110: 3464 3165 7f32 3139 3636 3136 320a 5265 4d1e.21966162.Re
│ │ │ │ +017cc120: 663a 2034 6432 657f 3231 3936 3631 3634 f: 4d2e.21966164
│ │ │ │ +017cc130: 0a52 6566 3a20 3232 6162 7f32 3139 3636 .Ref: 22ab.21966
│ │ │ │ +017cc140: 3136 360a 5265 663a 2034 6432 327f 3231 166.Ref: 4d22.21
│ │ │ │ +017cc150: 3936 3631 3638 0a52 6566 3a20 3137 3565 966168.Ref: 175e
│ │ │ │ +017cc160: 7f32 3139 3636 3137 300a 5265 663a 206c .21966170.Ref: l
│ │ │ │ +017cc170: 6962 7261 7279 2f73 7464 7479 7065 7320 ibrary/stdtypes
│ │ │ │ +017cc180: 6c69 7374 2065 7874 656e 647f 3231 3936 list extend.2196
│ │ │ │ +017cc190: 3631 3732 0a52 6566 3a20 3766 347f 3231 6172.Ref: 7f4.21
│ │ │ │ +017cc1a0: 3936 3631 3734 0a52 6566 3a20 3464 3330 966174.Ref: 4d30
│ │ │ │ +017cc1b0: 7f32 3139 3636 3137 360a 5265 663a 206c .21966176.Ref: l
│ │ │ │ +017cc1c0: 6962 7261 7279 2f61 7379 6e63 696f 2061 ibrary/asyncio a
│ │ │ │ +017cc1d0: 7564 6974 5f65 7665 6e74 5f63 7079 7468 udit_event_cpyth
│ │ │ │ +017cc1e0: 6f6e 5f72 756e 5f73 7464 696e 5f30 7f32 on_run_stdin_0.2
│ │ │ │ +017cc1f0: 3139 3636 3137 380a 5265 663a 2034 6432 1966178.Ref: 4d2
│ │ │ │ +017cc200: 357f 3231 3936 3631 3830 0a52 6566 3a20 5.21966180.Ref:
│ │ │ │ +017cc210: 6c69 6272 6172 792f 7469 6d65 2061 7564 library/time aud
│ │ │ │ +017cc220: 6974 5f65 7665 6e74 5f74 696d 655f 736c it_event_time_sl
│ │ │ │ +017cc230: 6565 705f 307f 3231 3936 3631 3832 0a52 eep_0.21966182.R
│ │ │ │ +017cc240: 6566 3a20 6c69 6272 6172 792f 7374 6474 ef: library/stdt
│ │ │ │ +017cc250: 7970 6573 2074 7570 6c65 2063 6f75 6e74 ypes tuple count
│ │ │ │ +017cc260: 7f32 3139 3636 3138 340a 5265 663a 2034 .21966184.Ref: 4
│ │ │ │ +017cc270: 6432 337f 3231 3936 3631 3836 0a52 6566 d23.21966186.Ref
│ │ │ │ +017cc280: 3a20 6c69 6272 6172 792f 756e 6974 7465 : library/unitte
│ │ │ │ +017cc290: 7374 2075 6e69 7474 6573 7420 7465 6172 st unittest tear
│ │ │ │ +017cc2a0: 446f 776e 4d6f 6475 6c65 7f32 3139 3636 DownModule.21966
│ │ │ │ +017cc2b0: 3138 380a 5265 663a 2034 6432 637f 3231 188.Ref: 4d2c.21
│ │ │ │ +017cc2c0: 3936 3631 3930 0a52 6566 3a20 6c69 6272 966190.Ref: libr
│ │ │ │ +017cc2d0: 6172 792f 7374 6474 7970 6573 206c 6973 ary/stdtypes lis
│ │ │ │ +017cc2e0: 7420 636f 7079 7f32 3139 3636 3139 320a t copy.21966192.
│ │ │ │ +017cc2f0: 5265 663a 2031 6332 307f 3231 3936 3631 Ref: 1c20.219661
│ │ │ │ +017cc300: 3934 0a52 6566 3a20 6c69 6272 6172 792f 94.Ref: library/
│ │ │ │ +017cc310: 5f74 6872 6561 6420 7374 6172 745f 6e65 _thread start_ne
│ │ │ │ +017cc320: 775f 7468 7265 6164 7f32 3139 3636 3139 w_thread.2196619
│ │ │ │ +017cc330: 360a 5265 663a 2034 6432 367f 3231 3936 6.Ref: 4d26.2196
│ │ │ │ +017cc340: 3631 3938 0a52 6566 3a20 7573 696e 672f 6198.Ref: using/
│ │ │ │ +017cc350: 636d 646c 696e 6520 6175 6469 745f 6576 cmdline audit_ev
│ │ │ │ +017cc360: 656e 745f 6370 7974 686f 6e5f 7275 6e5f ent_cpython_run_
│ │ │ │ +017cc370: 7374 6469 6e5f 317f 3231 3936 3632 3030 stdin_1.21966200
│ │ │ │ 017cc380: 0a1f 0a45 6e64 2054 6167 2054 6162 6c65 ...End Tag Table
│ │ │ │ 017cc390: 0a0a 1f0a 4c6f 6361 6c20 5661 7269 6162 ....Local Variab
│ │ │ │ 017cc3a0: 6c65 733a 0a63 6f64 696e 673a 2075 7466 les:.coding: utf
│ │ │ │ 017cc3b0: 2d38 0a45 6e64 3a0a -8.End:.