Skip to content

unix/modos: Rename unlink() to remove() to be consistent with other ports. #4308

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

Closed
wants to merge 2 commits into from

Conversation

pfalcon
Copy link
Contributor

@pfalcon pfalcon commented Nov 17, 2018

We standardized to provide uos.remove(), as more obvious and user-friendly
name. That's what written in the docs. The Unix port implementation predates
this convention, so update it now.

@dpgeorge
Copy link
Member

Thanks, it makes sense to rename it to the more friendly name. But please can you update the io/open_append.py and io/open_plus.py tests to use rename instead of unlink so they still run on the unix port.

Paul Sokolovsky added 2 commits November 26, 2018 08:53
…orts.

We standardized to provide uos.remove(), as more obvious and user-friendly
name. That's what written in the docs. The Unix port implementation predates
this convention, so update it now.
After Unix port switches from one to another, to be consistent with
baremetal ports.
@pfalcon
Copy link
Contributor Author

pfalcon commented Nov 26, 2018

But please can you update the io/open_append.py and io/open_plus.py tests to use rename

Updated.

@pfalcon
Copy link
Contributor Author

pfalcon commented Nov 26, 2018

This appears to be merged in 80aca27 / 5c34c2f, thanks.

kamtom480 pushed a commit to kamtom480/micropython that referenced this pull request Mar 3, 2021
raspberrypi: allow directly specifying the original boot .S file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants