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

Open
#50,529 23 comments 0 reactions 1 assignee View on GitHub

@abalkin is already working on this.

Since Jun 14, 2010.

Assessment

This issue has not been assessed yet.

Description

stdlib type-feature
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']
    

    Dominant language
    Python
    Stars
    77.2k
    Forks
    36k
    Avg merge
    1d 9h
    Merged PRs (30d)
    558

    Contributor guide

    Open the contributing guide

    First steps

    1. Read the whole issue, then the project's contributing guide.
    2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
    3. Fork the repository and make your change on a branch.
    4. Open a pull request that references the issue number.

    More from python/cpython

    All issues in python/cpython

    Similar issues

    More Python issues

    Get new issues in your inbox

    A short digest of beginner-friendly GitHub issues.