Jack Jansen
bf7255fffb
Minor tweaks, to allow some (out-of-tree, until successful) tinkering
...
with C++.
2005-06-10 10:46:40 +00:00
Neil Schemenauer
f36947032f
Fix compiler.ast.flatten function so that it works on lists.
2005-06-02 05:55:20 +00:00
Tim Peters
eba28bea9b
Whitespace normalization.
2005-03-28 01:08:02 +00:00
Martin v. Löwis
141f41ae1a
Reuse componentids for *.dll across minor releases.
...
Indicate to the user when this is an upgrade installation.
Make CHM file non-advertised.
Backported to 2.4.
2005-03-15 00:39:40 +00:00
Martin v. Löwis
3390d33dd7
Add more UUIDs. Update custom actions for Itanium.
...
Backported to 2.4
2005-03-14 17:20:13 +00:00
Martin v. Löwis
3c24d96bc5
Avoid using *W functions on Win95. Backported to 2.4.
2005-02-18 16:18:09 +00:00
Tim Peters
5a9fb3c415
Whitespace normalization.
2005-01-07 16:01:32 +00:00
Martin v. Löwis
5c9e55e813
Add more test directories to testsuite. Will backport to 2.4.
2004-12-30 14:08:18 +00:00
Martin v. Löwis
9fda931ff0
Patch #1088716 : build and incorporate libpython24.a. Backported to 2.4
2004-12-22 13:41:49 +00:00
Martin v. Löwis
ac191dac9a
Properly quote IDLE shortcut. Will backport to 2.4.
2004-12-22 12:55:44 +00:00
Marc-André Lemburg
b4cebd465a
Correct mapping of Python codec name to C encoding name for UTF-8 (the C lib
...
doesn't seem to like "UTF-8").
Removed the UTF-8 aliases since these should be available for all locales.
2004-12-13 19:56:01 +00:00
Martin v. Löwis
eb68be465f
Replace VB with VC.
2004-12-12 15:29:21 +00:00
Marc-André Lemburg
bb4f1bdd8b
locale.py now uses an updated locale alias table (built using
...
Tools/i18n/makelocalealias.py, a tool to parse the X11 locale
alias file); the encoding lookup was enhanced to use Python's
encoding alias table
As sige-effect, this fixes SF bug [ 1080864 ] locale.py doesn't recognize
valid locale setting.
2004-12-10 21:58:14 +00:00
Martin v. Löwis
4d930beeb3
Add all readme files in Tools.
2004-12-01 21:46:35 +00:00
Martin v. Löwis
6d60c09624
Include site-packages directory.
2004-11-21 10:16:26 +00:00
Martin v. Löwis
eac02e614b
Add missing have_tcl conditions
2004-11-18 08:00:33 +00:00
Raymond Hettinger
72f0801bec
SF bug #1061457 : spelling error in win installer
2004-11-07 07:08:25 +00:00
Martin v. Löwis
7b2563bc80
Exclude badsyntax from compileall; adjust options to what Makefile.pre.in does.
...
Fixes #1049003 .
2004-11-02 22:59:56 +00:00
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
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