Skip to content

.pyc files created readonly if .py file is readonly, python won't overwrite #50324

@pdsimanyi

Description

@pdsimanyi
mannequin
BPO 6074
Nosy @warsaw, @amauryfa, @ncoghlan, @pitrou, @merwok, @briancurtin, @ericsnowcurrently
Files
  • showpycreadonly.sh: Script reproducing readonly pyc creation
  • showpycreadonlysleep.sh: sleep version of showpycreadonly problem reproduction script
  • issue6074.patch
  • issue6074_3.3_eric.snow.diff: test and fix for 3.3
  • 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/ncoghlan'
    closed_at = <Date 2012-10-19.13:45:54.502>
    created_at = <Date 2009-05-20.22:04:21.579>
    labels = ['interpreter-core', 'type-bug', 'OS-windows']
    title = ".pyc files created readonly if .py file is readonly, python won't overwrite"
    updated_at = <Date 2013-01-14.21:11:03.739>
    user = 'https://bugs.python.org/pdsimanyi'

    bugs.python.org fields:

    activity = <Date 2013-01-14.21:11:03.739>
    actor = 'markon'
    assignee = 'ncoghlan'
    closed = True
    closed_date = <Date 2012-10-19.13:45:54.502>
    closer = 'ncoghlan'
    components = ['Interpreter Core', 'Windows']
    creation = <Date 2009-05-20.22:04:21.579>
    creator = 'pdsimanyi'
    dependencies = []
    files = ['14025', '14083', '26912', '27028']
    hgrepos = []
    issue_num = 6074
    keywords = ['patch']
    message_count = 42.0
    messages = ['88138', '88263', '88369', '88388', '88389', '88390', '88397', '88399', '88402', '88420', '90246', '111626', '112478', '115500', '115501', '115502', '115665', '168566', '168573', '168611', '168613', '168624', '168982', '169250', '169860', '170067', '170075', '173320', '173322', '173328', '173331', '173333', '173335', '173336', '173340', '173342', '173343', '173344', '173358', '173429', '173430', '173441']
    nosy_count = 12.0
    nosy_names = ['barry', 'amaury.forgeotdarc', 'ncoghlan', 'pitrou', 'eric.araujo', 'brian.curtin', 'pdsimanyi', 'mucisland', 'Steve.Thompson', 'python-dev', 'eric.snow', 'kevin.chen']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue6074'
    versions = ['Python 3.3', 'Python 3.4']

    Metadata

    Metadata

    Assignees

    Labels

    OS-windowsinterpreter-core(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions