Fred Drake
0c07b50811
The socket constants have been moved to the socket module for a long time;
...
the standard library does not use the SOCKET module any more, and it is
not defined for all platforms (Windows, in particular).
2001-02-02 02:51:21 +00:00
Fred Drake
132dce2246
Update the code to better reflect recommended style:
...
Use != instead of <> since <> is documented as "obsolescent".
Use "is" and "is not" when comparing with None or type objects.
2000-12-12 23:11:42 +00:00
Fred Drake
def003845b
Convert some old-style string exceptions to class exceptions.
2000-08-18 14:59:33 +00:00
Thomas Wouters
c533e4a012
Bugfix by Rob W. W. Hooft, from his spelling fixes patch. This one is a
...
genuine bug, so I checked it in separately.
2000-07-16 11:57:20 +00:00
Jeremy Hylton
a05e293a21
typos fixed by Rob Hooft
2000-06-28 14:48:01 +00:00
Guido van Rossum
4edf656402
Remove stuff with unsure copyright status
1999-03-12 19:31:51 +00:00
Guido van Rossum
2c2f731daf
[Sjoerd Mullender]
...
Don't use CL module since all constants are now in cl.
1998-08-07 15:28:23 +00:00
Guido van Rossum
fa6e254b34
Mass check-in after untabifying all files that need it.
1998-03-26 20:23:01 +00:00
Guido van Rossum
2830dcc15c
Get rid of the Emacs cruft now that Python-mode guess the desired settings!
1998-03-26 19:52:46 +00:00
Guido van Rossum
9694fcab53
Convert all remaining *simple* cases of regex usage to re usage.
1997-10-22 21:00:49 +00:00
Guido van Rossum
25bcdb0e56
Added QUADRO.
1996-12-13 00:19:15 +00:00
Guido van Rossum
8c1529dc29
regenerated files from IRIX 5.3 headers
1996-06-11 15:03:14 +00:00
Guido van Rossum
dc3372e943
new exec syntax
1995-09-18 22:00:37 +00:00
Guido van Rossum
aada0d51a5
Initial revision
1995-09-18 22:00:15 +00:00
Guido van Rossum
97162b5b95
exec() -> exec
1995-08-28 02:54:01 +00:00
Guido van Rossum
9d8c5a4cf3
add errno.h
1995-08-28 02:53:41 +00:00
Sjoerd Mullender
c8718c3ddd
Backward compatibity module for constants from cl.h include file. The
...
values are gotten from the cl module. CL_old is there in case cl
doesn't exist.
1995-05-17 11:18:22 +00:00
Sjoerd Mullender
d9b6b5c756
Write track artist info if given.
1995-03-01 10:03:08 +00:00
Sjoerd Mullender
992ff06e98
Made play method more robust by adding a try-finally.
1995-02-01 14:24:32 +00:00
Sjoerd Mullender
3d697ce447
Support for album.notes and trackN.artist via notes and trackartist
...
instance variables.
1995-02-01 14:23:37 +00:00
Guido van Rossum
73b20df99e
Added TERMIOS module
1994-09-12 10:39:08 +00:00
Sjoerd Mullender
e202c38d76
Can now also give a hashed ID to Cddb.
1994-09-06 16:19:03 +00:00
Guido van Rossum
9e1e149a5f
* Lib/sgi/flp.py: fix caching bug (always write the whole file to
...
the cache!)
1994-08-23 13:29:21 +00:00
Guido van Rossum
b6775db241
Merge alpha100 branch back to main trunk
1994-08-01 11:34:53 +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
f624666eb3
Generate some files automatically from system files
1994-05-23 12:15:33 +00:00
Guido van Rossum
70f1418d35
New files (not really...)
1993-12-29 16:35:41 +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
b2e358d433
Use __init__ instead of init.
...
Also use CDDB_PATH and CDDB_WRITE_DIR environment variables in cddb.py.
1993-11-08 15:10:43 +00:00
Sjoerd Mullender
35fe6ec4cf
Not everyone has Guido's bin in his/her PATH...
1993-10-11 12:39:15 +00:00
Sjoerd Mullender
c9d73d1f64
Implemented support for CDDB_PATH and CDDB_WRITE_DIR environment
...
variables.
Added auxiliary routine tochash to convert a table-of-contents to a
hashed toc.
1993-09-27 12:36:01 +00:00
Guido van Rossum
df5638662d
* posixpath.py: Fix border cases in normpath ('/foo/..' should return '/')
...
* ftplib.py: made cwd() use 'CDUP' when dirname is '..'
* FL.py: added new constant FL_PLACE_FULLSCREEN
1993-07-06 15:19:36 +00:00
Guido van Rossum
5cfa5dfe97
* calendar.py: all libC functionality now moved to built-in time module
...
* imghdr.py: added jpeg recognition
* torgb.py: added jpeg conversion
* tzparse.py: use functions from time instead of calendar
* whatsound.py: add /ufs/guido/biin/sgi to $PATH when calling 'whatsound'
1993-06-23 09:30:50 +00:00
Guido van Rossum
e6dc0ca122
Initial revision
1993-06-03 14:39:09 +00:00
Guido van Rossum
d316607732
* ftplib.py: added abort() command (sends oob data).
...
* Several modules: change "class C(): ..." to "class C: ...".
* flp.py: support for frozen forms.
* Added string.find() which is like index but returns -1 if not found
1993-05-24 14:16:22 +00:00
Sjoerd Mullender
04321d1e47
Use type(xxx) in stead of except TypeError.
1993-03-29 10:50:29 +00:00
Sjoerd Mullender
8562c4cee6
Added some error checking.
1993-03-29 10:49:59 +00:00
Guido van Rossum
c9e340db8d
Definitions from <gl/get.h>
1993-03-01 10:11:55 +00:00
Jack Jansen
e8a3c28f8d
Added new audio library functionality (getstatus, float sample fmts)
1993-02-10 14:10:56 +00:00
Sjoerd Mullender
4ab6ff80ff
AWARE.py: New file with definitions for Aware Inc.'s compression
...
algorithms in cl module.
aifc.py: fixed a small bug.
1993-02-05 13:43:44 +00:00
Sjoerd Mullender
3a997279d5
CL.py, clmodule.c: Adapted to new CL library. Lots of new methods.
...
aifc.py: Several small improvements. Use new methods from CL module.
1993-02-04 16:43:28 +00:00
Sjoerd Mullender
4fff13faca
CL.py: adapted to newest version of CL library.
...
cdplayer.py: It is now also possible to give the CD's TOC as argument
to init(). The TOC is a string consisting of 2 digits giving the
number of tracks and then for each track the length of the track as
number of minutes and number of seconds (2 digits each).
cddb.py: Interface to the .cddb directory. Usage is the same as for
cdplayer.py.
1992-12-14 13:16:55 +00:00
Guido van Rossum
89a78697b8
* Got entirely rid of path.py.
...
* Many modules: fixes for new, stricter, argument passing rules
(most changes were automatic ones -- not all of this is tested!).
* gwin.py: now uses mainloop.py for its main loop and window admin.
* mainloop.py: always call dispatch() with event as a tuple!
* Fix bug in pdb's 'clear' command -- don't set the bpt but clear it!
1992-12-14 12:57:56 +00:00
Guido van Rossum
2db91358de
Misc changes and new modules. whrandom is "objectified". SOCKET.py
...
is moved to the sgi subdirectory.
1992-10-18 17:09:59 +00:00
Sjoerd Mullender
e7daaa3a01
New module "CL" (Compression Library) for Irix 4.0.5 and higher.
1992-09-24 10:40:03 +00:00
Guido van Rossum
3577113d83
Added post_mortem() and pm() interfaces to pdb and wdb.
...
Added colorsys.py (color system conversions).
SV.py: new version for new svideo.h (Sjoerd).
DEVICE.py: added VIDEO event type.
1992-09-08 11:59:04 +00:00
Sjoerd Mullender
da3eee99e8
version for new library
1992-09-03 13:08:04 +00:00
Guido van Rossum
4e16098ce7
Added a _v21 def to FL.py and added two new input field types
...
Added runcall(func, *args) interfaces to profile.py, bdb.py, pdb.py, wdb.py
Added new module bisect.py and used it in sched.py.
Mostly cosmetic changes to profile.py (changed output format).
1992-09-02 20:43:20 +00:00
Guido van Rossum
354166fa05
Changed to use regex directly instead of regexp.
1992-08-25 12:31:03 +00:00
Sjoerd Mullender
099d923344
new file for SGI Video
1992-08-04 13:47:11 +00:00