You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
No longer use implicit convertion to int with loss #82180
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=<Date2020-05-28.08:12:43.571>created_at=<Date2019-09-01.11:24:04.696>labels= ['interpreter-core', 'type-feature', '3.10']
title='No longer use implicit convertion to int with loss'updated_at=<Date2020-07-01.19:01:56.267>user='https://github.com/serhiy-storchaka'
Activity
serhiy-storchaka commentedon Sep 1, 2019
Use only the __index__() method for implicit conversion to iteger, and not __int__().
This converts deprecation warnings added in bpo-36048 into TypeError.
serhiy-storchaka commentedon May 26, 2020
New changeset 578c395 by Serhiy Storchaka in branch 'master':
bpo-37999: No longer use __int__ in implicit integer conversions. (GH-15636)
578c395
mdickinson commentedon May 27, 2020
There are some comments in the Objects/longobject.c code that still refer to __int__, and could use an update.
For example:
cpython/Objects/longobject.c
Line 366 in 7da46b6
mdickinson commentedon May 27, 2020
New changeset 20941de by Mark Dickinson in branch 'master':
bpo-37999: Fix outdated __int__ and nb_int references in comments (GH-20449)
20941de
serhiy-storchaka commentedon May 28, 2020
I think it is all here. Thank you Mark for your review and for fixing outdated docs and comments.
serhiy-storchaka commentedon Jun 29, 2020
New changeset e67f7db by Serhiy Storchaka in branch 'master':
bpo-37999: Simplify the conversion code for %c, %d, %x, etc. (GH-20437)
e67f7db
gh-82180: Document support for non-integer arg removed from grp.getgr…
pythongh-82180: Document support for non-integer arg removed from grp…
2 remaining items
gh-82180: Document support for non-integer arg removed from grp.getgr…
ui: fix progress bar on python 3.10+
Bugfix: POLL_INTERVAL_MS used in QTimer needs to be an int on python …
pythongh-82180: Update math.factorial(float) doc for Python 3.10
pythongh-82180: Update math.factorial(float) doc for Python 3.10
gh-82180: Update math.factorial(float) doc for Python 3.10 (#105385)
Bugfix: POLL_INTERVAL_MS used in QTimer needs to be an int on python …
Bugfix: POLL_INTERVAL_MS used in QTimer needs to be an int on python …
Bugfix: POLL_INTERVAL_MS used in QTimer needs to be an int on python …
Bugfix: POLL_INTERVAL_MS used in QTimer needs to be an int on python …
Bugfix: POLL_INTERVAL_MS used in QTimer needs to be an int on python …
Bugfix: POLL_INTERVAL_MS used in QTimer needs to be an int on python …
Bugfix: POLL_INTERVAL_MS used in QTimer needs to be an int on python …
Fix Python 3.10 breaking change (-_-)
Fix Python 3.10 breaking change (-_-)