The Wayback Machine - https://web.archive.org/web/20250609150713/https://github.com/python/cpython/issues/50529
Skip to content

calendar.timegm() belongs in time module, next to time.gmtime() #50529

Open
@zooko

Description

@zooko
BPO 6280
Nosy @jcea, @amauryfa, @mdickinson, @abalkin, @djc, @pganssle
Files
  • add-timegm-to-time.diff: Adds calendar.timegm to the time module.
  • timemodule-gmtime-r265.diff: Patch for r265
  • timemodule-gmtime-r27b1.diff: patch for r27b1
  • timemodule-gmtime-r312.diff: patch for r312
  • timemodule-gmtime-3-trunk.diff: patch for trunk
  • issue6280-calendar.diff
  • issue6280-calendar-2.diff
  • 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 = 'https://github.com/abalkin'
    closed_at = None
    created_at = <Date 2009-06-13.16:48:01.659>
    labels = ['3.7', 'type-feature', 'library']
    title = 'calendar.timegm() belongs in time module, next to time.gmtime()'
    updated_at = <Date 2018-07-05.15:12:20.643>
    user = 'https://bugs.python.org/zooko'

    bugs.python.org fields:

    activity = <Date 2018-07-05.15:12:20.643>
    actor = 'p-ganssle'
    assignee = 'belopolsky'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2009-06-13.16:48:01.659>
    creator = 'zooko'
    dependencies = []
    files = ['15092', '17085', '17086', '17087', '17088', '17566', '17669']
    hgrepos = []
    issue_num = 6280
    keywords = []
    message_count = 22.0
    messages = ['89334', '89335', '89379', '91350', '93797', '99633', '99905', '99938', '100012', '100052', '104201', '104262', '104266', '104269', '107169', '107631', '107802', '107804', '107808', '122917', '277965', '319965']
    nosy_count = 11.0
    nosy_names = ['jcea', 'zooko', 'amaury.forgeotdarc', 'mark.dickinson', 'belopolsky', 'djc', 'hodgestar', 'pr0gg3d', 'aht', 'p-ganssle', 'oric']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = 'needs patch'
    status = 'open'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue6280'
    versions = ['Python 3.7']

    Metadata

    Metadata

    Assignees

    Labels

    stdlibPython modules in the Lib dirtype-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions