Commit Graph

1812 Commits

Author SHA1 Message Date
Guido van Rossum 4f2c3ddca4 Server-side SSL and certificate validation, by Bill Janssen.
While cleaning up Bill's C style, I may have cleaned up some code
he didn't touch as well (in _ssl.c).
2007-08-25 15:08:43 +00:00
Martin v. Löwis be7abbb9d9 Add a UUID for python26.dll. 2007-08-14 05:01:50 +00:00
Thomas Heller 22000cbd6b Build bzip2. 2007-06-13 07:54:57 +00:00
Thomas Heller 635d7a224a Notes about building tcl/tk for windows/AMD64. 2007-06-13 07:07:41 +00:00
Thomas Heller 92094d0f1c Do not hardcode the buildbot's directory name. 2007-06-13 07:07:03 +00:00
Thomas Heller de15cdf995 Don't rebuild Berkeley DB if not needed (this was committed by accident). 2007-06-12 19:56:12 +00:00
Thomas Heller 285216ca30 Add bufferoverflowU.lib to PCBuild\_bsddb.vcproj.
Build sqlite3.dll and bsddb.
2007-06-12 19:02:59 +00:00
Thomas Heller 04d17b4660 Checkout, but do not yet try to build, exernal sources. 2007-06-12 15:36:22 +00:00
Thomas Heller 80958081df Need to set the environment variables, otherwise devenv.com is not found. 2007-06-10 18:27:54 +00:00
Thomas Heller 3608a163a6 First version of build scripts for Windows/AMD64 (no external
components are built yet, and 'kill_python' is disabled).
2007-06-10 15:59:17 +00:00
Georg Brandl 04233ee5e1 Make reindent.py executable. 2007-06-07 13:30:24 +00:00
Neal Norwitz 42dd86b8e2 Deprecate os.popen* and popen2 module in favor of the subprocess module. 2007-05-11 06:57:33 +00:00
Georg Brandl fd61107e7a Typo. 2007-03-09 12:58:41 +00:00
Martin v. Löwis 0682a52e31 Add UUIDs for 2.5.1 and 2.5.2 2007-01-19 18:01:38 +00:00
Marc-André Lemburg b1a8ef6297 Jython doesn't have sys.setcheckinterval() - ignore it in that case. 2007-01-13 23:15:33 +00:00
Marc-André Lemburg a50e6233f5 Add Python implementation to the machine details.
Pretty-print the Python version used for running PyBench.

Let the user know when calibration has finished.

[ 1563844 ] pybench support for IronPython:

Simplify Unicode version detection.

