meta-pytorch / meta-pytorch/data
Move to removesuffix string method after python 3.8 support is dropped
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1.3k
- Forks
- 179
- Avg merge
- 6d 1h
- Merged PRs (30d)
- 2
Description
🚀 The feature
title
Motivation, pitch
rstrip/lstrip can lead to unintended behaviors
Alternatives
No response
Additional context
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Search the repository for rstrip and lstrip usage, then inspect the Python-version support configuration to confirm when Python 3.8 support is dropped. Replace the affected suffix or prefix handling with the requested string method and run the relevant test suite; done means the unintended stripping behavior is avoided without breaking supported versions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- tooling
- Issue type
- Refactor
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100