[issue45583] Documentation of int() in datamodel.rst is out of date

2021-10-28 Thread Łukasz Langa

Łukasz Langa  added the comment:

Thanks, Arthur! ✨  ✨

--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed
versions: +Python 3.10, Python 3.11, Python 3.9 -Python 3.8

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45583] Documentation of int() in datamodel.rst is out of date

2021-10-28 Thread Łukasz Langa

Łukasz Langa  added the comment:


New changeset 3767e0d94351653a34ba6a6914e57c5c231012b0 by Miss Islington (bot) 
in branch '3.9':
bpo-45583: Correct datamodel documentation of int() (GH-29182) (GH-29286)
https://github.com/python/cpython/commit/3767e0d94351653a34ba6a6914e57c5c231012b0


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45583] Documentation of int() in datamodel.rst is out of date

2021-10-28 Thread Łukasz Langa

Łukasz Langa  added the comment:


New changeset fef54abf5fa3bf3d3cdeb2cba7a2921d204867c6 by Miss Islington (bot) 
in branch '3.10':
bpo-45583: Correct datamodel documentation of int() (GH-29182) (GH-29285)
https://github.com/python/cpython/commit/fef54abf5fa3bf3d3cdeb2cba7a2921d204867c6


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45583] Documentation of int() in datamodel.rst is out of date

2021-10-28 Thread Łukasz Langa

Łukasz Langa  added the comment:


New changeset 76658e5bdbdf57464f4b43f1625c02c2ba4222dd by Miss Islington (bot) 
in branch '3.8':
bpo-45583: Correct datamodel documentation of int() (GH-29182) (GH-29287)
https://github.com/python/cpython/commit/76658e5bdbdf57464f4b43f1625c02c2ba4222dd


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45583] Documentation of int() in datamodel.rst is out of date

2021-10-28 Thread Łukasz Langa

Łukasz Langa  added the comment:


New changeset d9c1868c25ec6466e8d8ae21fe9315a8a03836ab by Arthur Milchior in 
branch 'main':
bpo-45583: Correct datamodel documentation of int() (GH-29182)
https://github.com/python/cpython/commit/d9c1868c25ec6466e8d8ae21fe9315a8a03836ab


--
nosy: +lukasz.langa

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45583] Documentation of int() in datamodel.rst is out of date

2021-10-28 Thread miss-islington


Change by miss-islington :


--
pull_requests: +27549
pull_request: https://github.com/python/cpython/pull/29286

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45583] Documentation of int() in datamodel.rst is out of date

2021-10-28 Thread miss-islington


Change by miss-islington :


--
nosy: +miss-islington
nosy_count: 4.0 -> 5.0
pull_requests: +27548
pull_request: https://github.com/python/cpython/pull/29285

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45583] Documentation of int() in datamodel.rst is out of date

2021-10-28 Thread miss-islington


Change by miss-islington :


--
pull_requests: +27550
pull_request: https://github.com/python/cpython/pull/29287

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45583] Documentation of int() in datamodel.rst is out of date

2021-10-22 Thread Roundup Robot


Change by Roundup Robot :


--
keywords: +patch
nosy: +python-dev
nosy_count: 2.0 -> 3.0
pull_requests: +27456
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/29182

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45583] Documentation of int() in datamodel.rst is out of date

2021-10-22 Thread Arthur Milchior


New submission from Arthur Milchior :

In 3.8, int() default implementation changed, using __index__() if it is 
available instead of __trunc__(). The file function.rst was updated 
accordingly, but the redundant information in datamodel.rst contained out of 
date information

I offer a correction in https://github.com/python/cpython/pull/29182 (but 
ideally it should be added back to 3.8 python documentation)

--
assignee: docs@python
components: Documentation
messages: 404848
nosy: ArthurMilchior, docs@python
priority: normal
severity: normal
status: open
title: Documentation of int() in datamodel.rst is out of date
versions: Python 3.8

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com