Guido van Rossum
9e1ee9715e
Support for conditional breakpoints (Jim Fulton, with some changes).
1997-07-11 13:43:53 +00:00
Guido van Rossum
668361766a
Normalize whitespace.
1997-07-11 13:43:31 +00:00
Guido van Rossum
ff02e1ddde
Support for conditional breakpoints (Jim Fulton).
1997-07-11 13:42:50 +00:00
Guido van Rossum
65c28b7efb
Removed debug print in set construction.
...
Changed some '==' to 'in' (Tim Peters).
1997-07-11 11:10:44 +00:00
Guido van Rossum
63e18195b8
New version from Jeffrey after I complained about some glaring bugs.
1997-07-11 11:08:38 +00:00
Guido van Rossum
443389fd2e
Add MALLOC_ZERO_RETURNS_NULL symbol.
1997-07-10 22:43:05 +00:00
Guido van Rossum
ad71370279
Added check whether malloc(0) returns NULL or not.
1997-07-10 22:42:38 +00:00
Guido van Rossum
4b11c74f7c
Only add 1 byte to all malloc calls when it is known that malloc(0) or
...
realloc(p, 0) returns NULL. See changes to configure script to be
checked in later.
1997-07-10 22:40:54 +00:00
Guido van Rossum
5ca1b711b5
Straight from Jeffrey Ollie's web page.
1997-07-10 21:00:31 +00:00
Guido van Rossum
b65e85cb73
Fix problem discovered by Greg McFarlane: when an imported module
...
replaces its own entry in sys.module, reference count errors ensue;
even if there is no reference count problem, it would be preferable
for the import to yield the new thing in sys.modules anyway (if only
because that's what later imports will yield). This opens the road to
an official hack to implement a __getattr__ like feature for modules:
stick an instance in sys.modules[__name__].
1997-07-10 18:00:45 +00:00
Barry Warsaw
e6648967b7
(py-shell): Remove support for Emacs 18, implicitly add support for
...
Emacs 20, and bind TAB key to self-insert-command in *Python* process.
1997-07-10 15:58:36 +00:00
Guido van Rossum
d247812521
Two improvements suggested by Tim Peters: speed up random() since we
...
know Python integers are at least 32 bits long; and avoid zeros in
initial seed value.
1997-07-10 15:14:50 +00:00
Guido van Rossum
db25f32849
New versions straight from Jeffrey Ollie's web site
1997-07-10 14:31:32 +00:00
Guido van Rossum
db9e20f418
Fix bug reported by Just: anonymous arguments used for tuples should
...
have a unique name, otherwise they get squished by locals2fast (or
fast2locals, I dunno) when the debugger is invoked before they have
been transferred to real locals.
1997-07-10 01:06:53 +00:00
Fred Drake
475d51d7b2
Wrapped up the ~/.netrc support. This is basically just the changes Guido &
...
I discussed to the original version way-back-when.
1997-06-24 22:02:54 +00:00
Fred Drake
dd527332b7
fixed typo, "header" ==> "headers"
1997-06-20 16:55:08 +00:00
Jack Jansen
50ea91976b
Mods for user mainloop event handling
1997-06-20 16:25:00 +00:00
Jack Jansen
d080eddf8e
Added dopendingevents call
...
Added asyncevents call to enable asynchronous event handling
1997-06-20 16:24:24 +00:00
Jack Jansen
3f5aef7fef
Allow specifying own resources for all dialogs
...
Allow changing labels on yesnocancel dialog
1997-06-20 16:23:37 +00:00
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