Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 02afd08

Browse files
committed
Added all current changes.
1 parent a80c398 commit 02afd08

1 file changed

Lines changed: 205 additions & 5 deletions

File tree

Misc/NEWS

Lines changed: 205 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,215 @@
1+
=====================================
2+
==> Release 1.4 (October 25 1996) <==
3+
=====================================
4+
5+
(XXX Sorry, this is in totally random order. I hope I can find the
6+
time to fix it.)
7+
8+
- Changed copyright.
9+
10+
- SyntaxError exceptions detected during code generation
11+
(e.g. assignment to an expression) now include a line number.
12+
13+
- Don't leave trailing / or \ in script directory inserted in front of
14+
sys.path.
15+
16+
- Added a note to Tools/scripts/classfix.py abouts its historical
17+
importance.
18+
19+
- Added Misc/Makefile.pre.in, a universal Makefile for extensions
20+
built outside the distribution.
21+
22+
- Rewritten Misc/faq2html.py, by Ka-Ping Yee.
23+
24+
- Install shared modules with mode 555 (needed for performance on some
25+
platforms).
26+
27+
- Some changes to standard library modules to avoid calling append()
28+
with more than one argument -- while supported, this should be
29+
outlawed, and I don't want to set a bad example.
30+
31+
- bdb.py (and hence pdb.py) supports calling run() with a code object
32+
instead of a code string.
33+
34+
- Fixed an embarrassing bug cgi.py which prevented correct uploading
35+
of binary files from Netscape (which doesn't distinguish between
36+
binary and text files). Also added dormant logging support, which
37+
makes it easier to debug the cgi module itself.
38+
39+
- Added default writer to constructor of NullFormatter class.
40+
41+
- Use binary mode for socket.makefile() calls in ftplib.py.
42+
43+
- The ihooks module no longer "installs" itself upon import -- this
44+
was an experimental feature that helped ironing out some bugs but that
45+
slowed down code that imported it without the need to install it
46+
(e.g. the rexec module). Also close the file in some cases and add
47+
the __file__ attribute to loaded modules.
48+
49+
- The test program for mailbox.py is now more useful.
50+
51+
- Added getparamnames() to Message class in mimetools.py -- it returns
52+
the names of parameters to the content-type header.
53+
54+
- Fixed a typo in ni that broke the loop stripping "__." from names.
55+
56+
- Fix sys.path[0] for scripts run via pdb.py's new main program.
57+
58+
- profile.py can now also run a script, like pdb.
59+
60+
- Fix a small bug in pyclbr -- don't add names starting with _ when
61+
emulating from ... import *.
62+
63+
- Fixed a series of embarrassing typos in rexec's handling of standard
64+
I/O redirection. Added some more "safe" built-in modules: cmath,
65+
errno, operator.
66+
67+
- Fixed embarrassing typo in shelve.py.
68+
69+
- Added SliceType and EllipsisType to types.py.
70+
71+
- In urllib.py, added handling for error 301 (same as 302); added
72+
geturl() method to get the URL after redirection.
73+
74+
- Fixed embarrassing typo in xdrlib.py. Also fixed typo in Setup.in
75+
for _xdrmodule.c and removed redundant #include from _xdrmodule.c.
76+
77+
- Fixed bsddbmodule.c to add binary mode indicator on platforms that
78+
have it. This should make it working on Windows NT.
79+
80+
- Changed last uses of #ifdef NT to #ifdef MS_WINDOWS or MS_WIN32,
81+
whatever applies. Also rationalized some other tests for various MS
82+
platforms.
83+
84+
- Added the sources for the NT installer script used for Python
85+
1.4beta3. Not tested with this release, but better than nothing.
86+
87+
- A compromise in pickle's defenses against Trojan horses: a
88+
user-defined function is now okay where a class is expected. A
89+
built-in function is not okay, to prevent pickling something that
90+
will execute os.system("rm -f *") when unpickling.
91+
92+
- dis.py will print the name of local variables referenced by local
93+
load/store/delete instructions.
94+
95+
- Improved portability of SimpleHttpServer module to non-Unix
96+
platform.
97+
98+
- The thread.h interface adds an extra argument to down_sema(). This
99+
only affects other C code that uses thread.c; the Python thread module
100+
doesn't use semaphores (which aren't provided on all platforms where
101+
Python threads are supported). Note: on NT, this change is not
102+
implemented.
103+
104+
- Fixed some typos in abstract.h; corrected signature of
105+
PyNumber_Coerce, added PyMapping_DelItem. Also fixed a bug in
106+
abstract.c's PyObject_CallMethod().
107+
108+
- apply(classname, (), {}) now works even if the class has no
109+
__init__() method.
110+
111+
- Implemented complex remainder and divmod() (these would dump core!).
112+
Conversion of complex numbers to int, long int or float now raises an
113+
exception, since there is no meaningful way to do it without losing
114+
information.
115+
116+
- Fixed bug in built-in complex() function which gave the wrong result
117+
for two real arguments.
118+
119+
- Change the hash algorithm for strings -- the multiplier is now
120+
1000003 instead of 3, which gives better spread for short strings.
121+
122+
- New default path for Windows NT, the registry structure now supports
123+
default paths for different install packages. (Mark Hammond -- the
124+
next PythonWin release will use this.)
125+
126+
- Added more symbols to the python_nt.def file.
127+
128+
- When using GNU readline, set rl_readline_name to "python".
129+
130+
- The Ellipses built-in name has been renamed to Ellipsis -- this is
131+
the correct singular form. Thanks to Ka-Ping Yee, who saved us from
132+
eternal embarrassment.
133+
134+
- Bumped the PYTHON_API_VERSION to 1006, due to the Ellipses ->
135+
Ellipsis name change.
136+
137+
- Updated the library reference manual. Added documentation of
138+
restricted mode (rexec, Bastion) and the formatter module (for use
139+
with the htmllib module). Fixed the documentation of htmllib
140+
(finally).
141+
142+
- The reference manual is now maintained in FrameMaker.
143+
144+
- Upgraded scripts Doc/partparse.py and Doc/texi2html.py.
145+
146+
- Slight improvements to Doc/Makefile.
147+
148+
- Added fcntl.lockf(). This should be used for Unix file locking
149+
instead of the posixfile module; lockf() is more portable.
150+
151+
- The getopt module now supports long option names, thanks to Lars
152+
Wizenius.
153+
154+
- Plenty of changes to Tkinter and Canvas, mostly due to Fred Drake
155+
and Nils Fischbeck.
156+
157+
- Use more bits of time.time() in whrandom's default seed().
158+
159+
- Performance hack for regex module's regs attribute.
160+
161+
- Don't close already closed socket in socket module.
162+
163+
- Correctly handle separators containing embedded nulls in
164+
strop.split, strop.find and strop.rfind. Also added more detail to
165+
error message for strop.atoi and friends.
166+
167+
- Moved fallback definition for hypot() to Python/hypot.c.
168+
169+
- Added fallback definition for strdup, in Python/strdup.c.
170+
171+
- Fixed some bugs where a function would return 0 to indicate an error
172+
where it should return -1.
173+
174+
- Test for error returned by time.localtime(), and rationalized its MS
175+
tests.
176+
177+
- Added Modules/Setup.local file, which is processed after Setup.
178+
179+
- Corrected bug in toplevel Makefile.in -- execution of regen script
180+
would not use the right PATH and PYTHONPATH.
181+
182+
- Various and sundry NeXT configuration changes (sigh).
183+
184+
- Support systems where libreadline needs neither termcap nor curses.
185+
186+
- Improved ld_so_aix script and python.exp file (for AIX).
187+
188+
- More stringent test for working <stdarg.h> in configure script.
189+
190+
- Removed Demo/www subdirectory -- it was totally out of date.
191+
192+
- Improved demos and docs for Fred Drake's parser module; fixed one
193+
typo in the module itself.
194+
195+
1196
=========================================
2197
==> Release 1.4beta3 (August 26 1996) <==
3198
=========================================
4199

5200

6-
(XXX This is less readable that it should. I promis to restructure it
7-
for the final 1.4 release.)
201+
(XXX This is less readable that it should. I promise to restructure
202+
it for the final 1.4 release.)
8203

9204

10205
What's new in 1.4beta3 (since beta2)?
11206
-------------------------------------
12207

208+
- Name mangling to implement a simple form of class-private variables.
209+
A name of the form "__spam" can't easily be used outside the class.
210+
(This was added in 1.4beta3, but left out of the 1.4beta3 release
211+
message.)
212+
13213
- In urllib.urlopen(): HTTP URLs containing user:passwd@host are now
14214
handled correctly when using a proxy server.
15215

@@ -88,9 +288,9 @@ permission). This is required on HP-UX and won't hurt on other systems.
88288
- The objc.c module is no longer part of the distribution. Objective-C
89289
support may become available as contributed software on the ftp site.
90290

91-
- The sybase module is no longer part of the distribution. May John
92-
Redford rot in hell. A much improved sybase module is available as
93-
contributed software from the ftp site.
291+
- The sybase module is no longer part of the distribution. A much
292+
improved sybase module is available as contributed software from the
293+
ftp site.
94294

95295
- _tkinter is now compatible with Tcl 7.5 / Tk 4.1 patch1 on Windows and
96296
Mac (don't use unpatched Tcl/Tk!). The default line in the Setup.in file

0 commit comments

Comments
 (0)