Commit Graph

3990 Commits

Author SHA1 Message Date
Guido van Rossum 8861b74445 Changes for slice and ellipses 1996-07-30 16:49:37 +00:00
Guido van Rossum 3ecebf1732 Changes needed by NeXT (the only platform that seems to use this). 1996-07-30 16:48:31 +00:00
Guido van Rossum f2d125bdad Added sliceobject.c 1996-07-30 16:45:48 +00:00
Guido van Rossum 310968dc06 Speedup suggested by Sjoerd 1996-07-30 16:45:31 +00:00
Guido van Rossum 14f44516a4 Changes for stride in slices (x[a🅱️c]) and ellipses (x[a,...,z]) 1996-07-30 16:43:44 +00:00
Guido van Rossum e15d0dea07 Slice and ellipses interface 1996-07-30 16:42:30 +00:00
Guido van Rossum fdebf25705 Turn on CACHE_HASH, for 2% speedier dict lookups 1996-07-30 16:42:03 +00:00
Guido van Rossum db3b04104a Added BUILD_SLICE opcode. 1996-07-30 16:41:26 +00:00
Guido van Rossum ae8a99e3f5 Two bumps for the price of one (PYTHON_API_VERSION) 1996-07-30 16:41:02 +00:00
Guido van Rossum 26a70f6b32 Changes due to slice and ellipses grammar changes 1996-07-30 16:39:30 +00:00
Guido van Rossum 03eed47512 Added sliceobject.h. 1996-07-30 16:39:03 +00:00
Guido van Rossum be33c37fae Sh script to recreage generic machdep subdirectory 1996-07-30 16:36:42 +00:00
Guido van Rossum 3bb710d647 updated again 1996-07-30 16:35:26 +00:00
Guido van Rossum c8b4791d9e Two independent changes:
- accept empty string from focus_get
- map coords() return value through getdouble and splitlist
1996-07-30 16:31:32 +00:00
Guido van Rossum 8d12a1bcbc Function to guess which db package created a database. 1996-07-30 16:30:15 +00:00
Guido van Rossum 3534a8932a New, improved parseaddr() by Sjoerd. 1996-07-30 16:29:16 +00:00
Guido van Rossum 7698d12a8b Changes to make it work on FreeBSD 2.x. 1996-07-30 16:28:45 +00:00
Guido van Rossum f17361d314 Two changes suggested by Andrew Kuchling:
- move compile() inside try-except
- add code so you can do "python pdb.py <script> <arg> ..." to debug <script>
1996-07-30 16:28:13 +00:00
Guido van Rossum 81749b0754 Added optional second arg to what(), giving the data read from the file
(then f may be None).
1996-07-30 16:26:42 +00:00
Guido van Rossum 56a733856e Added BUILD_SLICE opcode. 1996-07-30 16:26:07 +00:00
Guido van Rossum 8ec318d43b Obsolete 1996-07-30 16:25:24 +00:00
Barry Warsaw 42f707f40f (python-mode): Added menu support, requires easymenu. 1996-07-29 21:05:05 +00:00
Jack Jansen 8431733c07 Allow only one selection (this tests settability of selFlags) 1996-07-26 16:04:29 +00:00
Jack Jansen 16038ee18e Regenerated 1996-07-26 16:03:49 +00:00
Jack Jansen 6451cff2c3 Added access to selFlags and listFlags members (both read and write) 1996-07-26 16:03:16 +00:00
Jack Jansen ded835c7f5 Mods by Just:
- Better staggering of windows
- Windows have zoombox by default, and zooming works
- DrawControls->UpdateControls
- Better scrollbar show/hide
1996-07-26 14:01:07 +00:00
Barry Warsaw c846f46113 (py-forward-into-nomenclature): small fix to not infinitely loop at
underscores.
1996-07-25 18:53:17 +00:00
Barry Warsaw fb3494276e #comment update, re: py-mode-syntax-table 1996-07-24 18:32:08 +00:00
Barry Warsaw 9e5a9c8c99 (py-forward-into-nomenclature, py-backward-into-nomenclature): New functions. 1996-07-24 18:26:53 +00:00
Guido van Rossum 57d091557c putenv 1996-07-24 02:42:38 +00:00
Guido van Rossum dde4317643 Added putenv to AC_CHECK_FUNCS list. 1996-07-24 02:41:31 +00:00
Guido van Rossum 3912fd8781 Append version number to library install directory.
"make libinstall" no longer implies "make sharedinstall".
"make altinstall" and "make altbininstall" install the python binary
with a version number, for tentative installations (this does not
install the include files or man page).
1996-07-24 02:35:43 +00:00
Guido van Rossum 4daf6adfe1 Added version number to destination.
Forget about the trick to create directories through dependencies --
it's impossible to get it right in the light of parallellizing Make
implementations and the inability to specify dependencies between
directories (because creating the subdirectory modifies the parent).
1996-07-24 02:33:33 +00:00
Guido van Rossum a63d9f4d9f As a side effect of calling PySys_SetArgv (setpythonargv), the
directory containing argv[0] is inserted in front of sys.path.
If argv[0] contains no directory, an empty string is inserted.
If argv is empty, nothing happens.
1996-07-24 01:31:37 +00:00
Guido van Rossum 3b8e20d2c2 Added hook to os.environ to call putenv(), if it exists. 1996-07-24 00:55:17 +00:00
Guido van Rossum 4dc6622057 Added Sam Rushing's errno module 1996-07-24 00:51:51 +00:00
Guido van Rossum dfe8ad969c Converted to new style names by Skip Montanaro 1996-07-24 00:51:20 +00:00
Guido van Rossum 9687a921c8 Different lines for bsddb module. 1996-07-24 00:42:42 +00:00
Guido van Rossum f1af3fe8eb Added simple-minded (i.e. leaking :-) putenv() interface, if os has it. 1996-07-23 19:18:10 +00:00
Guido van Rossum 761f7922ad Updated pointers to Andrew Kuchlings fine software. 1996-07-23 18:16:56 +00:00
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