43 Commits (69e9727657dad167215b656de910d95cefe1ee45)

Author SHA1 Message Date
Mark Dickinson fc070313dd Merged revisions 83400 via svnmerge from 16 years ago
Eric Smith 53f2f2eb05 Merged revisions 78350 via svnmerge from 16 years ago
Eric Smith 903fc05962 Merged revisions 78333 via svnmerge from 16 years ago
Eric Smith 7bc66b1009 Merged revisions 74222 via svnmerge from 17 years ago
Eric Smith 741191f17a Issue #3382. float 'F' formatting no longer maps to 'f'. This only affects nan and inf. 17 years ago
Eric Smith 63376228a3 Issue #5920: Changed format.__float__ and complex.__float__ to use a precision of 12 when using the empty presentation type. This more closely matches str()'s behavior and reduces surprises when adding alignment flags to an empty format string. Patch by Mark Dickinson. 17 years ago
Eric Smith 7255f18556 Merged revisions 72189 via svnmerge from 17 years ago
Mark Dickinson 33841c3489 Issue #5859: Remove '%f' to '%g' formatting switch for large floats. 17 years ago
Eric Smith 58a42244cf Issue #1588: Add complex.__format__. 17 years ago
Eric Smith 937491d1a9 Merged revisions 71802 via svnmerge from 17 years ago
Eric Smith 0923d1d8d7 The other half of Issue #1580: use short float repr where possible. 17 years ago
Eric Smith f64bce8ea7 Merged revisions 71548 via svnmerge from 17 years ago
Eric Smith b4a49f69b0 Resolves issue 5690: accidentally skipping code in non-debug build. 17 years ago
Eric Smith a3b1ac8dca Added ',' thousands grouping to int.__format__. See PEP 378. 17 years ago
Eric Smith f8c8b6d3ea Removed mixed tabs and whitespace. 17 years ago
Mark Dickinson c8a608c666 Merged revisions 70678 via svnmerge from 17 years ago
Eric Smith 5e5c0db5d7 Merged revisions 69806 via svnmerge from 17 years ago
Neal Norwitz 2f99b24172 Merged revisions 66006 via svnmerge from 18 years ago
Eric Smith 22b85b3ef8 Backed out r65073, pending fixing it in Windows. 18 years ago
Eric Smith a4fac36eb3 Merged revisions 65069 via svnmerge from 18 years ago
Eric Smith 05212a11e7 Merged revisions 65023 via svnmerge from 18 years ago
Eric Smith d68af8f743 Merged revisions 64984 via svnmerge from 18 years ago
Eric Smith b1ebcc6b0b Forward port of r64958. 18 years ago
Eric Smith b151a45a69 Merged revisions 64499 via svnmerge from 18 years ago
Eric Smith 6ed16dcf56 Merged revisions 64496 via svnmerge from 18 years ago
Eric Smith 6d7e7a730e Merged revisions 64491 via svnmerge from 18 years ago
Eric Smith 4a7d76ddb5 Refactor and clean up str.format() code (and helpers) in advance of optimizations. 18 years ago
Christian Heimes 72b710a596 Renamed PyString to PyBytes 18 years ago
Eric Smith 5807c415c5 Merged revisions 63078 via svnmerge from 18 years ago
Martin v. Löwis 5a6f4585fd Merged revisions 62199 via svnmerge from 18 years ago
Christian Heimes b186d0084c Merged revisions 61431,61433-61436,61439,61444,61449-61450,61453,61458,61465,61468,61471-61474,61480,61483-61484,61488,61495-61496,61498,61503-61504,61507,61509-61510,61515-61518 via svnmerge from 18 years ago
Christian Heimes c3f30c4337 Merged revisions 60481,60485,60489-60492,60494-60496,60498-60499,60501-60503,60505-60506,60508-60509,60523-60524,60532,60543,60545,60547-60548,60552,60554,60556-60559,60561-60562,60569,60571-60572,60574,60576-60583,60585-60586,60589,60591,60594-60595,60597-60598,60600-60601,60606-60612,60615,60617,60619-60621,60623-60625,60627-60629,60631,60633,60635,60647,60650,60652,60654,60656,60658-60659,60664-60666,60668-60670,60672,60676,60678,60680-60683,60685-60686,60688,60690,60692-60694,60697-60700,60705-60706,60708,60711,60714,60720,60724-60730,60732,60736,60742,60744,60746,60748,60750-60751,60753,60756-60757,60759-60761,60763-60764,60766,60769-60770,60774-60784,60787-60789,60793,60796,60799-60809,60812-60813,60815-60821,60823-60826,60828-60829,60831-60834,60836,60838-60839,60846-60849,60852-60854,60856-60859,60861-60870,60874-60875,60880-60881,60886,60888-60890,60892,60894-60898,60900-60931,60933-60958 via svnmerge from 18 years ago
Eric Smith 8fd3eba050 Fixes for shared 2.6 code that implements PEP 3101, advanced string 18 years ago
Eric Smith fa767efe06 Partially revert r60376: restore ability for ints to be automatically converted to floats, if a float type specifier is given to an int. PEP 3101 should be clarified on this point.Also, remove unused local variables left over from r60376. 18 years ago
Eric Smith 7b69c6c3af Restrict format presentation types to those specified in the 'Standard Format Specifiers' section of PEP 3101. 18 years ago
Christian Heimes 217cfd1c86 Cleanup: Replaced most PyInt_ aliases with PyLong_ and disabled the aliases in intobject.h 18 years ago
Eric Smith 37f10386f1 Changed to use 'U' argument to PyArg_ParseTuple, instead of manually checking for unicode objects. 19 years ago
Eric Smith 185e30cdf3 Added format tests. 19 years ago
Guido van Rossum 39342f4e65 Patch # 1048 by Amaury Forgeot d'Arc. 19 years ago
Eric Smith 44300950dc Corrected missed #if in r57652. 19 years ago
Eric Smith b7f5ba16db Added conditional compilation for '()', which was an allowed sign code in a 19 years ago
Eric Smith 0cb431c071 Code layout changes for PEP 7 compliance. 19 years ago
Eric Smith 8c66326368 Implementation of PEP 3101, Advanced String Formatting. 19 years ago