Ignore:
Timestamp:
Mar 19, 2014, 11:11:30 AM (11 years ago)
Author:
dmik
Message:

python: Update vendor to 2.7.6.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • python/vendor/current/Misc/HISTORY

    r2 r388  
    11551155  configure would break checking curses.h.
    11561156
    1157 - Bug #959576: The pwd module is now builtin. This allows Python to be
     1157- Bug #959576: The pwd module is now built in. This allows Python to be
    11581158  built on UNIX platforms without $HOME set.
    11591159
     
    11881188
    11891189- Replaced most Unicode charmap codecs with new ones using the
    1190   new Unicode translate string feature in the builtin charmap
     1190  new Unicode translate string feature in the built-in charmap
    11911191  codec; the codecs were created from the mapping tables available
    11921192  at ftp.unicode.org and contain a few updates (e.g. the Mac OS
     
    16431643
    16441644- Patch #1349274: gettext.install() now optionally installs additional
    1645   translation functions other than _() in the builtin namespace.
     1645  translation functions other than _() in the builtins namespace.
    16461646
    16471647- Patch #1337756: fileinput now accepts Unicode filenames.
     
    20142014
    20152015- The sources of zlib are now part of the Python distribution (zlib 1.2.3).
    2016   The zlib module is now builtin on Windows.
     2016  The zlib module is now built in on Windows.
    20172017
    20182018- Use -xcode=pic32 for CCSHARED on Solaris with SunPro.
     
    28492849  GNU longname/longlink creation.
    28502850
    2851 - The obsolete FCNTL.py has been deleted.  The builtin fcntl module
     2851- The obsolete FCNTL.py has been deleted.  The built-in fcntl module
    28522852  has been available (on platforms that support fcntl) since Python
    28532853  1.5a3, and all FCNTL.py did is export fcntl's names, after generating
     
    29862986
    29872987- SF patch 995225:  The test file testtar.tar accidentally contained
    2988   CVS keywords (like $Id: HISTORY 75782 2009-10-27 14:29:22Z georg.brandl $), which could cause spurious failures in
     2988  CVS keywords (like $Id$), which could cause spurious failures in
    29892989  test_tarfile.py depending on how the test file was checked out.
    29902990
     
    31033103  a release build.
    31043104
    3105 - input() builtin function now respects compiler flags such as
     3105- input() built-in function now respects compiler flags such as
    31063106  __future__ statements.  SF patch 876178.
    31073107
     
    31643164- Compiler flags set in PYTHONSTARTUP are now active in __main__.
    31653165
    3166 - Added two builtin types, set() and frozenset().
    3167 
    3168 - Added a reversed() builtin function that returns a reverse iterator
     3166- Added two built-in types, set() and frozenset().
     3167
     3168- Added a reversed() built-in function that returns a reverse iterator
    31693169  over a sequence.
    31703170
    3171 - Added a sorted() builtin function that returns a new sorted list
     3171- Added a sorted() built-in function that returns a new sorted list
    31723172  from any iterable.
    31733173
     
    32083208  will now just hit the recursion limit.  See SF patch 825639.
    32093209
    3210 - str and unicode builtin types now have an rsplit() method that is
     3210- str and unicode built-in types now have an rsplit() method that is
    32113211  same as split() except that it scans the string from the end
    32123212  working towards the beginning.  See SF feature request 801847.
     
    37593759  builtins, present in earlier releases of 2.3, has been removed.
    37603760
    3761 - It is not possible to create subclasses of builtin types like str
     3761- It is not possible to create subclasses of built-in types like str
    37623762  and tuple that define an itemsize.  Earlier releases of Python 2.3
    37633763  allowed this by mistake, leading to crashes and other problems.
     
    42344234  PyArg_ParseTuple and PyBuild_Value.
    42354235
    4236 - New builtin function sum(seq, start=0) returns the sum of all the
     4236- New built-in function sum(seq, start=0) returns the sum of all the
    42374237  items in iterable object seq, plus start (items are normally numbers,
    42384238  and cannot be strings).
     
    42404240- bool() called without arguments now returns False rather than
    42414241  raising an exception.  This is consistent with calling the
    4242   constructors for the other builtin types -- called without argument
     4242  constructors for the other built-in types -- called without argument
    42434243  they all return the false value of that type.  (SF patch #724135)
    42444244
     
    47654765  a symbolic pickle disassembler.
    47664766
    4767 - Xmlrpclib.py now supports the builtin boolean type.
     4767- xmlrpclib.py now supports the built-in boolean type.
    47684768
    47694769- py_compile has a new 'doraise' flag and a new PyCompileError
     
    50165016  exploit this from pdb has been added.  [SF patch #643835]
    50175017
    5018 - The _codecs support module for codecs.py was turned into a builtin
    5019   module to assure that at least the builtin codecs are available
     5018- The _codecs support module for codecs.py was turned into a built-in
     5019  module to assure that at least the built-in codecs are available
    50205020  to the Python parser for source code decoding according to PEP 263.
    50215021
     
    51755175  as directory names.
    51765176
    5177 - Fixed string.startswith and string.endswith builtin methods
     5177- Fixed string.startswith and string.endswith built-in methods
    51785178  so they accept negative indices.  [SF bug 493951]
    51795179
     
    51815181  finally clause.  [SF bug 567538]
    51825182
    5183 - Most builtin sequences now support "extended slices", i.e. slices
     5183- Most built-in sequences now support "extended slices", i.e. slices
    51845184  with a third "stride" parameter.  For example, "hello world"[::-1]
    51855185  gives "dlrow olleh".
     
    51965196  removed.
    51975197
    5198 - New builtin function enumerate(x), from PEP 279.  Example:
     5198- New built-in function enumerate(x), from PEP 279.  Example:
    51995199  enumerate("abc") is an iterator returning (0,"a"), (1,"b"), (2,"c").
    52005200  The argument can be an arbitrary iterable object.
     
    57455745
    57465746- The configure option --without-doc-strings can be used to remove the
    5747   doc strings from the builtin functions and modules; this reduces the
     5747  doc strings from the built-in functions and modules; this reduces the
    57485748  size of the executable.
    57495749
     
    59815981
    59825982- New Carbon modules File (implementing the APIs in Files.h and Aliases.h)
    5983   and Folder (APIs from Folders.h). The old macfs builtin module is
     5983  and Folder (APIs from Folders.h). The old macfs built-in module is
    59845984  gone, and replaced by a Python wrapper around the new modules.
    59855985
     
    62036203-----
    62046204
    6205 - New function PyDict_MergeFromSeq2() exposes the builtin dict
     6205- New function PyDict_MergeFromSeq2() exposes the built-in dict
    62066206  constructor's logic for updating a dictionary from an iterable object
    62076207  producing key-value pairs.
     
    62546254  This needs to be documented.
    62556255
    6256 - The new builtin dictionary() constructor, and dictionary type, have
     6256- The new built-in dictionary() constructor, and dictionary type, have
    62576257  been renamed to dict.  This reflects a decade of common usage.
    62586258
     
    67096709  class.
    67106710
    6711 - The builtin file type can be subclassed now.  In the usual pattern,
    6712   "file" is the name of the builtin type, and file() is a new builtin
    6713   constructor, with the same signature as the builtin open() function.
     6711- The built-in file type can be subclassed now.  In the usual pattern,
     6712  "file" is the name of the built-in type, and file() is a new built-in
     6713  constructor, with the same signature as the built-in open() function.
    67146714  file() is now the preferred way to open a file.
    67156715
     
    67256725  immutable type (int, long, float, complex, tuple, str, unicode),
    67266726  where the subtype didn't override the operation (and so the
    6727   operation was handled by the builtin type), could return that
     6727  operation was handled by the built-in type), could return that
    67286728  instance instead a value of the base type.  For example, if s was of
    67296729  a str subclass type, s[:] returned s as-is.  Now it returns a str
     
    67736773
    67746774- The codecs module has grown four new helper APIs to access
    6775   builtin codecs: getencoder(), getdecoder(), getreader(),
     6775  built-in codecs: getencoder(), getdecoder(), getreader(),
    67766776  getwriter().
    67776777
     
    79037903  In all previous version of Python, names were resolved in exactly
    79047904  three namespaces -- the local namespace, the global namespace, and
    7905   the builtin namespace.  According to this old definition, if a
     7905  the builtins namespace.  According to this old definition, if a
    79067906  function A is defined within a function B, the names bound in B are
    79077907  not visible in A.  The new rules make names bound in B visible in A,
     
    79247924
    79257925  Under the old rules, the name str in helper() is bound to the
    7926   builtin function str().  Under the new rules, it will be bound to
     7926  built-in function str().  Under the new rules, it will be bound to
    79277927  the argument named str and an error will occur when helper() is
    79287928  called.
     
    84228422
    84238423- Raise ZeroDivisionError when raising zero to a negative number,
    8424   e.g. 0.0 ** -2.0.  Note that math.pow is unrelated to the builtin
     8424  e.g. 0.0 ** -2.0.  Note that math.pow is unrelated to the built-in
    84258425  power operator and the result of math.pow(0.0, -2.0) will vary by
    84268426  platform.  On Linux, it raises a ValueError.
     
    90519051overflowing the C stack and causing a core dump.  The default value is
    905290521000.  The maximum safe value for a particular platform can be found
    9053 by running Misc/find_recursionlimit.py.
     9053by running Tools/scripts/find_recursionlimit.py.
    90549054
    90559055New Modules and Packages
     
    1267212672
    1267312673- Fixed some strange exceptions in __del__ methods in library modules
    12674 (e.g. urllib).  This happens because the builtin names are already
     12674(e.g. urllib).  This happens because the built-in names are already
    1267512675deleted by the time __del__ is called.  The solution (a hack, but it
    1267612676works) is to set some instance variables to 0 instead of None.
     
    1337513375
    1337613376
    13377 Changes to builtin features
    13378 ---------------------------
     13377Changes to built-in features
     13378----------------------------
    1337913379
    1338013380- There's a new exception FloatingPointError (used only by Lee Busby's
     
    1467614676- New modules: errno, operator (XXX).
    1467714677
    14678 - Changes for use with Numerical Python: builtin function slice() and
     14678- Changes for use with Numerical Python: built-in function slice() and
    1467914679Ellipses object, and corresponding syntax:
    1468014680
     
    1516415164- The functions posix.popen() and posix.fdopen() now have an optional
    1516515165third argument to specify the buffer size, and default their second
    15166 (mode) argument to 'r' -- in analogy to the builtin open() function.
     15166(mode) argument to 'r' -- in analogy to the built-in open() function.
    1516715167The same applies to posixfile.open() and the socket method makefile().
    1516815168
Note: See TracChangeset for help on using the changeset viewer.