Commit Graph

5749 Commits

Author SHA1 Message Date
Jack Jansen 1b3904b998 Module to buffer stdout/stderr until stdin is read. Useful for
windowing programs, together with option to keep console window closed
until needed.
1997-06-20 16:22:07 +00:00
Jack Jansen 0b34dd51b5 Regenerated 1997-06-20 16:20:03 +00:00
Jack Jansen 883765eb71 added SetEventHandler 1997-06-20 16:19:38 +00:00
Jack Jansen 3757523f1e Adapted to new event handling. It is now also possible to abort out of
an AESend with command-. (unless specifically disabled, of course).
1997-06-20 16:19:14 +00:00
Jack Jansen 36ed506f09 Added PyMac_SetEventHandler which allows you to replace complete event
handling in inner loop with python code. Also move (previously
machine independent) PyErr_CheckSignals here, so we can propagate
exceptions in event handling code.
1997-06-20 16:18:15 +00:00
Jack Jansen d993648ef6 Added NewAliasMinimalFromFullPath(), and allow alias.Resolve() to return
an FSSpec to a non-existing file.
1997-06-16 14:31:38 +00:00
Barry Warsaw 3b1c89e244 MACDEPPATH: Remove `sharedmodules' from default value of this variable
since calculate_path() in getpath.c will automatically add this.
Including this here will put the sharedmodules directory on sys.path
twice.
1997-06-13 22:03:23 +00:00
Fred Drake bcdb9403d4 Added docstrings by Sue Williams, re-indented to 4 spaces / level. 1997-06-12 16:17:00 +00:00
Fred Drake 8f81ef1edd Fix LaTeX bug found by examining the docstrings added to commands.py. 1997-06-12 16:14:07 +00:00
Fred Drake b4aeaebfe8 Added libcommands.tex to list of library reference dependencies. 1997-06-12 16:06:19 +00:00
Fred Drake 4fd1292c3c Documentation for Lib/commands.py, from Sue Williams. 1997-06-12 16:05:46 +00:00
Jack Jansen eda78634a4 Make imports faster on the Mac, by
- Remembering whether sys.path components refer to files or folders,
- Using mac-specific code to check for file existence, in stead of trying
  to fopen() each possible file.

These mods need an accompanying mod to import.c.
1997-06-12 15:29:46 +00:00
Jack Jansen 0130f0fb8f Added prototype for PyMac_RestoreMenuBar 1997-06-12 10:51:39 +00:00
Jack Jansen 3368cb7763 Replaced MacOS.EnableAppSwitch with MacOS.SchedParams 1997-06-12 10:51:18 +00:00
Jack Jansen d3b06a871f Added optional preload arg to some routines (which creates reloaded
resources when set)
1997-06-12 10:50:47 +00:00
Jack Jansen 7fb76e0f8a Replaced MacOS.EnableAppswitch by MacOS.SchedParams 1997-06-12 10:49:56 +00:00
Jack Jansen caa7c46ac4 - Restore SIOUX menubar just before exiting, if the console window is kept
open (so the user can quit with cmd-Q, print, etc)
- Removed a few unused routines
1997-06-12 10:49:13 +00:00
Fred Drake 455838a217 Really nitty-gritty change to prevent latex2html from using a LaTeX-generated
image of the argument list....
1997-06-06 21:57:35 +00:00
Guido van Rossum 295b8e5608 Add sys/types.h include for pid_t when threading. 1997-06-06 21:16:41 +00:00
Guido van Rossum d9c6f4fd7d Allow oct() result for 64-bit machines. 1997-06-06 21:14:14 +00:00
Guido van Rossum 914c938cc5 Use cPickle and cStringIO when available. 1997-06-06 21:12:45 +00:00
Guido van Rossum f668d17e01 Clear the ftp cache when it contains more than 10 entries. 1997-06-06 21:11:11 +00:00
Guido van Rossum 2966b32205 Catch *all* errors that ftplib can raise (ftplib.all_errors) rather
than just the four.

Also folded some long lines.
1997-06-06 17:44:07 +00:00
Roger E. Masse 0318fd6050 Moved the definition of posix_times__doc__ to outside of #ifdef HAVE_TIMES
so that MSVC 4.2 doesn't complain under NT.
1997-06-05 22:07:58 +00:00
Roger E. Masse 1830afb4da Changed the reference of 'mappingobject.c' to 'dictobject.c' 1997-06-05 22:03:26 +00:00
Guido van Rossum 97b5457467 Small changes (casts etc.) by Jack, for Mac compilation. 1997-06-03 22:21:47 +00:00
Guido van Rossum 3c540307af Doc strings (AMK). 1997-06-03 22:21:03 +00:00
Guido van Rossum 2b1566be9d Correct typo in last line (test program invocation). 1997-06-03 22:05:15 +00:00
Guido van Rossum 9115eb522e Added a variant of the epilogue that has the PythonPowered logo. 1997-06-03 22:04:10 +00:00
Guido van Rossum 5bf4d00887 Move the second import of faqcust to the very end. 1997-06-03 22:03:22 +00:00
Guido van Rossum 876736cd0d AMK's regex test suite 1997-06-03 18:07:49 +00:00
Guido van Rossum 71160aaffe Use #include "mymath.h" instead of declaring fabs() explicitly.
This should solve a weird problem on the Mac for Jack.
1997-06-03 18:03:18 +00:00
Fred Drake cf3527b705 socket_type --> SocketType 1997-06-03 17:58:31 +00:00
Jack Jansen ca0f88d887 Added zlib 1997-06-03 15:30:39 +00:00
Jack Jansen 175f1c8007 Added USE_ZLIB to nonshared config files 1997-06-03 15:30:12 +00:00
Jack Jansen 120a105823 Removed SetScheduleTimes
Added SchedParams
Added docstrings for most routines
1997-06-03 15:29:41 +00:00
Jack Jansen e68a61c95b Added zlib (optional on USE_ZLIB) 1997-06-03 15:28:52 +00:00
Jack Jansen e3ae0dfeb7 Removed old scheduler parameterizing calls and replaced with something
a bit easier to use and understand
1997-06-03 15:28:29 +00:00
Jack Jansen 4a79a4b0a9 Removed SetScheduleTimes and PyMac_DoYieldEnabled
Added [GS]etSchedParams
Added parameter to PyMac_HandleEvent (safe to run python code at this point)
Removed various cruft
1997-06-03 15:27:31 +00:00
Guido van Rossum c24751b57a Add Host: header to URL request. 1997-06-03 14:34:19 +00:00
Guido van Rossum b94cd96977 Fix bug in copy() by using copy.copy() instead of making assumptions
(it so happens that copy.copy() works fine for the base UserDict
type).  Also reindented the entire module to have 4-space indents.
1997-06-03 14:10:01 +00:00
Fred Drake bd40d7e69f Added the new dictionary methods to the wrapper class. 1997-06-03 13:07:59 +00:00
Guido van Rossum 36bab7dbaf Don't stop if the tests fail the first time around. 1997-06-02 23:15:09 +00:00
Guido van Rossum 2d3aac2377 The usual 1997-06-02 23:14:37 +00:00
Guido van Rossum ce1fa263e6 Added tests for dict.clear(), dict.update(), dict.copy(). 1997-06-02 23:14:00 +00:00
Guido van Rossum 77e1db3b34 Support $HOME in expanduser().
(Who'd thought that *anyone* would be interested in writing ~/foo on NT :-)
1997-06-02 23:11:57 +00:00
Guido van Rossum dafce6db7b Expanded the setup instructions. 1997-06-02 23:10:06 +00:00
Guido van Rossum 525d52f8a4 Move the roulette() functionality out of the FaqDir class into the
FaqWizard class.
1997-06-02 22:52:37 +00:00
Guido van Rossum 46ff1903a3 Add default case (standard conformance) to avoid piling up
system specific #ifdefs.
1997-06-02 22:25:45 +00:00
Guido van Rossum ec4f4ac8c0 Added doc strings (Neil Schemenauer). 1997-06-02 22:20:51 +00:00