Skip to content

os.chown: OverflowError: Python int too large to convert to C long #59506

@do1

Description

@do1
mannequin
BPO 15301
Nosy @loewis, @birkenfeld, @terryjreedy, @mdickinson, @pitrou, @vstinner, @larryhastings, @benjaminp, @ned-deily, @skrah, @markshannon, @serhiy-storchaka
Files
  • larry.chown.unsigned.uid.gid.1.diff
  • posix_uid_gid_conv_tests.patch: Extended tests for *chown()
  • posix_uid_gid_conv_index.patch: Use index for uid and gid conversion
  • larry.chown.unsigned.uid.gid.2.diff: Second cut at a patch, building on Serhiy's second patch.
  • larry.chown.unsigned.uid.gid.3.diff: Updated patch with Serhiy's changes from Rietveld.
  • larry.chown.unsigned.uid.gid.4.diff: Latest patch incorporating Serihy's comments.
  • larry.chown.unsigned.uid.gid.5.diff: New patch which might even be good enough for trunk.
  • larry.chown.unsigned.uid.gid.6.diff: Another day, another patch for uid_converter.
  • 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/larryhastings'
    closed_at = <Date 2013-08-11.01:03:15.841>
    created_at = <Date 2012-07-09.02:15:39.422>
    labels = ['type-bug']
    title = 'os.chown: OverflowError: Python int too large to convert to C long'
    updated_at = <Date 2013-08-11.06:18:31.608>
    user = 'https://bugs.python.org/do1'

    bugs.python.org fields:

    activity = <Date 2013-08-11.06:18:31.608>
    actor = 'serhiy.storchaka'
    assignee = 'larry'
    closed = True
    closed_date = <Date 2013-08-11.01:03:15.841>
    closer = 'terry.reedy'
    components = ['None']
    creation = <Date 2012-07-09.02:15:39.422>
    creator = 'do1'
    dependencies = []
    files = ['26384', '29072', '29073', '29860', '29883', '29977', '29978', '29996']
    hgrepos = []
    issue_num = 15301
    keywords = ['patch']
    message_count = 42.0
    messages = ['165053', '165054', '165425', '165427', '165428', '165429', '165430', '165431', '165433', '165477', '165481', '182088', '182089', '182533', '186862', '186909', '186913', '186970', '186971', '186974', '187019', '187075', '187576', '187579', '187580', '187581', '187677', '187689', '192193', '194534', '194645', '194646', '194647', '194649', '194650', '194654', '194655', '194763', '194857', '194858', '194860', '194865']
    nosy_count = 16.0
    nosy_names = ['loewis', 'georg.brandl', 'terry.reedy', 'mark.dickinson', 'pitrou', 'vstinner', 'larry', 'benjamin.peterson', 'ned.deily', 'Arfrever', 'skrah', 'Mark.Shannon', 'python-dev', 'Scott.Leerssen', 'serhiy.storchaka', 'do1']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue15301'
    versions = ['Python 2.7', 'Python 3.2', 'Python 3.3', 'Python 3.4']

    Metadata

    Metadata

    Assignees

    Labels

    type-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions