using very small positive floats instead of zero achieves nothing except obscurity
@hawkowl is already working on this.
Since Jun 27, 2022.
Assessment
This issue has not been assessed yet.
Description
| @exarkun reported | |
|---|---|
| Trac ID | trac#2649 |
| Type | defect |
| Created | 2007-05-15 14:59:42Z |
| Branch | https://github.com/twisted/twisted/tree/calllater-zero-2649-2 |
Both task.py and _pollingfile.py use very small positive amounts of time for some reason. This may be a holdover from when callLater(0 could actually cause serious harm (a time long since passed) or it might just be stupidity on the part of the authors. In any case, there seems to be no reason not to just use 0 for both values.
Searchable metadata
trac-id__2649 2649
type__defect defect
reporter__exarkun exarkun
priority__normal normal
milestone__
branch__branches_calllater_zero_2649_2 branches/calllater-zero-2649-2
branch_author__hawkowl__jesstess hawkowl, jesstess
status__new new
resolution__None None
component__core core
keywords__
time__1179241182000000 1179241182000000
changetime__1442475355399662 1442475355399662
version__None None
owner__hawkowl hawkowl
cc__jesstess cc__thijs
- Dominant language
- Python
- Stars
- 6k
- Forks
- 1.2k
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 10
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from twisted/twisted
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
bancolombia/sentinel#23 ·
-
test md OpenCI
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
langchain-ai/deepagents#6450 ·
-
bug client
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100