Barry Warsaw
cb17a465eb
Print final report, either all tests OK, or list of failed and missing
...
tests.
1996-12-12 22:34:26 +00:00
Barry Warsaw
1c92eba2dd
Print a more meaningful message when a test's output file wasn't
...
found.
1996-12-12 22:21:10 +00:00
Guido van Rossum
32616fbee6
Make sure ok_builtin_modules, ok_dynamic_modules and
...
builtin_module_names are always tuples.
1996-12-12 21:31:52 +00:00
Guido van Rossum
15d1079dd2
Fixed test_strftime to be silent when called from autotest.
1996-12-12 19:07:19 +00:00
Guido van Rossum
483705c5a9
Added test_strftime (Skip Montanaro).
1996-12-12 19:03:11 +00:00
Guido van Rossum
6cdd7a0433
Add mktime_tz() which turns a date_tz 10-tuple into a standard Unix timestamp.
1996-12-12 18:39:54 +00:00
Guido van Rossum
c0967cd4a2
Added a bunch of new winfo options; we should now be up to date with
...
Tk 4.2. The new winfo options supported are: mananger, pointerx,
pointerxy, pointery, server, viewable, visualid, visualsavailable.
Also fixed bugs in winfo_colormapfull() and winfo_containing().
1996-12-12 16:43:05 +00:00
Barry Warsaw
792c94a320
A test of the select module that is actually reproduceable!
1996-12-11 23:58:46 +00:00
Barry Warsaw
042a207061
Output of rgbimg module test
1996-12-11 21:42:38 +00:00
Barry Warsaw
8bc74ceb8b
Added test of rgbimg module
1996-12-11 21:41:42 +00:00
Barry Warsaw
66e7f3ac43
minor formatting nit
1996-12-11 21:40:04 +00:00
Guido van Rossum
dbfed710a1
Be more careful with the shuffling of stdout.
1996-12-11 16:54:54 +00:00
Barry Warsaw
d96dfb72ea
Output of the nis and pwd module tests
1996-12-11 16:54:15 +00:00
Barry Warsaw
3d070fb391
Test of the pwd module
1996-12-11 16:53:51 +00:00
Barry Warsaw
ebfa2c4417
Added test_pwd
1996-12-11 16:52:56 +00:00
Guido van Rossum
2b6c2faa64
Rewrite without using try-except to break out of two loops.
1996-12-11 16:28:30 +00:00
Barry Warsaw
870d5c67ae
Just test one key/value pair for one NIS map. I.e. don't test them
...
all because it can take a really long time.
1996-12-11 16:07:30 +00:00
Barry Warsaw
3236b334ef
test of the nis module
1996-12-11 01:01:38 +00:00
Barry Warsaw
7822681992
added test_nis
1996-12-11 01:01:09 +00:00
Barry Warsaw
dde5c70c8a
Test output files in their new location
1996-12-10 23:20:09 +00:00
Barry Warsaw
e4a252ef88
Directory for test output files: Output => output
1996-12-10 23:19:14 +00:00
Barry Warsaw
2e644a0f86
When run as a script, runs each test and sends results to stdout
...
(i.e. this restores the old functionality).
Note that if a test couldn't be imported, it is just ignored (and no
warning is printed).
1996-12-10 23:10:39 +00:00
Barry Warsaw
272c00b634
New regression testing harness.
...
(testall.out): obsolete. see individual test output files in the
Output directory.
(testall.py): now contains only the list of all tests
(autotest.py): The new testing harness. Supports -g option to
generate output files instead of verifying; -w option to warn about
non-tested optional modules; additional command line arguments to
generate or test individual tests (useful for generating output file
of new tests).
1996-12-10 19:51:10 +00:00
Barry Warsaw
924e5d55b7
A test of the `new' module. The new.code() test is fairly bogus since
...
I'm really not sure what the proper inputs are. I do flex the
function call though by passing in arguments of the proper type. I
don't try to exec the code object that gets returned!
1996-12-10 16:28:53 +00:00
Barry Warsaw
0f150e41be
Added test_new.
1996-12-10 16:27:16 +00:00
Guido van Rossum
5de1f8dac8
The usual; added several test modules, too.
1996-12-10 16:02:14 +00:00
Guido van Rossum
bd01374da8
Add optional data argument to urlopen() and open_http(), to trigger POST.
1996-12-10 16:00:28 +00:00
Guido van Rossum
8b82baa398
In the HTTP reply header, be more accepting in the HTTP version.
1996-12-10 15:58:22 +00:00
Roger E. Masse
16f9fd2bcf
Added a test script for dbmmodule.c and added it to testall.py and
...
updated testall.out
1996-12-10 00:06:24 +00:00
Barry Warsaw
3ac30af867
Added test_new
1996-12-10 00:02:57 +00:00
Roger E. Masse
75362381b5
new test script for cryptmodule.py
1996-12-09 23:13:45 +00:00
Roger E. Masse
b6b85ddc95
Test script/output for cryptmodule.c added to testall.py and testall.out
1996-12-09 23:13:07 +00:00
Roger E. Masse
3daddda165
New test module for complex math module
1996-12-09 22:59:15 +00:00
Roger E. Masse
b71035782e
Added test_cmath.py to test complex math module
1996-12-09 22:58:42 +00:00
Barry Warsaw
3ab26b9d75
(testall.py): Slightly improved test harness to make it easier to add
...
simple tests.
(testall.py, testall.out): Added MD5 testsuite
1996-12-09 22:34:15 +00:00
Barry Warsaw
49852831fc
Added test_strop
1996-12-09 21:49:55 +00:00
Barry Warsaw
ad522facf7
Added tests of all strop module functions, and touching of module
...
variables
1996-12-09 21:49:10 +00:00
Guido van Rossum
6c832ebfe9
Added test_array output line.
1996-12-09 21:37:33 +00:00
Roger E. Masse
8db1b0764b
module to test the arraymodule created and added to testall.py
1996-12-09 20:09:16 +00:00
Barry Warsaw
6ab7f077ff
Added test_time
1996-12-06 23:30:49 +00:00
Barry Warsaw
5bebca2ac2
Added 'test_time'
1996-12-06 23:30:33 +00:00
Barry Warsaw
b0c2232011
test of time module. not terribly fancy, but it does touch every
...
function and variable in the module, verifies a few return values and
even tests a couple of known error conditions.
1996-12-06 23:30:07 +00:00
Barry Warsaw
75eccc5bcf
Unpacker.get_buffer(): new method to access the internal buffer of data
1996-12-04 22:04:39 +00:00
Guido van Rossum
f06ee5fa07
/usr/local/bin/python -> /usr/bin/env python
1996-11-27 19:52:01 +00:00
Guido van Rossum
29e77816f5
Added safeguard against failure in __del__.
1996-11-27 19:39:58 +00:00
Guido van Rossum
40a172c779
Added ALL='all'.
1996-11-20 22:20:21 +00:00
Guido van Rossum
58103d3b11
Turn leading minus sign into underscore for image widget name -- the
...
hyphen confused Tk into thinking the name was an option.
1996-11-20 22:17:38 +00:00
Guido van Rossum
27cb8a4884
Added support for timezone in date field. getdate_tz() and
...
parsedate_tz() return a 10-tuple, the last field is the tz offset in
seconds (e.g. -18000 or -5 hours for EST).
1996-11-20 22:12:26 +00:00
Guido van Rossum
3c8484e866
When re-raising an exception raised by a module used internally as
...
IOError, keep the traceback.
1996-11-20 22:02:24 +00:00
Guido van Rossum
3508d60f99
When removing a messge from all sequences, don't remove from 'cur',
...
which needs to stay unless explicitly set.
1996-11-12 04:15:47 +00:00
Guido van Rossum
e08c04c387
Added 'strict_parsing' option to all parsing functions. This causes a
...
ValueError exception when the query string contains fields that don't
contain exactly one '=' sign. (By default, such fields are simply
ignored.) Added this to the doc string describing parse() and
parse_qs().
Also changed the default for keep_blank_values from None to 0 (the
preferred way to spell 'FALSE').
1996-11-11 19:29:11 +00:00
Guido van Rossum
73eba25f5f
Don't require leading '-' on option name to Text.tag_cget
1996-11-11 19:10:58 +00:00
Guido van Rossum
c5d7e80739
Fix the way the Authorization header is sent (how could this have worked?).
1996-11-11 19:01:17 +00:00
Guido van Rossum
c45289cb81
The usual :-(
1996-10-24 22:27:16 +00:00
Guido van Rossum
40f7a55608
Get rid of bogus binding of <Delete> to a function that deletes the next
...
character (this is already a built-in binding now).
1996-10-24 18:34:36 +00:00
Guido van Rossum
16d5b113f6
Fix truncated paragraph in doc string.
...
Bump version to 2.0.
1996-10-24 14:44:32 +00:00
Guido van Rossum
9b67621b66
Cast mtime gotten from stat() to long int -- else it won't work
...
on the Mac.
Jack! Please fix this in the Mac distributions!
1996-10-24 13:42:30 +00:00
Guido van Rossum
d804bab721
Make self.rfile unbuffered (self.wfile already is). This should fix
...
CGIHTTPServer.py when used with the POST command.
1996-10-23 14:30:23 +00:00
Guido van Rossum
149574767c
Added support for floating point resolution to Scale.get().
1996-10-23 14:16:28 +00:00
Guido van Rossum
176f10e3d5
Get rid of evil workaround for Python 1.4b2 bug.
1996-10-22 18:59:47 +00:00
Guido van Rossum
5b1b33c7f4
Fix another case where...
1996-10-22 13:28:37 +00:00
Guido van Rossum
9cb018e693
Change the default seeding -- use 8 bits of sub-second precision and
...
fold in the higest 8 bits of the time as well.
1996-10-21 23:20:03 +00:00
Guido van Rossum
b6685dcfeb
The usual...
1996-10-21 18:10:19 +00:00
Fred Drake
0c373691ae
(Tkinter.py): Fixed bug in re-implementation of OptionMenu.
1996-10-21 17:09:31 +00:00
Guido van Rossum
28574b557b
(Fred Drake:) Re-wrote the OptionMenu class to allow access to a real
...
Menu object via om['menu'] -- this is necessary to use a post-command
with an OptionMenu. The API has not changed.
1996-10-21 15:16:51 +00:00
Guido van Rossum
008ec689be
Added warning not to import directly.
1996-10-15 14:40:41 +00:00
Guido van Rossum
4808dcb564
Allow code objects to be passed to run() and eval().
1996-10-15 14:40:21 +00:00
Guido van Rossum
e449af7da9
Ellipses -> Ellipsis rename (the dictionary really says that it should
...
be Ellipsis!).
Bumped the API version because a linker-visible symbol is affected.
Old C code will still compile -- there's a b/w compat macro.
Similarly, old Python code will still run, builtin exports both
Ellipses and Ellipsis.
1996-10-11 16:25:41 +00:00
Guido van Rossum
8741b2b988
Added Slice and Ellipses types.
1996-10-11 16:00:06 +00:00
Guido van Rossum
b030bc026e
Fix some cases where self.openedurl wasn't set.
1996-10-10 16:01:16 +00:00
Guido van Rossum
b5fa1cb855
Don't add names that start with _
1996-10-10 16:00:28 +00:00
Fred Drake
ca8cdc6066
(formatter.py): Simplify NullFormatter definition of add_hor_rule() to match
...
documentation.
1996-10-08 21:57:47 +00:00
Guido van Rossum
5b1d9bad32
Remove RCS crud... Sigh...
1996-10-08 14:15:25 +00:00
Guido van Rossum
a4a75278d9
Removed RCS crud from official Python release version.
1996-10-08 14:14:49 +00:00
Guido van Rossum
b8cc6ae5a1
The usual... Sigh...
1996-10-08 14:13:43 +00:00
Guido van Rossum
6592f88fc0
Removed debugging print statement
1996-10-08 14:10:51 +00:00
Guido van Rossum
edaf1c931c
Simple test module for strop.
1996-10-08 14:07:56 +00:00
Guido van Rossum
3159e1e1ef
Change to always call list.append with a single argument.
...
This does not mean I still support this code!!!
1996-10-08 14:07:21 +00:00
Guido van Rossum
2715bb20db
Changes to always call list.append with a single argument.
1996-10-08 14:06:35 +00:00
Guido van Rossum
b7f48e39c3
Change to always call list.append with a single argument.
1996-10-08 14:06:17 +00:00
Guido van Rossum
a97b8eef70
Set the __file__ attribute of the imported module in both versions of
...
load_module(), to mimick the behavior of imp more closely.
1996-10-07 23:41:54 +00:00
Guido van Rossum
ccd8b19c99
Add provisions to set the (to be documented!) instance variable
...
'writer' of the NullFormatter to the writter passed in, or to a
NullWriter if none (or None) is passed in.
1996-10-07 21:29:49 +00:00
Guido van Rossum
36fc11e894
Compromise on test in find_class(): a user-defined function is okay,
...
but a built-in function is not.
1996-10-07 14:34:20 +00:00
Fred Drake
cab3c3b8d4
(Tkinter.py): Improve application basename determination to make .py and
...
.pyc extensions completely equivelent when locating the "profile"
which should be read on startup.
1996-10-06 17:55:20 +00:00
Guido van Rossum
4be63d1725
Added getparamnames() to Message class -- return a list of all
...
parameters of the content-type header.
1996-10-04 20:14:02 +00:00
Guido van Rossum
8299e46831
Don't auto-install on import. This slows down apps that use
...
some of our modules for special purposes (e.g. rexec).
1996-10-04 19:57:11 +00:00
Fred Drake
3faf9b4d48
(Tkinter.py): Fixed dumb typo in Misc.tk_setPalette().
1996-10-04 19:23:04 +00:00
Guido van Rossum
fe779a1dc8
Don't mix stdout/stderr.
1996-10-02 14:57:28 +00:00
Guido van Rossum
cc778ebd62
Add main program similar to pdb.
1996-10-01 02:55:54 +00:00
Guido van Rossum
24611f80e8
Always open file objects in binary mode.
1996-09-30 22:02:50 +00:00
Guido van Rossum
dfd9cb1e12
Don't die if an ok file method (e.g. fileno) doesn't exist.
1996-09-30 18:50:44 +00:00
Fred Drake
3c602d7d0c
(Tkinter.py): Many revisions for Tk 4.X: Added clipboard support, updated
...
selection interface, handle the -displayof option intelligently in
many places. Added "wm colormapwindows" and "winfo colormapfull"
support. Removed "focus default" and "focus none" method: these are
not in Tk 4.X.
1996-09-27 14:06:54 +00:00
Fred Drake
e9c515adc7
(Canvas.py): Added definition of CanvasItem.cget() as suggested by
...
Nils Fischbeck.
1996-09-26 20:21:26 +00:00
Guido van Rossum
e7b9fde1b8
1. Correct typo in FileWrapper.close() (fix by AMK).
...
2. New trusted built-in modules cmath, errno, operator, parser.
3. Corrected bogus s_apply() -- the new one actually works (reported by AMK).
1996-09-25 18:47:39 +00:00
Guido van Rossum
6244867e56
Revamped test case and updated doc string.
1996-09-17 21:33:15 +00:00
Guido van Rossum
934a4cea85
Show names of locals in disco (Ka-Ping Yee)
1996-09-12 17:39:36 +00:00
Guido van Rossum
1550ff722d
Layout and cleanup by Fred
1996-09-11 19:43:52 +00:00
Guido van Rossum
28d4ba24c9
Another batch...
1996-09-11 19:07:45 +00:00
Guido van Rossum
6e8ec59eb4
Implement lower by calling lower, not lift.
1996-09-11 14:25:41 +00:00
Guido van Rossum
6b7a7e9fe0
Bug fixes in index&icursor suggested by Nils Fischbeck.
1996-09-11 14:23:43 +00:00