GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — pyport.h includes antiquated UTF handling for FreeBSD · Issue #59567 · python/cpython

pyport.h includes antiquated UTF handling for FreeBSD #59567

New issue
Copy link
New issue
Copy link
Closed
Closed
pyport.h includes antiquated UTF handling for FreeBSD#59567
Copy link
Labels
topic-ctypestopic-unicode

Description

JohnSchneider
mannequin
opened on Jul 15, 2012
Issue body actions
BPO 15362
Nosy @birkenfeld, @ezio-melotti, @skrah
Files
  • patch-pyport.h: pyport.h 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 2013-10-13.18:24:39.552>
    created_at = <Date 2012-07-15.21:19:21.794>
    labels = ['ctypes', 'expert-unicode']
    title = 'pyport.h includes antiquated UTF handling for FreeBSD'
    updated_at = <Date 2013-10-13.18:24:39.551>
    user = 'https://bugs.python.org/JohnSchneider'

    bugs.python.org fields:

    activity = <Date 2013-10-13.18:24:39.551>
    actor = 'georg.brandl'
    assignee = 'none'
    closed = True
    closed_date = <Date 2013-10-13.18:24:39.552>
    closer = 'georg.brandl'
    components = ['Unicode', 'ctypes']
    creation = <Date 2012-07-15.21:19:21.794>
    creator = 'JohnSchneider'
    dependencies = []
    files = ['26388']
    hgrepos = []
    issue_num = 15362
    keywords = []
    message_count = 3.0
    messages = ['165550', '180131', '199750']
    nosy_count = 4.0
    nosy_names = ['georg.brandl', 'ezio.melotti', 'skrah', 'JohnSchneider']
    pr_nums = []
    priority = 'normal'
    resolution = 'out of date'
    stage = None
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue15362'
    versions = ['Python 2.7']

    Activity

    1. JohnSchneider commented on Jul 15, 2012

      @JohnSchneider
      JohnSchneidermannequin
      on Jul 15, 2012
      MannequinAuthor
      More actions

      Revision 36793 introduced a libc wrapper for FreeBSD 5.x which addressed some UTF issues. Unfortunately, this causes C compilation errors for certain ports.

      Also reference issues 10910, 1455641

      This change is no longer applicable for FreeBSD 9. I'm not sure what version of FreeBSD made it not longer applicable, but there were reports of it still being necessary for FreebSD 7. FreeBSD 6 - 8 should be tested with this test script:
      ------------------------
      #!/usr/bin/env python

      from ctypes import *
      
      cdll.LoadLibrary("libc.so.7")
      libc = CDLL("libc.so.7")

      assert libc.isspace(0xa0) == 0
      ------------------------

      I've also attached a patch for python 2.7.3.

    2. JohnSchneider
      added
      topic-unicode
      topic-ctypes
      on Jul 15, 2012
    3. skrah commented on Jan 17, 2013

      @skrah
      skrahmannequin
      on Jan 17, 2013
      Mannequin
      More actions

      Does this apply to Python 3.3 as well? I don't think we're going to
      fix this in 2.7.

    4. birkenfeld commented on Oct 13, 2013

      @birkenfeld
      birkenfeld
      on Oct 13, 2013
      Member
      More actions

      Closing due to lack of feedback.

    5. birkenfeld
      closed this as completedon Oct 13, 2013
    6. ezio-melotti
      transferred this issue fromon Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      topic-ctypestopic-unicode

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions

        You are visitor 01402503 — GeezerVison does not store the pages you look up.
        Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.