Skip to content

C++ Embedded 'time.sleep()' is not working on Windows host due to 'Py_InitializeEx(0)' #85852

@hafizbilal100

Description

@hafizbilal100
BPO 41686
Nosy @pfmoore, @vstinner, @tjguk, @zware, @eryksun, @zooba
PRs
  • bpo-41686: Always create the SIGINT event on Windows #23344
  • bpo-41686: Refactor signal_exec() #23346
  • [3.9] bpo-41686: Always create the SIGINT event on Windows (GH-23344) #23347
  • [3.8] bpo-41686: Always create the SIGINT event on Windows (GH-23344) (GH-23347) #23349
  • bpo-41686: Move _Py_RestoreSignals() to signalmodule.c #23353
  • 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 2020-11-17.21:26:11.457>
    created_at = <Date 2020-09-01.12:32:23.361>
    labels = ['type-bug', '3.8', '3.9', '3.10', 'expert-C-API', 'OS-windows']
    title = "C++ Embedded 'time.sleep()' is not working on Windows host due to 'Py_InitializeEx(0)'"
    updated_at = <Date 2020-11-17.21:56:51.779>
    user = 'https://bugs.python.org/hafizbilal100'

    bugs.python.org fields:

    activity = <Date 2020-11-17.21:56:51.779>
    actor = 'vstinner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2020-11-17.21:26:11.457>
    closer = 'vstinner'
    components = ['Windows', 'C API']
    creation = <Date 2020-09-01.12:32:23.361>
    creator = 'hafizbilal100'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 41686
    keywords = ['patch']
    message_count = 13.0
    messages = ['376189', '376196', '376219', '376220', '376232', '376265', '381257', '381265', '381266', '381286', '381288', '381292', '381294']
    nosy_count = 7.0
    nosy_names = ['paul.moore', 'vstinner', 'tim.golden', 'zach.ware', 'eryksun', 'steve.dower', 'hafizbilal100']
    pr_nums = ['23344', '23346', '23347', '23349', '23353']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue41686'
    versions = ['Python 3.8', 'Python 3.9', 'Python 3.10']

    Metadata

    Metadata

    Assignees

    No one assigned

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions