[issue12965] longobject: documentation improvements

2014-10-14 Thread Stefan Krah
Stefan Krah added the comment: This seems like too much trouble for 2.7. Closing, since I was the one who opened the issue (just reopen if you think it is still worth it). -- assignee: skrah -> resolution: -> fixed stage: patch review -> resolved status: open -> closed ___

[issue12965] longobject: documentation improvements

2012-06-23 Thread Stefan Krah
Stefan Krah added the comment: OK, I'll see if I find some time for the 2.7 docs. -- assignee: -> skrah ___ Python tracker ___ ___ P

[issue12965] longobject: documentation improvements

2012-06-23 Thread Mark Dickinson
Mark Dickinson added the comment: Docs mostly fixed now for Python 3.2 and Python 3.3. That leaves 2.7, where there are some additional complications (e.g., __long__ in addition to __int__, when / whether short ints are accepted, etc.). While it would be good to fix the 2.7 docs as well, I d

[issue12965] longobject: documentation improvements

2012-06-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset e1416a4d728a by Mark Dickinson in branch '3.2': Issue #12965: More PyLong_As* clarifications. Thanks Stefan Krah. http://hg.python.org/cpython/rev/e1416a4d728a New changeset 349bc58e8c66 by Mark Dickinson in branch 'default': Issue #12965: Merge

[issue12965] longobject: documentation improvements

2012-06-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3ace8e17074a by Mark Dickinson in branch '3.2': Issue #12965: Clean up C-API docs for PyLong_AsLongLong(AndOverflow); clarify that __int__ will be called for non-PyLongs http://hg.python.org/cpython/rev/3ace8e17074a New changeset 85683f005fc8 by M

[issue12965] longobject: documentation improvements

2012-06-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5ca9a51f3d85 by Mark Dickinson in branch '3.2': Issue #12965: Clean up C-API docs for PyLong_AsLong(AndOverflow); clarify that __int__ will be called for non-PyLongs http://hg.python.org/cpython/rev/5ca9a51f3d85 New changeset 63fc1552cd36 by Mark

[issue12965] longobject: documentation improvements

2011-12-03 Thread Stefan Krah
Stefan Krah added the comment: > Ultimately, I think it would make sense to remove all __int__ > conversions from Objects/longobject.c; +1 I think this API cleanup is worth some (probably very limited) breakage in third party modules. -- ___ Python

[issue12965] longobject: documentation improvements

2011-10-23 Thread Mark Dickinson
Mark Dickinson added the comment: > It could be fun to remove these conversions and see how much of the > test-suite fails. :-) ... On my machine, just test_ctypes and test_getargs2, as it turns out. -- ___ Python tracker

[issue12965] longobject: documentation improvements

2011-10-23 Thread Mark Dickinson
Mark Dickinson added the comment: I've fixed some of the inaccurate comments in Objects/longobject.c, for the default branch; I'm still looking at the Doc update. This really is a bit of a mess, especially for cases like PyLong_AsVoidPtr, which can either end up calling PyLong_As(Long)Long (

[issue12965] longobject: documentation improvements

2011-10-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset d4839fea4a5a by Mark Dickinson in branch 'default': Issue #12965: Fix some inaccurate comments in Objects/longobject.c. Thanks Stefan Krah. http://hg.python.org/cpython/rev/d4839fea4a5a -- nosy: +python-dev __

[issue12965] longobject: documentation improvements

2011-09-12 Thread Stefan Krah
Changes by Stefan Krah : -- assignee: docs@python -> mark.dickinson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue12965] longobject: documentation improvements

2011-09-12 Thread Stefan Krah
New submission from Stefan Krah : I think the integer objects documentation could be clearer on a couple of points: - Despite being listed under "Concrete Objects Layer", some functions implicitly accept anything with an __int__() method. Currently only the PyLong_AsLong() documentatio