Repository navigation
Conversation
The `frame` parameter is not needed because the output of `SkyCoord.from_name()` can be easily converted using its `.transform_to()` method.
|
Thank you for your contribution to Astropy! 🌌 This checklist is meant to remind the package maintainers who will review this pull request of some common things to look for.
|
|
Welcome to Astropy 👋 and congratulations on your first pull request! 🎉 A project member will respond to you as soon as possible; in the meantime, please have a look over the Checklist for Contributed Code and make sure you've addressed as many of the questions there as possible. If you feel that this pull request has not been responded to in a timely manner, please send a message directly to the development mailing list. If the issue is urgent or sensitive in nature (e.g., a security vulnerability) please send an e-mail directly to the private e-mail [email protected]. |
|
Please ignore the greeter bot. I think something reset when I upgraded it. Thanks for your patience! |
mhvk
left a comment
There was a problem hiding this comment.
I think this makes sense, but as written, it sets us up for a problem further down the line: when the deprecation is over, they argument can still not be removed because then any code that still uses it despite the deprecation warning, will now set parse to the frame (generally, truthy). So, I think we need to take this opportunity to also deprecate passing those arguments positionally. (Not sure whether at that point it is still worthwhile...)
|
Another problem is that |
I think so. Edit: just clarifying that the "I think so" is w/ regards to whether this PR is worthwhile. I think so! |
|
Note that unless performance is critical I do have a pure-Python implementation of future_keyword_only ready to be used... |
I don't think it is / it's fine to start with a pure-Python solution. |
|
Hi humans 👋 - this pull request hasn't had any new commits for approximately 4 months. I plan to close this in 30 days if the pull request doesn't have any new commits by then. In lieu of a stalled pull request, please consider closing this and open an issue instead if a reminder is needed to revisit in the future. Maintainers may also choose to add keep-open label to keep this PR open but it is discouraged unless absolutely necessary. If this PR still needs to be reviewed, as an author, you can rebase it to reset the clock. If you believe I commented on this pull request incorrectly, please report this here. |
|
@neutrinoceros if you can get in a PR for future_keyword_only I can finish up this PR. |
|
Hi humans 👋 - this pull request hasn't had any new commits for approximately 11 months. I plan to close this in a month if the pull request doesn't have any new commits by then. In lieu of a stalled pull request, please consider closing this and open an issue instead if a reminder is needed to revisit in the future. Maintainers may also choose to add keep-open label to keep this PR open but it is discouraged unless absolutely necessary. If this PR still needs to be reviewed, as an author, you can rebase it to reset the clock. If you believe I commented on this pull request incorrectly, please report this here. |
Description
The
frameparameter is not required because the output ofSkyCoord.from_name()can be easily converted to a different frame by calling itstransform_to()method. For updating the tests it was convenient to prefer module-level imports in the one file that tested the parameter.