Fred Drake
db390c1ad8
fix typos, mostly in comments
2005-10-28 14:39:47 +00:00
Marc-André Lemburg
68b49ef8a1
Add Makefile which allows easily rebuilding the charmap codecs.
2005-10-25 11:55:01 +00:00
Marc-André Lemburg
89bbfd4a36
Add custom mapping files used for generating some of the charmap
...
codecs.
2005-10-25 11:54:04 +00:00
Marc-André Lemburg
bd20ea55bc
Apply some cosmetic fixes to the output of the script.
...
Only include the decoding map if no table can be generated.
2005-10-25 11:53:33 +00:00
Marc-André Lemburg
92b201debc
Add two new tools to compare codecs and show differences and to
...
list all installed codecs.
2005-10-21 13:47:03 +00:00
Marc-André Lemburg
c5694c8bf4
Moved gencodec.py to the Tools/unicode/ directory.
...
Added new support for decoding tables.
Cleaned up the implementation a bit.
2005-10-21 13:45:17 +00:00
Jeremy Hylton
3e0055f8c6
Merge ast-branch to head
...
This change implements a new bytecode compiler, based on a
transformation of the parse tree to an abstract syntax defined in
Parser/Python.asdl.
The compiler implementation is not complete, but it is in stable
enough shape to run the entire test suite excepting two disabled
tests.
2005-10-20 19:59:25 +00:00
Martin v. Löwis
420254df5a
Use lzx:21 for compression. Backported to 2.4
2005-09-27 19:17:03 +00:00
Jack Jansen
2190f8c47e
Added a class MallocHeapOutputBufferType for types that are passed
...
as &buffer, &size and allocated by the called function.
2005-09-20 21:11:19 +00:00
Jack Jansen
b53355ad77
Added support for (optionally) bracketing calls with
...
Py_{BEGIN,END}_ALLOW_THREADS.
2005-09-20 15:13:53 +00:00
Tim Peters
9e34c04732
Whitespace normalization (via reindent.py).
2005-08-26 15:20:46 +00:00
Georg Brandl
256372c88c
Add findnocoding.py and pysource.py.
2005-08-24 21:42:14 +00:00
Georg Brandl
568973181a
Patch [ 784089 ] A program to scan python files and list those require coding
2005-08-24 18:32:30 +00:00
Georg Brandl
7eb4b7d177
Fix all wrong instances of "it's".
2005-07-22 21:49:32 +00:00
Tim Peters
f5f32b4712
Whitespace normalization.
2005-07-17 23:16:17 +00:00
Jack Jansen
149787e7c5
Added an option to the scanner to generated marked-up HTML from the input
...
file. This should make it a lot easier (I hope) to get the regular
expressions right.
2005-07-17 00:15:46 +00:00
Tim Peters
7d66b00f29
Whitespace normalization.
2005-07-10 20:37:51 +00:00
Jack Jansen
6d394d9b68
Handle argref so it can be overridden more easily in a subclass.
2005-07-08 15:03:37 +00:00
Jack Jansen
0257424a2a
Allow for (optional) const declaration.
2005-07-05 10:00:57 +00:00
Jack Jansen
a6af76cbe4
Factored out the code that creates argument lists and formats for PyArg_Parse
...
and Py_BuildValue.
2005-07-03 20:58:08 +00:00
Jack Jansen
7b8f0a1843
Sigh, changed the argument names in the tp_init function: to make them be
...
more in line with other methods "self" and "args" had to be renamed "_self"
and "_args". Did "_kwds" too, for consistency.
2005-07-03 20:57:26 +00:00
Raymond Hettinger
c418cc81ae
Teach texcheck about \textbar
2005-07-01 22:55:43 +00:00
Jack Jansen
a660caf351
Added methods mkvaluePreCheck and getargsPreCheck, which are called (for
...
each variable) before calling Py_BuildValue and PyArg_Parse.
2005-07-01 20:23:27 +00:00
Jack Jansen
62cc1233f9
More factorization: added a method getrvforcallit(). This allows a C++
...
bridge to combine declaration and assignment to the return value
temporary, allowing us to handle functions returning const values.
2005-06-30 15:00:13 +00:00
Jack Jansen
d4128f397d
Added optional suppport for storage modifiers (virtual/static/inline/etc)
...
and conditional generation of objects and methods.
2005-06-29 14:17:05 +00:00
Jack Jansen
b6216dd2e7
More factorization to help C++ support.
2005-06-28 15:14:35 +00:00
Georg Brandl
7e7688c2ec
bug [ 1072853 ] thisid not intialized in pindent.py script
2005-06-26 20:20:48 +00:00
Tim Peters
527c46996f
Normalize whitespace to avoid offending Bug Day volunteers.
2005-06-24 19:46:53 +00:00
Jack Jansen
c700110735
Added a missing newline Output().
2005-06-23 22:32:59 +00:00
Jack Jansen
ab16c35f46
Revamped type declaration so the basic routines return a list of strings.
...
This allows variables to be declared as formal arguments. The bgenType.declare
method now simply outputs all declarations on separate lines ending
in semicolons.
2005-06-22 20:35:23 +00:00
Jack Jansen
8ceeaba012
Added support for optional modifiers to functions/methods (such as C++ const,
...
static for methods, inline, etc).
2005-06-21 20:54:51 +00:00
Jack Jansen
2ab0ae6a54
More factorization.
2005-06-16 21:26:24 +00:00
Jack Jansen
d6d2c0d08b
More tweaks for C++ support. Still doesn't seem to break anything:-)
2005-06-14 21:32:51 +00:00
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