Repository navigation
Conversation
There was a problem hiding this comment.
Pull request overview
This PR updates Robot Framework standard library keyword argument names to use more natural identifiers (list and time) instead of the long-standing _-suffixed variants, aligning with the planned RF 8.0 backwards-incompatible cleanup discussed in #5762.
Changes:
- Renamed
list_→listin Collections library keyword signatures and docstrings. - Renamed
time_→timein BuiltInSleepandGet Timekeyword signatures and docstrings. - Updated acceptance tests that use named-argument syntax and/or assert argument-name-based error messages.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| src/robot/libraries/Collections.py | Renames list_ parameters to list across affected keywords and adjusts implementation/docstrings (incl. aliasing builtin list type where needed). |
| src/robot/libraries/BuiltIn.py | Renames Sleep and Get Time keyword argument time_ to time and updates references accordingly. |
| atest/testdata/standard_libraries/collections/list.robot | Updates test helper default argument name from list_ to list. |
| atest/testdata/standard_libraries/builtin/sleep.robot | Updates expected error message to reference argument time instead of time_. |
| atest/testdata/standard_libraries/builtin/get_time.robot | Updates named-argument usage from time_= to time=. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
seto
force-pushed
the
rename-list-time-args
branch
from
October 17, 2026 10:02
d8fdc70 to
829fff2
Compare
This was referenced Oct 28, 2026
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Opening this draft since, per the discussion on the issue, this can only be merged once RF 8.0 development starts.
I'll keep the branch updated and handle any conflicts until then, and I'll also go through the other standard libraries to check for similar cases before this is ready for review.
Changes
list_tolistinCollectionstime_totimeinBuiltIn.SleepandBuiltIn.Get TimeWhere present, deprecation notes have been removed from the affected docstrings.
Closes #5762