← 输入框|github.com|刷新
Skip to content

PEP 3121, 384 Refactoring applied to winapi module #59938

Closed

Description

@RobinSchreiber
BPO 15733
Nosy @loewis, @vstinner
PRs
  • bpo-37488 : Document a warning for datetime.utcnow() and utcfromtimestamp() #15773
  • Superseder
  • bpo-1635741: Py_Finalize() doesn't clear all Python objects at exit
  • Files
  • _winapi_pep3121-384_v0.patch
  • _winapi_pep3121-384_v1.patch
  • 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-09-07.13:46:46.593>
    created_at = <Date 2012-08-20.09:39:29.597>
    labels = ['extension-modules', 'performance']
    title = 'PEP 3121, 384 Refactoring applied to winapi module'
    updated_at = <Date 2020-09-07.13:46:46.591>
    user = 'https://bugs.python.org/RobinSchreiber'

    bugs.python.org fields:

    activity = <Date 2020-09-07.13:46:46.591>
    actor = 'vstinner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2020-09-07.13:46:46.593>
    closer = 'vstinner'
    components = ['Extension Modules']
    creation = <Date 2012-08-20.09:39:29.597>
    creator = 'Robin.Schreiber'
    dependencies = []
    files = ['26921', '26922']
    hgrepos = []
    issue_num = 15733
    keywords = ['patch', 'pep3121']
    message_count = 6.0
    messages = ['168639', '168640', '168658', '168668', '168717', '376482']
    nosy_count = 6.0
    nosy_names = ['loewis', 'effbot', 'astrand', 'vstinner', 'sbt', 'Robin.Schreiber']
    pr_nums = ['15773']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = '1635741'
    type = 'resource usage'
    url = 'https://bugs.python.org/issue15733'
    versions = ['Python 3.4']

    Activity

    1. RobinSchreiber commented on Aug 20, 2012

      RobinSchreibermannequin
      MannequinAuthor

      Changes proposed in PEP-3121 and PEP-384 have now been applied to the winapi module!

    2. added
      extension-modules
      performance
      on Aug 20, 2012
    3. RobinSchreiber commented on Aug 20, 2012

      RobinSchreibermannequin
      MannequinAuthor

      Forgot to change the macro definition...

    4. sbt commented on Aug 20, 2012

      sbtmannequin
      Mannequin

      I don't see why you made has_CancelIoEx part of the module state. Availability of CancelIoEx only depends on the version of Windows you have, so it will not change if you reload the module.

      BTW, I think you forgot to delete the has_CancelIoEx global, and to initialize winapi__state(m)->has_CancelIoEx to -1.

    5. loewis commented on Aug 20, 2012

      loewismannequin
      Mannequin

      In addition, I plan to actively drop Windows 2000 support post 3.3, so CancelIO can be presumed to be present.

    6. sbt commented on Aug 20, 2012

      sbtmannequin
      Mannequin

      In addition, I plan to actively drop Windows 2000 support post 3.3, so
      CancelIO can be presumed to be present.

      The function at issue is CancelIoEx() (introduced in Vista) not CancelIo().

      I assume WinXP will still be supported?

    7. vstinner commented on Sep 7, 2020

      @vstinner
      Member

      Fixed by:

      commit 2aabc32 (HEAD -> master, upstream/master)
      Author: Mohamed Koubaa <koubaa.m@gmail.com>
      Date: Mon Sep 7 08:12:40 2020 -0500

      bpo-1635741: Port _overlapped module to multi-phase init (GH-22051)
      
      Port the _overlapped extension module to multi-phase initialization (PEP-489).
      
    8. 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

      extension-modulesperformance

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions