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

__file__ and co_filename as unicode #45605

Closed
tiran opened this issue Oct 11, 2007 · 1 comment
Closed

__file__ and co_filename as unicode #45605

tiran opened this issue Oct 11, 2007 · 1 comment
Labels
interpreter-core (Objects, Python, Grammar, and Parser dirs)

Comments

@tiran
Copy link
Member

tiran commented Oct 11, 2007

BPO 1264
Nosy @tiran
Superseder
  • bpo-1272: Decode file and co_filename to unicode using fs default
  • Files
  • py3k_file_fsenc.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 = None
    closed_at = <Date 2007-10-14.01:02:25.147>
    created_at = <Date 2007-10-11.15:49:24.708>
    labels = ['interpreter-core']
    title = '__file__ and co_filename as unicode'
    updated_at = <Date 2007-10-14.01:02:25.146>
    user = 'https://github.com/tiran'

    bugs.python.org fields:

    activity = <Date 2007-10-14.01:02:25.146>
    actor = 'gvanrossum'
    assignee = 'none'
    closed = True
    closed_date = <Date 2007-10-14.01:02:25.147>
    closer = 'gvanrossum'
    components = ['Interpreter Core']
    creation = <Date 2007-10-11.15:49:24.708>
    creator = 'christian.heimes'
    dependencies = []
    files = ['8513']
    hgrepos = []
    issue_num = 1264
    keywords = ['patch']
    message_count = 1.0
    messages = ['56345']
    nosy_count = 1.0
    nosy_names = ['christian.heimes']
    pr_nums = []
    priority = 'normal'
    resolution = 'out of date'
    stage = None
    status = 'closed'
    superseder = '1272'
    type = None
    url = 'https://bugs.python.org/issue1264'
    versions = ['Python 3.0']

    @tiran
    Copy link
    Member Author

    tiran commented Oct 11, 2007

    This is a *preliminary* patch for __file__ and co_filename which decodes
    char* / PyString using the FS default encoding. I'm still working on it.

    @tiran tiran added the interpreter-core (Objects, Python, Grammar, and Parser dirs) label Oct 11, 2007
    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    interpreter-core (Objects, Python, Grammar, and Parser dirs)
    Projects
    None yet
    Development

    No branches or pull requests

    2 participants