Guido van Rossum
c864ad695f
Nit: round delays to 0.1 second.
1997-07-18 23:50:22 +00:00
Fred Drake
e0ffabe375
Slight mods to make the module conform to the documentation.
1997-07-18 20:42:39 +00:00
Guido van Rossum
1557a7314c
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.
1997-07-18 16:57:52 +00:00
Guido van Rossum
f357d3ef52
This module is now completely obsolete.
...
Noted this in the XXX comments.
Also, changed all three functions to use the attributes if they exist.
1997-07-18 16:48:30 +00:00
Guido van Rossum
c444865994
No longer need to use codehack -- use co.co_firstlineno instead.
1997-07-18 16:47:40 +00:00
Guido van Rossum
2deb73a961
Use sys.exc_info() instead of sys.exc_{type,value,traceback}.
...
Also corrected a typo in format_stack (t should've been f).
1997-07-18 16:46:36 +00:00
Guido van Rossum
4994657c5f
Some new tests by Jeffrey
1997-07-18 04:26:25 +00:00
Guido van Rossum
71fa97c60d
Jeffrey's latest -- reorder my chages somewhat,
...
removed some of his own cruft. Added \g<...> references in replacement text.
1997-07-18 04:26:03 +00:00
Guido van Rossum
9e18ec7dc9
Correctly implement sub, subn, and split. Also correct and augment
...
the cache code.
1997-07-17 22:39:13 +00:00
Guido van Rossum
a4f1a78b6e
Jeffrey's next installment
1997-07-17 22:38:10 +00:00
Guido van Rossum
32d6f3c0ce
Corresponding output.
1997-07-17 22:37:07 +00:00
Guido van Rossum
06c0ec94e4
Several additions from Jeffrey.
1997-07-17 22:36:39 +00:00
Guido van Rossum
23b225741c
Added tests for sub, subn, and split.
1997-07-17 22:36:14 +00:00
Guido van Rossum
c3fb88be8b
Fix xover implementation according to Fred Lundh.
1997-07-17 15:21:52 +00:00
Guido van Rossum
a0e4c1bffc
Jeffrey's latest -- seems to solve most problems!
1997-07-17 14:52:48 +00:00
Guido van Rossum
75fce308bc
Add flush() method to fake file.
1997-07-17 14:51:37 +00:00
Guido van Rossum
db2b70cb99
Fix bug found by kjpylint; change doc string to avoid "(" in column 1.
1997-07-16 16:21:38 +00:00
Guido van Rossum
9e48b272b9
Catch all exceptions in test modules.
1997-07-16 01:56:13 +00:00
Guido van Rossum
65cd989441
Added output from new tests.
1997-07-15 19:01:38 +00:00
Guido van Rossum
9ddd9dad80
Fixed a syntax error caused by a bad line in the Perl source.
1997-07-15 19:01:04 +00:00
Guido van Rossum
26d80e6714
Correct inf. while loop.
1997-07-15 18:59:04 +00:00
Guido van Rossum
e8b81313db
Merged Jeffrey's changes in.
1997-07-15 18:47:48 +00:00
Guido van Rossum
16bd0ff16a
Merged my changes in, and added all converted Perl tests.
1997-07-15 18:45:20 +00:00
Guido van Rossum
337c6d41d4
Jeffrey's version
1997-07-15 18:42:58 +00:00
Guido van Rossum
9f845ec64b
More changes by Jeffrey.
1997-07-15 18:11:42 +00:00
Guido van Rossum
23b8d4c15e
Tweak re_tests and test_re to differentiate between
...
groups that have no value and groups that are out of bounds.
1997-07-15 15:49:52 +00:00
Guido van Rossum
847ed4afb5
More tweaks; re.py is nearly there...
1997-07-15 15:40:57 +00:00
Guido van Rossum
531097502c
Fix group() -- should be tuple even when re has exactly one group.
1997-07-15 15:40:29 +00:00
Guido van Rossum
09bcfd649a
Jeffrey's latest -- almost there.
1997-07-15 15:38:20 +00:00
Guido van Rossum
04a1d74229
Jeffrey's newest
1997-07-15 14:38:13 +00:00
Guido van Rossum
70f107f63d
Three fewer incorrect failures
1997-07-15 02:49:15 +00:00
Guido van Rossum
7449540986
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.
1997-07-14 19:08:15 +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
105bd989e3
Added /usr/bin/env python and made executable.
1997-07-11 18:39:03 +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
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
5ca1b711b5
Straight from Jeffrey Ollie's web page.
1997-07-10 21:00:31 +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
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
bcdb9403d4
Added docstrings by Sue Williams, re-indented to 4 spaces / level.
1997-06-12 16:17:00 +00:00