@@ -511,27 +511,28 @@ always available.
511511 The :term: `named tuple ` *flags * exposes the status of command line
512512 flags. The attributes are read only.
513513
514- ============================= ==============================================================================================================
515- attribute flag
516- ============================= ==============================================================================================================
517- :const: `debug ` :option: `-d `
518- :const: `inspect ` :option: `-i `
519- :const: `interactive ` :option: `-i `
520- :const: `isolated ` :option: `-I `
521- :const: `optimize ` :option: `-O ` or :option: `-OO `
522- :const: `dont_write_bytecode ` :option: `-B `
523- :const: `no_user_site ` :option: `-s `
524- :const: `no_site ` :option: `-S `
525- :const: `ignore_environment ` :option: `-E `
526- :const: `verbose ` :option: `-v `
527- :const: `bytes_warning ` :option: `-b `
528- :const: `quiet ` :option: `-q `
529- :const: `hash_randomization ` :option: `-R `
530- :const: `dev_mode ` :option: `-X dev <-X> ` (:ref: `Python Development Mode <devmode >`)
531- :const: `utf8_mode ` :option: `-X utf8 <-X> `
532- :const: `safe_path ` :option: `-P `
533- :const: `int_max_str_digits ` :option: `-X int_max_str_digits <-X> ` (:ref: `integer string conversion length limitation <int_max_str_digits >`)
534- ============================= ==============================================================================================================
514+ ============================== ==============================================================================================================
515+ attribute flag
516+ ============================== ==============================================================================================================
517+ :const: `debug ` :option: `-d `
518+ :const: `inspect ` :option: `-i `
519+ :const: `interactive ` :option: `-i `
520+ :const: `isolated ` :option: `-I `
521+ :const: `optimize ` :option: `-O ` or :option: `-OO `
522+ :const: `dont_write_bytecode ` :option: `-B `
523+ :const: `no_user_site ` :option: `-s `
524+ :const: `no_site ` :option: `-S `
525+ :const: `ignore_environment ` :option: `-E `
526+ :const: `verbose ` :option: `-v `
527+ :const: `bytes_warning ` :option: `-b `
528+ :const: `quiet ` :option: `-q `
529+ :const: `hash_randomization ` :option: `-R `
530+ :const: `dev_mode ` :option: `-X dev <-X> ` (:ref: `Python Development Mode <devmode >`)
531+ :const: `utf8_mode ` :option: `-X utf8 <-X> `
532+ :const: `safe_path ` :option: `-P `
533+ :const: `int_max_str_digits ` :option: `-X int_max_str_digits <-X> ` (:ref: `integer string conversion length limitation <int_max_str_digits >`)
534+ :const: `warn_default_encoding ` :option: `-X warn_default_encoding <-X> `
535+ ============================== ==============================================================================================================
535536
536537 .. versionchanged :: 3.2
537538 Added ``quiet `` attribute for the new :option: `-q ` flag.
@@ -550,6 +551,9 @@ always available.
550551 Mode <devmode>` and the ``utf8_mode `` attribute for the new :option: `-X `
551552 ``utf8 `` flag.
552553
554+ .. versionchanged :: 3.10
555+ Added ``warn_default_encoding `` attribute for :option: `-X ` ``warn_default_encoding `` flag.
556+
553557 .. versionchanged :: 3.11
554558 Added the ``safe_path `` attribute for :option: `-P ` option.
555559
0 commit comments