Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test_mailbox fails when run as a non-root user on Android API 24 #72950

Closed
xdegaye mannequin opened this issue Nov 21, 2016 · 3 comments
Closed

test_mailbox fails when run as a non-root user on Android API 24 #72950

xdegaye mannequin opened this issue Nov 21, 2016 · 3 comments
Assignees
Labels
3.7 (EOL) end of life stdlib Python modules in the Lib dir type-bug An unexpected behavior, bug, or error

Comments

@xdegaye
Copy link
Mannequin

xdegaye mannequin commented Nov 21, 2016

BPO 28764
Nosy @bitdancer, @xdegaye, @flokli
PRs
  • bpo-28764: mailbox.mbox: handle lines with non-ascii more graceful #23553
  • Files
  • test_mailbox_link.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 = 'https://github.com/xdegaye'
    closed_at = <Date 2016-12-12.09:32:12.261>
    created_at = <Date 2016-11-21.15:22:02.700>
    labels = ['3.7', 'type-bug', 'library']
    title = 'test_mailbox fails when run as a non-root user on Android API 24'
    updated_at = <Date 2020-11-29.10:46:04.009>
    user = 'https://github.com/xdegaye'

    bugs.python.org fields:

    activity = <Date 2020-11-29.10:46:04.009>
    actor = 'flokli'
    assignee = 'xdegaye'
    closed = True
    closed_date = <Date 2016-12-12.09:32:12.261>
    closer = 'xdegaye'
    components = ['Library (Lib)']
    creation = <Date 2016-11-21.15:22:02.700>
    creator = 'xdegaye'
    dependencies = []
    files = ['45588']
    hgrepos = []
    issue_num = 28764
    keywords = ['patch']
    message_count = 3.0
    messages = ['281364', '281381', '282973']
    nosy_count = 4.0
    nosy_names = ['r.david.murray', 'xdegaye', 'python-dev', 'flokli']
    pr_nums = ['23553']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue28764'
    versions = ['Python 3.6', 'Python 3.7']

    @xdegaye
    Copy link
    Mannequin Author

    xdegaye mannequin commented Nov 21, 2016

    The patch fixes the problem that on Android API 24, a non-root user is not allowed to create the hard links used by the mailbox module.
    Related to bpo-28759.

    @xdegaye xdegaye mannequin added the 3.7 (EOL) end of life label Nov 21, 2016
    @xdegaye xdegaye mannequin self-assigned this Nov 21, 2016
    @xdegaye xdegaye mannequin added stdlib Python modules in the Lib dir type-bug An unexpected behavior, bug, or error labels Nov 21, 2016
    @bitdancer
    Copy link
    Member

    LGTM.

    @python-dev
    Copy link
    Mannequin

    python-dev mannequin commented Dec 12, 2016

    New changeset 51573ef25903 by Xavier de Gaye in branch '3.6':
    Issue bpo-28764: Fix a test_mailbox failure on Android API 24 when run as a non-root user.
    https://hg.python.org/cpython/rev/51573ef25903

    New changeset 3a451c67008d by Xavier de Gaye in branch 'default':
    Issue bpo-28764: Merge 3.6.
    https://hg.python.org/cpython/rev/3a451c67008d

    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    3.7 (EOL) end of life stdlib Python modules in the Lib dir type-bug An unexpected behavior, bug, or error
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant