0
0
mirror of https://github.com/python/cpython.git synced 2024-11-30 18:51:15 +01:00
Commit Graph

13667 Commits

Author SHA1 Message Date
Jeremy Hylton
fd54757336 add isalpha and isalnum methods 2000-07-10 17:07:17 +00:00
Peter Schneider-Kamp
cb27c35aa6 ANSI-fication, not really tested, but should (hopefully) compile 2000-07-10 17:06:38 +00:00
Peter Schneider-Kamp
6a85027a97 ANSI-fication of the SGI modules (note that svmodule.c and sgimodule.c
have already been checked in)

UNTESTED!
2000-07-10 17:04:33 +00:00
Fredrik Lundh
10723347c6 - stupid typo. 2000-07-10 16:38:09 +00:00
Guido van Rossum
c716684df8 Add linker flag -export-dynamic so symbols in libpython*.a are exported. 2000-07-10 16:22:12 +00:00
Fredrik Lundh
44328e60df -- get rid of a compiler warning on unix. (as reported
for #100836, but implemented in a different way)
2000-07-10 15:59:30 +00:00
Guido van Rossum
1bbddd085c Added the line 'Testing UTF-16 code point order comparisons... done."
to match addition to test_unicode.py.
2000-07-10 15:06:06 +00:00
Guido van Rossum
964f123346 Adapted for Python 2.0 under RH Linux. 2000-07-10 14:35:12 +00:00
Jeremy Hylton
fb8849c4a5 remove prints of file objects from _test 2000-07-10 14:28:25 +00:00
Jeremy Hylton
a5ae490584 expect message "no regression test case for method 'encode' 2000-07-10 14:14:40 +00:00
Andrew M. Kuchling
a48dbde93b Patch from Joe Eaton <jeaton@hostway.net> (SF#100741) to fix following problem:
There is a silly bug in the fall-back dumbdbm.py database package in
  the Python 1.5.2 standard distro. This bug causes any changes to an
  existing item to generate a new key, even when the key already
  exists.  After many updates, the .dir file used by dumbdbm grows to
  a huge size, and can cause filesystem problems.
2000-07-10 13:56:35 +00:00
Peter Schneider-Kamp
39e0e5a180 ANSI-fication 2000-07-10 13:12:27 +00:00
Peter Schneider-Kamp
7d0c71ac8c ANSI-fication 2000-07-10 13:05:29 +00:00
Peter Schneider-Kamp
286da3b46a ANSI-fying
added excplicit node * parameter to termvalid argument in
validate_two_chain_ops of parsermodule.c (as proposed by fred)
2000-07-10 12:43:58 +00:00
Peter Schneider-Kamp
41c36ffe83 ANSI-fication 2000-07-10 12:29:26 +00:00
Peter Schneider-Kamp
416d413527 ANSI-fication 2000-07-10 12:15:54 +00:00
Peter Schneider-Kamp
e89b15691e ANSI-fication 2000-07-10 12:04:18 +00:00
Peter Schneider-Kamp
c4bc0e0895 ANSI-fication 2000-07-10 11:56:03 +00:00
Peter Schneider-Kamp
0659b4af46 ANSI-fication 2000-07-10 10:49:30 +00:00
Peter Schneider-Kamp
3707efef9b ANSI-fication 2000-07-10 10:03:58 +00:00
Peter Schneider-Kamp
a788a7f0fb ANSI-fication 2000-07-10 09:57:19 +00:00
Peter Schneider-Kamp
fe74263cec ANSI-fication 2000-07-10 09:55:32 +00:00
Peter Schneider-Kamp
8235f1c834 ANSI-fication 2000-07-10 09:43:24 +00:00
Peter Schneider-Kamp
f1ca898d85 ANSI-fication 2000-07-10 09:31:34 +00:00
Peter Schneider-Kamp
faaad372ec ANSI-fication (and test if committing files works now) 2000-07-10 09:26:41 +00:00
Sjoerd Mullender
f985064781 Better error handling of bad entity references. Before when an & in
an attribute value was not escaped, you could get two syntax errors:
one about a missing semicolon and one about an unknown entity.  Now
you get only one about a bogus ampersand.
2000-07-10 08:09:48 +00:00
Vladimir Marangozov
b16714b4d0 Initialize the return value in collect_generations() since it is updated
conditionally in the code.
2000-07-10 05:37:39 +00:00
Vladimir Marangozov
14a4d88a2e Remove the "1" that Tim sticked to the preprocessor symbol for unknown reasons
(cf. the rest of the headers in the distribution)
2000-07-10 04:59:49 +00:00
Vladimir Marangozov
d8a933248e A small comment fix just to make sure I got my cvs/ssh setup right. 2000-07-10 04:30:56 +00:00
Fred Drake
859bad00cb Guido said include these in the Great ANSI-fication, so here they are! 2000-07-10 04:20:57 +00:00
Fredrik Lundh
9ac81f69b2 - changed the nt.popen2 return values back to
(write, read, ...), based on feedback from GvR.

- added tuple-swapping code to popen2.py

- fixed some runaway indentation in posixmodule.c
2000-07-09 23:35:24 +00:00
Fredrik Lundh
0466132ee4 - repaired locale.py for non-windows platforms. the try/except
checked for the wrong exception.  my fault.  sorry.
  (first reported by Alex Coventry)
2000-07-09 23:16:10 +00:00
Barry Warsaw
b78165566e Exception__str__(): In case 1, be sure to decref the tmp local
variable.  This crushes another memory leak.  Slight rewrite
included.
2000-07-09 22:27:10 +00:00
Barry Warsaw
a1ae88432d Use TQSQ (triple quoted single quote) module docstring for better
font-locking.  This complets the merge with Mailman's version.
2000-07-09 21:24:31 +00:00
Fredrik Lundh
620f37723f - changed 1.5 to 2.0 in the help text
(the PYTHONHOMEHELP define)

- ANSI-fication
  (patch #100794 by Peter Schneider-Kamp)
2000-07-09 20:42:34 +00:00
Fredrik Lundh
faa209d6bd - ANSI-fication
(patch #100805 by Peter Schneider-Kamp)
2000-07-09 20:35:15 +00:00
Fred Drake
3637799afe Update to use the new standard webbrowser module if available, otherwise
uses the BrowserControl module.

BrowserControl is not removed to allow IDLE to be distributed separately
and still be used with Python 1.5.2.
2000-07-09 19:10:19 +00:00
Fredrik Lundh
bb7eeff44a - added popen.popen2/popen3/popen4 support for
windows.

- added optional mode argument to popen2/popen3
  for unix; if the second argument is an integer,
  it's assumed to be the buffer size.

- changed nt.popen2/popen3/popen4 return values
  to match the popen2 module (stdout first, not
  stdin).
2000-07-09 17:59:32 +00:00
Fredrik Lundh
766ccdcf18 - added optional bufsize argument to new popen methods.
for the moment, this argument must be left out or set
  to -1 (only the default bufsize is supported, that is)
2000-07-09 17:41:01 +00:00
Fredrik Lundh
6c86b99dc1 - merged setlocale and set_locale. the internal setlocale
function is overridden by a python version which accepts
  *either* a string (old behaviour) or a locale tuple.

- renamed a few methods (for consistency):

        get_locale => getlocale
        get_default_locale => getdefaultlocale
        set_to_default => resetlocale (!)

- the _locale implementation module can now implement
  an optional _getdefaultlocale function.  if that function
  isn't available, a POSIX-based approach is used (checking
  LANG and other environment variables, as usual).

(patch #100765)
2000-07-09 17:12:58 +00:00
Fred Drake
c70b4483d2 New module to control Web browsers; see the documentation for
more information.
2000-07-09 16:45:56 +00:00
Fred Drake
dbbf76bd5a Make tabnanny happy.
mailbox.py: Convert to 4-space indents.
2000-07-09 16:44:26 +00:00
Greg Stein
c2844af87b needs a space 2000-07-09 16:27:33 +00:00
Fred Drake
100814dc44 ANSI-fication of the sources. 2000-07-09 15:48:49 +00:00
Fred Drake
a2f5511941 ANSI-fication of the sources. 2000-07-09 15:16:51 +00:00
Fredrik Lundh
f5accf38ea - ANSI-fication
(patch #100784 by Peter Schneider-Kamp)
2000-07-09 15:14:52 +00:00
Fredrik Lundh
3c5d43d342 - ANSI-ification
(patch #100770 by Peter Schneider-Kamp)
2000-07-09 15:09:56 +00:00
Andrew M. Kuchling
08d87c6de1 Document addition of webbrowser.py
Mention the ANSIfication of the source.
2000-07-09 15:05:15 +00:00
Fredrik Lundh
ffb9c770f8 - improved os.popen support for windows, based on win32pipe
by Bill Tutt.

  note: to run this on Windows 95/98, you need to have the
  w9xpopen.exe helper in the same directory as the python DLL.
2000-07-09 14:49:51 +00:00
Fred Drake
ce81d59c0c Remove setup of HAVE_OLD_CPP; it is no longer used in the Python sources.
The actual test for it is only commented out in configure.in, so it can
be re-enabled if we ever run across the need for it again.
2000-07-09 14:39:29 +00:00