Neal Norwitz
9d72bb452b
Remove functions in string module that are also string methods. Also remove:
...
* all calls to functions in the string module (except maketrans)
* everything from stropmodule except for maketrans() which is still used
2007-04-17 08:48:32 +00:00
Guido van Rossum
be19ed77dd
Fix most trivially-findable print statements.
...
There's one major and one minor category still unfixed:
doctests are the major category (and I hope to be able to augment the
refactoring tool to refactor bona fide doctests soon);
other code generating print statements in strings is the minor category.
(Oh, and I don't know if the compiler package works.)
2007-02-09 05:37:30 +00:00
Guido van Rossum
e2a383d062
Rip out 'long' and 'L'-suffixed integer literals.
...
(Rough first cut.)
2007-01-15 16:59:06 +00:00
Guido van Rossum
b940e113bf
SF patch 1631942 by Collin Winter:
...
(a) "except E, V" -> "except E as V"
(b) V is now limited to a simple name (local variable)
(c) V is now deleted at the end of the except block
2007-01-10 16:19:56 +00:00
Georg Brandl
7cae87ca7b
Patch #1550800 : make exec a function.
2006-09-06 06:51:57 +00:00
Tim Peters
182b5aca27
Whitespace normalization, via reindent.py.
2004-07-18 06:16:08 +00:00
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
Jack Jansen
03d3e33af9
Regenerated for Irix 6.5.
2002-03-17 21:49:20 +00:00
Jack Jansen
5ae73c8f75
Patch by Michael Pruett: make regen work on Irix 6.0 and 6.5.
2002-03-17 21:46:48 +00:00
Martin v. Löwis
bbe500e5d3
Remove obsolete entries from regen scripts.
2001-07-31 08:47:55 +00:00
Fred Drake
48871f2a6e
Remove the old platform-specific FCNTL.py modules; these are no longer
...
needed now that fcntl exports the constants.
2001-05-09 21:15:06 +00:00
Fred Drake
ddd802cbd7
Replace all the platform-specific TERMIOS modules with a portable version
...
based on the termios module. The only added "feature" is the deprecation
warning it spits out.
2001-02-27 21:35:40 +00:00
Eric S. Raymond
dcd3a875a5
String method conversion.
2001-02-09 16:45:10 +00:00
Eric S. Raymond
b3acd3e4d3
String method conversion.
2001-02-09 12:20:51 +00:00
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
1ce7c6fde8
Irix 6 specific files -- thanks Sjoerd!
1997-01-15 19:19:19 +00:00