Guido van Rossum
d6615ab30c
Get READABLE c.s. from _tkinter instead of conditional definition.
...
in Tk.destroy(), reset _default_root to None when it is us.
1997-08-05 02:35:01 +00:00
Guido van Rossum
7995ed204a
The reload(sys) test no longer works due to changes in the import
...
semantics.
1997-08-02 03:19:26 +00:00
Guido van Rossum
74d25e7d8a
Mention decode_base64 in example.
1997-07-30 22:02:28 +00:00
Guido van Rossum
9a876a4500
Tweaks by Lars Wirzenius to parse some more forms of illegal dates:
...
the comma after the day name is optional if it is a recognized day
name; and the date and month may be swapped. Thus, the following two
test dates will now be parsed correctly:
Thu, Feb 13 12:16:57 1992
Thu Feb 13 12:16:57 1992
1997-07-25 15:20:52 +00:00
Guido van Rossum
4e5cbcf5af
Added createmessage() -- Lars Wirzenius.
1997-07-25 14:59:10 +00:00
Guido van Rossum
2e2525fd3c
Patch by Lars Wirzenius to allow f.readline(length).
1997-07-25 14:56:01 +00:00
Guido van Rossum
ed57d7663e
Regenerated; __assert__ becomes assert.
1997-07-23 18:10:52 +00:00
Guido van Rossum
68de37973f
Add the option to pass an open file object to GzipFile. This obviates
...
the need for the StringIO subclass.
1997-07-19 20:22:23 +00:00
Guido van Rossum
64c6620934
Add optional 'quote' flag argument to escape(); if true, translate '"'
...
to '"'.
1997-07-19 20:11:53 +00:00
Guido van Rossum
1e8c8a20f2
New dialog routines (Fred Lundh)
1997-07-19 20:02:36 +00:00
Guido van Rossum
65c78e18b5
Use dictionary's update() method in _cnfmerge().
1997-07-19 20:02:04 +00:00
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