- 26 Nis, 2011 1 kayıt (commit)
-
-
Ezio Melotti yazdı
-
- 13 Eyl, 2010 1 kayıt (commit)
-
-
Florent Xicluna yazdı
-
- 18 Eyl, 2009 1 kayıt (commit)
-
-
Benjamin Peterson yazdı
-
- 30 Haz, 2009 1 kayıt (commit)
-
-
Benjamin Peterson yazdı
-
- 23 May, 2009 2 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ı
-
- 14 Mar, 2009 1 kayıt (commit)
-
-
Eric Smith yazdı
For simple uses for str.format(), this makes the typing easier. Hopfully this will help in the adoption of str.format(). For example: 'The {} is {}'.format('sky', 'blue') You can mix and matcth auto-numbering and named replacement fields: 'The {} is {color}'.format('sky', color='blue') But you can't mix and match auto-numbering and specified numbering: 'The {0} is {}'.format('sky', 'blue') ValueError: cannot switch from manual field specification to automatic field numbering Will port to 3.1.
-
- 02 Agu, 2008 1 kayıt (commit)
-
-
Antoine Pitrou yazdı
-
- 03 May, 2008 1 kayıt (commit)
-
-
Benjamin Peterson yazdı
-
- 23 Şub, 2008 1 kayıt (commit)
-
-
Christian Heimes yazdı
-
- 17 Şub, 2008 1 kayıt (commit)
-
-
Eric Smith yazdı
Highlights: - Adding PyObject_Format. - Adding string.Format class. - Adding __format__ for str, unicode, int, long, float, datetime. - Adding builtin format. - Adding ''.format and u''.format. - str/unicode fixups for formatters. The files in Objects/stringlib that implement PEP 3101 (stringdefs.h, unicodedefs.h, formatter.h, string_format.h) are identical in trunk and py3k. Any changes from here on should be made to trunk, and changes will propogate to py3k).
-
- 11 Haz, 2007 2 kayıt (commit)
-
-
Neal Norwitz yazdı
Prevent these tests from running on Win64 since they don't apply there either
-
Neal Norwitz yazdı
-
- 09 Haz, 2007 2 kayıt (commit)
-
-
Neal Norwitz yazdı
a large width is passed on 32-bit platforms. Found by Google. It would be good for people to review this especially carefully and verify I don't have an off by one error and there is no other way to cause overflow.
-
Neal Norwitz yazdı
a large width is passed on 32-bit platforms. Found by Google. It would be good for people to review this especially carefully and verify I don't have an off by one error and there is no other way to cause overflow.
-
- 26 Nis, 2005 1 kayıt (commit)
-
-
Brett Cannon yazdı
conversion using the proper magic slot (e.g., __int__()). Also move conversion code out of PyNumber_*() functions in the C API into the nb_* function. Applied patch #1109424. Thanks Walter Doewald.
-
- 26 Agu, 2004 1 kayıt (commit)
-
-
Walter Dörwald yazdı
it can be used for str and unicode. Drop the test for "".join([s]) is s because this is an implementation detail (and doesn't work for unicode)
-
- 01 May, 2003 1 kayıt (commit)
-
-
Walter Dörwald yazdı
and test_support.run_classtests() into run_unittest() and use it wherever possible. Also don't use "from test.test_support import ...", but "from test import test_support" in a few spots. From SF patch #662807.
-
- 31 Mar, 2003 1 kayıt (commit)
-
-
Walter Dörwald yazdı
instead of raising a TypeError. (From SF patch #710127) Add tests to verify this is fixed. Add various tests for '%c' % int.
-
- 21 Şub, 2003 1 kayıt (commit)
-
-
Walter Dörwald yazdı
between str, unicode, UserString and the string module as possible. This increases code coverage in stringobject.c from 83% to 86% and should help keep the string classes in sync in the future. From SF patch #662807
-