Commit Graph

2053 Commits

Author SHA1 Message Date
Nadeem Vawda 3c01d16ed9 Issue #11651: Move options for running tests into a Python script.
This will be particularly useful to Windows users.

run_tests.py originally written by Brett Cannon.
2011-08-01 23:48:26 +02:00
Éric Araujo 56ec5fe950 Small cleanup 2011-07-31 18:41:25 +02:00
Éric Araujo ad548b8534 Merge fixes for #9860, #11104/#8688 and #12331 from 3.2 2011-07-31 18:33:00 +02:00
Éric Araujo a3e072bb89 Let “make patchcheck” work for out-of-dir builds (#9860) 2011-07-30 21:34:04 +02:00
Jason R. Coombs 947fed42b8 Merge fix for reindent.py 2011-07-29 09:32:25 -04:00
Jason R. Coombs 47891044c9 Issue #10639: spec_newline wasn't defined globally unless main() was called; now spec_newline is set at module import/execution 2011-07-29 09:31:56 -04:00
Éric Araujo 2527796a22 Merge from 3.2 (#10318, #12255, #12043, #12417 and other fixes) 2011-07-29 03:11:09 +02:00
Éric Araujo 9e1af03fbb Branch merge.
I moved the NEWS entry for the reindent fix to the right release section.
2011-07-26 18:25:14 +02:00
Éric Araujo a0e92a8028 Fix missing or wrong shebangs and missing executable bits for scripts (#10318) 2011-07-26 18:01:08 +02:00
Jason R. Coombs 76eec3db21 Issue #10639: reindent.py tool now accepts a --newline option to specify the newline to be used in the output of converted files. 2011-07-26 11:38:04 -04:00
Jason R. Coombs 1322bd4971 Merge with 3.2 Issue #10639: reindent.py should not convert newlines.
reindent.py now will use the newline detected in the original file and will report an error if mixed newlines are encountered.
2011-07-26 11:57:08 -04:00
Éric Araujo 1ce7b17165 Fix string exception and a few style issues in mailerdaemon script 2011-07-26 17:36:19 +02:00
Jason R. Coombs 76748b7033 Fixes #10639: reindent.py should not convert newlines
reindent.py now will use the newline detected in the original file and will report an error if mixed newlines are encountered.
2011-07-26 11:18:40 -04:00
Vinay Sajip 4334d740ed Issue #12406: Added upates for packaging's .exe files, command_template, and sysconfig.cfg. 2011-07-03 10:35:41 +01:00
Victor Stinner c9e07a3ec8 (merge 3.2) libpython.py (gdb) now catchs IOError in py-list and py-bt commands
py-list displays the error. py-bt ignores the error (the filename and line
number is already displayed).
2011-07-01 12:59:30 +02:00
Victor Stinner d57c5c8a3a libpython.py (gdb) now catchs IOError in py-list and py-bt commands
py-list displays the error. py-bt ignores the error (the filename and line
number is already displayed).
2011-07-01 12:57:44 +02:00
Benjamin Peterson 4177eff088 general cleaning up 2011-06-27 18:25:06 -05:00
Benjamin Peterson fbf528f06c remove svn support 2011-06-27 17:59:45 -05:00
R David Murray 6a73845082 #11781: update windows build script to account for move of email tests 2011-06-18 11:45:59 -04:00
Éric Araujo 9f0df8bdb8 Remove wsgiref.egg-info from msi.py (follow-up to d615eb7bce33, #12218) 2011-06-06 17:08:41 +02:00
Martin v. Löwis e8583e94e6 Drop old UUIDs. 2011-06-05 20:43:30 +02:00
Martin v. Löwis 40b408d455 merge:Do not add txt files twice 2011-06-05 19:43:56 +02:00
Martin v. Löwis 63660ce214 merge:Do not add txt files twice 2011-06-05 19:42:21 +02:00
Martin v. Löwis 4c226dac02 Do not add txt files twice. 2011-06-05 10:55:57 +02:00
Benjamin Peterson 8c6f88efa2 remove __version__s dependent on subversion keyword expansion (closes #12221) 2011-05-31 20:52:17 -05:00
Éric Araujo f46676d48f Branch merge 2011-05-26 16:35:14 +02:00
Éric Araujo 0f67a99fc9 Branch merge 2011-05-25 18:22:11 +02:00
Victor Stinner c520a1856f (Merge 3.2) Issue #12057: Add cjkencodings directory to the Makefile and
Tools/msi/msi.py
2011-05-25 01:16:49 +02:00
Victor Stinner 5b3265906f (Merge 3.1) Issue #12057: Add cjkencodings directory to the Makefile and
Tools/msi/msi.py
2011-05-25 01:15:59 +02:00
Victor Stinner 46f8264b8e Issue #12057: Add cjkencodings directory to the Makefile and Tools/msi/msi.py 2011-05-25 01:13:59 +02:00
Martin v. Löwis abe38da6a4 merged 2011-05-23 07:04:05 +02:00
Martin v. Löwis ad234203dd Add 3.2.1rc2 uuid. 2011-05-23 07:02:07 +02:00
Martin v. Loewis b042a3ac0c Add 3.2.1rc2 uuid. 2011-05-22 12:59:35 +02:00
Georg Brandl fb2473fc8b Merge 3.2.1rc1 release changes to default. 2011-05-21 19:43:36 +02:00
Georg Brandl 9c1928f0a9 Merge release branch after 3.2.1rc1. 2011-05-21 17:35:33 +02:00
Tarek Ziade 1231a4e097 initial import of the packaging package in the standard library 2011-05-19 13:07:25 +02:00
Victor Stinner 118ed71afe (Merge 3.2) Issue #11614: import __hello__ prints "Hello World!". Patch written
by Andreas Stührk.
2011-05-16 16:35:35 +02:00
Victor Stinner 9cd6626f3d (Merge 3.1) Issue #11614: import __hello__ prints "Hello World!". Patch written
by Andreas Stührk.
2011-05-16 16:32:33 +02:00
Victor Stinner c77b931196 Issue #11614: import __hello__ prints "Hello World!". Patch written by Andreas
Stührk.
2011-05-16 16:29:35 +02:00
Martin v. Löwis 41972316f5 Add 3.2.1 UUIDs 2011-05-16 07:56:32 +02:00
Victor Stinner c729c25615 (Merge 3.2) Issue #11996: libpython (gdb), replace "py-bt" command by
"py-bt-full" and add a smarter "py-bt" command printing a classic Python
traceback.
2011-05-13 17:53:22 +02:00
Victor Stinner e670c889cc Issue #11996: libpython (gdb), replace "py-bt" command by "py-bt-full" and add
a smarter "py-bt" command printing a classic Python traceback.
2011-05-13 17:40:15 +02:00
Victor Stinner 6348f0ecdd Close #12032: Fix scripts/crlf.py for Python 3 2011-05-09 01:29:30 +02:00
Éric Araujo 1e794f66f4 Remove obsolete 'rU' mode in Tools/scripts too (see be5b8d1ded34) 2011-05-05 20:18:16 +02:00
Jesus Cea b32321aed9 pybench prep_times calculation error (closes #11895) 2011-04-25 03:25:37 +02:00
Jesus Cea 8f14bbdaf6 pybench prep_times calculation error (closes #11895) 2011-04-25 03:24:08 +02:00
Brian Curtin 8e4f4feb62 Merge 3.1 2011-04-13 16:11:37 -05:00
Brian Curtin b4fb909c86 Remove inexistent tools 2011-04-13 16:04:27 -05:00
Antoine Pitrou 9eea9d39c1 In the Windows clean script for buildbots, also clear the build dir
(so that stale test files, which can be very large, get wiped out)
2011-03-26 21:15:47 +01:00
Ezio Melotti 3b3499ba69 #11565: Merge with 3.1. 2011-03-16 11:35:38 +02:00
Ezio Melotti 13925008dc #11565: Fix several typos. Patch by Piotr Kasprzyk. 2011-03-16 11:05:33 +02:00
Ezio Melotti 4969f709cc #11515: Merge with 3.1. 2011-03-15 05:59:46 +02:00
Ezio Melotti 42da663e6f #11515: fix several typos. Patch by Piotr Kasprzyk. 2011-03-15 05:18:48 +02:00
Antoine Pitrou 375ff587c2 Issue #11179: Make ccbench work under Python 3.1 and 2.7 again. 2011-03-11 20:57:11 +01:00
Georg Brandl 49857f8a93 Add updated .hgeol file and fix newlines in the 3.2 branch. 2011-03-05 15:11:35 +01:00
Georg Brandl 5537d298ea Add updated .hgeol file and fix newlines in the 3.1 branch. 2011-03-05 15:10:38 +01:00
Martin v. Löwis 6916806443 Issue #11135: Remove redundant doc field from PyType_Spec.
Reviewed by Georg Brandl.
2011-02-11 20:47:49 +00:00
Martin v. Löwis dafdd7f8ca Add uuid for 3.2rc3. 2011-02-11 20:44:40 +00:00
Antoine Pitrou 0f2a61a11e Merged revisions 88147 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r88147 | antoine.pitrou | 2011-01-23 18:12:25 +0100 (dim., 23 janv. 2011) | 3 lines

  Issue #10987: Fix the recursion limit handling in the _pickle module.
........
2011-01-23 17:21:28 +00:00
Antoine Pitrou e6d4c5bab8 Issue #10987: Fix the recursion limit handling in the _pickle module. 2011-01-23 17:12:25 +00:00
Martin v. Löwis 678fa9f5a9 Package zip_cp437_header.zip.
Don't try to package subprocessdata/*.py twice.
2011-01-15 19:43:18 +00:00
Antoine Pitrou 126c8b4a82 Avoid ResourceWarnings in ccbench 2011-01-15 11:39:23 +00:00
Michael Foord 751ba4cfac Update description of Tools/unicode 2011-01-03 19:13:02 +00:00
Michael Foord 32e1d8340c Enable unittest.TestCase to be instantiated without providing a method name.
Changed unittestgui to show number of discovered tests in the status bar.
2011-01-03 17:00:11 +00:00
Michael Foord 90efac7f37 Issue 10502: addition of unittestgui to Tools/ 2011-01-03 15:39:49 +00:00
Georg Brandl 81f3d7bcd0 Update README, remove empty directory. 2010-12-30 22:32:49 +00:00
Georg Brandl 856898b395 Harmonize docstrings. Move redemo from Tools/scripts to Tools/demo. Add a README file to Tools/demo. 2010-12-30 22:11:50 +00:00
Georg Brandl 7fafbc95c0 More cleanup: Move some demos into a dedicated Tools/demo dir, move 2to3 demo to Tools, and remove all the other Demo content. 2010-12-30 21:33:07 +00:00
Georg Brandl 30baf2b0ed Fix NameErrors. 2010-12-30 17:36:17 +00:00
Georg Brandl 5684a9ac30 Clean up tools: remove "world" and "framer", move single SSL script to scripts/. 2010-12-30 17:32:22 +00:00
Georg Brandl 4cf83f4d12 Remove some of the old demos. (Put a few somewhere else.) 2010-12-30 17:22:33 +00:00
Martin v. Löwis 0e74cacdff Upgrade to sqlite3 3.7.4. 2010-12-17 21:04:09 +00:00
Martin v. Löwis 910a4edbcd Upgrade Tcl/Tk to 8.5.9. 2010-12-17 20:43:27 +00:00
R. David Murray 39f34aa1f3 Turn on regrtest -W (rerun immediately) option for Windows, too. 2010-12-14 02:25:43 +00:00
Gregory P. Smith 51ee270876 issue7213: Open the pipes used by subprocesses with the FD_CLOEXEC flag from
the C code, using pipe2() when available.  Adds unittests for close_fds and
cloexec behaviors.
2010-12-13 07:59:39 +00:00
Martin v. Löwis d53ee5dd12 Automate build for python3.dll.
Package missing files.
2010-12-05 23:07:58 +00:00
Martin v. Löwis 4d0d471a80 Merge branches/pep-0384. 2010-12-03 20:14:31 +00:00
Alexander Belopolsky 73f382de1c Issue #9598: untabify.py will now respect encoding cookie in the files it processes 2010-11-30 17:30:43 +00:00
Alexander Belopolsky 827fdaae30 Issue #10552: Partially fixed a sort error in Tools/unicode/gencodec.py 2010-11-30 16:56:15 +00:00
Georg Brandl f55aa80b37 Merged revisions 85820,85823,85825,85840,85843-85845,85849-85851,85855,85867,85875,85907-85908,85911,85914 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k

........
  r85820 | georg.brandl | 2010-10-24 16:20:22 +0200 (So, 24 Okt 2010) | 1 line

  Remove usage of exception indexing.
........
  r85823 | georg.brandl | 2010-10-24 16:32:45 +0200 (So, 24 Okt 2010) | 1 line

  Fix style.
........
  r85825 | georg.brandl | 2010-10-24 17:16:02 +0200 (So, 24 Okt 2010) | 1 line

  Add documentation about the default warnings filters.
........
  r85840 | georg.brandl | 2010-10-25 19:50:20 +0200 (Mo, 25 Okt 2010) | 1 line

  #3018: tkinter demo fixes for py3k.
........
  r85843 | georg.brandl | 2010-10-26 08:59:23 +0200 (Di, 26 Okt 2010) | 1 line

  Markup fix.
........
  r85844 | georg.brandl | 2010-10-26 12:39:14 +0200 (Di, 26 Okt 2010) | 1 line

  Work a bit more on tkinter demos.
........
  r85845 | georg.brandl | 2010-10-26 12:42:16 +0200 (Di, 26 Okt 2010) | 1 line

  faqwiz is removed.
........
  r85849 | georg.brandl | 2010-10-26 21:31:06 +0200 (Di, 26 Okt 2010) | 1 line

  #10200: typo.
........
  r85850 | georg.brandl | 2010-10-26 21:58:11 +0200 (Di, 26 Okt 2010) | 1 line

  #10200: typo.
........
  r85851 | georg.brandl | 2010-10-26 22:12:37 +0200 (Di, 26 Okt 2010) | 1 line

  Fix import.
........
  r85855 | georg.brandl | 2010-10-27 09:21:54 +0200 (Mi, 27 Okt 2010) | 1 line

  Encoding fix.
........
  r85867 | georg.brandl | 2010-10-27 22:01:51 +0200 (Mi, 27 Okt 2010) | 1 line

  Add David.
........
  r85875 | georg.brandl | 2010-10-28 10:38:30 +0200 (Do, 28 Okt 2010) | 1 line

  Fix bytes/str issues in get-remote-certificate.py.
........
  r85907 | georg.brandl | 2010-10-29 06:54:13 +0200 (Fr, 29 Okt 2010) | 1 line

  #10222: fix for overzealous AIX compiler.
........
  r85908 | georg.brandl | 2010-10-29 07:22:17 +0200 (Fr, 29 Okt 2010) | 1 line

  send_bytes obviously needs bytes...
........
  r85911 | georg.brandl | 2010-10-29 07:36:28 +0200 (Fr, 29 Okt 2010) | 1 line

  Fix markup error and update false positive entries from "make suspicious".
........
  r85914 | georg.brandl | 2010-10-29 08:17:38 +0200 (Fr, 29 Okt 2010) | 1 line

  (?:...) is a non-capturing, but still grouping construct.
........
2010-11-26 08:59:40 +00:00
Georg Brandl d62ecbf0ba Merged revisions 85728,85731,85735,85766-85771,85773,85777 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k

........
  r85728 | georg.brandl | 2010-10-19 20:54:25 +0200 (Di, 19 Okt 2010) | 1 line

  #10092: Properly reset locale in Locale*Calendar classes.  The context manager was buggy because setlocale() returns the *new* locale, not the old.  Also add a test for this.
........
  r85731 | georg.brandl | 2010-10-19 23:07:16 +0200 (Di, 19 Okt 2010) | 1 line

  Be consistent in the spelling of thread-safe(ty).
........
  r85735 | georg.brandl | 2010-10-20 08:50:19 +0200 (Mi, 20 Okt 2010) | 1 line

  Fix r85728: use "" to mean the system default locale, which should work on more systems.
........
  r85766 | georg.brandl | 2010-10-21 09:40:03 +0200 (Do, 21 Okt 2010) | 1 line

  #10159: sort completion matches before comparing to dir() result.
........
  r85767 | georg.brandl | 2010-10-21 14:49:28 +0200 (Do, 21 Okt 2010) | 1 line

  #9095, #8912, #8999: add support in patchcheck for Mercurial checkouts, C file reindenting, and docs whitespace fixing.
........
  r85768 | georg.brandl | 2010-10-21 14:59:14 +0200 (Do, 21 Okt 2010) | 1 line

  #9919: fix off-by-one error in lineno command in Misc/gdbinit; also add newline to its output.
........
  r85769 | georg.brandl | 2010-10-21 15:01:23 +0200 (Do, 21 Okt 2010) | 1 line

  Fix missing import.
........
  r85770 | georg.brandl | 2010-10-21 15:29:10 +0200 (Do, 21 Okt 2010) | 1 line

  #3077: fix h2py substitution of character literals.
........
  r85771 | georg.brandl | 2010-10-21 15:34:51 +0200 (Do, 21 Okt 2010) | 1 line

  #1203650: allow larger list of files in windows makefile for freeze.
........
  r85773 | georg.brandl | 2010-10-21 15:45:52 +0200 (Do, 21 Okt 2010) | 1 line

  #4829: better error message for invalid file mode
........
  r85777 | georg.brandl | 2010-10-21 17:44:51 +0200 (Do, 21 Okt 2010) | 1 line

  Add .hgeol file for the Mercurial EOL extension.
........
2010-11-26 08:52:36 +00:00
Georg Brandl aba9796c5e Merged revisions 85450-85455,85460-85465 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k

........
  r85450 | georg.brandl | 2010-10-14 08:35:53 +0200 (Do, 14 Okt 2010) | 1 line

  #7642: update to os.system() docs.
........
  r85451 | georg.brandl | 2010-10-14 08:41:42 +0200 (Do, 14 Okt 2010) | 1 line

  #3865: add note about benchmarking with profilers, and move licensing stuff to bottom of document.
........
  r85452 | georg.brandl | 2010-10-14 08:43:22 +0200 (Do, 14 Okt 2010) | 1 line

  #10046: small correction to atexit docs.
........
  r85453 | georg.brandl | 2010-10-14 08:46:08 +0200 (Do, 14 Okt 2010) | 1 line

  #6825: small correction to split() docs.
........
  r85454 | georg.brandl | 2010-10-14 08:48:47 +0200 (Do, 14 Okt 2010) | 1 line

  Mention 2to3.
........
  r85455 | georg.brandl | 2010-10-14 08:59:45 +0200 (Do, 14 Okt 2010) | 1 line

  #1710703: write zipfile structures also in the case of closing a new, but empty, archive.
........
  r85460 | georg.brandl | 2010-10-14 09:24:28 +0200 (Do, 14 Okt 2010) | 1 line

  #9964: fix running test_import under -O or -OO.
........
  r85461 | georg.brandl | 2010-10-14 09:29:08 +0200 (Do, 14 Okt 2010) | 1 line

  #9964: fix lib2to3 fixer fix_operator when running under -OO.
........
  r85462 | georg.brandl | 2010-10-14 09:32:52 +0200 (Do, 14 Okt 2010) | 1 line

  #9964: fix running test_xml_etree under -OO.
........
  r85463 | georg.brandl | 2010-10-14 09:34:56 +0200 (Do, 14 Okt 2010) | 1 line

  Better check for "any optimize option given".
........
  r85464 | georg.brandl | 2010-10-14 09:42:27 +0200 (Do, 14 Okt 2010) | 1 line

  #9964: fix running test_compileall under -O and -OO.
........
  r85465 | georg.brandl | 2010-10-14 10:08:56 +0200 (Do, 14 Okt 2010) | 1 line

  #9964: fix running test_cmd_line_script under -O and -OO.
........
2010-11-26 08:37:46 +00:00
Martin v. Löwis 5cbc71e50a Issue #10459: Update CJK character names to Unicode 6.0. 2010-11-22 09:00:02 +00:00
Éric Araujo 1e600dc01f Fix resource warning from patchcheck.py 2010-11-22 03:13:47 +00:00
Brian Curtin f213d2317c Backport the distutils part of r83399 to fix #7645. 2010-11-22 02:04:33 +00:00
Martin v. Löwis 3a72b250eb Merged revisions 84339,84487 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r84339 | martin.v.loewis | 2010-08-28 15:40:10 +0200 (Sa, 28 Aug 2010) | 1 line

  Stop packaging versioncheck.
........
  r84487 | martin.v.loewis | 2010-09-04 16:38:09 +0200 (Sa, 04 Sep 2010) | 3 lines

  Issue #1303434: Include PDBs in release.
  Patch by James Lee and Daniel Stutzbach.
........
2010-11-14 18:13:49 +00:00
Martin v. Löwis e0bf419ae7 Add UUID for 3.2a4 2010-11-12 17:20:02 +00:00
Éric Araujo 71f8c65b66 Remove traces of setuptools (#10341) 2010-11-06 16:06:37 +00:00
Georg Brandl cbb9421347 Fix bytes/str issues in get-remote-certificate.py. 2010-10-28 08:38:30 +00:00
Georg Brandl 91b47c64e1 Fix import. 2010-10-26 20:12:37 +00:00
Martin v. Löwis acc62be8aa Add 3.1.3 UUIDs. 2010-10-25 19:58:42 +00:00
Georg Brandl 6d61cb4d2f #1203650: allow larger list of files in windows makefile for freeze. 2010-10-21 13:34:51 +00:00
Georg Brandl 9c14f2f343 #3077: fix h2py substitution of character literals. 2010-10-21 13:29:10 +00:00
Georg Brandl a847ccbeae Fix missing import. 2010-10-21 13:01:23 +00:00
Georg Brandl a9afb68789 #9095, #8912, #8999: add support in patchcheck for Mercurial checkouts, C file reindenting, and docs whitespace fixing. 2010-10-21 12:49:28 +00:00
Senthil Kumaran 7cd94b8aa2 Fix Issue10140 - Tools/scripts/pathfix.py: add option to preserve timestamps 2010-10-19 04:39:35 +00:00
Alexander Belopolsky 4a98e3b6d0 Issue #10117: Tools/scripts/reindent.py now accepts source files that
use encoding other than ASCII or UTF-8.  Source encoding is preserved
when reindented code is written to a file.
2010-10-18 14:43:38 +00:00
Victor Stinner 6ffbee77dc libpython: implementation of os.fsencode() with surrogateescape error handler 2010-10-17 19:35:30 +00:00
Alexander Belopolsky e8f583244a Issue #9308: Removed redundant coding cookies. Added tests for
importing encoded modules that do not depend on specific stdlib
modules being encoded in a certain way.
2010-10-15 16:28:20 +00:00
Georg Brandl 77658bd9ad Mention 2to3. 2010-10-14 06:48:47 +00:00