Make garbage collection and check interval settings optional if
the Python implementation doesn't support thess (e.g. IronPython).
2007-01-13 22:59:36 +00:00
Georg Brandl 0750b1f220 Fix name. 2006-10-06 12:46:08 +00:00
Martin v. Löwis 1c08bb95b7 Forward port r52134: Add uuids for 2.4.4. 2006-10-04 09:21:20 +00:00
Guido van Rossum 790e1944a0 Make this thing executable. 2006-09-18 21:36:16 +00:00
Martin v. Löwis c0fdb18a04 Forward-port 51862: Add sgml_input.html. 2006-09-12 19:49:20 +00:00
Marc-André Lemburg f6fc454084 Fix a buglet in the error reporting (SF bug report #1546372).
This should probably go into Python 2.5 or 2.5.1 as well.
2006-08-29 10:34:12 +00:00
Tim Peters 147f9ae6db Whitespace normalization. 2006-08-25 22:05:39 +00:00
Martin v. Löwis 38325b730f Patch #1545507: Exclude ctypes package in Win64 MSI file.
Will backport to 2.5.
2006-08-25 00:03:34 +00:00
Martin v. Löwis 59e9ac8ebe Merge 51340 and 51341 from 2.5 branch:
Leave tk build directory to restore original path.
Invoke debug mk1mf.pl after running Configure.
2006-08-17 19:19:32 +00:00
Martin v. Löwis a09fd6efdd Build _hashlib on Windows. Build OpenSSL with masm assembler code.
Fixes #1535502.
2006-08-16 12:55:10 +00:00
Andrew M. Kuchling fe5004fc86 Update list of files; fix a typo 2006-07-31 16:27:57 +00:00
Martin v. Löwis 9315251fb6 Add UUID for upcoming 2.5b3. 2006-07-28 07:45:49 +00:00
Neal Norwitz e4abc232d5 Don't kill a normal instance of python running on windows when checking
to kill a cygwin instance.  build\\python.exe was matching a normal windows
instance.  Prefix that with a \\ to ensure build is a directory and not
PCbuild.  As discussed on python-dev.
2006-07-27 03:51:58 +00:00
Andrew M. Kuchling ab26004923 Use sys.exc_info() 2006-07-26 18:15:45 +00:00
Andrew M. Kuchling 44c668d15e Use sys.exc_info() 2006-07-26 18:03:12 +00:00
Martin v. Löwis 4cbd05c322 Properly quote compileall and Lib paths in case TARGETDIR has a space. 2006-07-06 07:05:21 +00:00
Martin v. Löwis 88ef637777 Add sqlite3.dll to the DLLs component, not to the TkDLLs component.
Fixes #1517388.
2006-07-06 06:55:58 +00:00
Marc-André Lemburg 3b3f1184bc Whitespace normalization. 2006-06-13 19:20:07 +00:00
Marc-André Lemburg 7d9743dd6a Updated to pybench 2.0.
See svn.python.org/external/pybench-2.0 for the original import of that
version.

Note that platform.py was not copied over from pybench-2.0 since
it is already part of Python 2.5.
2006-06-13 18:56:56 +00:00
Marc-André Lemburg 573bd19e1f Revert wrong svn copy. 2006-06-13 17:07:14 +00:00
Marc-André Lemburg 08de1ef8df Update pybench to version 2.0. 2006-06-13 17:04:26 +00:00
Martin v. Löwis 787fe6d9f6 Port cygwin kill_python changes from 2.4 branch. 2006-06-10 08:14:03 +00:00
Martin Blais 215f13dd11 Normalized a few cases of whitespace in function declarations.
Found them using::

  find . -name '*.py' | while read i ; do grep 'def[^(]*( ' $i /dev/null ; done
  find . -name '*.py' | while read i ; do grep ' ):' $i /dev/null ; done

(I was doing this all over my own code anyway, because I'd been using spaces in
all defs, so I thought I'd make a run on the Python code as well.  If you need
to do such fixes in your own code, you can use xx-rename or parenregu.el within
emacs.)
2006-06-06 12:46:55 +00:00
Martin v. Löwis 3f767795f6 Patch #1359618: Speed-up charmap encoder. 2006-06-04 19:36:28 +00:00
Tim Peters 27c70598a8 Whitespace normalization. 2006-05-30 02:26:46 +00:00
Marc-André Lemburg e9eeab5c05 Initial version of systimes - a module to provide platform dependent
performance measurements.

The module is currently just a proof-of-concept implementation, but
will integrated into pybench once it is stable enough.

License: pybench license.
Author: Marc-Andre Lemburg.
2006-05-28 17:46:58 +00:00
Martin v. Löwis 8301c7923d Rest of patch #1490384: Commit icon source, remove
claim that Erik von Blokland is the author of the
installer picture.
2006-05-28 16:57:38 +00:00
Steve Holden 8040359724 Reinstate new-style object tests. 2006-05-27 00:51:52 +00:00
Steve Holden 57ad060722 Blasted typos ... 2006-05-26 22:39:27 +00:00
Steve Holden a4ebed8071 Update help text and documentaition. 2006-05-26 22:33:20 +00:00
Tim Peters 19bfd4209d Whitespace normalization. 2006-05-26 21:51:13 +00:00
Steve Holden d05e546850 Revert tests to MAL's original round sizes to retiain comparability
from long ago and far away. Stop calling this pybench 1.4 because it
isn't. Remove the empty test, which was a bad idea.
2006-05-26 18:26:21 +00:00
Steve Holden f845877767 Use minimum calibration time rather than avergae to avoid
the illusion of negative run times. Halt with an error if
run times go below 10 ms, indicating that results will be
unreliable.
2006-05-26 17:41:32 +00:00
Tim Peters 877ab9bc23 Add missing svn:eol-style property to text files. 2006-05-26 16:53:04 +00:00
Tim Peters 584c8d4588 Whitespace normalization. 2006-05-26 16:52:04 +00:00
Steve Holden 431a76314d Add -t option to allow easy test selection.
Action verbose option correctly.
Tweak operation counts. Add empty and new instances tests.
Enable comparisons across different warp factors. Change version.
2006-05-26 16:27:59 +00:00
Jack Diederich df676c5ffd when generating python code prefer to generate valid python code 2006-05-26 11:37:20 +00:00
Martin v. Löwis 1319bb1c2e Move icon files into DLLs dir. Fixes #1477968. 2006-05-12 13:57:36 +00:00
Tim Peters f9cc594096 Whitespace normalization. 2006-04-21 16:34:54 +00:00
Martin v. Löwis 64ed043c9a Package setuptools 2006-04-21 10:00:46 +00:00
Jack Jansen f75225b448 - tp_init shouldn't call base class tp_init by default
- tp_new (which was apparently always overridden:-) called base class
  tp_init in stead of tp_new.
2006-04-20 21:38:17 +00:00
Marc-André Lemburg c311f641e4 Adding pybench 1.3 to the Tools/ directory. 2006-04-19 15:27:33 +00:00
Martin v. Löwis 70f5f7a9f4 Use GetModuleFileNameEx instead of GetProcessImageFileName,
as the latter is not available on Windows 2000.
2006-04-17 17:26:42 +00:00
Martin v. Löwis ce8607df96 Revert to 45478, disable kill_python command for now. 2006-04-17 10:39:39 +00:00
Martin v. Löwis c97c11958d Check whether disk space is full. 2006-04-17 10:36:18 +00:00
Martin v. Löwis 63d1f99d7a Rename binary again; increase noise; stop trying to actually kill the process. 2006-04-17 10:31:35 +00:00
Martin v. Löwis 11e8b3c29b Rename binaries again; increase noise. 2006-04-17 10:27:28 +00:00
Martin v. Löwis 98dbfab909 Rename binary to avoid conflicts with hanging processes on x86 w2k. 2006-04-17 10:23:23 +00:00
Martin v. Löwis 5b3bf0dd5e Try some tracing 2006-04-17 10:19:25 +00:00
Martin v. Löwis 2d12372e32 Add kill_python command. 2006-04-17 09:46:47 +00:00
Martin v. Löwis 9fbc44cc34 Adjust compileall -x option to Makefile.pre.in. Fixes #1465093. 2006-04-07 10:02:25 +00:00
Georg Brandl d9da722d85 Bug #1451341: find fuzzy marks correctly. 2006-04-06 06:44:33 +00:00
Tim Peters ed2038b599 The part checking for the sqlite DLL was looking at, and
copying to, a wrong location (it copied the DLL under the
Python directory, and gave it name 'PCbuild').

The Windows buildbots other than mine are probably hung
now, waiting for someone to press "OK" on a popup box
informing them that sqlite3.dll couldn't be found.
2006-04-04 19:12:51 +00:00
Thomas Heller 3bd3315e49 Per Martins request, add empty.vbs to Tools\msi\msi.py.
This file is used by test_startfile.py.
2006-04-04 18:41:13 +00:00
Martin v. Löwis e510bd16ea Adjust sqlite3 build process to Win64. 2006-04-04 16:28:14 +00:00
Tim Peters b2fc21e9f8 sqlite on Windows:
- The buildbot "fetch it" step failed at the end, due to
  using Unix syntax in the final "copy the DLL" step.
  test_sqlite was skipped as a result.

- test_sqlite is no longer an expected skip on Windows.
2006-04-04 15:21:02 +00:00
Martin v. Löwis 1a494bdf69 Add sqlite3 to the Windows build process. 2006-04-04 07:10:59 +00:00
Martin v. Löwis 59c3acc3cd Add check_soundcard.vbs. Will backport 2006-04-03 12:07:46 +00:00
Walter Dörwald 5d23f9a8a3 Don't add multiple empty lines at the end of the codec. With this a
regenerated codec should survive reindent.py unchanged.
2006-03-31 10:13:10 +00:00
Martin v. Löwis 1d278fc7d0 Move product_codes in their own file. 2006-03-28 18:30:05 +00:00
Martin v. Löwis df511798e4 Correct case in test for Windows 9X. 2006-03-28 07:51:51 +00:00
Martin v. Löwis 06b3ddea23 Drop information about 2.4 DLLs. 2006-03-27 16:35:13 +00:00
Walter Dörwald cff22083f1 Whitespace for generated code. 2006-03-27 15:11:56 +00:00
Martin v. Löwis 1fe4f01fe4 Add product ids for 2.5. 2006-03-27 09:51:16 +00:00
Hye-Shik Chang e2ac4abd01 Patch #1443155: Add the incremental codecs support for CJK codecs.
(reviewed by Walter Dörwald)
2006-03-26 02:34:59 +00:00
Neal Norwitz 7fbb9d1174 SF bug #1457411, fix errors using variables that don't exist.
Rename file -> filename to be clear.

Will backport.
2006-03-24 05:36:33 +00:00
Martin v. Löwis 51ef6f90af Forward port of 43262: Add 2.4.3 UUIDs. 2006-03-23 19:21:52 +00:00
Martin v. Löwis 9ca8789ee3 Update to Tk 8.4.12 and Tix 8.4.0 2006-03-21 13:20:29 +00:00
Martin v. Löwis a0f4549b79 Update to OpenSSL 0.9.8a 2006-03-21 12:08:39 +00:00
Neal Norwitz 10be10cbe7 Remove regsub, reconvert, regex, regex_syntax and everything under lib-old. 2006-03-16 06:50:13 +00:00
Tim Peters 1a3b248aff Oops! Use python_d.exe _before_ it's destroyed :-) 2006-03-16 02:31:36 +00:00
Tim Peters 378832c914 Change the Windows buildbot "clean" step to remove
stale .pyc files.
2006-03-16 01:54:16 +00:00
Walter Dörwald abb02e5994 Patch #1436130: codecs.lookup() now returns a CodecInfo object (a subclass
of tuple) that provides incremental decoders and encoders (a way to use
stateful codecs without the stream API). Functions
codecs.getincrementaldecoder() and codecs.getincrementalencoder() have
been added.
2006-03-15 11:35:15 +00:00
Martin v. Löwis fcddd2930c Initialize VS environment in external.bat as well. 2006-03-13 14:12:47 +00:00
Martin v. Löwis f6f7925971 Update to bsddb 4.4.20. 2006-03-13 13:48:05 +00:00
Martin v. Löwis bfa8bd7b65 Let the buildbot make a single pass in the test suite only. 2006-03-13 10:59:32 +00:00
Martin v. Löwis 14c1cf88ad Update to bzip2 1.0.3
Make buildbot slaves automatically fetch bzip2 1.0.3.
2006-03-13 10:52:04 +00:00
Trent Mick b1386772b5 Adding the /useenv means that one's PATH actually gets through. This is
important for the _ssl.vproj build. It calls build_ssl.py which tries to
find a Perl to use. Without "/useenv" Visual Studio is getting a PATH
from somewhere else (presumably from its internal environment
configuration). The result is that build_ssl.py fallsback to its
"well-known" locations for a Perl install.
2006-03-12 23:40:58 +00:00
Martin v. Löwis d39ab5bf97 Move buildbot scripts to Tools/buildbot. 2006-03-12 09:50:39 +00:00
Martin v. Löwis 43179c8e6f Add changelog entry. 2006-03-11 12:43:44 +00:00
Tim Peters 88ca467ca4 Whitespace normalization. 2006-03-10 23:39:56 +00:00
Martin v. Löwis a09655ec5d Add ctypes. 2006-03-10 15:36:28 +00:00
Martin v. Löwis 480f1bb67b Update Unicode database to Unicode 4.1. 2006-03-09 23:38:20 +00:00
Tim Peters ca4d08b6d3 NodeInfo.__gen_init(): Fiddle so that reindent.py is
happy with the output as-is.  This incidentally also
gets rid of "an extra" blank line at the end of the output
block that probably wasn't intended (although it doesn't
matter one way or the other).
2006-03-09 22:31:45 +00:00
Thomas Heller 3b9e9ae8a5 Deleted the svn_mime-type application/octet-stream from PCBuild/pcbuild.sln.
Tools/scripts/svneol.py: added the .sln and .vcproj extensions because these are text files.
Ran svneol.py over the source tree.
2006-03-09 18:49:35 +00:00
Martin v. Löwis 8ff212034e Directly read working copy data to obtain list of properties. 2006-03-09 02:20:05 +00:00
Tim Peters 84457af29e Taught svneol to look at .c and .h files too, and
it found a bunch more in need of svn:eol-style.
2006-03-09 01:59:27 +00:00
Tim Peters d87f81f5f3 Simple utility to add svn:eol-style to text files under
SVN control.  Like reindent.py, I expect to run this
mindlessly from time to time, checking in whatever it
happens to do ;-)
2006-03-09 01:42:24 +00:00
Martin v. Löwis 8c7c56e7c3 Add _msi.pyd.
Add warning on Win9x.
2006-03-05 14:04:26 +00:00
Martin v. Löwis d149c21d54 Open dll file in binary. 2006-03-05 13:52:20 +00:00
Thomas Wouters 7e2ac2533e Update for absolute/relative imports and ifelse-expressions. 2006-03-03 18:11:37 +00:00
Guido van Rossum c2e20744b2 PEP 343 -- the with-statement.
This was started by Mike Bland and completed by Guido
(with help from Neal).

