IronLanguages / IronLanguages/ironpython3

PEP 393 - Flexible String Representation

Open
#252 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

core What's New In Python 3.3
Dominant language
C#
Stars
2.8k
Forks
316
Avg merge
1d 9h
Merged PRs (30d)
1

Description

Since we're using the C# string as our string there's no way to differentiate between a surrogate pair and a "wide" unicode character (e.g. "\uDBFF\uDFFF" and "\U0010FFFF" are not equal in Python but they are equal in C#).

References:

Related PR: #251

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the PEP 393 and Python 3.3 references in the issue, then inspect related PR #251 for the existing direction. Done should mean IronPython can distinguish a surrogate pair such as "\uDBFF\uDFFF" from the equivalent wide Unicode character "\U0010FFFF" as Python does.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, python
Domain
backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.