Skip to content

Implementation of the PEP 587 #80944

Closed
Closed

Description

@vstinner
BPO 36763
Nosy @vstinner, @miss-islington
PRs
  • bpo-36763: Fix Py_SetStandardStreamEncoding() #13028
  • bpo-36763: Add _PyCoreConfig_SetArgv #13030
  • bpo-36763: Rework _PyInitError API #13031
  • bpo-36763: Add _PyCoreConfig_SetString() #13035
  • bpo-36763: _PyCoreConfig_SetPyArgv() preinitializes Python #13037
  • bpo-36763: Make _PyCoreConfig.check_hash_pycs_mode public #13052
  • bpo-36763: Add _PyCoreConfig._config_version #13065
  • bpo-36763: Remove _PyCoreConfig._init_main #13066
  • bpo-36763: Add test for _PyCoreConfig_SetString() #13275
  • bpo-36763: InitConfigTests tests all core config #13331
  • bpo-36763: _PyInitError always use int for exitcode #13360
  • bpo-36763: Add _PyCoreConfig.parse_argv #13361
  • bpo-36763: Add _Py_InitializeMain() #13362
  • bpo-36763: Add _PyCoreConfig.configure_c_stdio #13363
  • bpo-36763: Cleanup precmdline in _PyCoreConfig_Read() #13371
  • bpo-36763: Remove _PyCoreConfig.program #13373
  • bpo-36763: Add PyMemAllocatorName #13387
  • bpo-36763: Add _PyCoreConfig_InitPythonConfig() #13388
  • bpo-36763: _Py_RunMain() doesn't call Py_Exit() anymore #13390
  • bpo-36763: Add _PyInitError functions #13395
  • bpo-36763: _Py_InitializeFromArgs() argc becomes Py_ssize_t #13396
  • bpo-36763: Use _PyCoreConfig_InitPythonConfig() #13398
  • bpo-36763: Remove _PyCoreConfig.dll_path #13402
  • bpo-36763: Fix _PyCoreConfig_DecodeLocaleErr() preinit #13432
  • bpo-36763: Fix encoding/locale tests in test_embed #13443
  • bpo-36763: Fix C locale coercion #13444
  • bpo-36763: Add _PyPreConfig._config_init #13481
  • bpo-36763: Rename Python initialization functions #13511
  • bpo-36763: Fix _PyPreConfig_InitCompatConfig() utf8_mode #13518
  • bpo-36763: Implement the PEP 587 #13592
  • bpo-36763, _testembed: enable assert() in release mode #13857
  • [3.8] bpo-36763, _testembed: enable assert() in release mode (GH-13857) #13863
  • bpo-36763: Add PyConfig_SetWideStringList() #14444
  • bpo-36763: Use PyConfig_Clear() #14445
  • [3.8] bpo-36763: Add PyConfig_SetWideStringList() (GH-14444) #14523
  • [3.8] bpo-36763: Use PyConfig_Clear() (GH-14445) #14528
  • bpo-36763: Implement PyWideStringList_Insert() of PEP 587 #15423
  • [3.8] bpo-36763: Implement PyWideStringList_Insert() of PEP 587 (GH-15423) #15427
  • bpo-36763: PyConfig_Read() handles PySys_AddXOption() #15431
  • bpo-36763, doc: Add links in the new C API init doc #15433
  • [3.8] bpo-36763, doc: Add links in the new C API init doc (GH-15433) #15434
  • [3.8] bpo-36763: PyConfig_Read() handles PySys_AddXOption() (GH-15431) #15435
  • bpo-36763: Make Py_BytesMain() public #15532
  • [3.8] bpo-36763: Make Py_BytesMain() public (GH-15532) #15535
  • 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 2019-08-26.23:01:41.769>
    created_at = <Date 2019-04-30.22:38:59.950>
    labels = ['interpreter-core', '3.8']
    title = 'Implementation of the PEP 587'
    updated_at = <Date 2019-08-26.23:17:59.610>
    user = 'https://github.com/vstinner'

    bugs.python.org fields:

    activity = <Date 2019-08-26.23:17:59.610>
    actor = 'miss-islington'
    assignee = 'none'
    closed = True
    closed_date = <Date 2019-08-26.23:01:41.769>
    closer = 'vstinner'
    components = ['Interpreter Core']
    creation = <Date 2019-04-30.22:38:59.950>
    creator = 'vstinner'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 36763
    keywords = ['patch']
    message_count = 55.0
    messages = ['341167', '341168', '341172', '341177', '341195', '341244', '341299', '341307', '341311', '341314', '342508', '342527', '342647', '342650', '342654', '342659', '342682', '342697', '342718', '342738', '342766', '342770', '342773', '342782', '342784', '342899', '342907', '342912', '343248', '343254', '343273', '343631', '343648', '343649', '344808', '344810', '345527', '345528', '347047', '347049', '347050', '347051', '347053', '347058', '350311', '350312', '350313', '350314', '350315', '350316', '350317', '350328', '350580', '350582', '350583']
    nosy_count = 2.0
    nosy_names = ['vstinner', 'miss-islington']
    pr_nums = ['13028', '13030', '13031', '13035', '13037', '13052', '13065', '13066', '13275', '13331', '13360', '13361', '13362', '13363', '13371', '13373', '13387', '13388', '13390', '13395', '13396', '13398', '13402', '13432', '13443', '13444', '13481', '13511', '13518', '13592', '13857', '13863', '14444', '14445', '14523', '14528', '15423', '15427', '15431', '15433', '15434', '15435', '15532', '15535']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue36763'
    versions = ['Python 3.8']

    Activity

    1. vstinner commented on Apr 30, 2019

      @vstinner
      MemberAuthor

      I'm working on changes to complete the PEP-587, Python initiaization API.

    2. vstinner commented on Apr 30, 2019

      @vstinner
      MemberAuthor

      New changeset 463b82a by Victor Stinner in branch 'master':
      bpo-36763: Fix Py_SetStandardStreamEncoding() (GH-13028)
      463b82a

    3. vstinner commented on May 1, 2019

      @vstinner
      MemberAuthor

      New changeset 5f38b84 by Victor Stinner in branch 'master':
      bpo-36763: Add _PyCoreConfig_SetArgv() (GH-13030)
      5f38b84

    4. vstinner commented on May 1, 2019

      @vstinner
      MemberAuthor

      New changeset db71975 by Victor Stinner in branch 'master':
      bpo-36763: Rework _PyInitError API (GH-13031)
      db71975

    5. vstinner commented on May 1, 2019

      @vstinner
      MemberAuthor

      New changeset 1a9f0d8 by Victor Stinner in branch 'master':
      bpo-36763: Add _PyCoreConfig_SetString() (GH-13035)
      1a9f0d8

    6. vstinner commented on May 2, 2019

      @vstinner
      MemberAuthor

      New changeset cb9fbd3 by Victor Stinner in branch 'master':
      bpo-36763: Make _PyCoreConfig.check_hash_pycs_mode public (GH-13052)
      cb9fbd3

    7. vstinner commented on May 2, 2019

      @vstinner
      MemberAuthor

      New changeset 373893c by Victor Stinner in branch 'master':
      bpo-36763: Add _PyCoreConfig._config_version (GH-13065)
      373893c

    8. vstinner commented on May 2, 2019

      @vstinner
      MemberAuthor

      New changeset 70005ac by Victor Stinner in branch 'master':
      bpo-36763: _PyCoreConfig_SetPyArgv() preinitializes Python (GH-13037)
      70005ac

    9. vstinner commented on May 2, 2019

      @vstinner
      MemberAuthor

      New changeset 4631da1 by Victor Stinner in branch 'master':
      bpo-36763: Remove _PyCoreConfig._init_main (GH-13066)
      4631da1

    10. vstinner commented on May 2, 2019

      @vstinner
      MemberAuthor

      I updated my PEP-587:
      [Python-Dev] RFC: PEP-587 "Python Initialization Configuration": 2nd version
      https://mail.python.org/pipermail/python-dev/2019-May/157290.html

    11. vstinner commented on May 14, 2019

      @vstinner
      MemberAuthor

      New changeset 91c9987 by Victor Stinner in branch 'master':
      bpo-36763: Add test for _PyCoreConfig_SetString() (GH-13275)
      91c9987

    12. vstinner commented on May 15, 2019

      @vstinner
      MemberAuthor

      New changeset 5eb8b07 by Victor Stinner in branch 'master':
      bpo-36763: InitConfigTests tests all core config (GH-13331)
      5eb8b07

    13. vstinner commented on May 16, 2019

      @vstinner
      MemberAuthor

      New changeset dbacfc2 by Victor Stinner in branch 'master':
      bpo-36763: _PyInitError always use int for exitcode (GH-13360)
      dbacfc2

    14. 30 remaining items

    15. vstinner commented on Jul 1, 2019

      @vstinner
      MemberAuthor

      New changeset 6731002 by Victor Stinner in branch 'master':
      bpo-36763: Use PyConfig_Clear() (GH-14445)
      6731002

    16. miss-islington commented on Jul 1, 2019

      @miss-islington
      Contributor

      New changeset 4c227e6 by Miss Islington (bot) in branch '3.8':
      bpo-36763: Use PyConfig_Clear() (GH-14445)
      4c227e6

    17. vstinner commented on Aug 23, 2019

      @vstinner
      MemberAuthor

      New changeset 3842f29 by Victor Stinner in branch 'master':
      bpo-36763: Implement PyWideStringList_Insert() of PEP-587 (GH-15423)
      3842f29

    18. miss-islington commented on Aug 23, 2019

      @miss-islington
      Contributor

      New changeset a6427cb by Miss Islington (bot) in branch '3.8':
      bpo-36763: Implement PyWideStringList_Insert() of PEP-587 (GH-15423)
      a6427cb

    19. vstinner commented on Aug 23, 2019

      @vstinner
      MemberAuthor

      _PySys_ReadPreInitOptions() code should be moved somewhere closer to PyConfig_Read().

      Done in PR 15431.

    20. vstinner commented on Aug 23, 2019

      @vstinner
      MemberAuthor

      The first doc should mention somewhere the new doc.

      Done in PR 15433.

    21. vstinner commented on Aug 23, 2019

      @vstinner
      MemberAuthor

      New changeset 1beb7c3 by Victor Stinner in branch 'master':
      bpo-36763, doc: Add links in the new C API init doc (GH-15433)
      1beb7c3

    22. vstinner commented on Aug 23, 2019

      @vstinner
      MemberAuthor

      New changeset 120b707 by Victor Stinner in branch 'master':
      bpo-36763: PyConfig_Read() handles PySys_AddXOption() (GH-15431)
      120b707

    23. miss-islington commented on Aug 23, 2019

      @miss-islington
      Contributor

      New changeset 9cbdce3 by Miss Islington (bot) in branch '3.8':
      bpo-36763, doc: Add links in the new C API init doc (GH-15433)
      9cbdce3

    24. vstinner commented on Aug 23, 2019

      @vstinner
      MemberAuthor

      New changeset af84a88 by Victor Stinner in branch '3.8':
      bpo-36763: PyConfig_Read() handles PySys_AddXOption() (GH-15431) (GH-15435)
      af84a88

    25. vstinner commented on Aug 26, 2019

      @vstinner
      MemberAuthor

      New changeset 9a943b4 by Victor Stinner in branch 'master':
      bpo-36763: Make Py_BytesMain() public (GH-15532)
      9a943b4

    26. vstinner commented on Aug 26, 2019

      @vstinner
      MemberAuthor

      I marked the PEP-587 Status as Final. The implementation should now be complete. If there are bugs, they can be fixed in following issues :-) I close now this issue.

    27. miss-islington commented on Aug 26, 2019

      @miss-islington
      Contributor

      New changeset 1d4285a by Miss Islington (bot) in branch '3.8':
      bpo-36763: Make Py_BytesMain() public (GH-15532)
      1d4285a

    28. transferred this issue fromon Apr 10, 2022
    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

      3.8 (EOL)end of lifeinterpreter-core(Objects, Python, Grammar, and Parser dirs)

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions