Commit Graph

1474 Commits

Author SHA1 Message Date
Martin v. Löwis
e064b41f5a Patch #914575: difflib side by side diff support, diff.py s/b/s HTML option. 2004-08-29 16:34:40 +00:00
Tim Peters
66cb018c96 Whitespace normalization. 2004-08-26 05:23:19 +00:00
Skip Montanaro
8107ca47eb Keep option parser from gobbling up the filename to be profiled and the
flags it accepts.  It's too late to change optparse's default behavior now,
but I find the default setting of allow_interspersed_args very weird.
2004-08-24 14:26:43 +00:00
Tim Peters
94607dd5ce Whitespace normalization. 2004-08-22 19:42:56 +00:00
Martin v. Löwis
2dd2a28802 Add acknowledgements to ExitDialog. 2004-08-22 17:10:12 +00:00
Martin v. Löwis
8ffe9abd09 Move msi from sandbox to Tools. 2004-08-22 13:34:34 +00:00
Matthias Klose
2443d4ab5d - pygettext.py: Generate POT-Creation-Date header in ISO format. 2004-08-16 12:10:12 +00:00
Tim Peters
494aaee902 Whitespace normalization. 2004-08-09 18:54:11 +00:00
Andrew M. Kuchling
e236b38731 [Patch #1005491 ] use __name__ == '__main__' in scripts 2004-08-09 17:27:55 +00:00
Michael W. Hudson
e6e77e5fe7 Fix
[ 777659 ] Uninitialized variable used in Tools/faqwiz/faqwiz.py

with help from jlgijsbers on #python-dev IRC.
2004-08-07 21:13:46 +00:00
Hye-Shik Chang
e9ddfbb412 SF #989185: Drop unicode.iswide() and unicode.width() and add
unicodedata.east_asian_width().  You can still implement your own
simple width() function using it like this:
    def width(u):
        w = 0
        for c in unicodedata.normalize('NFC', u):
            cwidth = unicodedata.east_asian_width(c)
            if cwidth in ('W', 'F'): w += 2
            else: w += 1
        return w
2004-08-04 07:38:35 +00:00
Anthony Baxter
c2a5a63654 PEP-0318, @decorator-style. In Guido's words:
"@ seems the syntax that everybody can hate equally"
Implementation by Mark Russell, from SF #979728.
2004-08-02 06:10:11 +00:00
Marc-André Lemburg
5ae638c78e Remove copyright notices from gencodec.py output.
The script was originally used to create the initial set of
codecs (and these were (c) CNRI). While the script itself still
is (c) CNRI, the output certainly isn't anymore.
2004-07-23 10:09:57 +00:00
Tim Peters
182b5aca27 Whitespace normalization, via reindent.py. 2004-07-18 06:16:08 +00:00
Tim Peters
4fba4521e8 WTF is with this script? It contained illegal syntax and illegal
indentation -- it could never have been run, under any version of Python.
2004-07-18 05:31:31 +00:00
Jack Jansen
c572e42fb4 Call the correct tp_dealloc. 2004-07-15 21:24:07 +00:00
Raymond Hettinger
7b7acd1de5 Use set() instead of sets.Set() 2004-07-12 13:29:10 +00:00
Raymond Hettinger
5492f3d977 Add more known macros. 2004-07-12 13:16:49 +00:00
Tim Peters
27f883687b Whitespace normalization. 2004-07-08 04:22:35 +00:00
Hye-Shik Chang
974ed7cfa5 - SF #962502: Add two more methods for unicode type; width() and
iswide() for east asian width manipulation. (Inspired by David
Goodger, Reviewed by Martin v. Loewis)
- Move _PyUnicode_TypeRecord.flags to the end of the struct so that
no padding is added for UCS-4 builds. (Suggested by Martin v. Loewis)
2004-06-02 16:49:17 +00:00
Armin Rigo
ba91b9fdda Applying SF patch #949329 on behalf of Raymond Hettinger. 2004-05-19 19:10:18 +00:00
Raymond Hettinger
354433a59d SF patch #872326: Generator expression implementation
(Code contributed by Jiwon Seo.)

The documentation portion of the patch is being re-worked and will be
checked-in soon.  Likewise, PEP 289 will be updated to reflect Guido's
rationale for the design decisions on binding behavior (as described in
in his patch comments and in discussions on python-dev).

The test file, test_genexps.py, is written in doctest format and is
meant to exercise all aspects of the the patch.  Further additions are
welcome from everyone.  Please stress test this new feature as much as
possible before the alpha release.
2004-05-19 08:20:33 +00:00
Gustavo Niemeyer
ffa5a5015a Small fixes in freeze.py. 2004-05-08 17:59:43 +00:00
Skip Montanaro
26510d42b0 delete timing output - it appears after the </html> line. 2004-04-16 03:12:12 +00:00
Skip Montanaro
165163f245 add usage() function, -h(elp) flag and long versions of short flags 2004-03-27 18:43:56 +00:00