Commit Graph

28256 Commits

Author SHA1 Message Date
Raymond Hettinger
2e61662290 SF bug #793826: using itertools.izip to mutate tuples
Avoid Armin Rigo's dastardly exercise in re-entrancy.
2003-08-29 23:13:16 +00:00
Jack Jansen
aa4fef593c A makefile and setup script to create the bits that are part of
MacPython but not of Apple's Panther distribution: the waste module,
the IDE and BuildApplet applets.
2003-08-29 22:46:25 +00:00
Brett Cannon
3b47b812ca _strptime.srptime() escaped parentheses in the format string properly.
Closes bug #796149 .
2003-08-29 02:34:22 +00:00
Thomas Heller
60eaed1cdf Fix typo in docstring: The switch is '-x', not '-s'. 2003-08-27 20:21:06 +00:00
Fred Drake
82adb7ba9e remove extra word occurance; reported to webmaster 2003-08-27 15:10:54 +00:00
Thomas Heller
4fc4e2dcee Remove a typo. 2003-08-27 10:49:34 +00:00
Raymond Hettinger
eb85c6617b SF bug #795506: Wrong handling of string format code for float values.
Added missing support for '%F' as had been documented.
2003-08-27 05:08:19 +00:00
Jason Tishler
c519f015f2 test_largefile can leave its temp file open if one of many tests fail. On
platforms (e.g., Cygwin) that are "particular" about open files, this will
cause other regression tests that use the same temp file to fail:

    $ ./python.exe -E -tt Lib/test/regrtest.py -l
    test_largefile test_mmap test_mutants
    test_largefile
    test test_largefile failed -- got -1794967295L, but expected 2500000001L
    test_mmap
    test test_mmap crashed -- exceptions.IOError: [Errno 13] Permission denied: '@test'
    test_mutants
    test test_mutants crashed -- exceptions.IOError: [Errno 13] Permission denied: '@test'

This patch solves the problem by adding missing "try/finally" blocks. Note
that the "large" size of this patch is due to many white space changes --
otherwise, the patch is small.

I tested this patch under Red Hat Linux 8.0 too.
2003-08-26 11:59:41 +00:00
Raymond Hettinger
f84d20ac73 Make the derived tools amendable to cut and paste. 2003-08-25 05:04:22 +00:00
Raymond Hettinger
d19a27593e Fixed doubled word typos. 2003-08-25 04:44:33 +00:00
Raymond Hettinger
ac5d6ac418 Fix double word typos. 2003-08-25 04:34:46 +00:00
Raymond Hettinger
411f4584a6 SF bug #793702: Section 13.1 HTMLParser documentation error
The -- is special to TeX and was printing as just -.
2003-08-25 03:31:05 +00:00
Raymond Hettinger
ca0609fe72 Fix typo.
Thou shalt not count to two unless proceeding to the number three.
2003-08-23 03:47:56 +00:00
Raymond Hettinger
59d62145cc Fix typo. 2003-08-23 03:39:28 +00:00
Raymond Hettinger
c15f8b53a7 Missing "if". 2003-08-22 16:27:03 +00:00
Barry Warsaw
89af2f65dc Backporting email 2.5.4 fixes from the trunk. 2003-08-19 04:56:46 +00:00
Barry Warsaw
f059147e13 Update get_param() description to reflect changes to the docstring. 2003-08-19 04:51:25 +00:00
Barry Warsaw
d44c97992d Describe the fix to the email package. 2003-08-19 04:50:31 +00:00
Walter Dörwald
afa2448b2a Backport checkin:
Fix a crash: when sq_item failed the code continued blindly and used the
NULL pointer. (Detected by Michael Hudson, patch provided by Neal Norwitz).

Fix refcounting leak in filtertuple().
2003-08-18 18:34:09 +00:00
Thomas Heller
1dafa9e6bc Remove a stray single quote. 2003-08-18 17:54:10 +00:00
Raymond Hettinger
27ea5783b3 Backport improvements to set.py so that the interface will remain
consistent across versions.

* Relaxed the argument restrictions for non-operator methods.  They now
  allow any iterable instead of requiring a set.  This makes the module
  a little easier to use and paves the way for an efficient C
  implementation which can take better advantage of iterable arguments
  while screening out immutables.

* Added a PendingDeprecationWarning for Set.update() because it now
  duplicates Set.union_update()

* Adapted the tests and docs to include the above changes.

* Added more test coverage including testing identities and checking
  to make sure non-restartable generators work as arguments.
2003-08-17 22:08:58 +00:00
Raymond Hettinger
fcc69f1718 SF #784031: Byte-order bug in socket-module getaddrinfo.c 2003-08-17 21:29:32 +00:00
Fred Drake
49ce872cc3 Adjust some horizontal indentation to be consistent with the style used
throughout the documentation.
2003-08-16 06:31:21 +00:00
Raymond Hettinger
bd9ba1ad90 Make sets.py compatible with Py2.2 2003-08-15 21:14:51 +00:00
Walter Dörwald
33f6aebeed Backport checkin:
Make a copy of L before appending, so the global L remains
unchanged (and sys.gettotalrefcount() remains constant).

Fix a few typos.
2003-08-15 17:36:25 +00:00