]>
granicus.if.org Git - python/log
Guido van Rossum [Sat, 19 Jul 1997 00:02:22 +0000 (00:02 +0000)]
Remove confusing usage comments at end.
Guido van Rossum [Fri, 18 Jul 1997 23:59:26 +0000 (23:59 +0000)]
Include pystate.h earlier so it can be referenced by ceval.h.
Guido van Rossum [Fri, 18 Jul 1997 23:57:50 +0000 (23:57 +0000)]
Use the new functions PyEval_AcquireThread() and
PyEval_ReleaseThread() (in ceval.c) to set/reset the current thread,
and at the same time acquire/release the interpreter lock.
Much saner.
Guido van Rossum [Fri, 18 Jul 1997 23:56:58 +0000 (23:56 +0000)]
PyEval_SaveThread() and PyEval_RestoreThread() now return/take a
PyThreadState pointer instead of a (frame) PyObject pointer. This
makes much more sense. It is backward incompatible, but that's no
problem, because (a) the heaviest users are the Py_{BEGIN,END}_
ALLOW_THREADS macros here, which have been fixed too; (b) there are
very few direct users; (c) those who use it are there will probably
appreciate the change.
Also, added new functions PyEval_AcquireThread() and
PyEval_ReleaseThread() which allows the threads created by the thread
module as well threads created by others (!) to set/reset the current
thread, and at the same time acquire/release the interpreter lock.
Much saner.
Guido van Rossum [Fri, 18 Jul 1997 23:50:22 +0000 (23:50 +0000)]
Nit: round delays to 0.1 second.
Guido van Rossum [Fri, 18 Jul 1997 23:29:40 +0000 (23:29 +0000)]
The usual
Guido van Rossum [Fri, 18 Jul 1997 23:29:09 +0000 (23:29 +0000)]
Set OPT to -g -O2 (or -O2 when -g not supported) when using gcc.
Guido van Rossum [Fri, 18 Jul 1997 21:08:07 +0000 (21:08 +0000)]
added code.py; codehack.py is obsolete
Guido van Rossum [Fri, 18 Jul 1997 21:07:34 +0000 (21:07 +0000)]
Added label{module-spam}
Fred Drake [Fri, 18 Jul 1997 20:44:22 +0000 (20:44 +0000)]
Remove pprint from the list of undocumented modules.
Fred Drake [Fri, 18 Jul 1997 20:43:53 +0000 (20:43 +0000)]
Add entry for the pprint module.
Fred Drake [Fri, 18 Jul 1997 20:43:27 +0000 (20:43 +0000)]
Add libpprint.tex to the lib.dvi dependencies.
Fred Drake [Fri, 18 Jul 1997 20:42:39 +0000 (20:42 +0000)]
Slight mods to make the module conform to the documentation.
Fred Drake [Fri, 18 Jul 1997 20:41:58 +0000 (20:41 +0000)]
Documentation for the pprint module.
Guido van Rossum [Fri, 18 Jul 1997 16:57:52 +0000 (16:57 +0000)]
Checking in new module code.py -- utilities dealing with code objects.
Currently, contains one function: compile_command(), which helps
determining whether a source string is complete, incomplete or in
error. This is useful when writing your own version of the Python
read-eval-print loop.
Guido van Rossum [Fri, 18 Jul 1997 16:48:30 +0000 (16:48 +0000)]
This module is now completely obsolete.
Noted this in the XXX comments.
Also, changed all three functions to use the attributes if they exist.
Guido van Rossum [Fri, 18 Jul 1997 16:47:40 +0000 (16:47 +0000)]
No longer need to use codehack -- use co.co_firstlineno instead.
Guido van Rossum [Fri, 18 Jul 1997 16:46:36 +0000 (16:46 +0000)]
Use sys.exc_info() instead of sys.exc_{type,value,traceback}.
Also corrected a typo in format_stack (t should've been f).
Guido van Rossum [Fri, 18 Jul 1997 04:26:25 +0000 (04:26 +0000)]
Some new tests by Jeffrey
Guido van Rossum [Fri, 18 Jul 1997 04:26:03 +0000 (04:26 +0000)]
Jeffrey's latest -- reorder my chages somewhat,
removed some of his own cruft. Added \g<...> references in replacement text.
Guido van Rossum [Thu, 17 Jul 1997 23:12:42 +0000 (23:12 +0000)]
Huge speedup by inlining some common integer operations:
int+int, int-int, int <compareop> int, and list[int].
(Unfortunately, int*int is way too much code to inline.)
Also corrected a NULL that should have been a zero.
Guido van Rossum [Thu, 17 Jul 1997 22:56:01 +0000 (22:56 +0000)]
Patches by AMK to check that the db is still open.
Guido van Rossum [Thu, 17 Jul 1997 22:55:06 +0000 (22:55 +0000)]
Add 'return' keyword before error calls.
Guido van Rossum [Thu, 17 Jul 1997 22:41:38 +0000 (22:41 +0000)]
Jeffrey's latests
Guido van Rossum [Thu, 17 Jul 1997 22:39:13 +0000 (22:39 +0000)]
Correctly implement sub, subn, and split. Also correct and augment
the cache code.
Guido van Rossum [Thu, 17 Jul 1997 22:38:10 +0000 (22:38 +0000)]
Jeffrey's next installment
Guido van Rossum [Thu, 17 Jul 1997 22:37:07 +0000 (22:37 +0000)]
Corresponding output.
Guido van Rossum [Thu, 17 Jul 1997 22:36:39 +0000 (22:36 +0000)]
Several additions from Jeffrey.
Guido van Rossum [Thu, 17 Jul 1997 22:36:14 +0000 (22:36 +0000)]
Added tests for sub, subn, and split.
Guido van Rossum [Thu, 17 Jul 1997 18:30:15 +0000 (18:30 +0000)]
Use 'and' instead of '&', which is a (La)TeX control character.
"make lib tut ext" should now be errorfree.
Guido van Rossum [Thu, 17 Jul 1997 18:27:53 +0000 (18:27 +0000)]
Add AMK's seealso environment that is now used in the library manual
at some places.
Guido van Rossum [Thu, 17 Jul 1997 16:34:52 +0000 (16:34 +0000)]
AMK's megapatch:
* \bcode, \ecode added everywhere
* \label{module-foo} added everywhere
* A few \seealso sections added.
* Indentation fixed inside verbatim in lib*tex files
Guido van Rossum [Thu, 17 Jul 1997 16:29:42 +0000 (16:29 +0000)]
Extensive changes by AMK.
Guido van Rossum [Thu, 17 Jul 1997 16:29:04 +0000 (16:29 +0000)]
Note that getvalue() must be called before close().
Guido van Rossum [Thu, 17 Jul 1997 16:27:42 +0000 (16:27 +0000)]
Added libni.tex libgzip.tex
Guido van Rossum [Thu, 17 Jul 1997 16:26:11 +0000 (16:26 +0000)]
New from AMK
Guido van Rossum [Thu, 17 Jul 1997 16:21:52 +0000 (16:21 +0000)]
New version (interim) by AMK.
Guido van Rossum [Thu, 17 Jul 1997 16:21:18 +0000 (16:21 +0000)]
Removed mailbox, SocketServer, cmath -- these are now documented!
Guido van Rossum [Thu, 17 Jul 1997 16:15:18 +0000 (16:15 +0000)]
Added cmath
Guido van Rossum [Thu, 17 Jul 1997 16:14:12 +0000 (16:14 +0000)]
Typo in example.
Guido van Rossum [Thu, 17 Jul 1997 16:13:45 +0000 (16:13 +0000)]
New cmath module docs, by AMK (with additions and deletions by Guido).
Guido van Rossum [Thu, 17 Jul 1997 16:05:47 +0000 (16:05 +0000)]
Added fileno(); added readlines(sizehint).
AMK's sed job.
Guido van Rossum [Thu, 17 Jul 1997 15:58:43 +0000 (15:58 +0000)]
Fix dropped word.
Guido van Rossum [Thu, 17 Jul 1997 15:21:52 +0000 (15:21 +0000)]
Fix xover implementation according to Fred Lundh.
Guido van Rossum [Thu, 17 Jul 1997 14:52:48 +0000 (14:52 +0000)]
Jeffrey's latest -- seems to solve most problems!
Guido van Rossum [Thu, 17 Jul 1997 14:51:37 +0000 (14:51 +0000)]
Add flush() method to fake file.
Guido van Rossum [Wed, 16 Jul 1997 16:21:38 +0000 (16:21 +0000)]
Fix bug found by kjpylint; change doc string to avoid "(" in column 1.
Guido van Rossum [Wed, 16 Jul 1997 15:51:52 +0000 (15:51 +0000)]
Added remaining PyThread symbols.
Guido van Rossum [Wed, 16 Jul 1997 15:48:20 +0000 (15:48 +0000)]
Added a few new undocumented modules.
Guido van Rossum [Wed, 16 Jul 1997 01:56:13 +0000 (01:56 +0000)]
Catch all exceptions in test modules.
Guido van Rossum [Tue, 15 Jul 1997 19:01:38 +0000 (19:01 +0000)]
Added output from new tests.
Guido van Rossum [Tue, 15 Jul 1997 19:01:04 +0000 (19:01 +0000)]
Fixed a syntax error caused by a bad line in the Perl source.
Guido van Rossum [Tue, 15 Jul 1997 18:59:04 +0000 (18:59 +0000)]
Correct inf. while loop.
Guido van Rossum [Tue, 15 Jul 1997 18:47:48 +0000 (18:47 +0000)]
Merged Jeffrey's changes in.
Guido van Rossum [Tue, 15 Jul 1997 18:45:20 +0000 (18:45 +0000)]
Merged my changes in, and added all converted Perl tests.
Guido van Rossum [Tue, 15 Jul 1997 18:42:58 +0000 (18:42 +0000)]
Jeffrey's version
Guido van Rossum [Tue, 15 Jul 1997 18:11:42 +0000 (18:11 +0000)]
More changes by Jeffrey.
Guido van Rossum [Tue, 15 Jul 1997 15:49:52 +0000 (15:49 +0000)]
Tweak re_tests and test_re to differentiate between
groups that have no value and groups that are out of bounds.
Guido van Rossum [Tue, 15 Jul 1997 15:40:57 +0000 (15:40 +0000)]
More tweaks; re.py is nearly there...
Guido van Rossum [Tue, 15 Jul 1997 15:40:29 +0000 (15:40 +0000)]
Fix group() -- should be tuple even when re has exactly one group.
Guido van Rossum [Tue, 15 Jul 1997 15:38:20 +0000 (15:38 +0000)]
Jeffrey's latest -- almost there.
Guido van Rossum [Tue, 15 Jul 1997 14:38:13 +0000 (14:38 +0000)]
Jeffrey's newest
Guido van Rossum [Tue, 15 Jul 1997 02:49:15 +0000 (02:49 +0000)]
Three fewer incorrect failures
Guido van Rossum [Tue, 15 Jul 1997 01:47:08 +0000 (01:47 +0000)]
Reformatted.
Fixed some problem with uninitialized syntax tables.
Jeffrey.
Guido van Rossum [Mon, 14 Jul 1997 19:08:15 +0000 (19:08 +0000)]
After some discussion with Jeremy and Fred, decided to limit the
default urlparse cache size to 20 instead of 2000. The main use of
the cache seems to be to gain some speed in Grail, which is calling
urljoin with the same base for each anchor. 2000 is a bit too big for
Jeremy, who doesn't need the cache at all. 20 should keep at least
95% of the Grail speedup while wasting an insignificant amount of
memory in Jeremy's application.
Guido van Rossum [Sun, 13 Jul 1997 03:58:01 +0000 (03:58 +0000)]
Reordered list of methods to hopefully put the most frequently used
ones near the front.
Guido van Rossum [Sun, 13 Jul 1997 03:56:50 +0000 (03:56 +0000)]
Reordered list of methods to hopefully put the most frequently used
ones near the front.
Also added a missing "return -1" to PyFile_WriteString.
Guido van Rossum [Sun, 13 Jul 1997 03:36:53 +0000 (03:36 +0000)]
Upped version to 0.6.
Guido van Rossum [Sun, 13 Jul 1997 03:32:28 +0000 (03:32 +0000)]
New PythonPowered logo image.
Guido van Rossum [Fri, 11 Jul 1997 21:14:53 +0000 (21:14 +0000)]
Removed the traceback output in non-verbose mode
Guido van Rossum [Fri, 11 Jul 1997 21:10:17 +0000 (21:10 +0000)]
New from Jeffrey; small nits.
Guido van Rossum [Fri, 11 Jul 1997 20:48:25 +0000 (20:48 +0000)]
Jeffrey's latest.
Guido van Rossum [Fri, 11 Jul 1997 20:47:58 +0000 (20:47 +0000)]
Some small nits.
Guido van Rossum [Fri, 11 Jul 1997 20:13:10 +0000 (20:13 +0000)]
Test urlparse cache with try/except instead of has_key.
This makes it thread-safe again.
Guido van Rossum [Fri, 11 Jul 1997 19:43:46 +0000 (19:43 +0000)]
This is pretty pathetic and full of errors,
but it makes the regression test not complain about test_re.
Guido van Rossum [Fri, 11 Jul 1997 19:34:44 +0000 (19:34 +0000)]
test suite for re.py
Guido van Rossum [Fri, 11 Jul 1997 18:40:46 +0000 (18:40 +0000)]
Added reop (moved reop and regex to non-shared section).
Added -I$(DBPORT) for bsddb compilation line.
Guido van Rossum [Fri, 11 Jul 1997 18:39:03 +0000 (18:39 +0000)]
Added /usr/bin/env python and made executable.
Guido van Rossum [Fri, 11 Jul 1997 18:36:28 +0000 (18:36 +0000)]
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/\'``!@
Guido van Rossum [Fri, 11 Jul 1997 16:33:26 +0000 (16:33 +0000)]
Use the modules base64, quopri, and uu, instead of external programs
to decode/encode the standard transfer encodings.
Guido van Rossum [Fri, 11 Jul 1997 13:57:28 +0000 (13:57 +0000)]
Oops, some clarifications to conditional breaks.
Guido van Rossum [Fri, 11 Jul 1997 13:51:17 +0000 (13:51 +0000)]
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.)
Guido van Rossum [Fri, 11 Jul 1997 13:43:53 +0000 (13:43 +0000)]
Support for conditional breakpoints (Jim Fulton, with some changes).
Guido van Rossum [Fri, 11 Jul 1997 13:43:31 +0000 (13:43 +0000)]
Normalize whitespace.
Guido van Rossum [Fri, 11 Jul 1997 13:42:50 +0000 (13:42 +0000)]
Support for conditional breakpoints (Jim Fulton).
Guido van Rossum [Fri, 11 Jul 1997 11:10:44 +0000 (11:10 +0000)]
Removed debug print in set construction.
Changed some '==' to 'in' (Tim Peters).
Guido van Rossum [Fri, 11 Jul 1997 11:08:38 +0000 (11:08 +0000)]
New version from Jeffrey after I complained about some glaring bugs.
Guido van Rossum [Thu, 10 Jul 1997 22:43:05 +0000 (22:43 +0000)]
Add MALLOC_ZERO_RETURNS_NULL symbol.
Guido van Rossum [Thu, 10 Jul 1997 22:42:38 +0000 (22:42 +0000)]
Added check whether malloc(0) returns NULL or not.
Guido van Rossum [Thu, 10 Jul 1997 22:40:54 +0000 (22:40 +0000)]
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.
Guido van Rossum [Thu, 10 Jul 1997 21:00:31 +0000 (21:00 +0000)]
Straight from Jeffrey Ollie's web page.
Guido van Rossum [Thu, 10 Jul 1997 18:00:45 +0000 (18:00 +0000)]
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__].
Barry Warsaw [Thu, 10 Jul 1997 15:58:36 +0000 (15:58 +0000)]
(py-shell): Remove support for Emacs 18, implicitly add support for
Emacs 20, and bind TAB key to self-insert-command in *Python* process.
Guido van Rossum [Thu, 10 Jul 1997 15:14:50 +0000 (15:14 +0000)]
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.
Guido van Rossum [Thu, 10 Jul 1997 14:31:32 +0000 (14:31 +0000)]
New versions straight from Jeffrey Ollie's web site
Guido van Rossum [Thu, 10 Jul 1997 01:06:53 +0000 (01:06 +0000)]
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.
Fred Drake [Tue, 24 Jun 1997 22:02:54 +0000 (22:02 +0000)]
Wrapped up the ~/.netrc support. This is basically just the changes Guido &
I discussed to the original version way-back-when.
Fred Drake [Fri, 20 Jun 1997 16:55:08 +0000 (16:55 +0000)]
fixed typo, "header" ==> "headers"
Jack Jansen [Fri, 20 Jun 1997 16:25:00 +0000 (16:25 +0000)]
Mods for user mainloop event handling
Jack Jansen [Fri, 20 Jun 1997 16:24:24 +0000 (16:24 +0000)]
Added dopendingevents call
Added asyncevents call to enable asynchronous event handling