Changeset 388 for python/vendor/current/Misc/HISTORY
- Timestamp:
- Mar 19, 2014, 11:11:30 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
python/vendor/current/Misc/HISTORY
r2 r388 1155 1155 configure would break checking curses.h. 1156 1156 1157 - Bug #959576: The pwd module is now built in. This allows Python to be1157 - Bug #959576: The pwd module is now built in. This allows Python to be 1158 1158 built on UNIX platforms without $HOME set. 1159 1159 … … 1188 1188 1189 1189 - Replaced most Unicode charmap codecs with new ones using the 1190 new Unicode translate string feature in the built in charmap1190 new Unicode translate string feature in the built-in charmap 1191 1191 codec; the codecs were created from the mapping tables available 1192 1192 at ftp.unicode.org and contain a few updates (e.g. the Mac OS … … 1643 1643 1644 1644 - 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. 1646 1646 1647 1647 - Patch #1337756: fileinput now accepts Unicode filenames. … … 2014 2014 2015 2015 - The sources of zlib are now part of the Python distribution (zlib 1.2.3). 2016 The zlib module is now built in on Windows.2016 The zlib module is now built in on Windows. 2017 2017 2018 2018 - Use -xcode=pic32 for CCSHARED on Solaris with SunPro. … … 2849 2849 GNU longname/longlink creation. 2850 2850 2851 - The obsolete FCNTL.py has been deleted. The built in fcntl module2851 - The obsolete FCNTL.py has been deleted. The built-in fcntl module 2852 2852 has been available (on platforms that support fcntl) since Python 2853 2853 1.5a3, and all FCNTL.py did is export fcntl's names, after generating … … 2986 2986 2987 2987 - 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 in2988 CVS keywords (like $Id$), which could cause spurious failures in 2989 2989 test_tarfile.py depending on how the test file was checked out. 2990 2990 … … 3103 3103 a release build. 3104 3104 3105 - input() built in function now respects compiler flags such as3105 - input() built-in function now respects compiler flags such as 3106 3106 __future__ statements. SF patch 876178. 3107 3107 … … 3164 3164 - Compiler flags set in PYTHONSTARTUP are now active in __main__. 3165 3165 3166 - Added two built in types, set() and frozenset().3167 3168 - Added a reversed() built in function that returns a reverse iterator3166 - Added two built-in types, set() and frozenset(). 3167 3168 - Added a reversed() built-in function that returns a reverse iterator 3169 3169 over a sequence. 3170 3170 3171 - Added a sorted() built in function that returns a new sorted list3171 - Added a sorted() built-in function that returns a new sorted list 3172 3172 from any iterable. 3173 3173 … … 3208 3208 will now just hit the recursion limit. See SF patch 825639. 3209 3209 3210 - str and unicode built in types now have an rsplit() method that is3210 - str and unicode built-in types now have an rsplit() method that is 3211 3211 same as split() except that it scans the string from the end 3212 3212 working towards the beginning. See SF feature request 801847. … … 3759 3759 builtins, present in earlier releases of 2.3, has been removed. 3760 3760 3761 - It is not possible to create subclasses of built in types like str3761 - It is not possible to create subclasses of built-in types like str 3762 3762 and tuple that define an itemsize. Earlier releases of Python 2.3 3763 3763 allowed this by mistake, leading to crashes and other problems. … … 4234 4234 PyArg_ParseTuple and PyBuild_Value. 4235 4235 4236 - New built in function sum(seq, start=0) returns the sum of all the4236 - New built-in function sum(seq, start=0) returns the sum of all the 4237 4237 items in iterable object seq, plus start (items are normally numbers, 4238 4238 and cannot be strings). … … 4240 4240 - bool() called without arguments now returns False rather than 4241 4241 raising an exception. This is consistent with calling the 4242 constructors for the other built in types -- called without argument4242 constructors for the other built-in types -- called without argument 4243 4243 they all return the false value of that type. (SF patch #724135) 4244 4244 … … 4765 4765 a symbolic pickle disassembler. 4766 4766 4767 - Xmlrpclib.py now supports the builtin boolean type.4767 - xmlrpclib.py now supports the built-in boolean type. 4768 4768 4769 4769 - py_compile has a new 'doraise' flag and a new PyCompileError … … 5016 5016 exploit this from pdb has been added. [SF patch #643835] 5017 5017 5018 - The _codecs support module for codecs.py was turned into a built in5019 module to assure that at least the built in codecs are available5018 - 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 5020 5020 to the Python parser for source code decoding according to PEP 263. 5021 5021 … … 5175 5175 as directory names. 5176 5176 5177 - Fixed string.startswith and string.endswith built in methods5177 - Fixed string.startswith and string.endswith built-in methods 5178 5178 so they accept negative indices. [SF bug 493951] 5179 5179 … … 5181 5181 finally clause. [SF bug 567538] 5182 5182 5183 - Most built in sequences now support "extended slices", i.e. slices5183 - Most built-in sequences now support "extended slices", i.e. slices 5184 5184 with a third "stride" parameter. For example, "hello world"[::-1] 5185 5185 gives "dlrow olleh". … … 5196 5196 removed. 5197 5197 5198 - New built in function enumerate(x), from PEP 279. Example:5198 - New built-in function enumerate(x), from PEP 279. Example: 5199 5199 enumerate("abc") is an iterator returning (0,"a"), (1,"b"), (2,"c"). 5200 5200 The argument can be an arbitrary iterable object. … … 5745 5745 5746 5746 - The configure option --without-doc-strings can be used to remove the 5747 doc strings from the built in functions and modules; this reduces the5747 doc strings from the built-in functions and modules; this reduces the 5748 5748 size of the executable. 5749 5749 … … 5981 5981 5982 5982 - New Carbon modules File (implementing the APIs in Files.h and Aliases.h) 5983 and Folder (APIs from Folders.h). The old macfs built in module is5983 and Folder (APIs from Folders.h). The old macfs built-in module is 5984 5984 gone, and replaced by a Python wrapper around the new modules. 5985 5985 … … 6203 6203 ----- 6204 6204 6205 - New function PyDict_MergeFromSeq2() exposes the built in dict6205 - New function PyDict_MergeFromSeq2() exposes the built-in dict 6206 6206 constructor's logic for updating a dictionary from an iterable object 6207 6207 producing key-value pairs. … … 6254 6254 This needs to be documented. 6255 6255 6256 - The new built in dictionary() constructor, and dictionary type, have6256 - The new built-in dictionary() constructor, and dictionary type, have 6257 6257 been renamed to dict. This reflects a decade of common usage. 6258 6258 … … 6709 6709 class. 6710 6710 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 builtin6713 constructor, with the same signature as the built in 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. 6714 6714 file() is now the preferred way to open a file. 6715 6715 … … 6725 6725 immutable type (int, long, float, complex, tuple, str, unicode), 6726 6726 where the subtype didn't override the operation (and so the 6727 operation was handled by the built in type), could return that6727 operation was handled by the built-in type), could return that 6728 6728 instance instead a value of the base type. For example, if s was of 6729 6729 a str subclass type, s[:] returned s as-is. Now it returns a str … … 6773 6773 6774 6774 - The codecs module has grown four new helper APIs to access 6775 built in codecs: getencoder(), getdecoder(), getreader(),6775 built-in codecs: getencoder(), getdecoder(), getreader(), 6776 6776 getwriter(). 6777 6777 … … 7903 7903 In all previous version of Python, names were resolved in exactly 7904 7904 three namespaces -- the local namespace, the global namespace, and 7905 the builtin namespace. According to this old definition, if a7905 the builtins namespace. According to this old definition, if a 7906 7906 function A is defined within a function B, the names bound in B are 7907 7907 not visible in A. The new rules make names bound in B visible in A, … … 7924 7924 7925 7925 Under the old rules, the name str in helper() is bound to the 7926 built in function str(). Under the new rules, it will be bound to7926 built-in function str(). Under the new rules, it will be bound to 7927 7927 the argument named str and an error will occur when helper() is 7928 7928 called. … … 8422 8422 8423 8423 - Raise ZeroDivisionError when raising zero to a negative number, 8424 e.g. 0.0 ** -2.0. Note that math.pow is unrelated to the built in8424 e.g. 0.0 ** -2.0. Note that math.pow is unrelated to the built-in 8425 8425 power operator and the result of math.pow(0.0, -2.0) will vary by 8426 8426 platform. On Linux, it raises a ValueError. … … 9051 9051 overflowing the C stack and causing a core dump. The default value is 9052 9052 1000. The maximum safe value for a particular platform can be found 9053 by running Misc/find_recursionlimit.py.9053 by running Tools/scripts/find_recursionlimit.py. 9054 9054 9055 9055 New Modules and Packages … … 12672 12672 12673 12673 - Fixed some strange exceptions in __del__ methods in library modules 12674 (e.g. urllib). This happens because the built in names are already12674 (e.g. urllib). This happens because the built-in names are already 12675 12675 deleted by the time __del__ is called. The solution (a hack, but it 12676 12676 works) is to set some instance variables to 0 instead of None. … … 13375 13375 13376 13376 13377 Changes to built in features13378 --------------------------- 13377 Changes to built-in features 13378 ---------------------------- 13379 13379 13380 13380 - There's a new exception FloatingPointError (used only by Lee Busby's … … 14676 14676 - New modules: errno, operator (XXX). 14677 14677 14678 - Changes for use with Numerical Python: built in function slice() and14678 - Changes for use with Numerical Python: built-in function slice() and 14679 14679 Ellipses object, and corresponding syntax: 14680 14680 … … 15164 15164 - The functions posix.popen() and posix.fdopen() now have an optional 15165 15165 third argument to specify the buffer size, and default their second 15166 (mode) argument to 'r' -- in analogy to the built in open() function.15166 (mode) argument to 'r' -- in analogy to the built-in open() function. 15167 15167 The same applies to posixfile.open() and the socket method makefile(). 15168 15168
Note:
See TracChangeset
for help on using the changeset viewer.