164 Commits (671cd3290bb046060c8173b5c8294e35fd02ca3d)

Author SHA1 Message Date
Christian Heimes 4f3c5616cc Removed merge glitch from stringlib/find.h as explained on the python committers list. The FROM_BYTEARRAY isn't required here. 18 years ago
Benjamin Peterson a786b026c9 Merged revisions 65910,65977,65980,65984,65986,66000,66011-66012,66014,66017,66020 via svnmerge from 18 years ago
Neal Norwitz 2f99b24172 Merged revisions 66006 via svnmerge from 18 years ago
Neal Norwitz 18aa388ca0 Fix: 18 years ago
Christian Heimes 7d4c3177d5 Silenced compiler warning 18 years ago
Eric Smith e5bdccc77b Backport of r63826. 18 years ago
Eric Smith d6c393ab2b Backed out r65069, pending fixing it in Windows. 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 454816d8bd Issue 3382: Make '%F' and float.__format__('F') convert results to upper case. 18 years ago
Eric Smith 05212a11e7 Merged revisions 65023 via svnmerge from 18 years ago
Eric Smith 4cb965ca91 Renamed a parameter in calc_number_widths, for consistency with the same parameter in fill_non_digits. 18 years ago
Eric Smith d68af8f743 Merged revisions 64984 via svnmerge from 18 years ago
Eric Smith a5fa5a218d Complete issue 3083: add alternate (#) formatting to bin, oct, hex in str.format(). 18 years ago
Eric Smith b1ebcc6b0b Forward port of r64958. 18 years ago
Eric Smith d0c841243c Added '#' formatting to integers. This adds the 0b, 0o, or 0x prefix for bin, oct, hex. There's still one failing case, and I need to finish the docs. I hope to finish those today. 18 years ago
Eric Smith b151a45a69 Merged revisions 64499 via svnmerge from 18 years ago
Eric Smith 5dce7e9a83 Fixed formatting with thousands separator and padding. Resolves issue 3140. 18 years ago
Eric Smith 6ed16dcf56 Merged revisions 64496 via svnmerge from 18 years ago
Eric Smith 9ea1e36957 Typo in comment. 18 years ago
Eric Smith 6d7e7a730e Merged revisions 64491 via svnmerge from 18 years ago
Eric Smith 65fe47b931 Modified interface to _Py_[String|Unicode]InsertThousandsGrouping, in anticipation of fixing issue 3140. 18 years ago
Georg Brandl 559e5d7f4d #2630: Implement PEP 3138. 18 years ago
Gregory P. Smith dd96db63f6 This reverts r63675 based on the discussion in this thread: 18 years ago
Eric Smith ba8c028391 Refactored known type optimization, in anticipation of backporting to 2.6. I'll probably move this code into PyObject_Format, so everyone benefits. 18 years ago
Eric Smith 1d138f1c1a Optimization of str.format() for cases with unicode, long, and float 18 years ago
Eric Smith 4a7d76ddb5 Refactor and clean up str.format() code (and helpers) in advance of optimizations. 18 years ago
Eric Smith dc13b79a38 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
Christian Heimes 593daf545b Renamed PyString to PyBytes 18 years ago
Eric Smith 5807c415c5 Merged revisions 63078 via svnmerge from 18 years ago
Eric Smith cf537ff39e Addresses issue 2802: 'n' formatting for integers. 18 years ago
Martin v. Löwis 5a6f4585fd Merged revisions 62199 via svnmerge from 18 years ago
Martin v. Löwis d918e4e068 Bug #2388: Fix gcc warnings when compiling with --enable-unicode=ucs4. 18 years ago
Christian Heimes 1a6387e683 Merged revisions 61750,61752,61754,61756,61760,61763,61768,61772,61775,61805,61809,61812,61819,61917,61920,61930,61933-61934 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
Eric Smith 8113ca63b9 Issue 2264: empty float presentation type needs to have at least one digit past the decimal point. 18 years ago
Eric Smith ecbac8f38f Corrected assert to check for correct type in py3k. 19 years ago
Eric Smith 4b051eecb9 Corrected assert to check for correct type in py3k. 19 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 19 years ago
Eric Smith 8a803dd94b Now that PyOS_ascii_formatd supports the 'n' format, simplify the float formatting code to just call it. 19 years ago
Eric Smith 8a0217cd86 Port 60893 to py3k, without unicode test. 19 years ago
Eric Smith bc32fee029 Added code to correct combining str and unicode in ''.format(). Added test case. 19 years ago
Eric Smith 8fd3eba050 Fixes for shared 2.6 code that implements PEP 3101, advanced string 19 years ago
Eric Smith a9f7d62480 Backport of PEP 3101, Advanced String Formatting, from py3k. 19 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. 19 years ago
Eric Smith 7b69c6c3af Restrict format presentation types to those specified in the 'Standard Format Specifiers' section of PEP 3101. 19 years ago
Christian Heimes 90aa7646af #1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT. 19 years ago
Christian Heimes 0ded5b54bb Fixed issue #1564: The set implementation should special-case PyUnicode instead of PyString 19 years ago
Christian Heimes 217cfd1c86 Cleanup: Replaced most PyInt_ aliases with PyLong_ and disabled the aliases in intobject.h 19 years ago