Commit graph

2619 commits

Author SHA1 Message Date
Guido van Rossum
1e9e400ba7 Added getdouble, getboolean.
Removed redundant global statements
getboolean returns None if argument is empty
AtInsert() concatenates optional arguments after 'insert'
1994-06-20 09:09:51 +00:00
Guido van Rossum
5e8d3724fe Added getvar, getint, lower, tkraise==lift to Misc class 1994-06-20 08:12:01 +00:00
Guido van Rossum
1846882254 Initial revision 1994-06-20 07:49:28 +00:00
Guido van Rossum
169b61295a Constants from <sys/wait.h> (IRIX 5 version) 1994-06-03 15:39:39 +00:00
Guido van Rossum
d3b6842d9f added barrier test (by Tim Peters) 1994-05-23 12:17:36 +00:00
Guido van Rossum
f3b4903a9f dospath: fix by Amrit (don't normalize glob patterns away)
ftplib: get rid of non-auto port assignment
1994-05-23 12:17:05 +00:00
Guido van Rossum
f624666eb3 Generate some files automatically from system files 1994-05-23 12:15:33 +00:00
Guido van Rossum
c762becaf5 Changes by Jaap -- added 'fileopen' method 1994-05-18 11:08:10 +00:00
Guido van Rossum
78f8dea44a New module by Jaap V 1994-05-18 11:07:44 +00:00
Guido van Rossum
c95f7248d6 Script to regenerate FCNTL.py, IN.py, SOCKET.py 1994-05-17 09:28:58 +00:00
Guido van Rossum
2922c6dabb Changes to use default argument values where possible 1994-05-06 14:28:19 +00:00
Guido van Rossum
19806f4ce2 Module to lock open files using fcntl() 1994-05-03 14:46:18 +00:00
Guido van Rossum
c7b6882326 Jack's module for parsing UNIX mailbox files 1994-04-28 09:53:33 +00:00
Guido van Rossum
590b289672 Added tests for missing host to open_http and open_gopher 1994-04-18 09:39:56 +00:00
Guido van Rossum
cc54417d1a Module to test threads 1994-04-14 20:28:41 +00:00
Guido van Rossum
7c6ebb572e Renamed urlopen.py to urllib.py. 1994-03-22 12:05:32 +00:00
Guido van Rossum
cc32ac9704 Use float constants directly; cosmetic changes; initialize largest
correctly; allow test(N) to set number of calls in the tests.
1994-03-15 16:10:24 +00:00
Guido van Rossum
95bfcda3e0 Added gauss() (same as normal but twice as fast) and betavariate();
print more statistics in test_generator()
1994-03-09 14:21:05 +00:00
Guido van Rossum
ff03b1ae5b Random variable generators 1994-03-09 12:55:02 +00:00
Guido van Rossum
b19d86232b Search for test files in sys.path 1994-03-09 12:54:32 +00:00
Guido van Rossum
d1df83ba6c urlopen: add basejoin() function.
addpack: new module to add packages to sys.path.
1994-03-07 11:45:36 +00:00
Guido van Rossum
d66acb45f8 avoid crash in open_ftp when no host in url 1994-03-04 12:10:33 +00:00
Guido van Rossum
67e22c2684 use caching of temp files; added cleanup 1994-03-02 11:28:34 +00:00
Guido van Rossum
914973a0be Added __repr__ to addbase class; delete more objects 1994-02-24 15:55:43 +00:00
Guido van Rossum
d5b9ea1c67 Added __del__(), close(), cleanup(), retrieve() and open_local_file() 1994-02-24 13:50:39 +00:00
Guido van Rossum
555915a90b Added ntpath.py (for os.py when used with Windows NT) 1994-02-24 11:32:59 +00:00
Guido van Rossum
749057be5a Redesigned as a class 1994-02-22 19:03:38 +00:00
Guido van Rossum
76ca3c17f0 Fix bug with somtimes uninitialized port 1994-02-22 16:06:02 +00:00
Guido van Rossum
23acc9590c Towards a standard access mechanism for URLs. 1994-02-21 16:36:04 +00:00
Guido van Rossum
3ed23cc158 aifc, sunau: make rate an int; os: restruct; ospath: obsolete; rfc822:
date and addr parsing; string: force result of atof to float and
support atoi, atol, atof in strop; tzparcs: don't call test().
1994-02-15 15:57:15 +00:00
Sjoerd Mullender
b513c74b1b wave.py: module to read and write .wav files with the same interface
as aifc.py and sunau.py.
sunau.py: small change in comment (au -> sunau).
1994-02-03 14:19:21 +00:00
Guido van Rossum
3db6ebcc3f Use __builtin__ instead of builtin 1994-01-28 09:59:35 +00:00
Sjoerd Mullender
ffe9490d79 aifc.py: framerate should be an int.
sunau.py: should convert number of frames correctly to number of bytes
	when reading.
1994-01-28 09:56:05 +00:00
Guido van Rossum
b90bdebf19 sndhdr.py: restored lost file; audiodev.py: import platform specific
modules only when needed
1994-01-14 16:46:14 +00:00
Guido van Rossum
fa7fcb93e9 Add test code for audioop and rgbimg (includes three binary files!) 1994-01-12 09:55:11 +00:00
Sjoerd Mullender
e03bf9c497 Removed now useless convert functions. 1994-01-06 17:00:04 +00:00
Sjoerd Mullender
49c2df16f5 Removed silly dependence on AL module. 1994-01-06 16:35:34 +00:00
Guido van Rossum
80e32bf546 Added Makefile with clean and clobber targets 1994-01-04 23:24:22 +00:00
Sjoerd Mullender
721cd289ef Specified _framesize twice in access statement. 1994-01-03 10:35:11 +00:00
Guido van Rossum
e30cb84ed2 Initial revision 1993-12-29 16:37:25 +00:00
Guido van Rossum
70f1418d35 New files (not really...) 1993-12-29 16:35:41 +00:00
Guido van Rossum
dd8cb446e1 Some minute changes. 1993-12-29 15:33:08 +00:00
Sjoerd Mullender
2a45141741 aifc.py, sunau.py: Adapted comments; added access statements.
SUNAUDIODEV.py: Added some constants for Solaris.
1993-12-20 09:36:01 +00:00
Guido van Rossum
6ed9df2641 * aifc.py (Aifc_write): fix bogus reference to filename 1993-12-17 16:43:43 +00:00
Guido van Rossum
7bc817d5ba * Mass change: get rid of all init() methods, in favor of __init__()
constructors.  There is no backward compatibility.  Not everything has
  been tested.
* aiff.{py,doc}: deleted in favor of aifc.py (which contains its docs as
  comments)
1993-12-17 15:25:27 +00:00
Sjoerd Mullender
aa14837bd0 Interface to audio hardware for SGI and Sun. 1993-12-17 15:18:37 +00:00
Sjoerd Mullender
ad7324c71f Don't close the file explicitly. 1993-12-16 14:02:44 +00:00
Sjoerd Mullender
feaa7d296f Don't close the file. 1993-12-16 13:56:34 +00:00
Guido van Rossum
79c85f1778 * wdbframewin.py (re_eval): set __privileged__ in globals so private
variables can still be seen by the debugger
* ftplib.py (retrlines): args should be *args.
* ChangeLog: entries for Sjoerd's addition sunau.py and changes to aiff.py
* test_md5.py: test program for built-in md5 module
1993-12-14 15:54:01 +00:00
Sjoerd Mullender
43bf0bc857 aifc.py: added missing tell() method in AIFC write class;
use audioop module as backup for cl module when reading or
	 writing u-law compressed files.
sunau.py: interface with the same methods as aifc for Sun and NeXT
	  audio files
1993-12-13 11:42:39 +00:00