Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • pypy pypy
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 675
    • Issues 675
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 13
    • Merge requests 13
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • PyPyPyPy
  • pypypypy
  • Merge requests
  • !552

Indexing into char* behaves differently than CPython

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Bitbucket Importer requested to merge bitbucket/merged-pr-552 into branch/default May 29, 2017
  • Overview 12
  • Commits 0
  • Pipelines 0
  • Changes 0

Created originally on Bitbucket by palecsandru (Alecsandru Patrascu)

Was already merged in Bitbucket before import, marked as merged by the import user

Source changeset not longer availableat the time of import. Commit listwill look empty

This PR is related to issue #2565 (closed). It seems that there must not be a string interpretation in case of a char array.

Using @arigo 's example from the issue we have:

Before:

#!bash
<_ctypes.pointer.LP_c_char_Array_10 object at 0x00007ffff7e0ed40>
''

Fixed:

#!bash
<_ctypes.pointer.LP_c_char_Array_10 object at 0x00007ffff7e0d210>
<_ctypes.array.c_char_Array_10 object at 0x00007ffff7e0d248>
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: bitbucket/merged-pr-552