Skip to content

Datetime “fromtimestamp()” ignores inheritance if timezone is not None #79545

@Delgan

Description

@Delgan
mannequin
BPO 35364
Nosy @abalkin, @ambv, @serhiy-storchaka, @pganssle, @Delgan, @nixphix
PRs
  • bpo-32417: Make timedelta arithmetic respect subclasses #10902
  • bpo-32417: Add What's New entry for date subclass behavior #11790
  • bpo-32417: Add What's New entry for date subclass behavior #11790
  • Files
  • test.py
  • 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-02-14.16:30:18.907>
    created_at = <Date 2018-11-30.17:25:41.278>
    labels = ['3.8', 'type-bug', 'library']
    title = 'Datetime \xe2\x80\x9cfromtimestamp()\xe2\x80\x9d ignores inheritance if timezone is not None'
    updated_at = <Date 2019-02-14.16:30:18.906>
    user = 'https://github.com/Delgan'

    bugs.python.org fields:

    activity = <Date 2019-02-14.16:30:18.906>
    actor = 'p-ganssle'
    assignee = 'none'
    closed = True
    closed_date = <Date 2019-02-14.16:30:18.907>
    closer = 'p-ganssle'
    components = ['Library (Lib)']
    creation = <Date 2018-11-30.17:25:41.278>
    creator = 'Delgan'
    dependencies = []
    files = ['47960']
    hgrepos = []
    issue_num = 35364
    keywords = ['patch']
    message_count = 10.0
    messages = ['330811', '330815', '330892', '331056', '331058', '331065', '331067', '334838', '335092', '335135']
    nosy_count = 6.0
    nosy_names = ['belopolsky', 'lukasz.langa', 'serhiy.storchaka', 'p-ganssle', 'Delgan', 'nixphix']
    pr_nums = ['10902', '11790', '11790']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue35364'
    versions = ['Python 3.8']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.8 (EOL)end of lifestdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions