|
2 | 2 | ==> Release 1.4 (sometime 3Q 1996) <== |
3 | 3 | ====================================== |
4 | 4 |
|
5 | | -XXX This file still has to be updated! |
6 | 5 |
|
7 | | -Some highlights: |
| 6 | +What's new since 1.4 beta 1? |
| 7 | +---------------------------- |
8 | 8 |
|
9 | | -- "make install" overhaul to install everything and use a version number |
| 9 | +- Portability bug in the md5.h header solved. |
10 | 10 |
|
11 | | -- new builtin modules operator, errno |
| 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). |
12 | 14 |
|
13 | | -- changes needed by Numeric Python extensions: |
| 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.) |
14 | 23 |
|
15 | | - - x[lo:hi:stride] |
16 | | - - x[a, b, c] |
17 | | - - x[a, ..., z] |
| 24 | +- New modules: errno, operator. |
18 | 25 |
|
19 | | - plus "ellipses" and "slice" objects |
| 26 | +- Changes for use with Numerical Python: builtin function slice() and |
| 27 | +Ellipses object, and corresponding syntax: |
20 | 28 |
|
| 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 | + |
| 62 | +- New PYTHON_API_VERSION value. |
| 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... |
0 commit comments