This still needs a __future__ statement added;
Thomas is working on Michael's patch for that aspect.

There's a small amount of code cleanup and refactoring
in ast.c, compile.c and ceval.c (I fixed the lltrace
behavior when EXT_POP is used -- however I had to make
lltrace a static global).
2006-02-27 22:32:47 +00:00
Tim Peters b6be87f9b0 Whitespace normalization. 2006-02-18 03:10:56 +00:00
Martin v. Löwis df40ce3646 Fix typo 2006-02-16 14:38:30 +00:00
Martin v. Löwis 856bf9a4e9 Add build support for AMD64. 2006-02-14 20:42:55 +00:00
Tim Peters cbcdfdc112 Whitespace normalization. 2006-02-11 18:32:21 +00:00
Jack Jansen c49250264d One more mod for support of C++ classes. 2006-02-10 22:15:09 +00:00
Jack Jansen 03904bf20b For overriding C++ methods we also need to know whether a parameter
is an output parameter or not. Added support for that.
2006-02-10 16:17:24 +00:00
Jack Jansen 35f82d7051 Fixed an oversight and a misunderstanding of PEP253:
- Call tp_dealloc on the static baseclass, not dynamic (which leads to
  infinite loops with more than one baseclass)
- Call tp_new and tp_init on baseclasses (overridable)
-This line, and those below, will be ignored--

