- 03 Agu, 2017 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
Previously any exception was replaced with a KeyError exception.
-
- 23 Ock, 2017 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
possible but Coccinelle couldn't find opportunity.
-
- 17 Nis, 2016 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
-
- 26 Agu, 2015 1 kayıt (commit)
-
-
Eric V. Smith yazdı
-
- 27 Kas, 2013 1 kayıt (commit)
-
-
Benjamin Peterson yazdı
-
- 17 May, 2013 2 kayıt (commit)
-
-
Benjamin Peterson yazdı
-
Benjamin Peterson yazdı
-
- 17 Nis, 2013 1 kayıt (commit)
-
-
Victor Stinner yazdı
* Add also min_char attribute to _PyUnicodeWriter structure (currently unused) * _PyUnicodeWriter_Init() has no more argument (except the writer itself): min_length and overallocate must be set explicitly * In error handlers, only enable overallocation if the replacement string is longer than 1 character * CJK decoders don't use overallocation anymore * Set min_length, instead of preallocating memory using _PyUnicodeWriter_Prepare(), in many decoders * _PyUnicode_DecodeUnicodeInternal() checks for integer overflow
-
- 02 Nis, 2013 1 kayıt (commit)
-
-
Victor Stinner yazdı
Write a function to enable more optimizations: * If the substring is the whole string and overallocation is disabled, just keep a reference to the string, don't copy characters * Avoid a call to the expensive _PyUnicode_FindMaxChar() function when possible
-
- 23 Şub, 2013 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
-
- 04 Haz, 2012 1 kayıt (commit)
-
-
Victor Stinner yazdı
-
- 29 May, 2012 1 kayıt (commit)
-
-
Victor Stinner yazdı
* Formatting string, int, float and complex use the _PyUnicodeWriter API. It avoids a temporary buffer in most cases. * Add _PyUnicodeWriter_WriteStr() to restore the PyAccu optimization: just keep a reference to the string if the output is only composed of one string * Disable overallocation when formatting the last argument of str%args and str.format(args) * Overallocation allocates at least 100 characters: add min_length attribute to the _PyUnicodeWriter structure * Add new private functions: _PyUnicode_FastCopyCharacters(), _PyUnicode_FastFill() and _PyUnicode_FromASCII() The speed up is around 20% in average.
-
- 09 May, 2012 2 kayıt (commit)
-
-
Victor Stinner yazdı
-
Victor Stinner yazdı
Optimize also PyUnicode_Format(): call unicode_writer_prepare() only once per argument.
-
- 07 May, 2012 1 kayıt (commit)
-
-
Victor Stinner yazdı
PyAccu API. For example, it makes str.format() from 25% to 30% faster on Linux.
-
- 01 Ara, 2011 1 kayıt (commit)
-
-
Victor Stinner yazdı
Create an empty string with the new Unicode API.
-
- 03 Kas, 2011 1 kayıt (commit)
-
-
Victor Stinner yazdı
* _PyUnicode_CheckConsistency() now takes a PyObject* instead of void* * Remove now useless casts to PyObject*
-
- 07 Eki, 2011 1 kayıt (commit)
-
-
Antoine Pitrou yazdı
Example: ./python -m timeit -s "f='{}' + '-' * 1024 + '{}'; s='abcd' * 16384" "f.format(s, s)" -> before: 547 usec per loop -> after: 13 usec per loop -> 3.2: 22.5 usec per loop -> 2.7: 12.6 usec per loop
-
- 06 Eki, 2011 1 kayıt (commit)
-
-
Antoine Pitrou yazdı
-
- 28 Eyl, 2011 1 kayıt (commit)
-
-
Martin v. Löwis yazdı
-
- 25 Eyl, 2011 1 kayıt (commit)
-
-
Mark Dickinson yazdı
Issue #1621: Fix undefined behaviour from signed overflow in datetime module hashes, array and list iterations, and get_integer (stringlib/string_format.h)
-
- 18 Tem, 2011 1 kayıt (commit)
-
-
Eric V. Smith yazdı
Closes #12579. Positional fields with str.format_map() now raise a ValueError instead of SystemError.
-
- 15 Mar, 2011 2 kayıt (commit)
-
-
Ezio Melotti yazdı
-
Ezio Melotti yazdı
-
- 29 Ock, 2011 1 kayıt (commit)
-
-
Eric Smith yazdı
Issue #11302: missing type check on _string.formatter_field_name_split and _string.formatter_parser caused crash. Originial patch by haypo, reviewed by me, okayed by Georg.
-
- 05 Kas, 2010 1 kayıt (commit)
-
-
Antoine Pitrou yazdı
-
- 04 Kas, 2010 1 kayıt (commit)
-
-
Eric Smith yazdı
Issue #6081: Add str.format_map. str.format_map(mapping) is similar to str.format(**mapping), except mapping does not get converted to a dict.
-
- 14 Eki, 2010 1 kayıt (commit)
-
-
Georg Brandl yazdı
-
- 08 Haz, 2010 1 kayıt (commit)
-
-
Benjamin Peterson yazdı
svn+ssh://pythondev@svn.python.org/python/branches/py3k ................ r81823 | benjamin.peterson | 2010-06-07 17:31:26 -0500 (Mon, 07 Jun 2010) | 9 lines Merged revisions 81820 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r81820 | benjamin.peterson | 2010-06-07 17:23:23 -0500 (Mon, 07 Jun 2010) | 1 line correctly overflow when indexes are too large ........ ................ r81835 | benjamin.peterson | 2010-06-08 09:57:22 -0500 (Tue, 08 Jun 2010) | 9 lines Merged revisions 81834 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r81834 | benjamin.peterson | 2010-06-08 09:53:29 -0500 (Tue, 08 Jun 2010) | 1 line kill extra word ........ ................
-
- 07 Haz, 2010 3 kayıt (commit)
-
-
Benjamin Peterson yazdı
svn+ssh://pythondev@svn.python.org/python/trunk ........ r81820 | benjamin.peterson | 2010-06-07 17:23:23 -0500 (Mon, 07 Jun 2010) | 1 line correctly overflow when indexes are too large ........
-
Benjamin Peterson yazdı
svn+ssh://pythondev@svn.python.org/python/trunk ........ r81820 | benjamin.peterson | 2010-06-07 17:23:23 -0500 (Mon, 07 Jun 2010) | 1 line correctly overflow when indexes are too large ........
-
Benjamin Peterson yazdı
-
- 09 May, 2010 4 kayıt (commit)
-
-
Antoine Pitrou yazdı
svn+ssh://pythondev@svn.python.org/python/branches/py3k ................ r81032 | antoine.pitrou | 2010-05-09 17:52:27 +0200 (dim., 09 mai 2010) | 9 lines Recorded merge of revisions 81029 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r81029 | antoine.pitrou | 2010-05-09 16:46:46 +0200 (dim., 09 mai 2010) | 3 lines Untabify C files. Will watch buildbots. ........ ................
-
Antoine Pitrou yazdı
svn+ssh://pythondev@svn.python.org/python/trunk ........ r81029 | antoine.pitrou | 2010-05-09 16:46:46 +0200 (dim., 09 mai 2010) | 3 lines Untabify C files. Will watch buildbots. ........
-
Antoine Pitrou yazdı
svn+ssh://pythondev@svn.python.org/python/trunk ........ r81029 | antoine.pitrou | 2010-05-09 16:46:46 +0200 (dim., 09 mai 2010) | 3 lines Untabify C files. Will watch buildbots. ........
-
Antoine Pitrou yazdı
-
- 23 May, 2009 3 kayıt (commit)
-
-
Eric Smith yazdı
svn+ssh://pythondev@svn.python.org/python/trunk ........ r72848 | eric.smith | 2009-05-23 09:56:13 -0400 (Sat, 23 May 2009) | 1 line Issue 6089: str.format raises SystemError. ........
-
Eric Smith yazdı
svn+ssh://pythondev@svn.python.org/python/trunk ........ r72848 | eric.smith | 2009-05-23 09:56:13 -0400 (Sat, 23 May 2009) | 1 line Issue 6089: str.format raises SystemError. ........
-
Eric Smith yazdı
-
- 01 May, 2009 1 kayıt (commit)
-
-
Georg Brandl yazdı
svn+ssh://pythondev@svn.python.org/python/trunk ........ r72159 | georg.brandl | 2009-05-01 10:51:37 +0200 (Fr, 01 Mai 2009) | 2 lines #5889: remove comma at the end of a list that some C compilers don't like. ........
-