Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[WIP]implement accurate timeout function#51

Open
halfcrazy wants to merge 1 commit intopython-cn:master from
halfcrazy:enhance-timeout
Open

[WIP]implement accurate timeout function #51
halfcrazy wants to merge 1 commit intopython-cn:master from
halfcrazy:enhance-timeout

Conversation

@halfcrazy
Copy link
Member

@halfcrazy halfcrazy commented Jul 2, 2015

No description provided.

@halfcrazy halfcrazy changed the title (削除) implement accurate timeout function (削除ここまで) (追記) [WIP]implement accurate timeout function (追記ここまで) Jul 2, 2015
return async_result.get(seconds)
# the time cost before start fn
cost_time = time.time() - g.time
return async_result.get(seconds - cost_time)
Copy link
Contributor

@dongweiming dongweiming Jul 2, 2015

Choose a reason for hiding this comment

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

这里好精确... 👍

Copy link
Member Author

@halfcrazy halfcrazy Jul 2, 2015

Choose a reason for hiding this comment

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

@dongweiming 暂时遇到了上下文的问题,解决中

Copy link
Contributor

@halfcrazy 这个怎么样了

Copy link
Member Author

@dongweiming 考试周了,这些天在复习考试... 还是Wip

Copy link
Contributor

祝幸福~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Comments

AltStyle によって変換されたページ (->オリジナル) /