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
  • !732

Remove all implicit str-unicode conversions in RPython

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Ronan Lamy requested to merge branch/no-str-unicode-union into branch/default Jun 26, 2020
  • Overview 2
  • Commits 5
  • Pipelines 1
  • Changes 9

This fixes the inconsistency between the fact that unions of SomeUnicodeCodePoint and SomeChar were allowed, while other forms of implicit conversions between str and unicode are not, i.e. the fact that union(u'ab', union(u'c', "d")) works but union(union(u'ab', u'c'), "d") raises AnnotatorError. For consistency, str-unicode comparisons are also forbidden.

This is an updated version of !477 (closed) but significantly simpler now that pypy barely uses unicode any more.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: branch/no-str-unicode-union