]>
granicus.if.org Git - python/log
Guido van Rossum [Thu, 14 Aug 1997 22:04:00 +0000 (22:04 +0000)]
Consolidate a bunch of CVS or RCS logs read from stdin.
Guido van Rossum [Thu, 14 Aug 1997 21:23:07 +0000 (21:23 +0000)]
OK, reop is safe again.
Guido van Rossum [Thu, 14 Aug 1997 21:19:13 +0000 (21:19 +0000)]
Fixed refcount bug (thank you, Purify and AMK).
Jeremy Hylton [Thu, 14 Aug 1997 21:06:42 +0000 (21:06 +0000)]
Several bug fixes.
-- initialize length to DEFAULTALLOC and not 0
-- resize string before returning (to remove '\000' padding)
Also converted some compression routines to use PyString instead of
buffer.
Guido van Rossum [Thu, 14 Aug 1997 20:35:38 +0000 (20:35 +0000)]
Added more stuff on initialization (still rudimentary)
Guido van Rossum [Thu, 14 Aug 1997 20:34:33 +0000 (20:34 +0000)]
Added new intro sections (incomplete); fixed various typos
Guido van Rossum [Thu, 14 Aug 1997 20:20:42 +0000 (20:20 +0000)]
New version (changes are so minor that I don't bother to explain them).
Guido van Rossum [Thu, 14 Aug 1997 20:19:27 +0000 (20:19 +0000)]
Of course, this file should be empty except for an informative comment.
Guido van Rossum [Thu, 14 Aug 1997 20:18:18 +0000 (20:18 +0000)]
Add a separate SRC directory and insert it in front of the path.
Guido van Rossum [Thu, 14 Aug 1997 20:17:20 +0000 (20:17 +0000)]
Add missing semicolon to '>'.
Guido van Rossum [Thu, 14 Aug 1997 20:16:32 +0000 (20:16 +0000)]
Added cvsfiles.py and treesync.py
Guido van Rossum [Thu, 14 Aug 1997 20:15:20 +0000 (20:15 +0000)]
Source tree synchronization tool (for Windowes, mostly)
Guido van Rossum [Thu, 14 Aug 1997 20:14:54 +0000 (20:14 +0000)]
Print a list of files under CVS.
Guido van Rossum [Thu, 14 Aug 1997 20:14:29 +0000 (20:14 +0000)]
support C++ comments
Guido van Rossum [Thu, 14 Aug 1997 20:14:12 +0000 (20:14 +0000)]
set LOOPS to 10000
Guido van Rossum [Thu, 14 Aug 1997 20:13:46 +0000 (20:13 +0000)]
Add XXX warning about fishy line
Guido van Rossum [Thu, 14 Aug 1997 20:12:58 +0000 (20:12 +0000)]
Use _beginthread() and _endthread() in favor of CreateThread() and
ExitThread(). As discussed in c.l.p, this takes care of
initialization and finalization of thread-local storage allocated by
the C runtime system. Not sure whether non-MS compilers grok this
though (but who cares :-).
Guido van Rossum [Thu, 14 Aug 1997 20:11:26 +0000 (20:11 +0000)]
Added Jim Fulton's PyImport_Import(), which calls whatever
__import__() hook is currently installed.
Guido van Rossum [Thu, 14 Aug 1997 19:57:39 +0000 (19:57 +0000)]
Added a bunch of XXX comments about things I'd like to see changed...
Guido van Rossum [Thu, 14 Aug 1997 19:57:07 +0000 (19:57 +0000)]
Merge Mac and Windows mods (which mostly affect the same problem -- no
usable createfilehandler). Define HAVE_CREATEFILEHANDLER to test
later. Also other Mac specific patches by Jack.
Guido van Rossum [Thu, 14 Aug 1997 19:55:00 +0000 (19:55 +0000)]
Print `a` so encrypted text is shown in ascii, not binary.
Guido van Rossum [Thu, 14 Aug 1997 19:52:09 +0000 (19:52 +0000)]
Added prototype for PyImport_Import().
Guido van Rossum [Thu, 14 Aug 1997 19:51:26 +0000 (19:51 +0000)]
Updated platform specific notes (it is now more common to have this)
added some caveats.
Guido van Rossum [Thu, 14 Aug 1997 19:50:37 +0000 (19:50 +0000)]
Added buffer_info() docs.
Guido van Rossum [Thu, 14 Aug 1997 19:50:18 +0000 (19:50 +0000)]
Minor typo only.
Guido van Rossum [Thu, 14 Aug 1997 19:49:27 +0000 (19:49 +0000)]
Add try-finally around main loop.
Guido van Rossum [Thu, 14 Aug 1997 19:48:42 +0000 (19:48 +0000)]
Added (commented-out) defs for use with the build tree instead of the
installed version.
Guido van Rossum [Thu, 14 Aug 1997 19:45:30 +0000 (19:45 +0000)]
Added QNX remarks.
Guido van Rossum [Thu, 14 Aug 1997 19:45:07 +0000 (19:45 +0000)]
The usual
Guido van Rossum [Thu, 14 Aug 1997 19:40:34 +0000 (19:40 +0000)]
Don't call sys.exit() all over the place -- simply return the exit
status from main() and call sys.exit(main()) in the startup stub at
the end of the file.
Guido van Rossum [Thu, 14 Aug 1997 19:33:06 +0000 (19:33 +0000)]
Comment out use of reop.expand_escape and reop._expand until their
bugginess has been fixed.
Guido van Rossum [Thu, 14 Aug 1997 14:35:12 +0000 (14:35 +0000)]
Use _Py_re_match/search instead of re_match/search; these may become
different in a future version.
Guido van Rossum [Thu, 14 Aug 1997 14:17:28 +0000 (14:17 +0000)]
Fred Lundh's latest versions.
Guido van Rossum [Thu, 14 Aug 1997 14:15:54 +0000 (14:15 +0000)]
Add dummies for create/delete filehandles, just so that vanilla Grail
0.3 won't break on Windows.
Guido van Rossum [Thu, 14 Aug 1997 14:13:01 +0000 (14:13 +0000)]
Documented mime_decode_header() and mime_encode_header().
Guido van Rossum [Thu, 14 Aug 1997 14:10:37 +0000 (14:10 +0000)]
Fixed (and documented, see Doc/libmimify.tex) mime_decode_header() and
mime_encode_header().
Guido van Rossum [Thu, 14 Aug 1997 02:12:04 +0000 (02:12 +0000)]
Added Windows NT instructions.
Guido van Rossum [Thu, 14 Aug 1997 01:45:33 +0000 (01:45 +0000)]
Changes for building under windows.
Jeremy Hylton [Wed, 13 Aug 1997 23:19:55 +0000 (23:19 +0000)]
Many changes.
Change default alloc size for uncompressing to 16K.
Remove comment about core dumps when an invalid window sizes is used.
This bug has been fixed in zlib 1.0.4.
Two new optional arguments to decompress, wbits and bufsize. wbits
specifies the window size and bufsize specifies the initial output
string size.
In decompression code -- decompress and decompressobj methods -- use a
Python string (and _PyString_Resize) to collect the uncompressed
stream. Replaces a separate buffer that was copied into a string.
Fix bug in decompress that caused it to always realloc the buffer when
it was finished decompressing.
Modernized handling of optional arguments to compressobj.
Updated doc strings.
Guido van Rossum [Wed, 13 Aug 1997 23:08:39 +0000 (23:08 +0000)]
Probably the last VC++ 4.2 makefile I'll check in.
After this I will be using 5.0, which has binary workspace files...
Guido van Rossum [Wed, 13 Aug 1997 23:07:44 +0000 (23:07 +0000)]
Small changes to readme and makefile; tested for 1.5a3!
Guido van Rossum [Wed, 13 Aug 1997 22:34:14 +0000 (22:34 +0000)]
1.5a3 prerelease 1 from AMK
Jeremy Hylton [Wed, 13 Aug 1997 21:39:18 +0000 (21:39 +0000)]
Must update the available space in the output buffer after
realloc. (Fixed in PyZlib_unflush.)
Guido van Rossum [Wed, 13 Aug 1997 21:38:04 +0000 (21:38 +0000)]
removed getpath_nt.c in favor of revamped getpathp.c
Guido van Rossum [Wed, 13 Aug 1997 21:30:44 +0000 (21:30 +0000)]
Much rewritten. Added Win32 registry stuff (from getpath_nt.c, which
is now obsolete), and changed the default path calculations.
$PYTHONPATH is now added as a prefix (like it's always been on Unix);
$PYTHONHOME takes precedence over the program pathname; and only one
landmark is needed.
Guido van Rossum [Wed, 13 Aug 1997 19:57:53 +0000 (19:57 +0000)]
Made it real. Changed locking() to work with file descriptors instead
of Python file objects. Added open_osfhandle() (Mark had done some
work for that), get_osfhandle(), setmode(), and the console I/O
functions kbhit(), getch(), getche(), ungetch(), and putch().
Guido van Rossum [Wed, 13 Aug 1997 19:55:43 +0000 (19:55 +0000)]
Some changes to make it work on NT; add the directory where the binary
lives to the end of the path.
(Still to do: add $PYTHONPATH to the front instead of using it as is;
add the Win32 registry paths as in getpath_nt.c (which can then
retire).)
Guido van Rossum [Wed, 13 Aug 1997 19:53:11 +0000 (19:53 +0000)]
Moved PyWin_IsWin32s() here.
Guido van Rossum [Wed, 13 Aug 1997 19:52:26 +0000 (19:52 +0000)]
Remove #define main; remove vc40 from PYTHONPATH.
Guido van Rossum [Wed, 13 Aug 1997 16:35:04 +0000 (16:35 +0000)]
Fix bug with \< (AMK).
Guido van Rossum [Wed, 13 Aug 1997 14:48:36 +0000 (14:48 +0000)]
Add try-finally to close the file after loading it in
ModuleLoader.load_module! (Thanks to Daniel Larsson who complained
about this.)
Guido van Rossum [Wed, 13 Aug 1997 03:25:34 +0000 (03:25 +0000)]
Various changes by AMK, e.g. remove \e, \cX, add \v
Guido van Rossum [Wed, 13 Aug 1997 03:24:53 +0000 (03:24 +0000)]
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.
Guido van Rossum [Wed, 13 Aug 1997 03:21:14 +0000 (03:21 +0000)]
Add syntax for hex,octal
Guido van Rossum [Wed, 13 Aug 1997 03:14:41 +0000 (03:14 +0000)]
cPickle release 0.3 from Jim Fulton
Guido van Rossum [Tue, 12 Aug 1997 18:21:21 +0000 (18:21 +0000)]
New dialog from Fred Lundh
Guido van Rossum [Tue, 12 Aug 1997 18:21:08 +0000 (18:21 +0000)]
Fixes for the Mac. (Jack)
Guido van Rossum [Tue, 12 Aug 1997 18:18:13 +0000 (18:18 +0000)]
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.
Guido van Rossum [Tue, 12 Aug 1997 18:00:12 +0000 (18:00 +0000)]
Added TemporaryFile and wrapper class by Jim Fulton.
Look in more env vars (for NT: TEMP, TMP).
Guido van Rossum [Tue, 12 Aug 1997 15:14:22 +0000 (15:14 +0000)]
Added decls for stuff from myreadline.
Guido van Rossum [Tue, 12 Aug 1997 14:58:54 +0000 (14:58 +0000)]
Megapatch for IRIX 6 by Sjoerd.
Guido van Rossum [Tue, 12 Aug 1997 14:57:21 +0000 (14:57 +0000)]
Added prototype for various finalizers.
Guido van Rossum [Tue, 12 Aug 1997 14:57:08 +0000 (14:57 +0000)]
Added prototype for PyGrammar_RemoveAccelerators().
Guido van Rossum [Tue, 12 Aug 1997 14:55:56 +0000 (14:55 +0000)]
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.
Guido van Rossum [Tue, 12 Aug 1997 14:54:54 +0000 (14:54 +0000)]
Fix mixup about PyErr_NoMemory() prototype.
Guido van Rossum [Tue, 12 Aug 1997 14:53:39 +0000 (14:53 +0000)]
Use string interning and caching to get speedups on the mac (Jack).
Guido van Rossum [Tue, 12 Aug 1997 14:51:52 +0000 (14:51 +0000)]
Use strerror on the mac if using MSL (Jack).
Guido van Rossum [Tue, 12 Aug 1997 14:48:03 +0000 (14:48 +0000)]
Bump MS_DLL_ID to 1.5.0.
Guido van Rossum [Tue, 12 Aug 1997 14:47:24 +0000 (14:47 +0000)]
Allow paths without drive specifier (Jack).
Guido van Rossum [Tue, 12 Aug 1997 14:46:58 +0000 (14:46 +0000)]
Rewrite normcase() using string.translate...
Guido van Rossum [Tue, 12 Aug 1997 14:46:13 +0000 (14:46 +0000)]
Treat all HTTP/1.* versions the same.
Guido van Rossum [Mon, 11 Aug 1997 21:52:17 +0000 (21:52 +0000)]
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)
Guido van Rossum [Mon, 11 Aug 1997 18:57:29 +0000 (18:57 +0000)]
Renamed Py_input_hook to PyOS_InputHook.
Also cleaned out some CR's left by the VC++ editor.
Guido van Rossum [Mon, 11 Aug 1997 03:27:24 +0000 (03:27 +0000)]
Rewrite using class, to make waiting for processes possible;
by default children are waited for automatically.
Guido van Rossum [Sun, 10 Aug 1997 16:56:48 +0000 (16:56 +0000)]
Changed indents to 4 *spaces*; added Emacs variables to avoid
inserting tabs. All this (and the previous patch) in preparation for
porting to NT.
Guido van Rossum [Sun, 10 Aug 1997 16:47:17 +0000 (16:47 +0000)]
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.
Barry Warsaw [Sat, 9 Aug 1997 06:43:20 +0000 (06:43 +0000)]
#Fixed two byte-compiler errors
Barry Warsaw [Sat, 9 Aug 1997 06:42:08 +0000 (06:42 +0000)]
#Checkpointing X/Emacs 20'fication of this mode.
Guido van Rossum [Fri, 8 Aug 1997 21:48:51 +0000 (21:48 +0000)]
Added O_BINARY and O_TEXT (for Windows).
Guido van Rossum [Fri, 8 Aug 1997 21:05:09 +0000 (21:05 +0000)]
More emphasis on os.environ's calling of putenv; and added hint about
flags for open().
Barry Warsaw [Fri, 8 Aug 1997 16:19:03 +0000 (16:19 +0000)]
#Bumping to version 3.0
Jack Jansen [Fri, 8 Aug 1997 15:00:59 +0000 (15:00 +0000)]
mkalias() now has an optional third parameter to create relative
aliases (Just)
Jack Jansen [Fri, 8 Aug 1997 15:00:03 +0000 (15:00 +0000)]
- Added classes to support class/property generation by gensuitemodule
- Fixed Property class: selector is a 'type', not an 'enum'
Jack Jansen [Fri, 8 Aug 1997 14:57:37 +0000 (14:57 +0000)]
Added (dummy) PyOS_FiniInterrupts
Jack Jansen [Fri, 8 Aug 1997 14:56:41 +0000 (14:56 +0000)]
Adapted for 1.5a3: Py_SupressPrintingFlag is gone, and
Py_SetProgramName replaces Py_GetProgramName
Jack Jansen [Fri, 8 Aug 1997 14:55:03 +0000 (14:55 +0000)]
New version number, new tk resources, new error numbers, new GUSI
Jack Jansen [Fri, 8 Aug 1997 14:53:16 +0000 (14:53 +0000)]
Don't define ENOENT when compiling with MSL
Jack Jansen [Fri, 8 Aug 1997 14:51:57 +0000 (14:51 +0000)]
CW11 projects replaced by CW Pro 1 projects, and all cfm68k/ppc
projects unified (as much as possible: PythonCore is still separate).
Jack Jansen [Fri, 8 Aug 1997 14:51:54 +0000 (14:51 +0000)]
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).
Jack Jansen [Fri, 8 Aug 1997 14:49:02 +0000 (14:49 +0000)]
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.
Guido van Rossum [Thu, 7 Aug 1997 19:22:48 +0000 (19:22 +0000)]
Remove unised variable
Guido van Rossum [Thu, 7 Aug 1997 00:12:22 +0000 (00:12 +0000)]
Rather unsatisfactory temporary hack to get it to run
under WIN32 -- remove file handler interface, don't use Py_input_hook.
Guido van Rossum [Thu, 7 Aug 1997 00:11:34 +0000 (00:11 +0000)]
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.
Guido van Rossum [Wed, 6 Aug 1997 23:42:07 +0000 (23:42 +0000)]
New version of Vladimir Marangozov's AIX hacks -- simpler etc.
Guido van Rossum [Tue, 5 Aug 1997 21:50:20 +0000 (21:50 +0000)]
--with-readline is obsolete (and some editorial stuff in README)
Guido van Rossum [Tue, 5 Aug 1997 21:47:42 +0000 (21:47 +0000)]
Got rid of --with-readline, at last.
Guido van Rossum [Tue, 5 Aug 1997 21:34:14 +0000 (21:34 +0000)]
Attempt to import readline at interactive startup.
Guido van Rossum [Tue, 5 Aug 1997 21:28:12 +0000 (21:28 +0000)]
Move GNU readline interface to ../Modules/readline.c.
Add Py_input_hook (used by _tkinter and perhaps Gist).
Guido van Rossum [Tue, 5 Aug 1997 21:27:50 +0000 (21:27 +0000)]
New mechanism for GNU readline interface, via module
Guido van Rossum [Tue, 5 Aug 1997 16:52:50 +0000 (16:52 +0000)]
Add test for function comparisons