A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2011-September/113744.html below:

[Python-Dev] [Python-checkins] cpython: Implement PEP 393.

[Python-Dev] [Python-checkins] cpython: Implement PEP 393.Eric V. Smith eric at trueblade.com
Thu Sep 29 01:21:48 CEST 2011
Is there some reason str.format had such major surgery done to it? It
appears parts of it were removed from stringlib. I had not even thought
to look at the code before it was merged, as it never occurred to me
anyone would do that.

I left it in stringlib even in 3.x because there's the occasional talk
of adding bytes.bformat, and since all of the code works well with
stringlib (since it was used by str and unicode in 2.x), it made sense
to leave it there.

In addition, there are outstanding patches that are now broken.

I'd prefer it return to how it used to be, and just the minimum changes
required for PEP 393 be made to it.

Thanks.
Eric.

On 9/28/2011 2:35 AM, martin.v.loewis wrote:
> http://hg.python.org/cpython/rev/8beaa9a37387
> changeset:   72475:8beaa9a37387
> user:        Martin v. Löwis <martin at v.loewis.de>
> date:        Wed Sep 28 07:41:54 2011 +0200
> summary:
>   Implement PEP 393.
> 
> files:
>   Doc/c-api/unicode.rst                  |     9 +
>   Include/Python.h                       |     5 +
>   Include/complexobject.h                |     5 +-
>   Include/floatobject.h                  |     5 +-
>   Include/longobject.h                   |     6 +-
>   Include/pyerrors.h                     |     6 +
>   Include/pyport.h                       |     3 +
>   Include/unicodeobject.h                |   783 +-
>   Lib/json/decoder.py                    |     3 +-
>   Lib/test/json_tests/test_scanstring.py |    11 +-
>   Lib/test/test_codeccallbacks.py        |     7 +-
>   Lib/test/test_codecs.py                |     4 +
>   Lib/test/test_peepholer.py             |     4 -
>   Lib/test/test_re.py                    |     7 +
>   Lib/test/test_sys.py                   |    38 +-
>   Lib/test/test_unicode.py               |    41 +-
>   Makefile.pre.in                        |     6 +-
>   Misc/NEWS                              |     2 +
>   Modules/_codecsmodule.c                |     8 +-
>   Modules/_csv.c                         |     2 +-
>   Modules/_ctypes/_ctypes.c              |     6 +-
>   Modules/_ctypes/callproc.c             |     8 -
>   Modules/_ctypes/cfield.c               |    64 +-
>   Modules/_cursesmodule.c                |     7 +-
>   Modules/_datetimemodule.c              |    13 +-
>   Modules/_dbmmodule.c                   |    12 +-
>   Modules/_elementtree.c                 |    31 +-
>   Modules/_io/_iomodule.h                |     2 +-
>   Modules/_io/stringio.c                 |    69 +-
>   Modules/_io/textio.c                   |   352 +-
>   Modules/_json.c                        |   252 +-
>   Modules/_pickle.c                      |     4 +-
>   Modules/_sqlite/connection.c           |    19 +-
>   Modules/_sre.c                         |   382 +-
>   Modules/_testcapimodule.c              |     2 +-
>   Modules/_tkinter.c                     |    70 +-
>   Modules/arraymodule.c                  |     8 +-
>   Modules/md5module.c                    |    10 +-
>   Modules/operator.c                     |    27 +-
>   Modules/pyexpat.c                      |    11 +-
>   Modules/sha1module.c                   |    10 +-
>   Modules/sha256module.c                 |    10 +-
>   Modules/sha512module.c                 |    10 +-
>   Modules/sre.h                          |     4 +-
>   Modules/syslogmodule.c                 |    14 +-
>   Modules/unicodedata.c                  |    28 +-
>   Modules/zipimport.c                    |   141 +-
>   Objects/abstract.c                     |     4 +-
>   Objects/bytearrayobject.c              |   147 +-
>   Objects/bytesobject.c                  |   127 +-
>   Objects/codeobject.c                   |    15 +-
>   Objects/complexobject.c                |    19 +-
>   Objects/dictobject.c                   |    20 +-
>   Objects/exceptions.c                   |    26 +-
>   Objects/fileobject.c                   |    17 +-
>   Objects/floatobject.c                  |    19 +-
>   Objects/longobject.c                   |    84 +-
>   Objects/moduleobject.c                 |     9 +-
>   Objects/object.c                       |    10 +-
>   Objects/setobject.c                    |    40 +-
>   Objects/stringlib/count.h              |     9 +-
>   Objects/stringlib/eq.h                 |    23 +-
>   Objects/stringlib/fastsearch.h         |     4 +-
>   Objects/stringlib/find.h               |    31 +-
>   Objects/stringlib/formatter.h          |  1516 --
>   Objects/stringlib/localeutil.h         |    27 +-
>   Objects/stringlib/partition.h          |    12 +-
>   Objects/stringlib/split.h              |    26 +-
>   Objects/stringlib/string_format.h      |  1385 --
>   Objects/stringlib/stringdefs.h         |     2 +
>   Objects/stringlib/ucs1lib.h            |    35 +
>   Objects/stringlib/ucs2lib.h            |    34 +
>   Objects/stringlib/ucs4lib.h            |    34 +
>   Objects/stringlib/undef.h              |    10 +
>   Objects/stringlib/unicode_format.h     |  1416 ++
>   Objects/stringlib/unicodedefs.h        |     2 +
>   Objects/typeobject.c                   |    18 +-
>   Objects/unicodeobject.c                |  6112 ++++++++---
>   Objects/uniops.h                       |    91 +
>   PC/_subprocess.c                       |    61 +-
>   PC/import_nt.c                         |     2 +-
>   PC/msvcrtmodule.c                      |     8 +-
>   PC/pyconfig.h                          |     4 -
>   PC/winreg.c                            |     8 +-
>   Parser/tokenizer.c                     |     6 +-
>   Python/_warnings.c                     |    16 +-
>   Python/ast.c                           |    61 +-
>   Python/bltinmodule.c                   |    26 +-
>   Python/ceval.c                         |    17 +-
>   Python/codecs.c                        |    44 +-
>   Python/compile.c                       |    89 +-
>   Python/errors.c                        |     4 +-
>   Python/formatter_unicode.c             |  1445 ++-
>   Python/getargs.c                       |    46 +-
>   Python/import.c                        |   347 +-
>   Python/marshal.c                       |     4 +-
>   Python/peephole.c                      |    18 -
>   Python/symtable.c                      |     8 +-
>   Python/traceback.c                     |    59 +-
>   Tools/gdb/libpython.py                 |    27 +-
>   configure                              |    65 +-
>   configure.in                           |    46 +-
>   pyconfig.h.in                          |     6 -


More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4