M    bgen/bgenObjectDefinition.py
2006-02-07 22:28:09 +00:00
Georg Brandl 8797578a06 Add two missing markup tags. 2006-01-23 21:31:00 +00:00
Martin v. Löwis 4e6aff5e9b Make zlib builtin. 2006-01-03 07:10:14 +00:00
Martin v. Löwis 9ca9f5676c Ignore .svn instead of CVS now. 2006-01-03 06:29:53 +00:00
Barry Warsaw 538561e466 Ported from 2.4 branch:
Patch by Ori Avtalion to fix a minor display glitch in the RightArrow.
2006-01-01 21:48:54 +00:00
Tim Peters 536cf99536 Whitespace normalization. 2005-12-25 23:18:31 +00:00
Trent Mick e97e5a7227 Add build support for _elementtree on Windows. 2005-12-15 22:08:46 +00:00
Andrew M. Kuchling e569fb5d71 Remove background image 2005-12-12 02:02:24 +00:00
Andrew M. Kuchling a6d4b68254 Add comment about updating docs 2005-11-22 15:01:13 +00:00
Jack Jansen 09eef173b2 Enable optional "const" argument to _New routines. 2005-11-21 13:24:25 +00:00
Martin v. Löwis ab0f947a21 Remove .cvsignore files, as they live in svn:ignore
properties now.
2005-10-30 22:01:41 +00:00
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
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