Commit graph

6341 commits

Author SHA1 Message Date
Guido van Rossum
d4ab3cde8e Raise exception instead of dropping imag part for conversion to int,
long, float.

Raise exception instead of dumping core for remainder and divmod.
1996-09-11 22:54:37 +00:00
Guido van Rossum
22a85e5308 More detailed error message about exception in __del__ 1996-09-11 22:51:57 +00:00
Guido van Rossum
b7fc304109 Correct typo in setattr: return -1 for error, not NULL 1996-09-11 22:51:25 +00:00
Fred Drake
e1607a8d0e (parsermodule.c): Fixed sloppy typo: '==' -> '=' 1996-09-11 21:58:26 +00:00
Fred Drake
4b7d5a49ab (libparser.tex): Revised parser module documentation; improved logical
organization.
1996-09-11 21:57:40 +00:00
Guido van Rossum
36f219dff8 More performance and layout improvements by Fred 1996-09-11 21:30:40 +00:00
Guido van Rossum
2f666639f3 Added long getopt docs; by Fred 1996-09-11 21:26:29 +00:00
Guido van Rossum
eddcb3bae1 Multiply by 1000003 instead of 3 in string hach 1996-09-11 20:22:48 +00:00
Guido van Rossum
b23a60fd6e Get rid of bogus MSC_VER undef of CHECK() 1996-09-11 20:21:41 +00:00
Guido van Rossum
c8ce571c16 Rationalized PC compiler defines: require MS_WINDOWS or __BORLANDC__
or __WATCOMC__.  Add ALTSEP for PC filesystems.
1996-09-11 20:20:58 +00:00
Guido van Rossum
1550ff722d Layout and cleanup by Fred 1996-09-11 19:43:52 +00:00
Guido van Rossum
28d4ba24c9 Another batch... 1996-09-11 19:07:45 +00:00
Guido van Rossum
c458e945a4 Rewrite sections on GUI and DOS/Windows, various other small edits,
added 1996 copyright, $Revision$.
1996-09-11 15:43:13 +00:00
Guido van Rossum
6e8ec59eb4 Implement lower by calling lower, not lift. 1996-09-11 14:25:41 +00:00
Guido van Rossum
6b7a7e9fe0 Bug fixes in index&icursor suggested by Nils Fischbeck. 1996-09-11 14:23:43 +00:00
Guido van Rossum
ee09fc1c30 Don't dump core on complex % or divmod -- raise a TypeError exception. 1996-09-11 13:55:55 +00:00
Guido van Rossum
946cf890d4 Improvement suggested by Sjoerd: use $(MAKE)
in boot target and use $(srcdir)/Makefile.pre.in
1996-09-11 12:15:07 +00:00
Guido van Rossum
5f18d6c7a0 Reformatted with 4 spaces indent.
Got rid of most redundant \ continuation signs.
1996-09-10 22:34:20 +00:00
Guido van Rossum
49604d3182 20% speedup by Fred 1996-09-10 22:19:51 +00:00
Guido van Rossum
151fcfd101 Zapped obsolete opcode LOAD_GLOBALS. 1996-09-10 18:26:36 +00:00
Guido van Rossum
04831d133e Use 574PATH, not $(PATH) -- it's a shell variable 1996-09-10 18:21:32 +00:00
Guido van Rossum
563e708080 the usual 1996-09-10 18:20:48 +00:00
Guido van Rossum
2bb4f5598d Shortened some lines 1996-09-10 18:19:59 +00:00
Guido van Rossum
1631cbe03a Added Makefile.pre.in, my generic makefile 1996-09-10 18:19:23 +00:00
Guido van Rossum
f62e5bf339 Update based on Python 1.4b3. 1996-09-10 18:09:44 +00:00
Guido van Rossum
694f7010ed Rewritten by Ka-Ping Yee. 1996-09-10 17:59:15 +00:00
Guido van Rossum
ba885ffaa0 Added linux2 specific code :-( 1996-09-10 17:40:16 +00:00
Guido van Rossum
5f8ea10bc2 Fix bogus len() call 1996-09-10 17:39:56 +00:00
Guido van Rossum
ec577d53a9 Correct sys.path[0] when used stand-alone 1996-09-10 17:39:34 +00:00
Guido van Rossum
974e46cc5e Fix type in loop stripping '__.' from name 1996-09-10 17:38:20 +00:00
Guido van Rossum
2ea05098eb close module file after loading 1996-09-10 17:37:44 +00:00
Guido van Rossum
be0a8a6042 Added bastion and (dummy) rexec docs 1996-09-10 17:37:05 +00:00
Guido van Rossum
c05797dd15 Fixed coerce docs 1996-09-10 17:36:17 +00:00
Guido van Rossum
e6ad8913e2 One fix by sjoerd and one suggested by him. Bumped __version__ to 1.5.
Fix 1: add a method geturl() to the file-like object returned by urlopen().
Fix 2: treat http error 301 the same as error 302.
1996-09-10 17:02:56 +00:00
Guido van Rossum
cc88341e6d Changes to setpythonpath():
Test for / as well as for SEP for MS filenames.
Drop trailing separator from sys.path[0] for MS and Unix filenames.
1996-09-10 14:44:21 +00:00
Guido van Rossum
688bbfc217 simpler version of the previous fix 1996-09-10 12:39:26 +00:00
Guido van Rossum
8535b29f39 compatibility changes suggested by Jack,
for tk_menuBar and tk_bindForTraversal
(i.e. don't call these for Tk >= 4.1)
1996-09-10 12:36:34 +00:00
Guido van Rossum
4b6b57980f Changes for NeXT by Lele 1996-09-09 20:09:34 +00:00
Guido van Rossum
6f2260ea7f Fixed nextstep buglet; check for libreadline w/o libterm* 1996-09-09 16:21:03 +00:00
Guido van Rossum
2c349bbc77 Rewritten by Lars Wizenius to add long options 1996-09-09 15:48:24 +00:00
Guido van Rossum
8727df4623 Removed some obsolete questions and references to version 1.2.
Added some cross refs about broken lambda and broken recursion of
nested functions.
1996-09-09 15:16:39 +00:00
Jack Jansen
daed771fbb Py_GetProgramName turns out not to be obsolete (used by _tkinter). 1996-09-09 14:48:05 +00:00
Jack Jansen
ffb170ee37 PPC companion to Python68KSmall. 1996-09-09 14:47:04 +00:00
Jack Jansen
4bc0566a7c It turns out that Py_GetProgramName is used after all... 1996-09-09 14:45:55 +00:00
Jack Jansen
1247a4612b Fixed to use appletbundle in stead of bundle resource file 1996-09-09 14:45:07 +00:00
Jack Jansen
d9877c1869 Code to add shlib resource fork was not enabled, also made project
layout more similar to ppc project layout
1996-09-09 14:44:26 +00:00
Jack Jansen
e1c3f36cc4 Documented preliminary CGI applet. 1996-09-09 01:48:40 +00:00
Jack Jansen
09da209ce4 Added ref to cgi.html 1996-09-09 01:48:03 +00:00
Jack Jansen
5a1a175170 Example CGI applet 1996-09-09 01:47:24 +00:00
Jack Jansen
f4c4f9e9e1 (preliminary) framework for scriptable applications 1996-09-09 01:46:11 +00:00