Guido van Rossum | c30e95f | 1996-07-30 18:53:51 +0000 | [diff] [blame] | 1 | ====================================== |
| 2 | ==> Release 1.4 (sometime 3Q 1996) <== |
| 3 | ====================================== |
Guido van Rossum | 635649f | 1994-11-10 23:04:51 +0000 | [diff] [blame] | 4 | |
Guido van Rossum | 635649f | 1994-11-10 23:04:51 +0000 | [diff] [blame] | 5 | |
Guido van Rossum | ccdfce3 | 1996-07-30 21:34:09 +0000 | [diff] [blame] | 6 | What's new since 1.4 beta 1? |
| 7 | ---------------------------- |
Guido van Rossum | 635649f | 1994-11-10 23:04:51 +0000 | [diff] [blame] | 8 | |
Guido van Rossum | ccdfce3 | 1996-07-30 21:34:09 +0000 | [diff] [blame] | 9 | - Portability bug in the md5.h header solved. |
Guido van Rossum | 0082c1a | 1995-04-10 11:52:44 +0000 | [diff] [blame] | 10 | |
Guido van Rossum | ccdfce3 | 1996-07-30 21:34:09 +0000 | [diff] [blame] | 11 | - The PC build procedure now really works, and sets sys.platform to a |
| 12 | meaningful value (a few things were botched in beta 1). Lib/dos_8x3 |
| 13 | is now a standard part of the distribution (alas). |
Guido van Rossum | 635649f | 1994-11-10 23:04:51 +0000 | [diff] [blame] | 14 | |
Guido van Rossum | ccdfce3 | 1996-07-30 21:34:09 +0000 | [diff] [blame] | 15 | - Installation has been completely overhauled. Typing "make install" |
| 16 | now installs everything (not just the binary), inserts the version |
| 17 | number in the pathnames of almost everything installed, uses the |
| 18 | install-sh script to install each file, and creates the machine |
| 19 | dependent modules (FCNTL.py etc.) if not supplied by the |
| 20 | distribution. (XXX There's still a problem with the latter because |
| 21 | the "regen" script requires that Python is installed. Some manual |
| 22 | intervention may still be required.) |
Guido van Rossum | 061f182 | 1994-10-06 16:03:45 +0000 | [diff] [blame] | 23 | |
Guido van Rossum | ccdfce3 | 1996-07-30 21:34:09 +0000 | [diff] [blame] | 24 | - New modules: errno, operator. |
Guido van Rossum | 061f182 | 1994-10-06 16:03:45 +0000 | [diff] [blame] | 25 | |
Guido van Rossum | ccdfce3 | 1996-07-30 21:34:09 +0000 | [diff] [blame] | 26 | - Changes for use with Numerical Python: builtin function slice() and |
| 27 | Ellipses object, and corresponding syntax: |
Guido van Rossum | 061f182 | 1994-10-06 16:03:45 +0000 | [diff] [blame] | 28 | |
Guido van Rossum | ccdfce3 | 1996-07-30 21:34:09 +0000 | [diff] [blame] | 29 | x[lo:hi:stride] == x[slice(lo, hi, stride)] |
| 30 | x[a, ..., z] == x[(a, Ellipses, z)] |
| 31 | |
| 32 | - New documentation for errno and cgi mdoules. |
| 33 | |
| 34 | - The directory containing the script passed to the interpreter is |
| 35 | inserted in from of sys.path; "." is no longer a default path |
| 36 | component. |
| 37 | |
| 38 | - Optional third string argument to string.translate() specifies |
| 39 | characters to delete. New function string.maketrans() creates a |
| 40 | translation table for translate() or for regex.compile(). |
| 41 | |
| 42 | - Module posix (and hence module os under Unix) now supports putenv(). |
| 43 | Moreover, module os is enhanced so that if putenv() is supported, |
| 44 | assignments to os.environ entries make the appropriate putenv() call. |
| 45 | (XXX the putenv() implementation can leak a small amount of memory per |
| 46 | call.) |
| 47 | |
| 48 | - pdb.py can now be invoked from the command line to debug a script: |
| 49 | python pdb.py <script> <arg> ... |
| 50 | |
| 51 | - Much improved parseaddr() in rfc822. |
| 52 | |
| 53 | - In cgi.py, you can now pass an alternative value for environ to |
| 54 | nearly all functions. |
| 55 | |
| 56 | - You can now assign to instance variables whose name begins and ends |
| 57 | with '__'. |
| 58 | |
| 59 | - New version of Fred Drake's parser module and associates (token, |
| 60 | symbol, AST). |
| 61 | |
Guido van Rossum | 64d376a | 1996-08-01 01:06:24 +0000 | [diff] [blame] | 62 | - New PYTHON_API_VERSION value, as well as .pyc file magic number. |
Guido van Rossum | ccdfce3 | 1996-07-30 21:34:09 +0000 | [diff] [blame] | 63 | |
| 64 | - The "complex" internal structure type is now called "Py_complex" to |
| 65 | avoid name conflicts. |
| 66 | |
| 67 | - Numerous small bugs fixed. |
| 68 | |
| 69 | - Slight pickle speedups. |
| 70 | |
| 71 | - Some slight speedups suggested by Sjoerd (more coming in 1.4 final). |
| 72 | |
| 73 | - NeXT portability mods by Bill Bumgarner integrated. |
| 74 | |
| 75 | - Modules regexmodule.c, bsddbmodule.c and xxmodule.c have been |
| 76 | converted to new naming style. |
| 77 | |
| 78 | |
| 79 | What's new since Python release 1.3? |
| 80 | ------------------------------------ |
| 81 | |
| 82 | - Added sys.platform and sys.exec_platform for Bill Janssen. |
| 83 | |
| 84 | XXX more... |