]>
granicus.if.org Git - python/log
Barry Warsaw [Fri, 2 Oct 1998 16:01:42 +0000 (16:01 +0000)]
Updated docstring.
Barry Warsaw [Fri, 2 Oct 1998 15:59:20 +0000 (15:59 +0000)]
all_names(): => unique_names()
aliases_of(): New method
Barry Warsaw [Fri, 2 Oct 1998 15:58:50 +0000 (15:58 +0000)]
Added docstring
Barry Warsaw [Fri, 2 Oct 1998 15:52:10 +0000 (15:52 +0000)]
Functionality complete
Barry Warsaw [Fri, 2 Oct 1998 14:43:30 +0000 (14:43 +0000)]
all_names(): Return just the unique names of rgb colors
Guido van Rossum [Fri, 2 Oct 1998 14:42:15 +0000 (14:42 +0000)]
The usual
Guido van Rossum [Fri, 2 Oct 1998 14:41:38 +0000 (14:41 +0000)]
Added BEOS_THREADS, HAVE_LONG_LONG, and SIZEOF_VOID_P templates.
Guido van Rossum [Fri, 2 Oct 1998 14:39:42 +0000 (14:39 +0000)]
Added tweak for SET_CCC (which I don't even know what it is!) for Linux.
Added AC_CHECK_SIZEOF(void *).
Added yet another test for pthreads (pthread_create may be in libc).
Added pthread_init to list of functions whose existence is checked.
Barry Warsaw [Fri, 2 Oct 1998 14:34:03 +0000 (14:34 +0000)]
Got click on working. Dragging is disabled for now
Barry Warsaw [Fri, 2 Oct 1998 14:14:39 +0000 (14:14 +0000)]
resolve(): Improved use of a/an, suggested by Tino Wildenhain
<cdtv@amigager.de>.
Guido van Rossum [Fri, 2 Oct 1998 14:06:56 +0000 (14:06 +0000)]
Eh, better error message for the previous change. It now says
"non-default argument follows default argument".
Guido van Rossum [Fri, 2 Oct 1998 13:41:54 +0000 (13:41 +0000)]
Treat def f(a, b=1, c): ... as an error (missing default for c)
instead of silently supplying a default of None fore c.
Guido van Rossum [Fri, 2 Oct 1998 03:17:29 +0000 (03:17 +0000)]
Up version to 1.5a2 -- we're close enough (even though I'm still
expecting some contributions).
Guido van Rossum [Fri, 2 Oct 1998 03:16:08 +0000 (03:16 +0000)]
ST_MODE should be ST_MTIME in utime call in copystat. Thanks to Mike Orr.
Guido van Rossum [Fri, 2 Oct 1998 01:23:47 +0000 (01:23 +0000)]
Some new blood and some updated versions.
Guido van Rossum [Fri, 2 Oct 1998 01:21:40 +0000 (01:21 +0000)]
A few new ones...
Guido van Rossum [Fri, 2 Oct 1998 01:19:48 +0000 (01:19 +0000)]
New test_long.py from Tim Peters.
Barry Warsaw [Thu, 1 Oct 1998 22:03:25 +0000 (22:03 +0000)]
Lots of good UI working, but not yet update-while-dragging
Barry Warsaw [Thu, 1 Oct 1998 21:40:48 +0000 (21:40 +0000)]
*** empty log message ***
Guido van Rossum [Thu, 1 Oct 1998 20:59:37 +0000 (20:59 +0000)]
Renamed thread.h to pythread.h.
Guido van Rossum [Thu, 1 Oct 1998 20:43:23 +0000 (20:43 +0000)]
Renamed thread.h to pythread.h.
(Also removed whitespace after # in some BEOS related cpp directives.)
Fred Drake [Thu, 1 Oct 1998 20:43:13 +0000 (20:43 +0000)]
Remove extra } at end of method description parameters.
Guido van Rossum [Thu, 1 Oct 1998 20:42:43 +0000 (20:42 +0000)]
Renamed thread.h to pythread.h.
Fred Drake [Thu, 1 Oct 1998 20:41:57 +0000 (20:41 +0000)]
Fix encoding of \ in some string literals in the discussion of "raw"
strings. Reported by Lorenzo M. Catucci <lorenzo@argon.roma2.infn.it>.
Fred Drake [Thu, 1 Oct 1998 20:40:43 +0000 (20:40 +0000)]
Fix some confusion in the __repr__() and __str__() descriptions.
Reported by Lorenzo M. Catucci <lorenzo@argon.roma2.infn.it>.
Fred Drake [Thu, 1 Oct 1998 20:39:47 +0000 (20:39 +0000)]
Fix encoding of \n in a couple of places (reported by Lorenzo
M. Catucci <lorenzo@argon.roma2.infn.it>).
Guido van Rossum [Thu, 1 Oct 1998 20:35:46 +0000 (20:35 +0000)]
Believe it or not, Solaris 2.6 strtod() can move the end pointer
*beyond* the null byte at the end of the input string, when the input
is inf(inity). Discovered by Greg Ward.
Barry Warsaw [Thu, 1 Oct 1998 16:47:06 +0000 (16:47 +0000)]
Change some init order
Barry Warsaw [Thu, 1 Oct 1998 16:46:43 +0000 (16:46 +0000)]
update_views_current(): New method
Barry Warsaw [Thu, 1 Oct 1998 16:46:16 +0000 (16:46 +0000)]
Added View button and popup of text widget
Barry Warsaw [Thu, 1 Oct 1998 16:45:32 +0000 (16:45 +0000)]
*** empty log message ***
Guido van Rossum [Thu, 1 Oct 1998 16:42:41 +0000 (16:42 +0000)]
Correctly add dependencies and build rules for Modules/python.o.
Guido van Rossum [Thu, 1 Oct 1998 16:02:31 +0000 (16:02 +0000)]
On second though, NEXITFUNCS should be defined in pythonrun.c and not
here; pystate.h doesn't use it (I thought I wanted to move the array
there but that won't work).
Guido van Rossum [Thu, 1 Oct 1998 16:01:57 +0000 (16:01 +0000)]
On second though, NEXITFUNCS should be defined here and not in
pystate.h; pystate.h doesn't use it (I thought I wanted to move the
array there but that won't work).
Guido van Rossum [Thu, 1 Oct 1998 15:59:48 +0000 (15:59 +0000)]
Typo reported by Greg Stein: "modifiable" is the correct spelling.
Barry Warsaw [Thu, 1 Oct 1998 15:54:48 +0000 (15:54 +0000)]
NSEW is also valid for -sticky
Barry Warsaw [Thu, 1 Oct 1998 15:35:43 +0000 (15:35 +0000)]
Document that apply() can now take any sequence in argument 2.
Barry Warsaw [Thu, 1 Oct 1998 15:33:12 +0000 (15:33 +0000)]
builtin_apply(): Second argument type check is relaxed to allow any sequence.
Guido van Rossum [Thu, 1 Oct 1998 15:24:50 +0000 (15:24 +0000)]
While scalling sys.modules, skip entries that don't have string keys,
to protect us from jokers who put items with non-string keys in
sys.modules. Reported by Greg Stein.
Barry Warsaw [Thu, 1 Oct 1998 14:26:57 +0000 (14:26 +0000)]
Gridify this widget
Barry Warsaw [Thu, 1 Oct 1998 14:26:26 +0000 (14:26 +0000)]
Make sure the menubar is stretched
Barry Warsaw [Thu, 1 Oct 1998 14:26:04 +0000 (14:26 +0000)]
Add a nice divider
Barry Warsaw [Thu, 1 Oct 1998 13:49:37 +0000 (13:49 +0000)]
Added NS and EW constants, which are meaningful values for grid's
-sticky option.
Barry Warsaw [Thu, 1 Oct 1998 13:41:05 +0000 (13:41 +0000)]
Fixed toggle b/w hex and decimal
Barry Warsaw [Thu, 1 Oct 1998 03:08:07 +0000 (03:08 +0000)]
Added options to visible window
Barry Warsaw [Thu, 1 Oct 1998 03:07:20 +0000 (03:07 +0000)]
Groove for debugging
Barry Warsaw [Thu, 1 Oct 1998 03:06:04 +0000 (03:06 +0000)]
Get rid of Edit menu
Barry Warsaw [Thu, 1 Oct 1998 02:57:05 +0000 (02:57 +0000)]
Added options to visible window
Guido van Rossum [Wed, 30 Sep 1998 14:34:52 +0000 (14:34 +0000)]
In FreeBSD when using ELF, an underscore is needed in front of the
function name. (Vladimir Kushnir by way of Thomas Gellekum.)
Jack Jansen [Wed, 30 Sep 1998 09:11:51 +0000 (09:11 +0000)]
Disable python event handling in mainloop (discovered by Tasselli Marco)
Barry Warsaw [Tue, 29 Sep 1998 20:04:19 +0000 (20:04 +0000)]
Added interface to get/set colordb
Barry Warsaw [Tue, 29 Sep 1998 20:03:53 +0000 (20:03 +0000)]
Removed old cruft, added raw about dialog
Barry Warsaw [Tue, 29 Sep 1998 20:03:15 +0000 (20:03 +0000)]
Changed interface for nearest() method to take individual red, green,
blue values instead of tuple
Barry Warsaw [Tue, 29 Sep 1998 20:02:27 +0000 (20:02 +0000)]
Got updating with Return/Tab working
Barry Warsaw [Tue, 29 Sep 1998 19:51:18 +0000 (19:51 +0000)]
Un PMW-ified
Barry Warsaw [Tue, 29 Sep 1998 17:36:43 +0000 (17:36 +0000)]
Added an extra frame in widget heirarchy in case I want to add
separators later
Guido van Rossum [Tue, 29 Sep 1998 15:57:42 +0000 (15:57 +0000)]
Fix suggested by Sjoerd (long ago!) to get a better error message when
there's a syntax error. (In particular, display the correct
filename). This changes the API: if there's a syntax error, the
function now returns normally after dumping the error to sys.stderr.
I changed Sjoerd's use of string.join(string.split(...)) with
string.replace().
Barry Warsaw [Tue, 29 Sep 1998 15:44:20 +0000 (15:44 +0000)]
Un PMW-ified
Barry Warsaw [Mon, 28 Sep 1998 23:41:53 +0000 (23:41 +0000)]
Rework startup
Barry Warsaw [Mon, 28 Sep 1998 23:41:12 +0000 (23:41 +0000)]
simplify
Barry Warsaw [Mon, 28 Sep 1998 23:39:18 +0000 (23:39 +0000)]
triplet_to_brightness(): New function
Barry Warsaw [Mon, 28 Sep 1998 23:38:44 +0000 (23:38 +0000)]
De PMW-ify
Barry Warsaw [Mon, 28 Sep 1998 22:52:02 +0000 (22:52 +0000)]
Fixed the brightness calculation
Barry Warsaw [Mon, 28 Sep 1998 22:42:44 +0000 (22:42 +0000)]
Updated to new post-PMW framework. Moved generators to here and added
the StripViewer class.
Guido van Rossum [Mon, 28 Sep 1998 22:15:37 +0000 (22:15 +0000)]
Remove redundant definition of NEXITFUNCS.
(Reported by Jeff Rush.)
Guido van Rossum [Mon, 28 Sep 1998 22:07:11 +0000 (22:07 +0000)]
Fixes for OS/2 by Jeff Rush.
Guido van Rossum [Mon, 28 Sep 1998 22:05:22 +0000 (22:05 +0000)]
Move the #include of <sys/select> to *after* mytime.h (or <time.h>),
as this is the logical order of dependencies. Suggested by Jeff Rush.
Guido van Rossum [Mon, 28 Sep 1998 22:02:40 +0000 (22:02 +0000)]
New set of files for the OS/2 port by Jeff Rush.
Guido van Rossum [Mon, 28 Sep 1998 21:55:25 +0000 (21:55 +0000)]
Removed some OS/2 #defines (now in the OS/2 specific config.h).
Patch by Jeff Rush.
Barry Warsaw [Mon, 28 Sep 1998 21:01:55 +0000 (21:01 +0000)]
formatting
Barry Warsaw [Mon, 28 Sep 1998 20:58:06 +0000 (20:58 +0000)]
Un PMW-ified
Barry Warsaw [Mon, 28 Sep 1998 16:28:04 +0000 (16:28 +0000)]
Un PMW-ified
Barry Warsaw [Mon, 28 Sep 1998 15:59:21 +0000 (15:59 +0000)]
Initial revision
Guido van Rossum [Mon, 28 Sep 1998 15:34:46 +0000 (15:34 +0000)]
New version from Piers Lauder, who writes:
Added a debug function to replace 'print' statements.
Ensured that response attached to 'NO' replies is passed back.
added readonly exception.
Rearranged method order into types.
Ensure select returns a meaningful error on 'NO'.
'NO' returns from authenticate and login raise error with last message,
not list.
Guido van Rossum [Mon, 28 Sep 1998 15:33:38 +0000 (15:33 +0000)]
Don't set a local variable named __args__; this feature no longer
works and Greg Ward just reported a problem it caused...
Guido van Rossum [Mon, 28 Sep 1998 14:28:38 +0000 (14:28 +0000)]
Add warning that on Windows it only works on sockets.
Guido van Rossum [Mon, 28 Sep 1998 14:08:29 +0000 (14:08 +0000)]
Document new urllib features by Eric Raymond.
Guido van Rossum [Mon, 28 Sep 1998 14:07:00 +0000 (14:07 +0000)]
Changes by Eric Raymond:
1. Generate a correct Content-Length header visible through the info() method
if a request to open an FTP URL gets a length in the response to RETR.
2. Take a third argument to urlretrieve() that makes it possible to progress-
meter an urlretrieve call (this is what I needed the above change for).
See the second patch band below for details.
3. To avoid spurious errors, I commented out the gopher test. The target
document no longer exists.
Jack Jansen [Mon, 28 Sep 1998 10:37:08 +0000 (10:37 +0000)]
Truncate messages if they are longer than 255 characters. Note that this is
not really a good solution for default input strings...
Barry Warsaw [Fri, 25 Sep 1998 22:51:36 +0000 (22:51 +0000)]
Fixed unit test
Barry Warsaw [Fri, 25 Sep 1998 22:43:21 +0000 (22:43 +0000)]
Updated the docstring and class hierarchy diagram
Barry Warsaw [Fri, 25 Sep 1998 19:40:10 +0000 (19:40 +0000)]
(py-comint-output-filter-function): Horrible kludgearound for making
the de-queing of exec files work for NT XEmacs 21.0.
Guido van Rossum [Fri, 25 Sep 1998 14:11:46 +0000 (14:11 +0000)]
In PyFrame_New(), don't set extras to something derived from code
before code has been checked for validity. Discovered by Vladimir
Marangozov.
Barry Warsaw [Fri, 25 Sep 1998 00:08:38 +0000 (00:08 +0000)]
(py-guess-indent-offset): Only print message about py-indent-offset
when in an interactive session (suggested by B. Wiener).
Barry Warsaw [Thu, 24 Sep 1998 23:48:40 +0000 (23:48 +0000)]
(py-execute-file, py-execute-import-or-reload): Use a Python `raw'
string in the argument to execfile() so a Windows temp directory
named, e.g. c:\\tmp doesn't get interpreted as a file name with an
embedded tab! (given by C. Waldman).
Guido van Rossum [Thu, 24 Sep 1998 18:09:47 +0000 (18:09 +0000)]
Add two constants (with the same value) to specify the on-board CD input.
Fred Drake [Wed, 23 Sep 1998 17:37:14 +0000 (17:37 +0000)]
Added realclean and distclean targets to match ../Makefile.
Guido van Rossum [Wed, 23 Sep 1998 13:35:45 +0000 (13:35 +0000)]
Add define of HAVE_STDDEF_H (to 1). Suggested by Greg Stein.
Guido van Rossum [Tue, 22 Sep 1998 20:38:53 +0000 (20:38 +0000)]
Reworked it quite a bit. There are now two classes: a base class,
InteractiveInterpreter, which handles parsing and interpreter state
but doesn't know deal with buffering or prompting or input file
naming. And a derived class, InteractiveConsole, which adds buffering
and prompting and supports setting the filename once. Also tweak the
algorithm in compile_command() a bit so that input consisting of all
blank lines or comments always succeeds immediately, and note the fact
that apart from SyntaxError it can also raise OverflowError.
Barry Warsaw [Tue, 22 Sep 1998 19:51:47 +0000 (19:51 +0000)]
(py-block-comment-prefix): Remove trailing space. Also explain that
this string should not end with whitespace.
(py-compute-indentation): Append whitespace regexp to
py-block-comment-prefix so that any combination of intervening
whitespace will be recognized.
Guido van Rossum [Tue, 22 Sep 1998 02:38:42 +0000 (02:38 +0000)]
Do the check for lacking sys.stdin.fileno() *before* testing for
Windows. If sys.stdin doesn't appear to be a real file (characterized
by having a working fileno()), don't use any console specific methods
-- go straight to the default.
Guido van Rossum [Mon, 21 Sep 1998 20:00:35 +0000 (20:00 +0000)]
When sys.stdin.fileno() doesn't work, fall back to default_getpass()
-- don't just die.
Guido van Rossum [Mon, 21 Sep 1998 19:26:16 +0000 (19:26 +0000)]
Explicitly document the fact that the search method returns a MatchObject.
(Reported by Gary Herron.)
Guido van Rossum [Mon, 21 Sep 1998 17:40:47 +0000 (17:40 +0000)]
After the previous changes, func_normalize() turned out to be redundant.
This simplified some other places in the code.
Guido van Rossum [Mon, 21 Sep 1998 16:52:44 +0000 (16:52 +0000)]
Changes so that JPython can also use this version of profile.py.
Suggested by Jim Hugunin.
Guido van Rossum [Mon, 21 Sep 1998 14:53:26 +0000 (14:53 +0000)]
Get rid of the classes RModuleLoader and RModuleImporter -- these were
only there to override reload() in a way that doesn't make a whole lot
of sense and moreover broke since the latest changes in ihooks.
Guido van Rossum [Mon, 21 Sep 1998 14:52:22 +0000 (14:52 +0000)]
Comment out 't = t[0] + t[1]' in profiler_simulation() -- this
function is only used when running the calibration code, and it turns
out that recent changes in the timing code caused this statement to
raise an exception.
Guido van Rossum [Mon, 21 Sep 1998 14:47:16 +0000 (14:47 +0000)]
Get rid of the test for non-NULL thread state in EventHook; it can be
triggered in situations that are not an error.
Guido van Rossum [Mon, 21 Sep 1998 14:46:00 +0000 (14:46 +0000)]
When we have siginterrupt(), use it to disable restarting interrupted
system calls.
Guido van Rossum [Mon, 21 Sep 1998 14:45:22 +0000 (14:45 +0000)]
Enable the 'new' module by default.