3800 Commits

Author SHA1 Message Date
Guido van Rossum
ed7253ca50 Added 3rd optional argument to translate(), a string of characters to delete.
Added maketrans(), a utility to create a translation table.
1996-07-23 18:12:39 +00:00
Fred Drake
4dd0bf92e6 (rmt.py): Updated to "modern" python coding conventions, somewhat. Keyword
arguments and explicit calls to .pack() are used; no more dictionaries
	are being passed to Tkinter constructors.  Otherwise, the example is
	unchanged.  (The app isn't implemented as a Python object.)
1996-07-23 17:47:21 +00:00
Guido van Rossum
99aa2a4132 Remove all CRLF -> LF translation for file uploads, since we cannot
reliably distinguish binary files from text files (and Mac Netscape
sends all files in "binary" form, i.e. it sends text files with only
CR delimiters...).
1996-07-23 17:27:05 +00:00
Barry Warsaw
71e315b9d9 (py-shift-region-left): When checking for left edged code, watch for
blank lines.
1996-07-23 15:03:16 +00:00
Guido van Rossum
d3876d33d3 Renamed all occurrences of posix to os. 1996-07-23 03:47:28 +00:00
Guido van Rossum
773ab27f04 Changes by Jim Fulton: pass environ around as arg;
keep_blank_values option to parse().
1996-07-23 03:46:24 +00:00
Guido van Rossum
a48bf79977 Added splitext() 1996-07-23 02:28:32 +00:00
Guido van Rossum
54afb3bf60 New versions generated on a Linux 2.x system by AMK 1996-07-22 23:46:00 +00:00
Guido van Rossum
c7c5e697c3 Optimizations and one intentional loophole by Jim Fulton.
The optimizations consist mostly of using local variables to cache
methods or instance variables used a lot (e.g. "self.write").

The loopholes allows marshalling extension types as long as they have
a __class__ attribute (in which case they may support the rest of the
class piclking protocol as well).  This allows pickling MESS extension
types.
1996-07-22 22:26:07 +00:00
Guido van Rossum
77c29a1734 This is needed for users of Linux 2.x 1996-07-22 21:50:43 +00:00
Guido van Rossum
56b6fa98b6 Got rid of ChangeLog -- too bad, but I can't keep it up to date. 1996-07-22 16:17:27 +00:00
Guido van Rossum
6c02a2fe25 Use NEWOBJ() macro instead of calling newobject() directly. 1996-07-22 16:16:25 +00:00
Jack Jansen
d99d283383 Added SetFolder method which sets Standard File initial folder 1996-07-22 15:26:01 +00:00
Jack Jansen
1ed9529a68 Added PyOS_CheckStack() function which returns -1 when we are running
low on stackspace.
1996-07-22 15:25:10 +00:00
Jack Jansen
98bfad75ac Added USE_STACKCHECK define 1996-07-22 15:23:58 +00:00
Guido van Rossum
5c971677a5 Fuck. For PC support, this must be in the distribution. 1996-07-22 15:23:25 +00:00
Guido van Rossum
ad8b3baa91 Restore the capability to pass a class (usually Pack) as an option to widget
creation; no longer support this for the config method.
1996-07-21 03:05:05 +00:00
Guido van Rossum
81652ab67a Use gcc, not gcc-elf on Linux 1996-07-21 02:53:27 +00:00
Guido van Rossum
aaa54309db Additions to the cast of thousands 1996-07-21 02:51:05 +00:00
Guido van Rossum
8e7a54f525 More changes by Sjoerd & Jack 1996-07-21 02:50:30 +00:00
Guido van Rossum
e47d5f9c52 Addition by Jack to test for missing type support 1996-07-21 02:49:55 +00:00
Guido van Rossum
a3b4b61a74 Added extra notes for AIX and SCO. 1996-07-21 02:48:16 +00:00
Guido van Rossum
70a8659d9d Use INSTALL_PROGRAM for makesetup 1996-07-21 02:46:47 +00:00
Guido van Rossum
450b9b33a2 Added Jim Fulton's "asharedmodule" target 1996-07-21 02:35:58 +00:00
Guido van Rossum
be6da271a1 Use INT_MAX/LONG_MAX instead of non-ANSI LONG_BIT 1996-07-21 02:34:55 +00:00
Guido van Rossum
3d602e31b1 New submission by Fred Drake. 1996-07-21 02:33:56 +00:00
Guido van Rossum
ac56b03f9a New style names for getprogramname and getargcargv 1996-07-21 02:33:38 +00:00
Guido van Rossum
3be7140d31 Rewritten keys() and has_key() to avoid memory leaks. 1996-07-21 02:32:44 +00:00
Guido van Rossum
9e720e390a complex -> Py_complex 1996-07-21 02:31:35 +00:00
Guido van Rossum
f5030abca8 Hacks for MS_COREDLL 1996-07-21 02:30:39 +00:00
Guido van Rossum
3cb486879a Only __dict__ and __class__ are read-only instance attributes 1996-07-21 02:29:46 +00:00
Guido van Rossum
42cd305b25 new .pyc magic number (** operator) 1996-07-21 02:28:18 +00:00
Guido van Rossum
7cffd1322b added 1996 1996-07-21 02:28:11 +00:00
Guido van Rossum
530956d247 Py_complex; and WITHOUT_COMPLEX added to getargs.c 1996-07-21 02:27:43 +00:00
Guido van Rossum
519b4339f1 renamed complex -> Py_complex 1996-07-21 02:24:22 +00:00
Guido van Rossum
5a84914803 Hacks for MS_COREDLL 1996-07-21 02:23:54 +00:00
Guido van Rossum
bb864062f1 added new names for getprogramname, getargcargv 1996-07-21 02:23:24 +00:00
Guido van Rossum
4f4ce68085 Added prototype + doc for PySequence_Length() 1996-07-21 02:22:56 +00:00
Guido van Rossum
3317e63cbb added parser module to overview 1996-07-21 02:22:12 +00:00
Guido van Rossum
38e5088aa4 added plock 1996-07-21 02:21:49 +00:00
Guido van Rossum
ed43073e00 Minute changes by Fred Drake 1996-07-21 02:21:31 +00:00
Guido van Rossum
66774a973b changes by Jack to Mac docs 1996-07-21 02:20:58 +00:00
Guido van Rossum
17f2b2dfed Don't use tktools, dummy! Reworded test message slightly. 1996-07-21 02:20:06 +00:00
Guido van Rossum
421bb0e389 fix canvas bind commands 1996-07-21 02:19:32 +00:00
Guido van Rossum
6d6a15bab2 Added option to refilemessages() to keep sequences 1996-07-21 02:18:22 +00:00
Guido van Rossum
154a539460 Changes for new parser module (Fred Drake) 1996-07-21 02:17:52 +00:00
Guido van Rossum
6e21cebfbb New opcodes BINARY_POWER, RAISE_VARARGS, CALL_FUNCTION, MAKE_FUNCTION 1996-07-21 02:16:53 +00:00
Guido van Rossum
7a1c7918e0 add mac compatibility 1996-07-21 02:09:54 +00:00
Jack Jansen
024a387f89 - Added a file dialog example
- Added pointers to library documentation
1996-07-18 16:07:05 +00:00
Jack Jansen
a547dcaff0 Old names changed to Py_GetCopyright, etc. 1996-07-10 15:48:25 +00:00