Author: eric.smith
Date: Sun Jan 27 22:07:59 2008
New Revision: 60376
Modified:
python/branches/py3k/Lib/test/test_float.py
python/branches/py3k/Lib/test/test_long.py
python/branches/py3k/Objects/stringlib/formatter.h
Log:
Restrict format presentation types to those specified in the
Author: eric.smith
Date: Mon Jan 28 11:59:27 2008
New Revision: 60390
Modified:
python/branches/py3k/Lib/test/test_long.py
python/branches/py3k/Objects/stringlib/formatter.h
Log:
Partially revert r60376: restore ability for ints to be automatically converted
to floats, if a float type
Author: eric.smith
Date: Sun Feb 10 02:44:44 2008
New Revision: 60708
Modified:
python/branches/py3k/ (props changed)
Log:
r60707 does not need porting to py3k from trunk.
___
Python-3000-checkins mailing list
[email protected]
http
Author: eric.smith
Date: Sun Feb 10 16:09:40 2008
New Revision: 60714
Modified:
python/branches/py3k/ (props changed)
Log:
Block r60713 with svnmerge.
___
Python-3000-checkins mailing list
[email protected]
http://mail.python.org
Author: eric.smith
Date: Mon Feb 11 18:55:01 2008
New Revision: 60729
Modified:
python/branches/py3k/Lib/test/test_long.py
Log:
Renamed test_format to test__format__, since it really tests the __format__
method. It was hiding another method of the same name.
Modified: python/branches/py3k
Author: eric.smith
Date: Sun Feb 17 20:48:00 2008
New Revision: 60880
Modified:
python/branches/py3k/Include/abstract.h
python/branches/py3k/Lib/test/test_builtin.py
python/branches/py3k/Lib/test/test_datetime.py
python/branches/py3k/Modules/datetimemodule.c
python/branches/py3k
Author: eric.smith
Date: Sun Feb 17 20:48:57 2008
New Revision: 60881
Modified:
python/branches/py3k/ (props changed)
Log:
Blocked 60879 (backport of PEP 3101).
___
Python-3000-checkins mailing list
[email protected]
http
Author: eric.smith
Date: Mon Feb 18 19:09:30 2008
New Revision: 60895
Modified:
python/branches/py3k/ (props changed)
Log:
block r60893
___
Python-3000-checkins mailing list
[email protected]
http://mail.python.org/mailman/listinfo
Author: eric.smith
Date: Mon Feb 18 19:07:47 2008
New Revision: 60894
Modified:
python/branches/py3k/Objects/stringlib/string_format.h
Log:
Port 60893 to py3k, without unicode test.
Modified: python/branches/py3k/Objects/stringlib/string_format.h
Author: eric.smith
Date: Tue Feb 19 13:29:58 2008
New Revision: 60900
Modified:
python/branches/py3k/ (props changed)
Log:
block r60899
___
Python-3000-checkins mailing list
[email protected]
http://mail.python.org/mailman/listinfo
Author: eric.smith
Date: Thu Feb 21 21:18:44 2008
New Revision: 60934
Modified:
python/branches/py3k/ (props changed)
Log:
Block r60932 with svnmerge.
___
Python-3000-checkins mailing list
[email protected]
http://mail.python.org
Author: eric.smith
Date: Fri Feb 22 17:31:15 2008
New Revision: 60963
Modified:
python/branches/py3k/ (props changed)
Log:
Block r60962 with svnmerge.
___
Python-3000-checkins mailing list
[email protected]
http://mail.python.org
Author: eric.smith
Date: Sat Feb 23 04:11:44 2008
New Revision: 60971
Modified:
python/branches/py3k/ (props changed)
Log:
Blocked r60970 with svnmerge.
___
Python-3000-checkins mailing list
[email protected]
http://mail.python.org
Author: eric.smith
Date: Mon Aug 27 00:27:13 2007
New Revision: 57526
Modified:
python/branches/py3k/Include/unicodeobject.h
python/branches/py3k/Lib/string.py
python/branches/py3k/Lib/test/test_string.py
python/branches/py3k/Lib/test/test_unicode.py
python/branches/py3k/Objects
Author: eric.smith
Date: Mon Aug 27 13:33:42 2007
New Revision: 57557
Modified:
python/branches/py3k/Objects/unicodeobject.c
Log:
Fixed accidental indentation change.
Modified: python/branches/py3k/Objects/unicodeobject.c
Author: eric.smith
Date: Mon Aug 27 17:31:40 2007
New Revision: 57559
Modified:
python/branches/py3k/Python/bltinmodule.c
Log:
Added test to ensure __format__ methods return unicode objects.
Modified: python/branches/py3k/Python/bltinmodule.c
Author: eric.smith
Date: Mon Aug 27 21:07:22 2007
New Revision: 57569
Modified:
python/branches/py3k/Lib/test/test_builtin.py
python/branches/py3k/Lib/test/test_unicode.py
Log:
Additional test for formatting code.
Modified: python/branches/py3k/Lib/test/test_builtin.py
Author: eric.smith
Date: Tue Aug 28 01:30:47 2007
New Revision: 57584
Modified:
python/branches/py3k/Objects/stringlib/string_format.h
python/branches/py3k/Objects/unicodeobject.c
Log:
Cleanup in anticipation of moving formatteriterator and fieldnameiterator into
stringlib/string_format.h
Author: eric.smith
Date: Tue Aug 28 01:52:26 2007
New Revision: 57588
Modified:
python/branches/py3k/Objects/stringlib/string_format.h
python/branches/py3k/Objects/unicodeobject.c
Log:
Moved fieldnameiterator and formatteriterator to stringlib/string_format.h, so
that they can be used when
Author: eric.smith
Date: Tue Aug 28 03:07:27 2007
New Revision: 57592
Modified:
python/branches/py3k/Objects/stringlib/formatter.h
python/branches/py3k/Objects/stringlib/string_format.h
Log:
Code layout changes for PEP 7 compliance.
Modified: python/branches/py3k/Objects/stringlib
Author: eric.smith
Date: Tue Aug 28 11:45:15 2007
New Revision: 57613
Modified:
python/branches/py3k/Objects/stringlib/unicodedefs.h
Log:
Changed STRINGLIB_CMP from an inline function to a macro in order to avoid a
'defined but not used' warning.
Modified: python/branches/py
Author: eric.smith
Date: Tue Aug 28 13:15:20 2007
New Revision: 57615
Modified:
python/branches/py3k/Lib/string.py
python/branches/py3k/Objects/stringlib/string_format.h
Log:
Simplified tuple returned by string._formatter_parser to only have
4 elements. No need for old is_markup element
Author: eric.smith
Date: Wed Aug 29 05:22:59 2007
New Revision: 57641
Modified:
python/branches/py3k/Lib/string.py
python/branches/py3k/Objects/stringlib/string_format.h
Log:
Modified parsing of format strings, so that we always return
a tuple (literal, field_name, format_spec, conversion
Author: eric.smith
Date: Wed Aug 29 14:43:12 2007
New Revision: 57653
Modified:
python/branches/py3k/Objects/stringlib/formatter.h
Log:
Corrected missed #if in r57652.
Modified: python/branches/py3k/Objects/stringlib/formatter.h
Author: eric.smith
Date: Wed Aug 29 14:38:45 2007
New Revision: 57652
Modified:
python/branches/py3k/Objects/stringlib/formatter.h
Log:
Added conditional compilation for '()', which was an allowed sign code in a
previous version of PEP 3101. It's currently not compiled in, but
Author: eric.smith
Date: Fri Aug 31 00:23:08 2007
New Revision: 57775
Modified:
python/branches/py3k/Lib/test/test_builtin.py
python/branches/py3k/Lib/test/test_long.py
python/branches/py3k/Lib/test/test_unicode.py
python/branches/py3k/Objects/stringlib/formatter.h
Log:
Added format
Author: eric.smith
Date: Fri Aug 31 03:14:01 2007
New Revision: 57797
Modified:
python/branches/py3k/Lib/test/test_builtin.py
python/branches/py3k/Lib/test/test_string.py
python/branches/py3k/Python/bltinmodule.c
Log:
Added test cases for string.Formatter subclassing.
Made format_spec
Author: eric.smith
Date: Fri Aug 31 03:33:06 2007
New Revision: 57798
Modified:
python/branches/py3k/Lib/test/test_float.py
Log:
Fixed test name.
Modified: python/branches/py3k/Lib/test/test_float.py
==
--- python
Author: eric.smith
Date: Fri Aug 31 04:26:31 2007
New Revision: 57799
Modified:
python/branches/py3k/Lib/string.py
python/branches/py3k/Lib/test/test_string.py
Log:
Changed signature of string.Formatter.get_field, per suggestion by
Ron Adam.
Added test case for using all parameters in
Author: eric.smith
Date: Fri Aug 31 20:39:38 2007
New Revision: 57853
Modified:
python/branches/py3k/Objects/unicodeobject.c
Log:
Removed unicode_format and unicode__format__, they just called through to other
functions.
Modified: python/branches/py3k/Objects/unicodeobject.c
Author: eric.smith
Date: Sat Sep 1 12:56:01 2007
New Revision: 57866
Modified:
python/branches/py3k/Lib/test/test_builtin.py
python/branches/py3k/Lib/test/test_unicode.py
python/branches/py3k/Objects/stringlib/formatter.h
python/branches/py3k/Objects/stringlib/stringdefs.h
python
Author: eric.smith
Date: Sun Sep 2 17:33:26 2007
New Revision: 57906
Modified:
python/branches/py3k/Doc/library/string.rst
python/branches/py3k/Lib/string.py
Log:
Removed used_args param from string.Formatter.get_field. It was left in by
mistake from an earlier edit.
Modified: python
Author: eric.smith
Date: Mon Sep 3 10:40:29 2007
New Revision: 57929
Modified:
python/branches/py3k/Lib/test/test_unicode.py
python/branches/py3k/Objects/stringlib/string_format.h
Log:
Fix segfault discovered by Ron Adam. Not checking for terminating right
bracket in "'{0
Author: eric.smith
Date: Wed Sep 5 01:04:22 2007
New Revision: 57976
Modified:
python/branches/py3k/Lib/string.py
python/branches/py3k/Lib/test/test_unicode.py
python/branches/py3k/Objects/stringlib/string_format.h
Log:
Changed some ValueError's to KeyError and IndexError.
Corr
Author: eric.smith
Date: Wed Sep 5 04:02:43 2007
New Revision: 57982
Modified:
python/branches/py3k/Objects/stringlib/string_format.h
Log:
Simplified recursion logic. Modified variable name to match string.Formatter.
Modified: python/branches/py3k/Objects/stringlib/string_format.h
Author: eric.smith
Date: Tue Sep 11 20:06:02 2007
New Revision: 58105
Modified:
python/branches/py3k/Lib/test/test_datetime.py
python/branches/py3k/Modules/datetimemodule.c
Log:
Added __format__ method to datetime.datetime, datetime.date, and datetime.time.
If format_spec is empty
Author: eric.smith
Date: Fri Jan 11 01:17:22 2008
New Revision: 59899
Modified:
python/branches/py3k/Lib/test/test_builtin.py
python/branches/py3k/Objects/typeobject.c
Log:
Simplifed argument parsing in object.__format__, added test case.
Modified: python/branches/py3k/Lib/test
Author: eric.smith
Date: Fri Jan 11 01:32:16 2008
New Revision: 59901
Modified:
python/branches/py3k/Lib/test/test_builtin.py
Log:
Added the test cases I actually meant to add.
Modified: python/branches/py3k/Lib/test/test_builtin.py
38 matches
Mail list logo