Sjoerd Mullender
47db16580a
Fixed invalid syntax.
2004-03-03 16:34:31 +00:00
Walter Dörwald
70a6b49821
Replace backticks with repr() or "%r"
...
From SF patch #852334 .
2004-02-12 17:35:32 +00:00
Guido van Rossum
dd8ddacd94
Fix a typo in the mktemp -> mkstemp patch.
2002-08-10 00:17:59 +00:00
Guido van Rossum
3b0a3293c3
Massive changes from SF 589982 (tempfile.py rewrite, by Zack
...
Weinberg). This changes all uses of deprecated tempfile functions to
the recommended ones.
2002-08-09 16:38:32 +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
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
35fe6ec4cf
Not everyone has Guido's bin in his/her PATH...
1993-10-11 12:39:15 +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
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