summaryrefslogtreecommitdiff
path: root/Objects/stringlib
AgeCommit message (Expand)AuthorLines
2010-01-02Issue #7462: Implement the stringlib fast search algorithm for the `rfind`,Antoine Pitrou-85/+93
2009-11-29Issue #3382: Make '%F' and float.__format__('F') convert results to upper cas...Eric Smith-14/+0
2009-11-23Issue #7117, continued: Remove substitution of %g-style formatting forMark Dickinson-6/+0
2009-07-30Issue 6330: Fix --enable-unicode=ucs4.Eric Smith-3/+20
2009-07-27Sync trunk and py3k versions of string formatting. Will manually merge into p...Eric Smith-0/+6
2009-05-23Issue 6089: str.format raises SystemError.Eric Smith-2/+3
2009-05-05Issue #5920: Changed format.__float__ and complex.__float__ to use a precisio...Eric Smith-4/+8
2009-05-02Keep py3k and trunk code in sync.Eric Smith-0/+4
2009-05-01#5889: remove comma at the end of a list that some C compilers don't like.Georg Brandl-1/+1
2009-04-30Issue #1588: Add complex.__format__.Eric Smith-49/+334
2009-04-27Issue #5793: rationalize isdigit / isalpha / tolower, etc. Will port to py3k....Eric Smith-11/+2
2009-04-22Fixed issue 5782: formatting with commas didn't work if no specifier type cod...Eric Smith-0/+1
2009-04-22Backport of some of the work in r71665 to trunk. This reworks much ofEric Smith-431/+664
2009-04-13Fixed incorrect object passed into format_float_internal(). This was resultin...Eric Smith-1/+1
2009-03-29Issue #532631: Replace confusing fabs(x)/1e25 >= 1e25 testMark Dickinson-1/+1
2009-03-14Issue 5237, Allow auto-numbered replacement fields in str.format() strings.Eric Smith-44/+129
2009-02-20Issue #5247: Improve error message when unknown format codes are used when us...Eric Smith-17/+31
2009-01-20fix urlBenjamin Peterson-1/+1
2009-01-13Issue #4935: The overflow checking code in the expandtabs() method commonAntoine Pitrou-37/+30
2008-09-26#3967: Correct a crash in count() and find() methods of string-like objects.Amaury Forgeot d'Arc-8/+6
2008-08-24Fix:Neal Norwitz-1/+4
2008-08-22Silenced compiler warningChristian Heimes-1/+1
2008-08-18Backport of r63826.Eric Smith-6/+42
2008-07-17Backed out r65069, pending fixing it in Windows.Eric Smith-6/+6
2008-07-17Issue 3382: Make '%F' and float.__format__('F') convert results to upper case.Eric Smith-6/+6
2008-07-16Renamed a parameter in calc_number_widths, for consistency with the same para...Eric Smith-32/+32
2008-07-16Complete issue 3083: add alternate (#) formatting to bin, oct, hex in str.for...Eric Smith-30/+68
2008-07-15Added '#' formatting to integers. This adds the 0b, 0o, or 0x prefix for bin...Eric Smith-13/+43
2008-06-24Fixed formatting with thousands separator and padding. Resolves issue 3140.Eric Smith-13/+13
2008-06-24Typo in comment.Eric Smith-1/+1
2008-06-24Modified interface to _Py_[String|Unicode]InsertThousandsGrouping, in anticip...Eric Smith-20/+27
2008-06-09This reverts r63675 based on the discussion in this thread:Gregory P. Smith-8/+8
2008-05-30Refactor and clean up str.format() code (and helpers) in advance of optimizat...Eric Smith-69/+47
2008-05-26Renamed PyString to PyBytesChristian Heimes-9/+9
2008-05-11Addresses issue 2802: 'n' formatting for integers.Eric Smith-3/+150
2008-04-07Bug #2388: Fix gcc warnings when compiling with --enable-unicode=ucs4.Martin v. Löwis-5/+24
2008-03-26Merged revisions 61750,61752,61754,61756,61760,61763,61768,61772,61775,61805,...Christian Heimes-0/+472
2008-03-17Issue 2264: empty float presentation type needs to have at least one digit pa...Eric Smith-1/+6
2008-02-24Corrected assert to check for correct type in py3k.Eric Smith-1/+1
2008-02-20Now that PyOS_ascii_formatd supports the 'n' format, simplify the float forma...Eric Smith-40/+15
2008-02-18Added code to correct combining str and unicode in ''.format(). Added test c...Eric Smith-0/+16
2008-02-17Backport of PEP 3101, Advanced String Formatting, from py3k.Eric Smith-0/+2273
2007-11-16Made _ParseTupleFinds only defined to unicodeobject.cFacundo Batista-0/+3
2007-11-16Fix for stupid error (I need to remember to do a full 'make clean + make'Facundo Batista-1/+1
2007-11-16Now in find, rfind, index, and rindex, you can use None as defaults,Facundo Batista-0/+47
2006-09-04Fix endcase for str.rpartition()Raymond Hettinger-4/+4
2006-05-30changed count to return 0 for slices outside the source stringFredrik Lundh-1/+1
2006-05-30changed find/rfind to return -1 for matches outside the source stringFredrik Lundh-10/+11
2006-05-29fixed "abc".count("", 100) == -96 error (hopefully, nobody's relying onFredrik Lundh-1/+4
2006-05-27needforspeed: stringlib refactoring: changed find_obj to find_slice,Fredrik Lundh-18/+39