Commit Graph

1080 Commits

Author SHA1 Message Date
Guido van Rossum
462d6e6484 More robust way of choosing a non-existant uid (faster, too).
(Correct version -- the previous checkin was a keyboard slip.)
1997-05-20 19:32:22 +00:00
Guido van Rossum
6308d510e9 More robust way of choosing a non-existant uid (faster, too). 1997-05-20 19:31:25 +00:00
Guido van Rossum
72be30690f Added some minimal comments and tweaked lay-out a bit. 1997-05-20 18:03:22 +00:00
Guido van Rossum
32f92caa98 Handling of pathnames pointing to files on toplevel folder of disk was
incorrect (Jack)
1997-05-20 16:00:07 +00:00
Guido van Rossum
3f11da0aaf Changes to make these tests work on the Mac. 1997-05-16 13:51:48 +00:00
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