Guido van Rossum
9522274205
Increase the child's sleep time to 5 for slow machines.
1997-05-16 13:40:41 +00:00
Barry Warsaw
4c4d5ce78a
Catch nis.error and raise TestFailed instead. This catches the
...
problem where Python is configured with the nismodule but NIS isn't
installed, or the map names don't correspond to those hardcoded in
nismodule.c (which is bogus in and of itself).
1997-05-15 18:27:49 +00:00
Guido van Rossum
fdf58fe59a
Added BabylMailbox class by Fred Lundh (untested).
1997-05-15 14:33:09 +00:00
Guido van Rossum
4dfd458611
Fix typo in error reporting.
1997-05-14 21:38:03 +00:00
Guido van Rossum
c1c96d1b5c
Fix hex tests for 64-bit machines.
1997-05-14 21:37:23 +00:00
Guido van Rossum
2b4d2800af
Suppress fork part of socket test when we can't fork.
1997-05-14 21:12:51 +00:00
Guido van Rossum
4a0694d235
Fix sys.platform test -- on Win, it is 'win32', not 'win'.
1997-05-14 19:06:36 +00:00
Guido van Rossum
0ba7e5958c
More rational implementation of get_qualified_path() -- search along
...
sys.path instead of assuming __file__ works.
1997-05-14 18:57:21 +00:00
Guido van Rossum
ad16471b27
Untested changes by Skip Montanaro to have an optional limit on the
...
size of uploads to POST (new version of these patches).
1997-05-13 19:03:23 +00:00
Guido van Rossum
725a67e5c2
Regenerated on newer Solaris version
1997-05-13 17:45:56 +00:00
Guido van Rossum
0e351f34c5
Finally found a wat to set a file nonblocking that works on Irix,
...
Solaris and Linux: use os.O_NONBLOCK.
1997-05-12 22:15:52 +00:00
Guido van Rossum
d0f2372cb9
Modernized for 1.5
1997-05-09 03:21:44 +00:00
Guido van Rossum
57c30f6f37
Regenerated on a newer Linux version.
1997-05-09 02:21:06 +00:00
Guido van Rossum
16dffdca1a
Fix the NDELAY test; avoid outputting binary garbage.
1997-05-09 02:06:05 +00:00
Guido van Rossum
f518d5e98e
Print less in test_socket.
1997-05-09 01:54:45 +00:00
Guido van Rossum
16cd332aab
Add root.tkraise() to the _test() program so the window doesn't hide
...
behind the shell window on NT.
1997-05-09 00:59:43 +00:00
Guido van Rossum
de554ece41
The usual.
1997-05-08 23:14:57 +00:00
Guido van Rossum
6dd87830d0
Improve getting the mailbox from the environment.
1997-05-08 23:11:52 +00:00
Guido van Rossum
56f78d9e3c
Set correct RFC number.
1997-05-08 23:11:04 +00:00
Guido van Rossum
25107deb9f
Set correct RFC number. Open input in binary.
1997-05-08 23:10:42 +00:00
Fred Drake
526749b678
Misc.__init__(): Removed method, replaced with class attribute (which
...
was all that the method set anyway). Removed calls to the
constructor. This reduces the number of Python function calls
per widget construction by one, for every widget construction.
1997-05-03 04:16:23 +00:00
Guido van Rossum
1526219431
Adding Jeremy Hylton's gzip module.
...
This requires Andrew Kuchling's zlib extension module.
It still needs some doc strings.
1997-04-30 16:04:57 +00:00
Guido van Rossum
9d0a3dfa3d
Transformed comments to doc strings.
...
Added symlinks option to copytree.
1997-04-29 14:45:19 +00:00
Guido van Rossum
a2baf46c89
Reindented at 4 spaces.
1997-04-29 14:06:46 +00:00
Guido van Rossum
5980845bd5
Add feature to copy(), copy2(): dst may be a directory.
...
Remove unneeded check for '.' / '..' from copytree().
Add some comments.
1997-04-29 14:06:05 +00:00
Guido van Rossum
277206b08e
Improvements to copyfile(): open the files in binary mode, and close
...
them in a finally clause.
1997-04-29 13:08:15 +00:00
Guido van Rossum
8be9a11617
Restore two features of the original 1.4 pickle:
...
- which_module() search __main__ last;
- load_inst() no longer checks that the classname really refers to a class.
1997-04-25 19:52:29 +00:00
Guido van Rossum
faeae5cd78
Alas, I have to restore 'marshal', since it is needed by the new
...
cPickle-compatible pickle, and pickle must be importable in restricted
mode. I guess I'll have to make marshal safe.
1997-04-25 19:10:15 +00:00
Guido van Rossum
caa9f234bc
Change inspired by Tommy Burnette to add an interface to get stderr, too.
1997-04-21 14:15:55 +00:00
Fred Drake
5fd026dc5e
Fix a couple of glitches identified by Greg Stein.
1997-04-18 13:54:13 +00:00
Fred Drake
f39d0516b4
_safe_repr(): Make the context parameter required; ok since it's only for
...
internal use. Make sure the maxlevels and level parameters get
passed to recursive invocations.
1997-04-16 18:55:58 +00:00
Fred Drake
a89fda0fe2
Muchly changed and improved pprint.py:
...
- handles recursive data structures
- formatting based on a PrettyPrinter object
- allows a maximum nesting depth to be specified
- provides safe repr()-like function which does not pretty-print
1997-04-16 16:59:30 +00:00
Guido van Rossum
ab0d1afdf3
spliturl() should not throw away everything past first newline
1997-04-16 15:17:06 +00:00
Guido van Rossum
0c5e049c75
Reindented with 4 spaces.
1997-04-16 02:47:12 +00:00
Guido van Rossum
7cfd31ee8a
Rewrite parsesequence() to emulate MH without invoking pick.
...
Test it extensively by using pick.
1997-04-16 02:45:08 +00:00
Guido van Rossum
5e92affc54
Checking in a copy of Fred Drake's data structure pretty-printer
...
(with some slight formatting changes).
Feature requests:
- Make it a class (everything should be a class);
- support recursive data structures (like pp.py on the ftp contrib site).
1997-04-16 00:49:59 +00:00
Guido van Rossum
7aa9fc5642
Use uuencoded test images.
1997-04-16 00:30:45 +00:00
Guido van Rossum
684480f419
Soft failure for Win32 and Mac platforms. Less output unless verbose.
1997-04-16 00:29:59 +00:00
Guido van Rossum
cc5a91dc4f
Soft failure for Win32 platform.
1997-04-16 00:29:15 +00:00
Guido van Rossum
505043f35e
No need to define assert, it's built in.
1997-04-16 00:27:45 +00:00
Guido van Rossum
103cc6dd11
Patch by Craig McPheeters to clean up the back-references to widgets
...
contained in commands created by those same widgets.
1997-04-14 13:30:24 +00:00
Guido van Rossum
5a56649e09
Remove Digital Creations copyright (Jim sez it's okay).
1997-04-11 22:31:56 +00:00
Guido van Rossum
62bd30c430
Catch and report ValueError raised by strftime.
1997-04-11 22:26:42 +00:00
Guido van Rossum
54a1d0bc69
(Jack+Guido:) interpret ../ in basejoin() according to RFC1808.
1997-04-11 19:09:51 +00:00
Guido van Rossum
c511aee0e3
Open files in binary mode.
1997-04-11 19:01:48 +00:00
Guido van Rossum
f4f756cf55
(Jack:) Better MacOS support.
1997-04-11 19:00:53 +00:00
Guido van Rossum
9e3307494d
(Jack:) Recognize PNG files.
1997-04-11 18:59:38 +00:00
Guido van Rossum
5f32248d56
From: Clarence Gardner <clarence@king.silcom.com>
...
The function parse_qs currently calls urllib.unquote on the
value of the field submitted, but not on the name. It needs
to do both.
1997-04-11 18:20:42 +00:00
Guido van Rossum
a3d9e02593
base64 support by Sjoerd.
1997-04-11 15:22:56 +00:00
Guido van Rossum
cb5cf9b186
Use uuencoded test images.
1997-04-09 21:25:01 +00:00
Guido van Rossum
cee1dd3f9d
Don't just die when an error is not defined; print a warning instead.
...
This for errno-challenged platforms like Windows.
1997-04-09 21:02:17 +00:00
Guido van Rossum
a6ed2254e1
Try calling getpid() from /usr/lib/libc.so instead of some other
...
random things.
1997-04-09 20:57:52 +00:00
Guido van Rossum
c9f8f1467e
Use TESTFN instead of /etc/passwd and /dev/null as test files.
1997-04-09 20:51:54 +00:00
Guido van Rossum
47065620f2
support module for cPickle
1997-04-09 17:44:11 +00:00
Guido van Rossum
b72cf2d697
New version by Digital Creations, supports binary format compatible
...
with cPickle.
1997-04-09 17:32:51 +00:00
Guido van Rossum
de65527e4b
Ping's latest. Fixes triple quoted strings ending in odd
...
#backslashes, and other stuff I don't know.
1997-04-09 17:15:54 +00:00
Guido van Rossum
3ccd2f153f
while (1) -> while 1. Sorry.
1997-04-08 19:46:53 +00:00
Guido van Rossum
2ebaa1796e
Search for a valid begin line instead of requiring the first line.
1997-04-08 19:46:02 +00:00
Guido van Rossum
1aec32363f
Ka-Ping's muich improved version of March 26, 1997:
...
# Ignore now accepts \f as whitespace. Operator now includes '**'.
# Ignore and Special now accept \n or \r\n at the end of a line.
# Imagnumber is new. Expfloat is corrected to reject '0e4'.
1997-04-08 14:24:39 +00:00
Guido van Rossum
228b8e88bc
Whole lotta changes.
1997-04-02 06:13:34 +00:00
Guido van Rossum
21aa0ef351
Changed my mind on replace().
...
It's now replace(str, old, new, maxsplit=0).
Note new ordering of parameters (string first);
this is more consistent with translate().
1997-04-02 05:49:46 +00:00
Guido van Rossum
aa925a5efd
Add #! line.
1997-04-02 05:47:39 +00:00
Guido van Rossum
ab096c91e2
New doc strings.
1997-04-02 05:47:11 +00:00
Guido van Rossum
fd79566d0f
Fix two small bugs with proxies.
1997-04-02 05:46:35 +00:00
Guido van Rossum
a9a3575e26
New symbols due to assert statement.
1997-04-02 05:46:05 +00:00
Guido van Rossum
c1a4ba97b7
New test output for test_builtin
1997-04-02 05:44:51 +00:00
Guido van Rossum
659a3b5881
Optimized the hell out of listmessages().
...
Changed numericprog regexpr to make it faster to check.
Removed now unnecessary checks for os.curdir, os.pardir.
1997-04-02 01:18:30 +00:00
Guido van Rossum
dddf7a6fb4
Added test of complex() (that catches a bug in 1.4!).
...
Added test that ensures that int() and long() truncate float numbers
towards zero.
1997-03-31 17:13:17 +00:00
Guido van Rossum
bfc3944bfd
Change by Andrew Kuchling (edited by Guido):
...
Removed unused import tempfile.
Added some docstrings.
1997-03-25 21:58:08 +00:00
Guido van Rossum
1eb9a81eb9
Added new functions replace() and replace1().
1997-03-25 16:50:31 +00:00
Roger E. Masse
4fc7067055
Added a 'sync' method to shelve. If the underlying database does not have a sync
...
attribute, this method silently ignores this fact. The default (bsddb's dbhash) does.
1997-03-25 16:06:03 +00:00
Guido van Rossum
3ee6b195bb
Removed 'marshal' from the list of "ok" built-in functions -- the
...
unmarshalling code is actually rather naive and can easily be
caused to crash by feeding it invalid data. This should be fixed in
the marshal module, but I don't have the time to fix it now :-(
1997-03-21 21:18:16 +00:00
Guido van Rossum
4d81984011
Ping's new version -- more efficient at finding the keywords.
1997-03-20 20:40:45 +00:00
Guido van Rossum
3d99e35884
Added __assert__.
1997-03-20 19:46:41 +00:00
Guido van Rossum
eb8c972648
Ka-Ping Yee's version is better:
...
Here's a "keyword" module which, in the spirit of "token.py", updates
the list of keywords automatically from a source file (in this case,
"graminit.c" seemed like a reasonable choice, easier than "Grammar/Grammar").
You get "kwlist", a sorted list of keywords; "kwdict", a dictionary
mapping each keyword to 1; and "iskeyword", a function which tells
you if a given string happens to be a keyword.
1997-03-20 19:45:51 +00:00
Guido van Rossum
90d556fb6e
Simple module to publish list of Python keywords.
1997-03-20 19:44:30 +00:00
Guido van Rossum
f789ee4a86
Avoid crashes with nested multipart/mixed parts.
1997-03-20 14:42:17 +00:00
Guido van Rossum
efd3a3a843
Implement find_class() without exec statement.
1997-03-14 04:21:10 +00:00
Guido van Rossum
c69955343c
Change the list() function to match the documentation in the comment
...
(it should return a list of tuples, not a list of lists).
1997-03-14 04:18:20 +00:00
Guido van Rossum
56d1e3a517
Added Fred Drake's netrc parser class.
1997-03-14 04:16:54 +00:00
Guido van Rossum
18aef3c102
Support disassembly of a variety of objects through dis.dis().
1997-03-14 04:15:43 +00:00
Guido van Rossum
7b7c578616
Add optional 4th argument to [r]find and [r]index (end of slice).
1997-03-14 04:13:56 +00:00
Fred Drake
ef8dc06c01
compile(): Use the __debug__ flag to determine the proper filename extension
...
to use for the cached module code object.
1997-03-13 14:13:16 +00:00
Guido van Rossum
b5dc5e3d7e
Added support for imaginary constants (e.g. 0j, 1j, 1.0j).
1997-03-10 23:17:01 +00:00
Guido van Rossum
27e280dc77
Restore old behavior of autotest and testall, using regrtest.
...
This is done for backward compatibility with Python 1.4.
1997-03-07 21:05:43 +00:00
Guido van Rossum
f58ed25967
Add "extra-verbose" mode, triggered by specifying two -v flags. In
...
this mode, all tests are run in verbose mode with their output to
stdout. No comparing of output is done.
1997-03-07 21:04:33 +00:00
Guido van Rossum
e69be3eb93
Much more rigorous testing -- we now try many times, varying in time
...
of day, day of week, and season.
Fix the weekday predictions -- these seemed to be all bogus. The new
predictions seem to correspond with strftime() on Solaris and IRIX, so
I believe they are correct.
Get rid of the test for non-standard format %C returning "the same as
date(1)". This is hard to do reliably without opening a pipe to date,
and moreover, on IRIX 6.2, %C yields the Century. So we use that
instead. (We don't complain about this in non-verbose mode anyway.)
1997-03-07 20:30:03 +00:00
Guido van Rossum
b51eaa183e
Fixed doc string, added __version__, fixed 1 bug.
1997-03-07 00:21:55 +00:00
Guido van Rossum
fc6f5339a9
Ka-Ping's version.
1997-03-07 00:21:12 +00:00
Guido van Rossum
2a0711d8db
Removing this -- complex numbers are now builtin,
...
and there is already a similar demo in Demo/classes/Complex.py.
1997-02-23 05:37:36 +00:00
Guido van Rossum
ad183bbfe6
Removed nonstandard strftime formats (strftime is tested more
...
extensively in test_strftime.py anyway).
1997-02-20 16:23:01 +00:00
Guido van Rossum
78016145d6
Remove some bogus code that would cause a NameError if a -r option was passed.
1997-02-19 20:07:38 +00:00
Guido van Rossum
13ddde0653
Remove %n and %t from the list of standard expectations.
1997-02-19 16:25:52 +00:00
Barry Warsaw
19302de7a0
join(): Wax the incorrect leading comment
1997-02-18 22:06:21 +00:00
Barry Warsaw
384d249006
join(): join one or more path components
1997-02-18 21:53:25 +00:00
Barry Warsaw
b67a25c079
Store the current regex syntax along with the regular expression
...
string as the key to the cache. This means that changing the syntax
will return the correct compiled pattern.
clear_cache(): New function.
1997-02-18 18:52:55 +00:00
Guido van Rossum
152f9d9663
Put back #! /usr/local/bin/python. For cgi scripts, /usr/bin/env is
...
unlikely to find a python binary, as /usr/local/bin is usually not on
the default search path.
1997-02-18 16:55:33 +00:00
Guido van Rossum
9580609ba3
Require _tkinter -- don't attempt to import tkinter when _tkinter does
...
not exist. All 8 uses of tkinter are replaced with _tkinter. Still
create a variable tkinter though, because that is used by other
modules importing Tkinter (e.g. tkinter.createfilehandler()).
Also added a comment to the 'import _tkinter' line saying that if this
fails, Python is not configured correctly.
1997-02-15 18:33:24 +00:00
Guido van Rossum
764d6c7acd
Gave the Listbox selection methods their correct (longer) names.
...
Removed select_adjust -- Tk no longer supports this.
1997-02-14 16:21:16 +00:00
Guido van Rossum
c8504e2764
Added test for ratecv (from Sjoerd, reformatted).
1997-02-14 15:58:00 +00:00
Guido van Rossum
17ca992818
Put support for a cnf dictionary back in, since it is still supported
...
by all true Tkinter widgets. (Not that I *like* this module -- it
stinks, but until I have something better, I can't nuke it.)
1997-02-12 16:49:57 +00:00
Guido van Rossum
50b82e8e18
Merged in Jack's fixes. This brings some lines beyond 79 chars again;
...
I'll clean that up later. Also corrected a mistake introduced by the
previous reformatting: an 'else' belonging to a 'for' was accidentally
reindented to belong to the 'if' inside the 'for'. Note that the
module uses inconsistent indentation -- most code is indented with 8
spaces, but some of the reformatted code uses 4 spaces. I'll fix this
later in the promised cleanup pass.
1997-02-11 16:39:31 +00:00
Guido van Rossum
838cb28290
Put a new, more useful, set of references in the leading comment.
1997-02-10 17:51:56 +00:00
Guido van Rossum
d23d9409f3
Move the 'import os' in URLopener.cleanup() to inside the block
...
guarded by 'if self.tempcache', to reduce the likelihood of this
causing an exception when invoked during __del__...
1997-01-30 15:54:58 +00:00
Guido van Rossum
bbf8c2fafd
Skip Montanaro's robots.txt parser.
1997-01-30 03:18:23 +00:00
Guido van Rossum
fc167c6ba2
Did nobody ever notice that "make test" didn't print the summary line
...
any more? This was because the *parent* process in test_socket.py did
an os._exit(0)! Getting rid of that now...
1997-01-29 16:03:45 +00:00
Guido van Rossum
866016b92d
new.code() has grown another foot, eh, another two arguments.
1997-01-27 23:25:37 +00:00
Guido van Rossum
73e122f563
Fix splitext() to go up to the last dot, not the first.
1997-01-22 00:17:26 +00:00
Guido van Rossum
76f587b7f8
Avoid traceback in selection_own_get() when no Tk widget owns the
...
selection; return None instead.
1997-01-21 23:22:03 +00:00
Guido van Rossum
04f2b453bb
Version 1.1. Fix memory leak and expensive comparison with None.
1997-01-18 02:20:37 +00:00
Guido van Rossum
e9fd28dae5
Add stacksize argument to new.code().
1997-01-17 21:12:06 +00:00
Guido van Rossum
00f86e6086
Of course, when the type of the argument to dis() is unsupported, it
...
should raise TypeError, not ValueError...
1997-01-17 20:08:18 +00:00
Guido van Rossum
bd30795192
More user friedly interface:
...
dis() still disassembles the last frame of the lats stack trace.
dis(x) disassembles x, which may be a code object, function, or method.
disassemble(co, [lasti]) disassembles a code object; the lasti
argument is now optional.
disco(...) is an alias for disassemble(...), for backward compatibility.
1997-01-17 20:05:04 +00:00
Guido van Rossum
1d1394e660
Make as sure as we can that the forked child does not return and
...
continue the tests.
1997-01-17 16:13:15 +00:00
Roger E. Masse
5c7e711bb1
Test output for the SGI cl C module test script.
1997-01-17 15:59:16 +00:00
Roger E. Masse
69ed964f86
Lame test script for the SGI cl C module.
1997-01-17 15:58:35 +00:00
Roger E. Masse
eca63b83ac
Output from test script for the bsddb C extension module.
1997-01-16 22:04:35 +00:00
Roger E. Masse
352e186749
Test script for the bsddb C extension module.
1997-01-16 22:04:10 +00:00
Roger E. Masse
3b039faf19
Minor output message change
1997-01-16 18:53:01 +00:00
Guido van Rossum
d0bc9cb869
Merge several mods:
...
- add opcodes BINARY_LSHIFT ... BINARY_OR
- remove RESERVE_FAST
- Skip M's suggestion for displaying which comparison operator is meant
1997-01-16 18:52:24 +00:00
Roger E. Masse
469848a1ea
As per GvR recomendations, remove the restriction that binhex only run on
...
big-endian machines. This is done by directing the struct module's pack
and unpack methods to treat the data always in bin endian format.
This has been tested on irix (big endian) and solaris x86 (little endian)
but not yet on the mac.
1997-01-16 16:51:57 +00:00
Roger E. Masse
4852d37fdd
test output for the binascii C module test script.
1997-01-16 16:44:40 +00:00
Roger E. Masse
2a1c83441d
test script for the binascii C module.
1997-01-16 16:44:09 +00:00
Barry Warsaw
e4d7821ea4
test is no longer needed
1997-01-16 00:13:11 +00:00
Roger E. Masse
52a6ea7b7d
Opps. Added tests for the last two methods that were missing from
...
the test program: 'grey2rgb' and 'rgb2grey'
1997-01-15 20:58:55 +00:00
Roger E. Masse
e17ec8d149
Modified to use 'rgbimg' instead of the SGI specific 'imgfile' for reading
...
the imagefiles and converting tham to a format suitable for imageop. Also
added two more tests 'rgb2rgb8' and 'rgb82rgb' which remove the dependence
on the file 'greytest.rgb'.
Note: test_imgfile.py still uses 'greytest.rgb'
1997-01-15 20:07:07 +00:00
Guido van Rossum
1ce7c6fde8
Irix 6 specific files -- thanks Sjoerd!
1997-01-15 19:19:19 +00:00
Barry Warsaw
bd8a91198d
test(): close the pipe, just to shut up Purify.
1997-01-14 17:49:15 +00:00
Barry Warsaw
7e98bda43b
Raise ConversionError instances the new fangled way, e.g.:
...
raise ConversionError, msg
where `msg' is passed as the argument to the constructor.
1997-01-14 17:11:02 +00:00
Barry Warsaw
7a515b9156
Output for test of the timing module
1997-01-13 23:03:54 +00:00
Barry Warsaw
a6aca46fcb
Test of the timing module
1997-01-13 23:03:07 +00:00
Barry Warsaw
5b456645fb
Use the new regrtest harness
1997-01-13 22:54:27 +00:00
Barry Warsaw
6f332d8f35
updated the hex(-16) test since hex() of a signed literal has changed.
1997-01-13 22:36:29 +00:00
Barry Warsaw
906a5e9c68
updated the oct(-100) test since oct() of a signed literal has changed.
1997-01-13 22:36:03 +00:00
Barry Warsaw
3de721d073
Catch sunaudiodev.error on open() and re-raise TestFailed exception.
1997-01-13 20:53:46 +00:00
Barry Warsaw
59e066e73b
Oops, remove debugging statements
1997-01-13 20:50:40 +00:00
Barry Warsaw
b241c42192
A slightly better test of sunaudiodev module. Include the audio data
...
in the distribution.
1997-01-13 20:34:44 +00:00
Barry Warsaw
dbfb8d4626
Rewrite the `hostname mismatch' test as per GvR suggestion.
...
Don't assume gethostbyaddr()'s primary hostname is the same as
gethostname(), or even that gethostname() can be found in the list of
hosts returned by gethostbyaddr(). We do test for at least one FQDN
in gethostbyaddr().
1997-01-13 19:35:39 +00:00
Guido van Rossum
265b5b3f03
Use new struct which supports standardized sizes
1997-01-11 19:22:11 +00:00
Guido van Rossum
88b85d4f63
Add __len__ method
1997-01-11 19:21:33 +00:00
Guido van Rossum
afe3ebfa5c
Use newer struct, which handles unsigned long right
1997-01-11 19:21:09 +00:00
Fred Drake
4de02d9722
(ftplib.py): Added parse150() function and FTP.ntransfercmd(). This allows
...
access to the expected size of a transfer when available.
1997-01-10 18:26:09 +00:00
Fred Drake
41dc09d10e
(Tkinter.py): Add support for Frame(w, class_="classname") as an alternative
...
to Frame(w, cnf={"class": "classname"}). I think this is the only
widget other than Toplevel that needs to be concerned about setting
the widget's class (-class must be the first option on the Tcl
widget creation command).
1997-01-10 15:13:12 +00:00
Barry Warsaw
5bc697dd31
Test of the sunaudiodev module -- it simply plays a sound if it can
...
find one and doesn't output any data that can be verified. If it
can't find a sound file by looking in the standard Solaris locations
(which we can extend later), it raises an ImportError.
1997-01-07 21:05:29 +00:00
Barry Warsaw
dce1005908
Added an os._exit(0) in the parent so we don't have two test processes
...
after test_socket.py is run!
1997-01-07 21:02:06 +00:00
Barry Warsaw
95f92dfad4
New output file for strop test
1997-01-06 22:46:45 +00:00
Barry Warsaw
da0e520bc0
Added a couple of strop.join() tests for large lists and long items
...
within the lists (new output file to be checked in shortly).
1997-01-06 22:46:07 +00:00
Guido van Rossum
7fc0bf8247
Fix the following bug:
...
- When dragging the mouse in either listbox, the *first* entry
clicked on is selected rather than the last (but the last one is
highlighted).
This is done by changing the bindtags so that our binding is executed
after the default binding (which sets the 'active' index to the last
item selected), and using 'active' instead of 'anchor' as the index to
ask for.
1997-01-03 23:39:26 +00:00
Roger E. Masse
32e949d1f2
This is a very inobstrusive test for the existance of the SGI cd module
...
and all it's attributes. More comprehensive examples can be found in
Demo/cd and require that you have a CD and a CD ROM drive
1997-01-03 23:00:13 +00:00
Roger E. Masse
5150542b8f
Output file for test_cd.py
1997-01-03 22:58:43 +00:00
Guido van Rossum
9d1a02ce33
Some small changes.
...
Raise ImportError instead of SystemExit when $DISPLAY is not set, so
regrtest.py will do the right thing.
Add a call to gl.clear() to clear the window before drawing in it.
Add some verbose prints for completeness.
Use gl.v2i() for the coordinates of one of the lines, for a little bit
of variety.
Reduce the time the window is displayed from 5 to 2 seconds.
1997-01-03 22:42:08 +00:00
Roger E. Masse
4a9ac0612d
Output file for test_al.py
1997-01-03 22:39:31 +00:00
Roger E. Masse
1f983df3bd
This is a very inobstrusive test for the existance of the al module and all
...
it's attributes. More comprehensive examples can be found in Demo/al
1997-01-03 22:39:03 +00:00
Barry Warsaw
61bc874b19
Output of socket module test.
1997-01-03 20:04:09 +00:00
Barry Warsaw
cf3d4b5123
Test of the socket module. The following functions and methods are
...
not currently tested (or even touched):
# socket.fromfd()
# sktobj.getsockopt()
# sktobj.recvfrom()
# sktobj.sendto()
# sktobj.setblocking()
# sktobj.setsockopt()
# sktobj.shutdown()
1997-01-03 20:03:32 +00:00
Roger E. Masse
7a61f871a7
Updated to include the verbose flag from test_support
1997-01-03 19:20:17 +00:00
Guido van Rossum
04ebf5ca5d
Change the ``calcsize*3'' test to be portable to 64-bit machines.
1997-01-03 19:00:37 +00:00
Barry Warsaw
461a1c172f
Output for signal module test
1997-01-03 16:01:20 +00:00
Guido van Rossum
420c11c6aa
Added f/d tests for specific byte orders.
1997-01-03 00:09:46 +00:00
Guido van Rossum
6083f0e9ce
Use the new struct module's ability to pack and unpack standardized
...
data formats. The _xdr module is no longer used, since struct
supports the required IEEE floats and doubles.
(I have one doubt about not using _xdr. The struct module doesn't
handle Inf, NaN and gradual underflow correctly. If the _xdr module
does these things better, it may still have a (small) competitive
advantage. On the other hand, since not all platforms support IEEE
floating point, it's not clear that it would be a good idea to ever
transfer Inf or NaNs. Gradual underflow can be fixed in the struct
module.
1997-01-02 22:52:15 +00:00
Barry Warsaw
5afafad82d
<rotorobj>.setkey() now requires exactly one argument
1997-01-02 20:02:44 +00:00
Guido van Rossum
b02092a9b2
Added characteristics of shttp, https, and snews.
1997-01-02 18:18:27 +00:00
Guido van Rossum
6757748641
Properly parenthesize a long Boolean combination. Formerly, you could
...
pass invalid seed values.
1997-01-02 18:13:35 +00:00
Fred Drake
2823168c46
(formatter.py): Add a flush() method to the writer interface. This really
...
needs to be a standard part of the interface, so we'll have it in
for the next release.
1996-12-31 20:50:51 +00:00
Guido van Rossum
2a37850273
Exercise the new feature set somewhat.
...
Use TestFailed exception and verbose flag from test_support module.
1996-12-31 17:25:47 +00:00
Guido van Rossum
36bb181cdf
Rewrote _{read,write}_{short,long} to use the newly revamped struct
...
module. (Small problem: struct.pack() won't deal with the Python long
ints returned by struct.unpack() for the 'L' format. Worked around
that for now.)
1996-12-31 05:57:34 +00:00
Guido van Rossum
c17a268398
Added support for RFC 850 style dates, as used by some HTTP servers
...
(such as Netscape-Commerce and CERN).
An example of a RFC 850 date: 'Wednesday, 18-Dec-96 21:00:00 GMT'
From: Chris Lawrence <quango@themall.net>
1996-12-27 15:42:35 +00:00
Guido van Rossum
178ff353e8
Fix bogus implementation of Group.bind().
...
Added unbind() to CanvasItem and Group classes.
1996-12-27 15:40:31 +00:00
Guido van Rossum
8371013f9a
Added config(ure) method to Image class.
...
(Fred Drake)
1996-12-27 15:33:17 +00:00
Guido van Rossum
0b96b945b8
Change the default values for IntVar and DoubleVar to numbers (they
...
were strings, accidentally).
1996-12-27 15:30:20 +00:00
Guido van Rossum
671dc20efc
Crude but effective hack to clear the parser cache every so often.
...
(Fred Drake.)
1996-12-27 15:26:15 +00:00
Roger E. Masse
cf284cc5db
Test output for the gl C extension module.
1996-12-24 19:36:33 +00:00
Roger E. Masse
6da2953f1e
gl is a *huge* module. This is a very simple test that insures that
...
all the modules attributes are present and creates a small criss-cross
window for 5 seconds (example from the documentation :-) A more
comprehensive test would probably be useful... but maybe overkill.
1996-12-24 19:36:07 +00:00
Barry Warsaw
fb817cd4a2
Output files
...
test_rotor.py: New test of the rotor module.
test_*: converted to the new test harness. GvR note! test_signal.py
works interatively (i.e. when verbose=1) but does not work inside the
test harness. It must be a timing issue, but I haven't figured it out
yet.
1996-12-23 23:40:11 +00:00
Barry Warsaw
5e056bbb76
test_rotor.py: New test of the rotor module.
...
test_*: converted to the new test harness. GvR note! test_signal.py
works interatively (i.e. when verbose=1) but does not work inside the
test harness. It must be a timing issue, but I haven't figured it out
yet.
1996-12-23 23:39:42 +00:00
Roger E. Masse
f85f052035
Very very small comment change.
1996-12-20 22:39:24 +00:00
Roger E. Masse
fab8ab8067
Many scripts, but small changes. Update the way the scripts obtain the
...
'verbose' flag ala GvR updated test harness architecture.
Old way:
verbose = 0
if __name__ == '__main__':
verbose = 1
New way:
from test_support import verbose
Some other small readablility and functionality updates.
1996-12-20 22:36:52 +00:00
Barry Warsaw
4b722788ae
added test of the regex module
...
[NOTE: testall.py and autotest.py might could go away soon, I've
played with Guido's new regrtest.py script and it seems to work well.
I'll wait until Guido gives the word to completely switch over -- and
change the Makefile too!]
1996-12-20 22:00:21 +00:00
Roger E. Masse
4455cd8e19
More and better comments.
1996-12-20 21:52:29 +00:00
Roger E. Masse
3507f502c9
Minor semantic cleanup.
1996-12-20 21:47:58 +00:00
Roger E. Masse
e9e0bd90ae
Output for test script for the SGI imgfile module.
1996-12-20 21:42:09 +00:00
Roger E. Masse
033d91b784
Test script for the SGI imgfile module.
1996-12-20 21:41:50 +00:00
Roger E. Masse
470dcbf8e3
8 bit greyscale test file needed for testing imageop and imgfile.
1996-12-20 20:50:10 +00:00
Roger E. Masse
47e98307e0
Test program for the SGI imageop module.
1996-12-20 20:49:06 +00:00
Roger E. Masse
cfaac40e31
test output for SGI imageop C module.
1996-12-20 20:47:17 +00:00
Guido van Rossum
0b25a662e0
Two new files (to shut up regrtest).
1996-12-20 03:14:42 +00:00
Guido van Rossum
4f30aff585
Added example DL for SGI IRIX.
1996-12-20 03:13:36 +00:00
Guido van Rossum
4fdb744f53
Added test for minmax.
1996-12-20 03:13:06 +00:00
Guido van Rossum
152494aea2
New regression test harness. See usage message / doc string.
1996-12-20 03:12:20 +00:00
Guido van Rossum
2bde783a97
Import verbose flag from test_support instead of testing __name__.
1996-12-20 03:03:39 +00:00
Guido van Rossum
0a94cc788e
Set test_support.verbose to 0, to signal tests only to generate
...
portable output.
1996-12-20 03:03:01 +00:00
Guido van Rossum
531661c1ae
Add verbose flag for regression test to clear.
1996-12-20 02:58:22 +00:00
Barry Warsaw
a09ec19a33
Test of the operator module
1996-12-18 19:56:22 +00:00
Roger E. Masse
96bd636ad1
Test script output for the UNIX group file access module (grp)
1996-12-18 19:37:07 +00:00
Roger E. Masse
749cc6b241
Test script for the UNIX group file access module (grp)
1996-12-18 19:36:34 +00:00
Guido van Rossum
5eaf457869
Different operation in verbose mode: show the supported nonstandard
...
options. Also added two: %n and %t (newline and tab character).
1996-12-18 18:03:10 +00:00
Barry Warsaw
af82a7ef49
In lieu of harness rewrite, fixed problem with test_thread ImportError
...
triggering a bogus TestFailed exception.
1996-12-18 16:39:31 +00:00
Roger E. Masse
d87e0bf651
Test output for the GNU dbm module (gdbm)
1996-12-17 19:54:46 +00:00
Roger E. Masse
62a017c092
Test script for the GNU dbm module (gdbm)
1996-12-17 19:54:27 +00:00
Roger E. Masse
0bff94ffdf
Added the test output for fcntl.
1996-12-17 17:41:36 +00:00
Roger E. Masse
fb01d4b1a4
Added a test script for the fcntl C module.
1996-12-17 17:41:09 +00:00
Barry Warsaw
8069f43815
Output for _xdr module test
1996-12-17 00:02:45 +00:00
Barry Warsaw
3863fb53b8
A test of the _xdrmodule (not the entire xdr.py module).
1996-12-17 00:00:53 +00:00
Barry Warsaw
237efc5d6f
Added _xdrmodule test
1996-12-17 00:00:17 +00:00
Barry Warsaw
ac3acc2b48
(test_thread): output from thread test
1996-12-16 23:42:56 +00:00
Barry Warsaw
af0a1a6530
(test_thread.py): modifications to quiet it up when not running as a script.
...
(testall.py): added test_thread to the list of regression tests.
1996-12-16 23:42:35 +00:00
Fred Drake
09bcf8c031
(sgmllib.py): Partial acceptance of patch from David Leonard
...
<leonard@dstc.edu.au>; allows hyphen and period in the middle
of attribute names. Still not allowed as first character;
as first character these are illegal in the Reference Concrete
Syntax, and we've not identified any use of these characters as
the first char in an attribute name in deployment on the web.
1996-12-16 21:56:27 +00:00
Roger E. Masse
b6454e58bc
Updated test_crypt test to jive with bwarsaw testing style
1996-12-16 20:44:56 +00:00
Roger E. Masse
a38ab505b6
Revised output for test_crypt
1996-12-16 20:44:16 +00:00
Roger E. Masse
9c6db35a1e
Revised test for errno ala bwarsaw's testing paradigm.
1996-12-16 20:40:20 +00:00
Roger E. Masse
8a51de4cdd
Output files for test_dl and test_errno
1996-12-16 20:36:05 +00:00
Roger E. Masse
e00d4da7fa
Added test_dl to harness
1996-12-16 20:34:43 +00:00
Roger E. Masse
2362b58952
Revised strategy for testing recomended by bwarsaw
1996-12-16 20:25:44 +00:00
Roger E. Masse
8ba76d3cf3
Added test_errno to the test suite
1996-12-16 20:20:33 +00:00
Roger E. Masse
7eee08d04f
Test for the dl module. This only works for SunOS and Solaris.
...
I've attempted to make a test that silently exits if either
module dl is not present, we're not on a Sun OS, or a standard
shared library ('/usr/lib/libresolv.so') is not found... Otherwise,
It does a simple test of dlmodule on that library. I *think*
this would be ok to add to testall.py but I'll wait till I hear
some feedback on the liberalness of this approach.
1996-12-13 20:32:26 +00:00
Barry Warsaw
2cc8163e30
nonstandard_expectations is only added when in verbose mode, so we
...
don't need the if test for verbosity when checking for results of an
unsupported option.
1996-12-13 18:12:34 +00:00
Barry Warsaw
4c23b5fdbc
Hmm, now that I think about it, we *can* use time.time() and 'date' if
...
running verbose.
1996-12-13 18:08:58 +00:00
Barry Warsaw
4eb01cd372
More or less portabilized.
...
1. If a conversion isn't supported on the current platform, just
ignore it, unless running as a script (i.e. verbose)
2. Don't use time.time() and os.popen('date') to get the raw values.
These will always be different!
1996-12-13 18:07:07 +00:00
Barry Warsaw
3c700ed613
Fixed
1996-12-13 18:05:28 +00:00
Guido van Rossum
0564e12367
Added quote_plus() and unquote_plus(), to do space/plus substitutions
...
for form field values.
1996-12-13 14:47:36 +00:00
Barry Warsaw
e3c0170ba0
Output file for module struct test
1996-12-13 00:25:52 +00:00
Guido van Rossum
27eb14d894
Added support for 4-channel on SGI.
...
Allow specifying the test file on the command line.
1996-12-13 00:19:56 +00:00
Guido van Rossum
25bcdb0e56
Added QUADRO.
1996-12-13 00:19:15 +00:00
Guido van Rossum
0caa7ec206
Fixed conversion between seconds and milliseconds.
1996-12-12 23:42:20 +00:00
Barry Warsaw
07a0eeceaa
A test of the struct module
1996-12-12 23:34:06 +00:00
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