Commit Graph

1487 Commits

Author SHA1 Message Date
Tim Peters
130e37f3e2 Read the text files to be compared in universal-newline mode. 2004-10-03 19:03:19 +00:00
Martin v. Löwis
f13337dd38 Fix lib-tk PythonPath. 2004-09-19 18:36:45 +00:00
Tim Peters
0e9980f75a Whitespace normalization. 2004-09-12 03:49:31 +00:00
Martin v. Löwis
0f02ce348a Do not include extpy[w].exe anymore 2004-09-10 11:56:56 +00:00
Martin v. Löwis
1e3a2642a0 Generate the product code properly 2004-09-10 11:55:32 +00:00
Martin v. Löwis
dff68d0ced Change all extensions to unadvertised.
Add script dealing with REGISTRY.tcl installation
2004-09-10 09:20:10 +00:00
Martin v. Löwis
0b4a7d95c3 Revert creation of launcher.exe.
Install python[w].exe on demand also as extpy[w].exe
2004-09-08 16:09:14 +00:00
Martin v. Löwis
4b2017ae1a Implement conditional extensions through launcher.exe. 2004-09-07 15:39:29 +00:00
Martin v. Löwis
104c46bce3 Support Python 2.2. 2004-09-07 15:37:26 +00:00
Jeremy Hylton
566d934745 compiler.transformer: correct lineno attribute when possible
SF patch #1015989

The basic idea of this patch is to compute lineno attributes for all AST nodes.  The actual
implementation lead to a lot of restructing and code cleanup.

The generated AST nodes now have an optional lineno argument to constructor.  Remove the
top-level asList(), since it didn't seem to serve any purpose.  Add an __iter__ to ast nodes.
Use isinstance() instead of explicit type tests.

Change transformer to use the new lineno attribute, which replaces three lines of code with one.
Use universal newlines so that we can get rid of special-case code for line endings.  Use
lookup_node() in a few more frequently called, but simple com_xxx methods().  Change string
exception to class exception.
2004-09-07 15:28:01 +00:00
Martin v. Löwis
7d3755d2c0 Add test_difflib_expect.html.
Fix open Verbs.
Properly add "Edit with IDLE" to TclTk feature.
2004-09-06 06:31:12 +00:00
Martin v. Löwis
e0f780d581 Conditionalize Tcl feature 2004-09-01 14:51:06 +00:00
Martin v. Löwis
d3f61a2de6 Pickup Tk from tcltk directory. 2004-08-30 09:22:30 +00:00
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