Skip to content

Conversation

@mangrisano
Copy link
Contributor

@mangrisano mangrisano commented Apr 25, 2019

  • Add target_time parameter in the init.
  • Add some tests to test when repeat is 1 or more.

https://bugs.python.org/issue36461

@the-knights-who-say-ni
Copy link

Hello, and thanks for your contribution!

I'm a bot set up to make sure that the project can legally accept your contribution by verifying you have signed the PSF contributor agreement (CLA).

Our records indicate we have not received your CLA. For legal reasons we need you to sign this before we can look at your contribution. Please follow the steps outlined in the CPython devguide to rectify this issue.

If you have recently signed the CLA, please wait at least one business day
before our records are updated.

You can check yourself to see if the CLA has been received.

Thanks again for your contribution, we look forward to reviewing it!

Copy link
Member

@ezio-melotti ezio-melotti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I left a couple of comments about the tests.

@bedevere-bot
Copy link

A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated.

Once you have made the requested changes, please leave a comment on this pull request containing the phrase I have made the requested changes; please review again. I will then notify any core developers who have left a review that you're ready for them to take another look at this pull request.

@mangrisano
Copy link
Contributor Author

I've just made the requested changes. Please review.

@tirkarthi
Copy link
Member

There is also another PR that seems to add some additional changes along with the autorange changes in this PR : #12954

@mangrisano
Copy link
Contributor Author

I've just read that there's another PR for this issue and it seems to be more complete than mine. What am I suppose to do in this case?

Copy link
Contributor

@eamanu eamanu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello, like say @tirkarthi this PR is related to #12954
and seems more complete that this.

But, this PR is older (one PR older) and receive more feedback.

* Rename the argument from total_time to target_time after Steven's review.
* Add some tests to test when number of repeat is 1 or more.
* Add target_time parameter in the __init__.
@mangrisano
Copy link
Contributor Author

I have made the requested changes; please review again.

@bedevere-bot
Copy link

Thanks for making the requested changes!

@ezio-melotti: please review the changes made to this pull request.

@bedevere-bot
Copy link

A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated.

Once you have made the requested changes, please leave a comment on this pull request containing the phrase I have made the requested changes; please review again. I will then notify any core developers who have left a review that you're ready for them to take another look at this pull request.

And if you don't make the requested changes, you will be put in the comfy chair!

* Delete duplicate test.
* Fix indentation.
@mangrisano
Copy link
Contributor Author

I have made the requested changes; please review again.

@bedevere-bot
Copy link

Thanks for making the requested changes!

@ezio-melotti: please review the changes made to this pull request.

@mangrisano
Copy link
Contributor Author

I'm trying to figure out how to write a good test for testing the autorange with callback and target_time.

* Add the test for autorange with callback.
* Add the test for autorange with callback and target_time.
@mangrisano
Copy link
Contributor Author

I have made the requested changes; please review again.

@bedevere-bot
Copy link

Thanks for making the requested changes!

@ezio-melotti: please review the changes made to this pull request.

@mangrisano
Copy link
Contributor Author

@stevendaprano Could you review this pull request when you're ready? Thank you :)

@mangrisano mangrisano closed this by deleting the head repository Aug 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants