Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

strings/split.py is incorrect #12403

Open
Kaaserne opened this issue Dec 2, 2024 · 1 comment · May be fixed by #12405, #12423 or #12438
Open

strings/split.py is incorrect #12403

Kaaserne opened this issue Dec 2, 2024 · 1 comment · May be fixed by #12405, #12423 or #12438
Labels

Comments

@Kaaserne
Copy link

Kaaserne commented Dec 2, 2024

Repository commit

9316e7c

Python version (python --version)

n/a

Dependencies version (pip freeze)

n/a

Expected behavior

s = ";abbb;;c;"
split(s, ';') == s.split(';')
# ['', 'abbb', '', 'c', ''] == ['', 'abbb', '', 'c', '']

Actual behavior

s = ";abbb;;c;"
split(s, ';') == s.split(';')
# ['', 'abbb', '', 'c'] != ['', 'abbb', '', 'c', '']
@Kaaserne Kaaserne added the bug label Dec 2, 2024
@osman-haider osman-haider linked a pull request Dec 2, 2024 that will close this issue
4 tasks
@kishyassin kishyassin linked a pull request Dec 6, 2024 that will close this issue
3 tasks
@sanks011 sanks011 linked a pull request Dec 16, 2024 that will close this issue
15 tasks
@sanks011
Copy link

@Kaaserne Please take a look at the merge requests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants