@@ -515,27 +515,28 @@ always available.
515515 The :term: `named tuple ` *flags * exposes the status of command line
516516 flags. The attributes are read only.
517517
518- ============================= ==============================================================================================================
519- attribute flag
520- ============================= ==============================================================================================================
521- :const: `debug ` :option: `-d `
522- :const: `inspect ` :option: `-i `
523- :const: `interactive ` :option: `-i `
524- :const: `isolated ` :option: `-I `
525- :const: `optimize ` :option: `-O ` or :option: `-OO `
526- :const: `dont_write_bytecode ` :option: `-B `
527- :const: `no_user_site ` :option: `-s `
528- :const: `no_site ` :option: `-S `
529- :const: `ignore_environment ` :option: `-E `
530- :const: `verbose ` :option: `-v `
531- :const: `bytes_warning ` :option: `-b `
532- :const: `quiet ` :option: `-q `
533- :const: `hash_randomization ` :option: `-R `
534- :const: `dev_mode ` :option: `-X dev <-X> ` (:ref: `Python Development Mode <devmode >`)
535- :const: `utf8_mode ` :option: `-X utf8 <-X> `
536- :const: `safe_path ` :option: `-P `
537- :const: `int_max_str_digits ` :option: `-X int_max_str_digits <-X> ` (:ref: `integer string conversion length limitation <int_max_str_digits >`)
538- ============================= ==============================================================================================================
518+ ============================== ==============================================================================================================
519+ attribute flag
520+ ============================== ==============================================================================================================
521+ :const: `debug ` :option: `-d `
522+ :const: `inspect ` :option: `-i `
523+ :const: `interactive ` :option: `-i `
524+ :const: `isolated ` :option: `-I `
525+ :const: `optimize ` :option: `-O ` or :option: `-OO `
526+ :const: `dont_write_bytecode ` :option: `-B `
527+ :const: `no_user_site ` :option: `-s `
528+ :const: `no_site ` :option: `-S `
529+ :const: `ignore_environment ` :option: `-E `
530+ :const: `verbose ` :option: `-v `
531+ :const: `bytes_warning ` :option: `-b `
532+ :const: `quiet ` :option: `-q `
533+ :const: `hash_randomization ` :option: `-R `
534+ :const: `dev_mode ` :option: `-X dev <-X> ` (:ref: `Python Development Mode <devmode >`)
535+ :const: `utf8_mode ` :option: `-X utf8 <-X> `
536+ :const: `safe_path ` :option: `-P `
537+ :const: `int_max_str_digits ` :option: `-X int_max_str_digits <-X> ` (:ref: `integer string conversion length limitation <int_max_str_digits >`)
538+ :const: `warn_default_encoding ` :option: `-X warn_default_encoding <-X> `
539+ ============================== ==============================================================================================================
539540
540541 .. versionchanged :: 3.2
541542 Added ``quiet `` attribute for the new :option: `-q ` flag.
@@ -554,6 +555,9 @@ always available.
554555 Mode <devmode>` and the ``utf8_mode `` attribute for the new :option: `-X `
555556 ``utf8 `` flag.
556557
558+ .. versionchanged :: 3.10
559+ Added ``warn_default_encoding `` attribute for :option: `-X ` ``warn_default_encoding `` flag.
560+
557561 .. versionchanged :: 3.11
558562 Added the ``safe_path `` attribute for :option: `-P ` option.
559563
0 commit comments