Guido van Rossum
5137ea9e27
Remove #define main; remove vc40 from PYTHONPATH.
1997-08-13 19:52:26 +00:00
Guido van Rossum
abed54ab4a
Fix bug with \< (AMK).
1997-08-13 16:35:04 +00:00
Guido van Rossum
6dc61b110f
Add try-finally to close the file after loading it in
...
ModuleLoader.load_module! (Thanks to Daniel Larsson who complained
about this.)
1997-08-13 14:48:36 +00:00
Guido van Rossum
6af4abdba0
Various changes by AMK, e.g. remove \e, \cX, add \v
1997-08-13 03:25:34 +00:00
Guido van Rossum
c24f038464
Changes by AMK:
...
Removed handling of \e, \cX escapes, following a string-SIG discussion.
Fixed minor typos in re.py
re.error is now set equal to reop.error.
Move definition of constants like NORMAL and CHARCLASS into reop, which
exports them; re.py was changed to import them from reop.
Added C equivalents of _expand and expand_escape to reop, and changed
re.py to use them.
1997-08-13 03:24:53 +00:00
Guido van Rossum
52d6832554
Add syntax for hex,octal
1997-08-13 03:21:14 +00:00
Guido van Rossum
142eeb8339
cPickle release 0.3 from Jim Fulton
1997-08-13 03:14:41 +00:00
Guido van Rossum
f55afae3c6
New dialog from Fred Lundh
1997-08-12 18:21:21 +00:00
Guido van Rossum
9d9af2c7a8
Fixes for the Mac. (Jack)
1997-08-12 18:21:08 +00:00
Guido van Rossum
a5e9fb6a65
Changes suggested by Jim fulton:
...
- Moved most imports to the top, for faster loadingf when using ni.
- Always open the temp file in binary mode.
1997-08-12 18:18:13 +00:00
Guido van Rossum
ca54982b2a
Added TemporaryFile and wrapper class by Jim Fulton.
...
Look in more env vars (for NT: TEMP, TMP).
1997-08-12 18:00:12 +00:00
Guido van Rossum
3fb1aea0ae
Added decls for stuff from myreadline.
1997-08-12 15:14:22 +00:00
Guido van Rossum
7242905385
Megapatch for IRIX 6 by Sjoerd.
1997-08-12 14:58:54 +00:00
Guido van Rossum
8e5e4461a8
Added prototype for various finalizers.
1997-08-12 14:57:21 +00:00
Guido van Rossum
bb301c53ed
Added prototype for PyGrammar_RemoveAccelerators().
1997-08-12 14:57:08 +00:00
Guido van Rossum
de4a4ca2dd
Added buffer_info() method that returns address and length in bytes of
...
the buffer used to hold the array -- for dangerous low-level I/O.
1997-08-12 14:55:56 +00:00
Guido van Rossum
ea46e4d93c
Fix mixup about PyErr_NoMemory() prototype.
1997-08-12 14:54:54 +00:00
Guido van Rossum
741689d5f3
Use string interning and caching to get speedups on the mac (Jack).
1997-08-12 14:53:39 +00:00
Guido van Rossum
e5b4026881
Use strerror on the mac if using MSL (Jack).
1997-08-12 14:51:52 +00:00
Guido van Rossum
15974ad5e6
Bump MS_DLL_ID to 1.5.0.
1997-08-12 14:48:03 +00:00
Guido van Rossum
d510b72fff
Allow paths without drive specifier (Jack).
1997-08-12 14:47:24 +00:00
Guido van Rossum
e2ad88c202
Rewrite normcase() using string.translate...
1997-08-12 14:46:58 +00:00
Guido van Rossum
efa683726f
Treat all HTTP/1.* versions the same.
1997-08-12 14:46:13 +00:00
Guido van Rossum
2567dd6d44
Two changes:
...
(1) No longer close self.sock; close it on close(). (Guido)
(2) Don't use regular expressions for what can be done simply with
string.split() -- regex is thread unsafe. (Jeremy)
(3) Delete unused imports. (Jeremy)
1997-08-11 21:52:17 +00:00
Guido van Rossum
44620646fd
Renamed Py_input_hook to PyOS_InputHook.
...
Also cleaned out some CR's left by the VC++ editor.
1997-08-11 18:57:29 +00:00
Guido van Rossum
0357d02eab
Rewrite using class, to make waiting for processes possible;
...
by default children are waited for automatically.
1997-08-11 03:27:24 +00:00
Guido van Rossum
0b4b8a21ce
Changed indents to 4 *spaces*; added Emacs variables to avoid
...
inserting tabs. All this (and the previous patch) in preparation for
porting to NT.
1997-08-10 16:56:48 +00:00
Guido van Rossum
9a6e855a27
Support using -p/-P to point to the source/build directory instead of
...
the install directory. Added -h option to print the full usage
message; by default, only two lines are now printed for errors.
1997-08-10 16:47:17 +00:00
Barry Warsaw
516b6208c7
#Fixed two byte-compiler errors
1997-08-09 06:43:20 +00:00
Barry Warsaw
c72c11c9e3
#Checkpointing X/Emacs 20'fication of this mode.
1997-08-09 06:42:08 +00:00
Guido van Rossum
98d9d09090
Added O_BINARY and O_TEXT (for Windows).
1997-08-08 21:48:51 +00:00
Guido van Rossum
9c43c590bc
More emphasis on os.environ's calling of putenv; and added hint about
...
flags for open().
1997-08-08 21:05:09 +00:00
Barry Warsaw
7d6b7d3f54
#Bumping to version 3.0
1997-08-08 16:19:03 +00:00
Jack Jansen
48f662de92
mkalias() now has an optional third parameter to create relative
...
aliases (Just)
1997-08-08 15:00:59 +00:00
Jack Jansen
756a69fa0d
- Added classes to support class/property generation by gensuitemodule
...
- Fixed Property class: selector is a 'type', not an 'enum'
1997-08-08 15:00:03 +00:00
Jack Jansen
a8441ded7a
Added (dummy) PyOS_FiniInterrupts
1997-08-08 14:57:37 +00:00
Jack Jansen
7330b39a41
Adapted for 1.5a3: Py_SupressPrintingFlag is gone, and
...
Py_SetProgramName replaces Py_GetProgramName
1997-08-08 14:56:41 +00:00
Jack Jansen
4be0ce3bc6
New version number, new tk resources, new error numbers, new GUSI
1997-08-08 14:55:03 +00:00
Jack Jansen
12f318a6fc
Don't define ENOENT when compiling with MSL
1997-08-08 14:53:16 +00:00
Jack Jansen
04df97cdd8
CW11 projects replaced by CW Pro 1 projects, and all cfm68k/ppc
...
projects unified (as much as possible: PythonCore is still separate).
1997-08-08 14:51:57 +00:00
Jack Jansen
e3fa8747fa
Modified for CW Pro 1 projects. Convention used: .mu files are old
...
project files, which have to be cleaned up before checking in, .prj
files are CW Pro 1 projects (which are always clean). Prj files are
still binhexed, even though they only have a data fork (and, hence,
could be checked in in binary mode).
1997-08-08 14:51:54 +00:00
Jack Jansen
6654422407
Generate class, property and comparison code (finally!). The resulting
...
code isn't ideal yet: xxx.Window(1).Paragraph(3).font will only work
if all the classes and properties are declared in the same suite, but
at least font(Paragraph(3, Window(1))) always works.
1997-08-08 14:49:02 +00:00
Guido van Rossum
622f73f188
Remove unised variable
1997-08-07 19:22:48 +00:00
Guido van Rossum
02c0467f67
Rather unsatisfactory temporary hack to get it to run
...
under WIN32 -- remove file handler interface, don't use Py_input_hook.
1997-08-07 00:12:22 +00:00
Guido van Rossum
29c1ea5af0
Got the new structure working with MSVC 4.2.
...
main_nt.c is gone -- we can use Modules/python.c now.
Added Mark Hammond's module msvcrt.c (untested).
Added several new symbols.
1997-08-07 00:11:34 +00:00
Guido van Rossum
fb84255e67
New version of Vladimir Marangozov's AIX hacks -- simpler etc.
1997-08-06 23:42:07 +00:00
Guido van Rossum
b06df27843
--with-readline is obsolete (and some editorial stuff in README)
1997-08-05 21:50:20 +00:00
Guido van Rossum
3c7c678b94
Got rid of --with-readline, at last.
1997-08-05 21:47:42 +00:00
Guido van Rossum
9b5dbedf43
Attempt to import readline at interactive startup.
1997-08-05 21:34:14 +00:00
Guido van Rossum
717c6f95be
Move GNU readline interface to ../Modules/readline.c.
...
Add Py_input_hook (used by _tkinter and perhaps Gist).
1997-08-05 21:28:12 +00:00