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
│ │ │ │ @@ -1446675,93 +1446675,93 @@
│ │ │ │ 01613120: 5265 663a 2035 3963 327f 3138 3139 3030 Ref: 59c2.181900
│ │ │ │ 01613130: 3435 0a52 6566 3a20 5a73 7461 6e64 6172 45.Ref: Zstandar
│ │ │ │ 01613140: 6420 6269 6e64 696e 6773 2d46 6f6f 746e d bindings-Footn
│ │ │ │ 01613150: 6f74 652d 317f 3138 3139 3139 3834 0a4e ote-1.18191984.N
│ │ │ │ 01613160: 6f64 653a 2050 7974 686f 6e20 4d6f 6475 ode: Python Modu
│ │ │ │ 01613170: 6c65 2049 6e64 6578 7f31 3831 3932 3032 le Index.1819202
│ │ │ │ 01613180: 370a 4e6f 6465 3a20 496e 6465 787f 3138 7.Node: Index.18
│ │ │ │ -01613190: 3231 3137 3134 0a52 6566 3a20 3139 3636 211714.Ref: 1966
│ │ │ │ +01613190: 3231 3137 3134 0a52 6566 3a20 3437 3464 211714.Ref: 474d
│ │ │ │ 016131a0: 7f32 3033 3936 3833 310a 5265 663a 206c .20396831.Ref: l
│ │ │ │ 016131b0: 6962 7261 7279 2f73 7464 7479 7065 7320 ibrary/stdtypes
│ │ │ │ -016131c0: 7475 706c 6520 636f 756e 747f 3230 3339 tuple count.2039
│ │ │ │ -016131d0: 3638 3332 0a52 6566 3a20 3865 337f 3230 6832.Ref: 8e3.20
│ │ │ │ -016131e0: 3339 3638 3334 0a52 6566 3a20 6c69 6272 396834.Ref: libr
│ │ │ │ -016131f0: 6172 792f 7379 7320 7363 7269 7074 5f70 ary/sys script_p
│ │ │ │ -01613200: 6174 687f 3230 3339 3638 3336 0a52 6566 ath.20396836.Ref
│ │ │ │ -01613210: 3a20 3437 3462 7f32 3033 3936 3833 380a : 474b.20396838.
│ │ │ │ -01613220: 5265 663a 206c 6962 7261 7279 2f73 7464 Ref: library/std
│ │ │ │ -01613230: 7479 7065 7320 6c69 7374 2065 7874 656e types list exten
│ │ │ │ -01613240: 647f 3230 3339 3638 3430 0a52 6566 3a20 d.20396840.Ref:
│ │ │ │ -01613250: 6c69 6272 6172 792f 7374 6474 7970 6573 library/stdtypes
│ │ │ │ -01613260: 206c 6973 7420 636c 6561 727f 3230 3339 list clear.2039
│ │ │ │ -01613270: 3638 3432 0a52 6566 3a20 6c69 6272 6172 6842.Ref: librar
│ │ │ │ -01613280: 792f 7374 6474 7970 6573 206c 6973 7420 y/stdtypes list
│ │ │ │ -01613290: 696e 7365 7274 7f32 3033 3936 3834 340a insert.20396844.
│ │ │ │ -016132a0: 5265 663a 2034 3734 657f 3230 3339 3638 Ref: 474e.203968
│ │ │ │ -016132b0: 3436 0a52 6566 3a20 6c69 6272 6172 792f 46.Ref: library/
│ │ │ │ -016132c0: 7374 6474 7970 6573 206c 6973 7420 6170 stdtypes list ap
│ │ │ │ -016132d0: 7065 6e64 7f32 3033 3936 3834 380a 5265 pend.20396848.Re
│ │ │ │ -016132e0: 663a 2034 3734 397f 3230 3339 3638 3530 f: 4749.20396850
│ │ │ │ -016132f0: 0a52 6566 3a20 3437 3461 7f32 3033 3936 .Ref: 474a.20396
│ │ │ │ -01613300: 3835 320a 5265 663a 206c 6962 7261 7279 852.Ref: library
│ │ │ │ -01613310: 2f73 7464 7479 7065 7320 6c69 7374 2072 /stdtypes list r
│ │ │ │ -01613320: 656d 6f76 657f 3230 3339 3638 3534 0a52 emove.20396854.R
│ │ │ │ -01613330: 6566 3a20 7573 696e 672f 636d 646c 696e ef: using/cmdlin
│ │ │ │ -01613340: 6520 6175 6469 745f 6576 656e 745f 6370 e audit_event_cp
│ │ │ │ -01613350: 7974 686f 6e5f 7275 6e5f 7374 6469 6e5f ython_run_stdin_
│ │ │ │ -01613360: 317f 3230 3339 3638 3536 0a52 6566 3a20 1.20396856.Ref:
│ │ │ │ -01613370: 3437 3464 7f32 3033 3936 3835 380a 5265 474d.20396858.Re
│ │ │ │ -01613380: 663a 206c 6962 7261 7279 2f63 7479 7065 f: library/ctype
│ │ │ │ -01613390: 7320 6175 6469 745f 6576 656e 745f 6374 s audit_event_ct
│ │ │ │ -016133a0: 7970 6573 5f6d 656d 6f72 7976 6965 775f ypes_memoryview_
│ │ │ │ -016133b0: 6174 5f30 7f32 3033 3936 3836 300a 5265 at_0.20396860.Re
│ │ │ │ -016133c0: 663a 2036 3036 7f32 3033 3936 3836 320a f: 606.20396862.
│ │ │ │ -016133d0: 5265 663a 2031 3564 317f 3230 3339 3638 Ref: 15d1.203968
│ │ │ │ -016133e0: 3634 0a52 6566 3a20 6c69 6272 6172 792f 64.Ref: library/
│ │ │ │ -016133f0: 6173 796e 6369 6f20 6175 6469 745f 6576 asyncio audit_ev
│ │ │ │ -01613400: 656e 745f 6370 7974 686f 6e5f 7275 6e5f ent_cpython_run_
│ │ │ │ -01613410: 7374 6469 6e5f 307f 3230 3339 3638 3636 stdin_0.20396866
│ │ │ │ -01613420: 0a52 6566 3a20 3437 3436 7f32 3033 3936 .Ref: 4746.20396
│ │ │ │ -01613430: 3836 380a 5265 663a 206c 6962 7261 7279 868.Ref: library
│ │ │ │ -01613440: 2f75 6e69 7474 6573 7420 756e 6974 7465 /unittest unitte
│ │ │ │ -01613450: 7374 2074 6561 7244 6f77 6e4d 6f64 756c st tearDownModul
│ │ │ │ -01613460: 657f 3230 3339 3638 3730 0a52 6566 3a20 e.20396870.Ref:
│ │ │ │ -01613470: 7573 696e 672f 636d 646c 696e 6520 6175 using/cmdline au
│ │ │ │ -01613480: 6469 745f 6576 656e 745f 6370 7974 686f dit_event_cpytho
│ │ │ │ -01613490: 6e5f 7275 6e5f 7374 6469 6e5f 327f 3230 n_run_stdin_2.20
│ │ │ │ -016134a0: 3339 3638 3732 0a52 6566 3a20 6c69 6272 396872.Ref: libr
│ │ │ │ -016134b0: 6172 792f 7374 6474 7970 6573 2072 616e ary/stdtypes ran
│ │ │ │ -016134c0: 6765 2069 6e64 6578 7f32 3033 3936 3837 ge index.2039687
│ │ │ │ -016134d0: 340a 5265 663a 2034 3735 357f 3230 3339 4.Ref: 4755.2039
│ │ │ │ -016134e0: 3638 3736 0a52 6566 3a20 6c69 6272 6172 6876.Ref: librar
│ │ │ │ -016134f0: 792f 7469 6d65 2061 7564 6974 5f65 7665 y/time audit_eve
│ │ │ │ -01613500: 6e74 5f74 696d 655f 736c 6565 705f 307f nt_time_sleep_0.
│ │ │ │ -01613510: 3230 3339 3638 3738 0a52 6566 3a20 3230 20396878.Ref: 20
│ │ │ │ -01613520: 3135 7f32 3033 3936 3838 300a 5265 663a 15.20396880.Ref:
│ │ │ │ -01613530: 2031 3564 307f 3230 3339 3638 3832 0a52 15d0.20396882.R
│ │ │ │ -01613540: 6566 3a20 7573 696e 672f 636d 646c 696e ef: using/cmdlin
│ │ │ │ -01613550: 6520 6175 6469 745f 6576 656e 745f 6370 e audit_event_cp
│ │ │ │ -01613560: 7974 686f 6e5f 7275 6e5f 6669 6c65 5f30 ython_run_file_0
│ │ │ │ -01613570: 7f32 3033 3936 3838 340a 5265 663a 206c .20396884.Ref: l
│ │ │ │ -01613580: 6962 7261 7279 2f73 7464 7479 7065 7320 ibrary/stdtypes
│ │ │ │ -01613590: 6c69 7374 2070 6f70 7f32 3033 3936 3838 list pop.2039688
│ │ │ │ -016135a0: 360a 5265 663a 206c 6962 7261 7279 2f73 6.Ref: library/s
│ │ │ │ -016135b0: 7464 7479 7065 7320 7475 706c 6520 696e tdtypes tuple in
│ │ │ │ -016135c0: 6465 787f 3230 3339 3638 3838 0a52 6566 dex.20396888.Ref
│ │ │ │ -016135d0: 3a20 6c69 6272 6172 792f 7379 7320 6175 : library/sys au
│ │ │ │ -016135e0: 6469 745f 6576 656e 745f 6370 7974 686f dit_event_cpytho
│ │ │ │ -016135f0: 6e5f 7265 6d6f 7465 5f64 6562 7567 6765 n_remote_debugge
│ │ │ │ -01613600: 725f 7363 7269 7074 5f30 7f32 3033 3936 r_script_0.20396
│ │ │ │ -01613610: 3839 300a 5265 663a 2031 3534 347f 3230 890.Ref: 1544.20
│ │ │ │ -01613620: 3339 3638 3932 0a52 6566 3a20 6c69 6272 396892.Ref: libr
│ │ │ │ -01613630: 6172 792f 5f74 6872 6561 6420 7374 6172 ary/_thread star
│ │ │ │ -01613640: 745f 6e65 775f 7468 7265 6164 7f32 3033 t_new_thread.203
│ │ │ │ -01613650: 3936 3839 340a 5265 663a 2031 3361 367f 96894.Ref: 13a6.
│ │ │ │ -01613660: 3230 3339 3638 3936 0a52 6566 3a20 3437 20396896.Ref: 47
│ │ │ │ -01613670: 3537 7f32 3033 3936 3839 380a 5265 663a 57.20396898.Ref:
│ │ │ │ -01613680: 2031 6134 397f 3230 3339 3639 3030 0a52 1a49.20396900.R
│ │ │ │ -01613690: 6566 3a20 3437 3463 7f32 3033 3936 3930 ef: 474c.2039690
│ │ │ │ -016136a0: 320a 5265 663a 2036 3037 7f32 3033 3936 2.Ref: 607.20396
│ │ │ │ +016131c0: 6c69 7374 2072 656d 6f76 657f 3230 3339 list remove.2039
│ │ │ │ +016131d0: 3638 3332 0a52 6566 3a20 6c69 6272 6172 6832.Ref: librar
│ │ │ │ +016131e0: 792f 7374 6474 7970 6573 2072 616e 6765 y/stdtypes range
│ │ │ │ +016131f0: 2069 6e64 6578 7f32 3033 3936 3833 340a index.20396834.
│ │ │ │ +01613200: 5265 663a 2034 3734 367f 3230 3339 3638 Ref: 4746.203968
│ │ │ │ +01613210: 3336 0a52 6566 3a20 3437 3463 7f32 3033 36.Ref: 474c.203
│ │ │ │ +01613220: 3936 3833 380a 5265 663a 2036 3037 7f32 96838.Ref: 607.2
│ │ │ │ +01613230: 3033 3936 3834 300a 5265 663a 206c 6962 0396840.Ref: lib
│ │ │ │ +01613240: 7261 7279 2f73 7464 7479 7065 7320 7475 rary/stdtypes tu
│ │ │ │ +01613250: 706c 6520 696e 6465 787f 3230 3339 3638 ple index.203968
│ │ │ │ +01613260: 3432 0a52 6566 3a20 6c69 6272 6172 792f 42.Ref: library/
│ │ │ │ +01613270: 7374 6474 7970 6573 206c 6973 7420 696e stdtypes list in
│ │ │ │ +01613280: 7365 7274 7f32 3033 3936 3834 340a 5265 sert.20396844.Re
│ │ │ │ +01613290: 663a 2034 3734 397f 3230 3339 3638 3436 f: 4749.20396846
│ │ │ │ +016132a0: 0a52 6566 3a20 6c69 6272 6172 792f 6374 .Ref: library/ct
│ │ │ │ +016132b0: 7970 6573 2061 7564 6974 5f65 7665 6e74 ypes audit_event
│ │ │ │ +016132c0: 5f63 7479 7065 735f 6d65 6d6f 7279 7669 _ctypes_memoryvi
│ │ │ │ +016132d0: 6577 5f61 745f 307f 3230 3339 3638 3438 ew_at_0.20396848
│ │ │ │ +016132e0: 0a52 6566 3a20 3139 3636 7f32 3033 3936 .Ref: 1966.20396
│ │ │ │ +016132f0: 3835 300a 5265 663a 2031 3564 307f 3230 850.Ref: 15d0.20
│ │ │ │ +01613300: 3339 3638 3532 0a52 6566 3a20 7573 696e 396852.Ref: usin
│ │ │ │ +01613310: 672f 636d 646c 696e 6520 6175 6469 745f g/cmdline audit_
│ │ │ │ +01613320: 6576 656e 745f 6370 7974 686f 6e5f 7275 event_cpython_ru
│ │ │ │ +01613330: 6e5f 6669 6c65 5f30 7f32 3033 3936 3835 n_file_0.2039685
│ │ │ │ +01613340: 340a 5265 663a 206c 6962 7261 7279 2f5f 4.Ref: library/_
│ │ │ │ +01613350: 7468 7265 6164 2073 7461 7274 5f6e 6577 thread start_new
│ │ │ │ +01613360: 5f74 6872 6561 647f 3230 3339 3638 3536 _thread.20396856
│ │ │ │ +01613370: 0a52 6566 3a20 3630 367f 3230 3339 3638 .Ref: 606.203968
│ │ │ │ +01613380: 3538 0a52 6566 3a20 3865 337f 3230 3339 58.Ref: 8e3.2039
│ │ │ │ +01613390: 3638 3630 0a52 6566 3a20 3437 3537 7f32 6860.Ref: 4757.2
│ │ │ │ +016133a0: 3033 3936 3836 320a 5265 663a 206c 6962 0396862.Ref: lib
│ │ │ │ +016133b0: 7261 7279 2f73 7464 7479 7065 7320 6c69 rary/stdtypes li
│ │ │ │ +016133c0: 7374 2070 6f70 7f32 3033 3936 3836 340a st pop.20396864.
│ │ │ │ +016133d0: 5265 663a 2034 3735 357f 3230 3339 3638 Ref: 4755.203968
│ │ │ │ +016133e0: 3636 0a52 6566 3a20 6c69 6272 6172 792f 66.Ref: library/
│ │ │ │ +016133f0: 756e 6974 7465 7374 2075 6e69 7474 6573 unittest unittes
│ │ │ │ +01613400: 7420 7465 6172 446f 776e 4d6f 6475 6c65 t tearDownModule
│ │ │ │ +01613410: 7f32 3033 3936 3836 380a 5265 663a 2031 .20396868.Ref: 1
│ │ │ │ +01613420: 3361 367f 3230 3339 3638 3730 0a52 6566 3a6.20396870.Ref
│ │ │ │ +01613430: 3a20 3135 3434 7f32 3033 3936 3837 320a : 1544.20396872.
│ │ │ │ +01613440: 5265 663a 2075 7369 6e67 2f63 6d64 6c69 Ref: using/cmdli
│ │ │ │ +01613450: 6e65 2061 7564 6974 5f65 7665 6e74 5f63 ne audit_event_c
│ │ │ │ +01613460: 7079 7468 6f6e 5f72 756e 5f73 7464 696e python_run_stdin
│ │ │ │ +01613470: 5f30 7f32 3033 3936 3837 340a 5265 663a _0.20396874.Ref:
│ │ │ │ +01613480: 206c 6962 7261 7279 2f74 696d 6520 6175 library/time au
│ │ │ │ +01613490: 6469 745f 6576 656e 745f 7469 6d65 5f73 dit_event_time_s
│ │ │ │ +016134a0: 6c65 6570 5f30 7f32 3033 3936 3837 360a leep_0.20396876.
│ │ │ │ +016134b0: 5265 663a 206c 6962 7261 7279 2f61 7379 Ref: library/asy
│ │ │ │ +016134c0: 6e63 696f 2061 7564 6974 5f65 7665 6e74 ncio audit_event
│ │ │ │ +016134d0: 5f63 7079 7468 6f6e 5f72 756e 5f73 7464 _cpython_run_std
│ │ │ │ +016134e0: 696e 5f30 7f32 3033 3936 3837 380a 5265 in_0.20396878.Re
│ │ │ │ +016134f0: 663a 2031 6134 397f 3230 3339 3638 3830 f: 1a49.20396880
│ │ │ │ +01613500: 0a52 6566 3a20 6c69 6272 6172 792f 7374 .Ref: library/st
│ │ │ │ +01613510: 6474 7970 6573 206c 6973 7420 6170 7065 dtypes list appe
│ │ │ │ +01613520: 6e64 7f32 3033 3936 3838 320a 5265 663a nd.20396882.Ref:
│ │ │ │ +01613530: 206c 6962 7261 7279 2f73 7973 2061 7564 library/sys aud
│ │ │ │ +01613540: 6974 5f65 7665 6e74 5f63 7079 7468 6f6e it_event_cpython
│ │ │ │ +01613550: 5f72 656d 6f74 655f 6465 6275 6767 6572 _remote_debugger
│ │ │ │ +01613560: 5f73 6372 6970 745f 307f 3230 3339 3638 _script_0.203968
│ │ │ │ +01613570: 3834 0a52 6566 3a20 6c69 6272 6172 792f 84.Ref: library/
│ │ │ │ +01613580: 7374 6474 7970 6573 2074 7570 6c65 2063 stdtypes tuple c
│ │ │ │ +01613590: 6f75 6e74 7f32 3033 3936 3838 360a 5265 ount.20396886.Re
│ │ │ │ +016135a0: 663a 2075 7369 6e67 2f63 6d64 6c69 6e65 f: using/cmdline
│ │ │ │ +016135b0: 2061 7564 6974 5f65 7665 6e74 5f63 7079 audit_event_cpy
│ │ │ │ +016135c0: 7468 6f6e 5f72 756e 5f73 7464 696e 5f31 thon_run_stdin_1
│ │ │ │ +016135d0: 7f32 3033 3936 3838 380a 5265 663a 2031 .20396888.Ref: 1
│ │ │ │ +016135e0: 3564 317f 3230 3339 3638 3930 0a52 6566 5d1.20396890.Ref
│ │ │ │ +016135f0: 3a20 6c69 6272 6172 792f 7374 6474 7970 : library/stdtyp
│ │ │ │ +01613600: 6573 206c 6973 7420 636c 6561 727f 3230 es list clear.20
│ │ │ │ +01613610: 3339 3638 3932 0a52 6566 3a20 3437 3461 396892.Ref: 474a
│ │ │ │ +01613620: 7f32 3033 3936 3839 340a 5265 663a 2032 .20396894.Ref: 2
│ │ │ │ +01613630: 3031 357f 3230 3339 3638 3936 0a52 6566 015.20396896.Ref
│ │ │ │ +01613640: 3a20 3437 3465 7f32 3033 3936 3839 380a : 474e.20396898.
│ │ │ │ +01613650: 5265 663a 2034 3734 627f 3230 3339 3639 Ref: 474b.203969
│ │ │ │ +01613660: 3030 0a52 6566 3a20 6c69 6272 6172 792f 00.Ref: library/
│ │ │ │ +01613670: 7379 7320 7363 7269 7074 5f70 6174 687f sys script_path.
│ │ │ │ +01613680: 3230 3339 3639 3032 0a52 6566 3a20 6c69 20396902.Ref: li
│ │ │ │ +01613690: 6272 6172 792f 7374 6474 7970 6573 206c brary/stdtypes l
│ │ │ │ +016136a0: 6973 7420 6578 7465 6e64 7f32 3033 3936 ist extend.20396
│ │ │ │ 016136b0: 3930 340a 1f0a 456e 6420 5461 6720 5461 904...End Tag Ta
│ │ │ │ 016136c0: 626c 650a 0a1f 0a4c 6f63 616c 2056 6172 ble....Local Var
│ │ │ │ 016136d0: 6961 626c 6573 3a0a 636f 6469 6e67 3a20 iables:.coding:
│ │ │ │ 016136e0: 7574 662d 380a 456e 643a 0a utf-8.End:.