cpython/Objects
Mark Dickinson e6a076d86c Issue #1869 (and 4707, 5118, 5473, 1456775): use the new
string <-> float conversion routines to make round(x, n) correctly
rounded for floats x, so that it always agrees with format(x, '.<n>f').

Also fix some other round nuisances, like round(123.456, 1-2**31) giving
an integer rather than a float.
2009-04-18 11:48:33 +00:00
..
stringlib The other half of Issue #1580: use short float repr where possible. 2009-04-16 20:16:10 +00:00
abstract.c Merged revisions 69846 via svnmerge from 2009-02-21 20:59:32 +00:00
boolobject.c Issue #1717: rename tp_compare to tp_reserved. I'll change the 2009-02-02 20:36:42 +00:00
bytearrayobject.c Add bytes/bytearray.maketrans() to mirror str.maketrans(), and deprecate 2009-04-12 15:51:51 +00:00
bytes_methods.c Add bytes/bytearray.maketrans() to mirror str.maketrans(), and deprecate 2009-04-12 15:51:51 +00:00
bytesobject.c The other half of Issue #1580: use short float repr where possible. 2009-04-16 20:16:10 +00:00
cellobject.c Issue #1717: rename tp_compare to tp_reserved. I'll change the 2009-02-02 20:36:42 +00:00
classobject.c Issue #1717: rename tp_compare to tp_reserved. I'll change the 2009-02-02 20:36:42 +00:00
cobject.c Issue #1717: rename tp_compare to tp_reserved. I'll change the 2009-02-02 20:36:42 +00:00
codeobject.c Issue #1717: rename tp_compare to tp_reserved. I'll change the 2009-02-02 20:36:42 +00:00
complexobject.c The other half of Issue #1580: use short float repr where possible. 2009-04-16 20:16:10 +00:00
descrobject.c Issue #1717: rename tp_compare to tp_reserved. I'll change the 2009-02-02 20:36:42 +00:00
dictnotes.txt
dictobject.c Merged revisions 70550 via svnmerge from 2009-03-23 19:19:54 +00:00
enumobject.c Issue #1717: rename tp_compare to tp_reserved. I'll change the 2009-02-02 20:36:42 +00:00
exceptions.c Fix segfaults when running test_exceptions with coverage tracing, caused by wrongly defining Exception.__context__ as a T_OBJECT structmember which does not set the member to NULL on None assignment, and generally does not do type checks. This could be used to crash the interpreter by setting any object to __context__. The same applies to __cause__. Also document the PyException_* functions. 2009-03-31 04:16:10 +00:00
fileobject.c Issue #1717: rename tp_compare to tp_reserved. I'll change the 2009-02-02 20:36:42 +00:00
floatobject.c Issue #1869 (and 4707, 5118, 5473, 1456775): use the new 2009-04-18 11:48:33 +00:00
frameobject.c Issue #1717: rename tp_compare to tp_reserved. I'll change the 2009-02-02 20:36:42 +00:00
funcobject.c Issue #1717: rename tp_compare to tp_reserved. I'll change the 2009-02-02 20:36:42 +00:00
genobject.c Merged revisions 70712,70714,70764-70765,70769-70771,70773,70776-70777,70788-70789,70824,70828,70832,70836,70842,70851,70855,70857,70866-70872,70883,70885,70893-70894,70896-70897,70903,70905-70907,70915,70927,70933,70951,70960,70962-70964,70998,71001,71006,71008,71010-71011,71019,71037,71056,71094,71101-71103,71106,71119,71123,71149-71150,71203,71212,71214-71217,71221,71240 via svnmerge from 2009-04-05 19:13:16 +00:00
iterobject.c Issue #1717: rename tp_compare to tp_reserved. I'll change the 2009-02-02 20:36:42 +00:00
listobject.c Issue 1242657: list(obj) can swallow KeyboardInterrupt. 2009-02-02 22:55:09 +00:00
listsort.txt Merged revisions 69846 via svnmerge from 2009-02-21 20:59:32 +00:00
longobject.c Rewrap some long lines. 2009-04-02 18:41:40 +00:00
memoryobject.c remove memoryview.__str__ #5182 2009-02-08 15:00:52 +00:00
methodobject.c Issue #1717: rename tp_compare to tp_reserved. I'll change the 2009-02-02 20:36:42 +00:00
moduleobject.c Issue #1717: rename tp_compare to tp_reserved. I'll change the 2009-02-02 20:36:42 +00:00
object.c Merge revision 71222 from trunk: #5615: make it possible to configure --without-threads again. 2009-04-05 11:47:34 +00:00
obmalloc.c Merged revisions 66616 via svnmerge from 2008-09-25 04:15:27 +00:00
rangeobject.c Issue #1717: rename tp_compare to tp_reserved. I'll change the 2009-02-02 20:36:42 +00:00
setobject.c Issue #1717: rename tp_compare to tp_reserved. I'll change the 2009-02-02 20:36:42 +00:00
sliceobject.c Issue #1717: rename tp_compare to tp_reserved. I'll change the 2009-02-02 20:36:42 +00:00
structseq.c Issue #1717: rename tp_compare to tp_reserved. I'll change the 2009-02-02 20:36:42 +00:00
tupleobject.c Merged revisions 70550 via svnmerge from 2009-03-23 19:19:54 +00:00
typeobject.c Merged revisions 70342,70385-70387,70389-70390,70392-70393,70395,70400,70405-70406,70418,70438,70464,70468 via svnmerge from 2009-03-21 17:31:58 +00:00
unicodectype.c Merged revisions 66362 via svnmerge from 2008-09-10 14:08:48 +00:00
unicodeobject.c The other half of Issue #1580: use short float repr where possible. 2009-04-16 20:16:10 +00:00
unicodetype_db.h fix isprintable() on space characters #5126 2009-03-26 17:15:46 +00:00
weakrefobject.c Issue #1717: rename tp_compare to tp_reserved. I'll change the 2009-02-02 20:36:42 +00:00