Skip to content

PEP 432: Rewrite Py_Main() #76211

Description

@vstinner
BPO 32030
Nosy @warsaw, @ncoghlan, @vstinner, @ned-deily, @ericsnowcurrently, @serhiy-storchaka, @indygreg, @miss-islington
PRs
  • bpo-32030: Split Py_Main() into subfunctions #4399
  • bpo-32030: Enhance Py_Main() #4412
  • bpo-32030: Add more options to _PyCoreConfig #4485
  • bpo-32030: Add _PyCoreConfig.module_search_path_env #4504
  • bpo-32030: Move PYTHONPATH to _PyMainInterpreterConfig #4511
  • bpo-32030: Add _PyMainInterpreterConfig.pythonhome #4513
  • bpo-32030: Rewrite calculate_path() #4521
  • bpo-32030: Fix calculate_path() on macOS #4526
  • bpo-32030: Add _PyMainInterpreterConfig_ReadEnv() #4542
  • bpo-32030: Add _PyMainInterpreterConfig.program_name #4548
  • bpo-32030: Add _PyPathConfig_Init() #4551
  • bpo-32030: Rework memory allocators #4625
  • [3.6] bpo-32030: Fix test_sys.test_getallocatedblocks() #4637
  • bpo-32030: Fix _Py_InitializeEx_Private() #4649
  • bpo-32030: Cleanup "path config" code #4663
  • bpo-32030: Fix Py_GetPath(): init program_name #4665
  • bpo-32030: Don't call _PyPathConfig_Fini() in Py_FinalizeEx() #4667
  • bpo-32030: Add Python/pathconfig.c #4668
  • bpo-32030: Fix config_get_program_name() on macOS #4669
  • bpo-32030: _PyPathConfig_Init() sets home and program_name #4673
  • bpo-32197: Try to fix a compiler error introduced in bpo-32030. #4679
  • bpo-32197: Try to fix a compiler error on OS X introduced in bpo-32030. #4681
  • Revert "bpo-32197: Try to fix a compiler error on OS X introduced in bpo-32030. (#4681)" #4694
  • bpo-32030: Simplify _PyCoreConfig_INIT macro #4728
  • bpo-32030: Add pymain_get_global_config() #4735
  • bpo-32030: pass interp to _PyImport_Init() #4736
  • bpo-32030: Add _PyImport_Fini2() #4737
  • bpo-29240, bpo-32030: pymain_set_sys_argv() now copies argv #4838
  • bpo-32030: Add _PyPathConfig_ComputeArgv0() #4845
  • bpo-32030: Rewrite _PyMainInterpreterConfig. #4854
  • bpo-32030: Add _PyMainInterpreterConfig.warnoptions #4855
  • bpo-32030: Update sys.path[0] earlier for main importer #4868
  • bpo-32329: Fix -R option for hash randomization #4873
  • bpo-32030: Add _PyCoreConfig_Copy() #4874
  • bpo-32030: Add _PyMainInterpreterConfig.executable #4876
  • bpo-29240, bpo-32030: Py_Main() re-reads config if encoding changes #4899
  • bpo-32030: Fix compilation on FreeBSD, #include <fenv.h> #4919
  • bpo-32030: Fix compiler warnings #4921
  • bpo-32030: Add _PyCoreConfig.argv #4934
  • bpo-32030: Cleanup pymain_main() #4935
  • bpo-32030: Add _PyCoreConfig.warn_opts #4936
  • bpo-32030: Complete _PyCoreConfig_Read() #4946
  • bpo-32030: Fix usage of memory allocators #4953
  • bpo-32030: Add _PyCoreConfig.module_search_paths #4954
  • bpo-32030: Add _Py_EncodeUTF8_surrogateescape() #4960
  • bpo-32030: Add _Py_EncodeLocaleRaw() #4961
  • bpo-32030: Add _Py_FindEnvConfigValue() #4963
  • bpo-33824, bpo-32030: Fix pymain_read_conf() #7712
  • [3.7] bpo-33824, bpo-32030: Fix pymain_read_conf() (GH-7712) #7730
  • bpo-32030: Make _PySys_AddXOptionWithError() private #10236
  • bpo-40412: Nullify inittab_copy during finalization #19746
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2018-01-24.16:32:35.113>
    created_at = <Date 2017-11-15.01:30:23.893>
    labels = ['3.7']
    title = 'PEP 432: Rewrite Py_Main()'
    updated_at = <Date 2020-05-04.15:24:30.321>
    user = 'https://github.com/vstinner'

    bugs.python.org fields:

    activity = <Date 2020-05-04.15:24:30.321>
    actor = 'indygreg'
    assignee = 'none'
    closed = True
    closed_date = <Date 2018-01-24.16:32:35.113>
    closer = 'vstinner'
    components = []
    creation = <Date 2017-11-15.01:30:23.893>
    creator = 'vstinner'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 32030
    keywords = ['patch']
    message_count = 68.0
    messages = ['306245', '306246', '306250', '306288', '306321', '306328', '306329', '306332', '306616', '306759', '306763', '306767', '306768', '306775', '306794', '306824', '306851', '306924', '306929', '306935', '307239', '307268', '307329', '307395', '307399', '307402', '307407', '307410', '307422', '307434', '307453', '307560', '307665', '307746', '307748', '307756', '308201', '308202', '308212', '308240', '308271', '308288', '308349', '308356', '308359', '308447', '308593', '308626', '308689', '308698', '308700', '308750', '308766', '308833', '308835', '308844', '308874', '308876', '308877', '308905', '309053', '310606', '310612', '310613', '310618', '319682', '319685', '328915']
    nosy_count = 8.0
    nosy_names = ['barry', 'ncoghlan', 'vstinner', 'ned.deily', 'eric.snow', 'serhiy.storchaka', 'indygreg', 'miss-islington']
    pr_nums = ['4399', '4412', '4485', '4504', '4511', '4513', '4521', '4526', '4542', '4548', '4551', '4625', '4637', '4649', '4663', '4665', '4667', '4668', '4669', '4673', '4679', '4681', '4694', '4728', '4735', '4736', '4737', '4838', '4845', '4854', '4855', '4868', '4873', '4874', '4876', '4899', '4919', '4921', '4934', '4935', '4936', '4946', '4953', '4954', '4960', '4961', '4963', '7712', '7730', '10236', '19746']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue32030'
    versions = ['Python 3.7']

    Activity

    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions