]> granicus.if.org Git - python/log
python
27 years agotest the zlib module
Jeremy Hylton [Fri, 15 Aug 1997 15:59:43 +0000 (15:59 +0000)]
test the zlib module
only produce output if somethign goes wrong

27 years agoLast minute changes for \B. AMK.
Guido van Rossum [Fri, 15 Aug 1997 15:45:25 +0000 (15:45 +0000)]
Last minute changes for \B.  AMK.

27 years agoAdded tests for \b, \B (AMK).
Guido van Rossum [Fri, 15 Aug 1997 15:44:58 +0000 (15:44 +0000)]
Added tests for \b, \B (AMK).

27 years agoLast minut changes for \B, \S (?). AMK.
Guido van Rossum [Fri, 15 Aug 1997 15:44:23 +0000 (15:44 +0000)]
Last minut changes for \B, \S (?).  AMK.

27 years agoRegenerated
Jack Jansen [Fri, 15 Aug 1997 14:38:59 +0000 (14:38 +0000)]
Regenerated

27 years agoAdded support for WCTabHandle, AuxWinHandle, PixPatHandle: no reason
Jack Jansen [Fri, 15 Aug 1997 14:38:05 +0000 (14:38 +0000)]
Added support for WCTabHandle, AuxWinHandle, PixPatHandle: no reason
for blacklisting them.

27 years agoAdded #include <string.h> for memcpy()
Jack Jansen [Fri, 15 Aug 1997 14:36:45 +0000 (14:36 +0000)]
Added #include <string.h> for memcpy()

27 years agoAdded support for GDHandle, CTabHandle, ITabHandle and CCrsrHandle: no
Jack Jansen [Fri, 15 Aug 1997 14:35:54 +0000 (14:35 +0000)]
Added support for GDHandle, CTabHandle, ITabHandle and CCrsrHandle: no
reason they were blacklisted, we can handle them as generic Handles.

27 years agoAdded GetAuxiliaryControlRecord and SetControlColor, there was no good
Jack Jansen [Fri, 15 Aug 1997 14:32:18 +0000 (14:32 +0000)]
Added GetAuxiliaryControlRecord and SetControlColor, there was no good
reason they were excluded.

27 years agoMade AEDesc_{New,Convert} global
Jack Jansen [Fri, 15 Aug 1997 14:31:13 +0000 (14:31 +0000)]
Made AEDesc_{New,Convert} global

27 years agoAnother checkpoint -- reorganized, in sections.
Guido van Rossum [Fri, 15 Aug 1997 04:39:58 +0000 (04:39 +0000)]
Another checkpoint -- reorganized, in sections.

27 years agothe usual
Guido van Rossum [Fri, 15 Aug 1997 02:52:46 +0000 (02:52 +0000)]
the usual

27 years agoDate
Guido van Rossum [Fri, 15 Aug 1997 02:52:35 +0000 (02:52 +0000)]
Date

27 years ago.
Guido van Rossum [Fri, 15 Aug 1997 02:52:20 +0000 (02:52 +0000)]
.

27 years agoKeep gcc -Wall happy
Guido van Rossum [Fri, 15 Aug 1997 02:52:08 +0000 (02:52 +0000)]
Keep gcc -Wall happy

27 years agoCheckpoint checkin of list of changes. Much more to follow, but it's
Guido van Rossum [Fri, 15 Aug 1997 02:50:47 +0000 (02:50 +0000)]
Checkpoint checkin of list of changes.  Much more to follow, but it's
late...

27 years agoThe usual.
Guido van Rossum [Fri, 15 Aug 1997 00:45:26 +0000 (00:45 +0000)]
The usual.

27 years agoAdded std copyright notice.
Guido van Rossum [Fri, 15 Aug 1997 00:04:24 +0000 (00:04 +0000)]
Added std copyright notice.

27 years agoOops, there was a bug in the output formatting - the last printed
Guido van Rossum [Thu, 14 Aug 1997 23:25:20 +0000 (23:25 +0000)]
Oops, there was a bug in the output formatting - the last printed
values would overwrite the next value.

27 years agoAdded AMK's first cut at docs for re.py
Guido van Rossum [Thu, 14 Aug 1997 23:12:18 +0000 (23:12 +0000)]
Added AMK's first cut at docs for re.py

27 years agoDevStudio (CV++ 5.0) Project files.
Guido van Rossum [Thu, 14 Aug 1997 23:02:29 +0000 (23:02 +0000)]
DevStudio (CV++ 5.0) Project files.

27 years agoUpdated for new situation; added VC++ 5.0 info and new path strategies.
Guido van Rossum [Thu, 14 Aug 1997 22:57:33 +0000 (22:57 +0000)]
Updated for new situation; added VC++ 5.0 info and new path strategies.

27 years agoMoved some non-standard format characters out of the standard list.
Guido van Rossum [Thu, 14 Aug 1997 22:23:42 +0000 (22:23 +0000)]
Moved some non-standard format characters out of the standard list.
Also moved %c and %Z out of there, even though they are standard,
because these are locale dependent (and e.g. on Windows and Mac they
return different strings).  Finally, sorted the tables slightly
different, to match my standard docs better (%a before %A).

27 years agoAdded logmerge.py
Guido van Rossum [Thu, 14 Aug 1997 22:04:26 +0000 (22:04 +0000)]
Added logmerge.py

27 years agoConsolidate a bunch of CVS or RCS logs read from stdin.
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.

27 years agoOK, reop is safe again.
Guido van Rossum [Thu, 14 Aug 1997 21:23:07 +0000 (21:23 +0000)]
OK, reop is safe again.

27 years agoFixed refcount bug (thank you, Purify and AMK).
Guido van Rossum [Thu, 14 Aug 1997 21:19:13 +0000 (21:19 +0000)]
Fixed refcount bug (thank you, Purify and AMK).

27 years agoSeveral bug fixes.
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.

27 years agoAdded more stuff on initialization (still rudimentary)
Guido van Rossum [Thu, 14 Aug 1997 20:35:38 +0000 (20:35 +0000)]
Added more stuff on initialization (still rudimentary)

27 years agoAdded new intro sections (incomplete); fixed various typos
Guido van Rossum [Thu, 14 Aug 1997 20:34:33 +0000 (20:34 +0000)]
Added new intro sections (incomplete); fixed various typos

27 years agoNew version (changes are so minor that I don't bother to explain them).
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).

27 years agoOf course, this file should be empty except for an informative comment.
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.

27 years agoAdd a separate SRC directory and insert it in front of the path.
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.

27 years agoAdd missing semicolon to '&gt;'.
Guido van Rossum [Thu, 14 Aug 1997 20:17:20 +0000 (20:17 +0000)]
Add missing semicolon to '&gt;'.

27 years agoAdded cvsfiles.py and treesync.py
Guido van Rossum [Thu, 14 Aug 1997 20:16:32 +0000 (20:16 +0000)]
Added cvsfiles.py and treesync.py

27 years agoSource tree synchronization tool (for Windowes, mostly)
Guido van Rossum [Thu, 14 Aug 1997 20:15:20 +0000 (20:15 +0000)]
Source tree synchronization tool (for Windowes, mostly)

27 years agoPrint a list of files under CVS.
Guido van Rossum [Thu, 14 Aug 1997 20:14:54 +0000 (20:14 +0000)]
Print a list of files under CVS.

27 years agosupport C++ comments
Guido van Rossum [Thu, 14 Aug 1997 20:14:29 +0000 (20:14 +0000)]
support C++ comments

27 years agoset LOOPS to 10000
Guido van Rossum [Thu, 14 Aug 1997 20:14:12 +0000 (20:14 +0000)]
set LOOPS to 10000

27 years agoAdd XXX warning about fishy line
Guido van Rossum [Thu, 14 Aug 1997 20:13:46 +0000 (20:13 +0000)]
Add XXX warning about fishy line

27 years agoUse _beginthread() and _endthread() in favor of CreateThread() and
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 :-).

27 years agoAdded Jim Fulton's PyImport_Import(), which calls whatever
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.

27 years agoAdded a bunch of XXX comments about things I'd like to see changed...
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...

27 years agoMerge Mac and Windows mods (which mostly affect the same problem -- no
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.

27 years agoPrint `a` so encrypted text is shown in ascii, not binary.
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.

27 years agoAdded prototype for PyImport_Import().
Guido van Rossum [Thu, 14 Aug 1997 19:52:09 +0000 (19:52 +0000)]
Added prototype for PyImport_Import().

27 years agoUpdated platform specific notes (it is now more common to have this)
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.

27 years agoAdded buffer_info() docs.
Guido van Rossum [Thu, 14 Aug 1997 19:50:37 +0000 (19:50 +0000)]
Added buffer_info() docs.

27 years agoMinor typo only.
Guido van Rossum [Thu, 14 Aug 1997 19:50:18 +0000 (19:50 +0000)]
Minor typo only.

27 years agoAdd try-finally around main loop.
Guido van Rossum [Thu, 14 Aug 1997 19:49:27 +0000 (19:49 +0000)]
Add try-finally around main loop.

27 years agoAdded (commented-out) defs for use with the build tree instead of the
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.

27 years agoAdded QNX remarks.
Guido van Rossum [Thu, 14 Aug 1997 19:45:30 +0000 (19:45 +0000)]
Added QNX remarks.

27 years agoThe usual
Guido van Rossum [Thu, 14 Aug 1997 19:45:07 +0000 (19:45 +0000)]
The usual

27 years agoDon't call sys.exit() all over the place -- simply return the exit
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.

27 years agoComment out use of reop.expand_escape and reop._expand until their
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.

27 years agoUse _Py_re_match/search instead of re_match/search; these may become
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.

27 years agoFred Lundh's latest versions.
Guido van Rossum [Thu, 14 Aug 1997 14:17:28 +0000 (14:17 +0000)]
Fred Lundh's latest versions.

27 years agoAdd dummies for create/delete filehandles, just so that vanilla Grail
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.

27 years agoDocumented mime_decode_header() and mime_encode_header().
Guido van Rossum [Thu, 14 Aug 1997 14:13:01 +0000 (14:13 +0000)]
Documented mime_decode_header() and mime_encode_header().

27 years agoFixed (and documented, see Doc/libmimify.tex) mime_decode_header() and
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().

27 years agoAdded Windows NT instructions.
Guido van Rossum [Thu, 14 Aug 1997 02:12:04 +0000 (02:12 +0000)]
Added Windows NT instructions.

27 years agoChanges for building under windows.
Guido van Rossum [Thu, 14 Aug 1997 01:45:33 +0000 (01:45 +0000)]
Changes for building under windows.

27 years agoMany changes.
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.

27 years agoProbably the last VC++ 4.2 makefile I'll check in.
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...

27 years agoSmall changes to readme and makefile; tested for 1.5a3!
Guido van Rossum [Wed, 13 Aug 1997 23:07:44 +0000 (23:07 +0000)]
Small changes to readme and makefile; tested for 1.5a3!

27 years ago1.5a3 prerelease 1 from AMK
Guido van Rossum [Wed, 13 Aug 1997 22:34:14 +0000 (22:34 +0000)]
1.5a3 prerelease 1 from AMK

27 years agoMust update the available space in the output buffer after
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.)

27 years agoremoved getpath_nt.c in favor of revamped getpathp.c
Guido van Rossum [Wed, 13 Aug 1997 21:38:04 +0000 (21:38 +0000)]
removed getpath_nt.c in favor of revamped getpathp.c

27 years agoMuch rewritten. Added Win32 registry stuff (from getpath_nt.c, which
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.

27 years agoMade it real. Changed locking() to work with file descriptors instead
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().

27 years agoSome changes to make it work on NT; add the directory where the binary
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).)

27 years agoMoved PyWin_IsWin32s() here.
Guido van Rossum [Wed, 13 Aug 1997 19:53:11 +0000 (19:53 +0000)]
Moved PyWin_IsWin32s() here.

27 years agoRemove #define main; remove vc40 from PYTHONPATH.
Guido van Rossum [Wed, 13 Aug 1997 19:52:26 +0000 (19:52 +0000)]
Remove #define main; remove vc40 from PYTHONPATH.

27 years agoFix bug with \< (AMK).
Guido van Rossum [Wed, 13 Aug 1997 16:35:04 +0000 (16:35 +0000)]
Fix bug with \< (AMK).

27 years agoAdd try-finally to close the file after loading it in
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.)

27 years agoVarious changes by AMK, e.g. remove \e, \cX, add \v
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

27 years agoChanges by AMK:
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.

27 years agoAdd syntax for hex,octal
Guido van Rossum [Wed, 13 Aug 1997 03:21:14 +0000 (03:21 +0000)]
Add syntax for hex,octal

27 years agocPickle release 0.3 from Jim Fulton
Guido van Rossum [Wed, 13 Aug 1997 03:14:41 +0000 (03:14 +0000)]
cPickle release 0.3 from Jim Fulton

27 years agoNew dialog from Fred Lundh
Guido van Rossum [Tue, 12 Aug 1997 18:21:21 +0000 (18:21 +0000)]
New dialog from Fred Lundh

27 years agoFixes for the Mac. (Jack)
Guido van Rossum [Tue, 12 Aug 1997 18:21:08 +0000 (18:21 +0000)]
Fixes for the Mac. (Jack)

27 years agoChanges suggested by Jim fulton:
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.

27 years agoAdded TemporaryFile and wrapper class by Jim Fulton.
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).

27 years agoAdded decls for stuff from myreadline.
Guido van Rossum [Tue, 12 Aug 1997 15:14:22 +0000 (15:14 +0000)]
Added decls for stuff from myreadline.

27 years agoMegapatch for IRIX 6 by Sjoerd.
Guido van Rossum [Tue, 12 Aug 1997 14:58:54 +0000 (14:58 +0000)]
Megapatch for IRIX 6 by Sjoerd.

27 years agoAdded prototype for various finalizers.
Guido van Rossum [Tue, 12 Aug 1997 14:57:21 +0000 (14:57 +0000)]
Added prototype for various finalizers.

27 years agoAdded prototype for PyGrammar_RemoveAccelerators().
Guido van Rossum [Tue, 12 Aug 1997 14:57:08 +0000 (14:57 +0000)]
Added prototype for PyGrammar_RemoveAccelerators().

27 years agoAdded buffer_info() method that returns address and length in bytes of
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.

27 years agoFix mixup about PyErr_NoMemory() prototype.
Guido van Rossum [Tue, 12 Aug 1997 14:54:54 +0000 (14:54 +0000)]
Fix mixup about PyErr_NoMemory() prototype.

27 years agoUse string interning and caching to get speedups on the mac (Jack).
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).

27 years agoUse strerror on the mac if using MSL (Jack).
Guido van Rossum [Tue, 12 Aug 1997 14:51:52 +0000 (14:51 +0000)]
Use strerror on the mac if using MSL (Jack).

27 years agoBump MS_DLL_ID to 1.5.0.
Guido van Rossum [Tue, 12 Aug 1997 14:48:03 +0000 (14:48 +0000)]
Bump MS_DLL_ID to 1.5.0.

27 years agoAllow paths without drive specifier (Jack).
Guido van Rossum [Tue, 12 Aug 1997 14:47:24 +0000 (14:47 +0000)]
Allow paths without drive specifier (Jack).

27 years agoRewrite normcase() using string.translate...
Guido van Rossum [Tue, 12 Aug 1997 14:46:58 +0000 (14:46 +0000)]
Rewrite normcase() using string.translate...

27 years agoTreat all HTTP/1.* versions the same.
Guido van Rossum [Tue, 12 Aug 1997 14:46:13 +0000 (14:46 +0000)]
Treat all HTTP/1.* versions the same.

27 years agoTwo changes:
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)

27 years agoRenamed Py_input_hook to PyOS_InputHook.
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.

27 years agoRewrite using class, to make waiting for processes possible;
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.

27 years agoChanged indents to 4 *spaces*; added Emacs variables to avoid
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.

27 years agoSupport using -p/-P to point to the source/build directory instead of
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.