-
-
Notifications
You must be signed in to change notification settings - Fork 18.6k
BUG: allow tuples in recursive call to replace #5145
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
Conversation
also fixes a bug where a |
the beast that is |
here's a similar bug, I think: comes up in shows up on sparc/2.6, because the dictionary ordering is different (not sure why)
|
I don' think you can do it with a single masking in |
it does iterate one by one in |
ahh...but this is a |
oh fail ... ok ... it's becaue they are tuples |
I was just simulating what your |
right .... that's the bug |
ahh...so this PR already fixes, then? maybe add this add a test in that same routine?
|
stop reading my mind!!! |
😄 |
its odd...ONLY came up on 2.6 on sparc (the dict iterates in a different order).... once you merge this...I can retest on sparc and close that other issue |
looks fine to me |
This fixes a bug that makes it appear as if replace is incorrectly using regular expressions.
BUG: allow tuples in recursive call to replace
This avoids the seeming passage of regular expressions
closes #5143.