Guido van Rossum
9b1718c0e7
New PythonPowered logo image.
1997-07-13 03:32:28 +00:00
Guido van Rossum
1d8b7583dc
Removed the traceback output in non-verbose mode
1997-07-11 21:14:53 +00:00
Guido van Rossum
5d6de256d5
New from Jeffrey; small nits.
1997-07-11 21:10:17 +00:00
Guido van Rossum
8a9a4a2336
Jeffrey's latest.
1997-07-11 20:48:25 +00:00
Guido van Rossum
035aae0f09
Some small nits.
1997-07-11 20:47:58 +00:00
Guido van Rossum
185147f1d0
Test urlparse cache with try/except instead of has_key.
...
This makes it thread-safe again.
1997-07-11 20:13:10 +00:00
Guido van Rossum
7ffbd2f86c
This is pretty pathetic and full of errors,
...
but it makes the regression test not complain about test_re.
1997-07-11 19:43:46 +00:00
Guido van Rossum
8e0ce30ce4
test suite for re.py
1997-07-11 19:34:44 +00:00
Guido van Rossum
007c80e5b7
Added reop (moved reop and regex to non-shared section).
...
Added -I$(DBPORT) for bsddb compilation line.
1997-07-11 18:40:46 +00:00
Guido van Rossum
105bd989e3
Added /usr/bin/env python and made executable.
1997-07-11 18:39:03 +00:00
Guido van Rossum
1243ae7f07
Allow '@' character as end of line padding in uuencode format.
...
Not sure why this is generated, but this fixes a problem with a
particular file that was received with the following final line:
F-WE<-*A5]AY]%7>8'&!!(_Y<F*55_"*%46"<OFG=>_5(F/\'``!@
1997-07-11 18:36:28 +00:00
Guido van Rossum
e3cd151d1f
Use the modules base64, quopri, and uu, instead of external programs
...
to decode/encode the standard transfer encodings.
1997-07-11 16:33:26 +00:00
Guido van Rossum
31cbc846ac
Oops, some clarifications to conditional breaks.
1997-07-11 13:57:28 +00:00
Guido van Rossum
255d790077
Added (minimal) doc for conditional breakpoints.
...
(Lie about the syntax (and the syntax for "list") because latex2html
doesn't seem to handle doubly nested [] pairs.)
1997-07-11 13:51:17 +00:00
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