Commit Graph

2199 Commits

Author SHA1 Message Date
Benjamin Peterson b29614e047 compare singletons by identity not equality (closes #16712)
Patch from Serhiy Storchaka.
2012-10-09 11:16:03 -04:00
Martin v. Löwis 77cc86f873 Ajdust path to launcher for non-PGO-builds 2012-09-29 13:08:41 +02:00
Martin v. Löwis 5951ec0fdd Pick up 32-bit launcher from PGO directory on 64-bit PGO build. 2012-08-24 16:06:10 +02:00
Ned Deily 6b9bfe801d Allow redemo.py to be used from the command line like other demos. 2012-08-18 12:24:56 -07:00
Ned Deily 3c6661a914 Allow redemo.py to be used from the command line like other demos. 2012-08-18 12:21:17 -07:00
Victor Stinner a90f311d05 Cleanup findnocoding.py and pysource.py scripts (with infile/infile.close) 2012-08-02 00:05:41 +02:00
Victor Stinner 98516a6930 Fix findnocoding.p and pysource.py scripts
I suppose that these scripts didn't work since Python 3.0.
2012-08-01 20:12:51 +02:00
Raymond Hettinger d3f63d3661 Simplify the LaTeX section (only three escapes are needed for alltt) 2012-07-23 00:24:24 -05:00
Brett Cannon d382bfc921 Move importlib.test.benchmark to Tools/importbench to make it more
visible and to place it with other micro-benchmarks (e.g.
stringbench).
2012-07-20 14:54:53 -04:00
Raymond Hettinger c4ac789be7 Fix-up latex styling 2012-07-14 17:58:29 -07:00
Raymond Hettinger fb20a1a924 Fix builtin test and simplify the classified text tuple. 2012-07-13 11:52:45 -07:00
Raymond Hettinger 7d39055f7f Add simple LaTeX markup 2012-07-09 23:52:08 -07:00
Martin v. Löwis 2b9df89ff1 Don't package removed pysetup3 anymore. 2012-07-10 07:04:33 +02:00
Raymond Hettinger 848245a078 Add verbose option for diagnostics 2012-07-09 01:17:22 -07:00
Raymond Hettinger 42a5f4a3f2 Minor algorithmic tweaks, better factoring, improved docstrings and variable names 2012-07-08 15:42:54 -07:00
Florent Xicluna c20740109d Some cleanup in the Tools directory. 2012-07-07 17:03:54 +02:00
Mark Dickinson 3bee1f1154 Fix undefined names in __all__. 2012-07-04 11:07:06 +02:00
Raymond Hettinger 5b381a3650 Make ANSI the default output style 2012-07-03 17:55:23 -07:00
Raymond Hettinger 0712f40308 Add examples to the module docstring 2012-07-03 14:42:33 -07:00
Raymond Hettinger 1087d9c4b3 Fix spelling. 2012-07-03 14:25:16 -07:00
Raymond Hettinger 3a96161a73 Add support for ANSI escape sequences 2012-07-03 14:11:40 -07:00
Raymond Hettinger 5da6039765 Refactor to isolate HTML encoding step from the parsing step. 2012-07-03 13:13:52 -07:00
Raymond Hettinger ac5f8467b1 Fix keyword argument 2012-07-03 00:15:59 -07:00
Raymond Hettinger cf6eac4063 Minor cleanups 2012-07-03 00:12:27 -07:00
Raymond Hettinger ecea0fb173 Use new-style string formatting for the HTML template 2012-07-02 17:17:16 -07:00
Raymond Hettinger f57baaba49 Clean-up unused variable 2012-07-02 13:54:33 -07:00
Raymond Hettinger f2cc352afd Do HTML escaping after the tokenization step. 2012-07-02 13:29:57 -07:00
Georg Brandl 487f191b79 Fix filename. 2012-07-01 10:04:35 +02:00
Raymond Hettinger e4870b5117 Limit which operators get colorized 2012-07-01 00:37:05 -07:00
Raymond Hettinger 9b8ede60c1 Set title to the source filename 2012-06-30 23:19:30 -07:00
Raymond Hettinger fd490cc052 Small cleanups 2012-06-30 22:19:04 -07:00
Raymond Hettinger 410afbc5d8 Fix local variable 2012-06-30 17:10:25 -07:00
Raymond Hettinger 461fcaa6d4 Add author tag 2012-06-30 17:00:14 -07:00
Raymond Hettinger bc09cf1f35 Add syntax highlighter tool 2012-06-30 16:58:06 -07:00
Stefan Krah 4cf1cc71a6 Issue #15171: Quote the variable that expands to the current directory. 2012-06-30 18:35:15 +02:00
David Malcolm 8d37ffa563 Issue #12605: Show information on more C frames within gdb backtraces
The gdb hooks for debugging CPython (within Tools/gdb) have
been enhanced to show information on more C frames relevant to CPython within
the "py-bt" and "py-bt-full" commands:
  * C frames that are waiting on the GIL
  * C frames that are garbage-collecting
  * C frames that are due to the invocation of a PyCFunction
2012-06-27 14:15:34 -04:00
Antoine Pitrou 932f5be6c5 Merge buildbot script changes 2012-06-27 17:28:21 +02:00
Antoine Pitrou d0bb9c6386 Allow passing extra testing options to the buildbot test scripts 2012-06-27 17:27:21 +02:00
Stefan Krah 62ba0428af Issue #15171: Try the HOST_PYTHON hack for 3.2. 2012-06-25 14:57:18 +02:00
Stefan Krah 3c0db67bf3 Drop useenv=true also from the 32-bit build script: It is not necessary and
leads to failures in successive 64-bit/32-bit builds in the same shell window.
2012-06-24 22:00:44 +02:00
Stefan Krah 318c56c001 Issue #15102: Fix paths of python executables. 2012-06-24 19:04:35 +02:00
Antoine Pitrou 92c9757973 Use -W on the Windows 64 buildbots 2012-06-24 17:22:50 +02:00
Stefan Krah d725de9d13 Issue #15102: Try setting HOST_PYTHON in build-amd64.bat as a temporary
measure.
2012-06-24 13:03:59 +02:00
Éric Araujo 859aad6a36 Remove packaging from the standard library.
Distutils2 will live on on PyPI and be included in the stdlib when it
is ready.  See discussion starting at
http://mail.python.org/pipermail/python-dev/2012-June/120430.html
2012-06-24 00:07:41 -04:00
Stefan Krah 16ad7a254a Issue #15102: Fix paths in external-amd64.bat. 2012-06-23 22:18:19 +02:00
Stefan Krah 37459a0c3a Issue #15102: Allow platform-specific settings for the current project
to override environment variables.
2012-06-23 18:57:45 +02:00
Mark Dickinson be4fb69201 Issue #14742: test_unparse now only checks a limited number of files unless the 'cpu' resource is specified. 2012-06-23 09:27:47 +01:00
Brian Curtin fafd9eeef0 Revert unintended change in 973b4806f760 2012-06-22 21:40:52 -05:00
Brian Curtin e3f3940fc3 file was the old arg name from an earlier patch. command matches the implementation 2012-06-22 21:14:34 -05:00
Antoine Pitrou ffd4d47d0b Add a docstring at the top of Tools/ssl/make_ssl_data.py 2012-06-22 22:07:01 +02:00
Antoine Pitrou f7338f65fb Add forgotten files for #14837. 2012-06-22 21:12:59 +02:00
Alexander Belopolsky a2637729f2 Issue #7582: Use ISO timestamp in diff.py 2012-06-22 12:46:19 -04:00
Martin v. Löwis 8559b3cecf Build and bundle the 32-bit launcher in all configurations. 2012-06-21 18:24:32 +02:00
Martin v. Löwis 7dae234e78 Package the launcher. 2012-06-21 17:36:05 +02:00
Antoine Pitrou aaefac76dd Issue #14874: Restore charmap decoding speed to pre-PEP 393 levels.
Patch by Serhiy Storchaka.
2012-06-16 22:48:21 +02:00
Martin v. Löwis 4b10e1978c VS 2010 has the AMD64 redist files in VC\redist\x64. 2012-05-31 21:58:21 +02:00
Vinay Sajip 7ded1f0f69 Implemented PEP 405 (Python virtual environments). 2012-05-26 03:45:29 +01:00
Antoine Pitrou ebdcd859e5 Move private function _args_from_interpreter_flags() to subprocess.py, so
that it can be imported when threads are disabled.
(followup to issue #12098)
2012-05-18 18:33:07 +02:00
Martin v. Löwis cca802e354 Fix typo. 2012-05-18 16:42:52 +02:00
Martin v. Löwis e01eb4cc80 Upgrade OpenSSL to 1.0.1c 2012-05-18 16:29:33 +02:00
Martin v. Löwis 3f90311bfe merge 3.2 2012-05-18 15:34:22 +02:00
Martin v. Löwis 3407dfbaf9 Upgrade OpenSSL to 1.0.0j 2012-05-18 15:28:01 +02:00
Brian Curtin a79e7fed48 Merge 3.2 2012-05-14 19:43:16 -05:00
Brian Curtin 1f24548e1f bsddb never existed in 3.x, no need to keep downloading sleepycat 2012-05-14 19:42:36 -05:00
Martin v. Löwis d7be304786 merge 3.2 2012-05-14 18:19:16 +02:00
Martin v. Löwis 2d82d049f6 Stop deleting non-existing bytecode files. 2012-05-14 18:18:07 +02:00
Martin v. Löwis 29e861d155 Upgrade sqlite to 3.7.12. 2012-05-14 16:51:35 +02:00
Martin v. Löwis 87960da3e3 Upgrade bzip2 to 1.0.6. 2012-05-14 14:13:48 +02:00
Martin v. Löwis ecc5877f5a Upgrade bzip2 to 1.0.6. 2012-05-14 13:52:03 +02:00
Brian Curtin 6d7c9f3297 Update the clean and MSI scripts for VS2010 2012-05-13 22:45:57 -05:00
Brian Curtin f6b1b9b2f3 Correct PlatformTarget->Platform usage for building the solution 2012-05-13 18:59:26 -05:00
Brian Curtin 638f6c1450 Convert build slave scripts to work with VS2010 2012-05-13 18:51:43 -05:00
Brian Curtin 401f9f3d32 Fix #13210. Port the Windows build from VS2008 to VS2010. 2012-05-13 11:19:23 -05:00
Mark Dickinson fe8440aec0 Issue #14965: Bring Tools/parser/unparse.py up to date with the Python 3.3. Grammar. 2012-05-06 17:35:19 +01:00
Mark Dickinson 1b2e9444fe Issue #14965: Fix missing support for starred assignments in Tools/parser/unparse.py. 2012-05-06 17:27:39 +01:00
Martin v. Löwis bd31db6f79 Include micro version even if it is 0. 2012-05-01 16:37:44 +02:00
Nick Coghlan ec5cf095a9 Better control when dumping import state 2012-04-29 17:58:24 +10:00
Victor Stinner fe98e2fc83 Issue #14428: Use the new time.perf_counter() and time.process_time() functions
* Replace "time.clock on windows, or time.time" with time.perf_counter()
 * profile module: only use time.process_time() instead of trying different
   functions providing the process time
 * timeit module: use time.perf_counter() by default, time.time() and
   time.clock() can still be used using --time and --clock options
 * pybench program: use time.perf_counter() by default, add support for
   the new time.process_time() and time.perf_counter() functions, but stay
   backward compatible. Use also time.get_clock_info() to display information
   of the timer.
2012-04-29 03:01:20 +02:00
Benjamin Peterson 0e1a5b49cf use wfile api 2012-04-27 11:56:30 -04:00
Martin v. Loewis cfc1cc2996 Issue #14642: Add "hg touch" extension, and "make touch" target. 2012-04-27 16:10:21 +02:00
Brian Curtin 790a9b4c19 Add a missing close paren 2012-04-25 23:38:05 -05:00
Brian Curtin ae7758457f Fix #3561. Add an option to place the Python installation into the Windows Path environment variable. 2012-04-25 08:12:37 -05:00
Nick Coghlan d0bb6aa275 Start a shared utility script for poking around at the import internals 2012-04-25 22:17:54 +10:00
Benjamin Peterson 7d95e40721 Implement PEP 412: Key-sharing dictionaries (closes #13903)
Patch from Mark Shannon.
2012-04-23 11:24:50 -04:00
R David Murray ea169801e1 #14508: make gprof2html script runnable under python3
Not that I haven't tested it to make sure it works, just that it
can run against an empty source file.

Initial patch by Popa.Claudiu.

Here we also add a test (which uses mock, which is why I didn't
check it in on 3.2).
2012-04-11 15:17:37 -04:00
R David Murray 776c0df42b #14508: make gprof2html script runnable under python3
Not that I haven't tested it to make sure it works, just that it
can run against an empty source file.

Initial patch by Popa.Claudiu.
2012-04-11 15:16:38 -04:00
Georg Brandl a51497ab86 Merge 3.2.3 release clone. 2012-04-11 12:46:24 +02:00
Antoine Pitrou b547d395ab Update description of benchmarks and mention the benchmarks repo 2012-04-09 17:06:44 +02:00
Antoine Pitrou d6aa5b30dd Fix whitespace 2012-04-09 17:04:14 +02:00
Antoine Pitrou 1584ae3987 Issue #13165: stringbench is now available in the Tools/stringbench folder.
It used to live in its own SVN project.
2012-04-09 17:03:32 +02:00
R David Murray 3861a322b9 Merge #14492: fix some bugs in Tools/scripts/pdeps.py.
Initial patch by Popa Claudiu.
2012-04-05 23:01:13 -04:00
R David Murray d3af6344ef #14492: fix some bugs in Tools/scripts/pdeps.py.
Initial patch by Popa Claudiu.
2012-04-05 22:59:13 -04:00
R David Murray ce9806215b Merge #14490, #14491: add 'sundry'-style import tests for Tools/scripts.
This patch changes a few of the scripts to have __name__=='__main__'
clauses so that they are importable without running.  Also fixes the
syntax errors revealed by the tests.
2012-04-04 21:29:03 -04:00
R David Murray 54ac832a24 #14490, #14491: add 'sundry'-style import tests for Tools/scripts.
This patch changes a few of the scripts to have __name__=='__main__'
clauses so that they are importable without running.  Also fixes the
syntax errors revealed by the tests.
2012-04-04 21:28:14 -04:00
Martin v. Löwis 8dbbae990c Add _decimal and _testbuffer modules. 2012-04-01 19:55:48 +02:00
Georg Brandl c0fdf6cf7a Closes #14421: use with statement to properly close socket in bandwidth test. 2012-03-27 07:43:53 +02:00
Martin v. Löwis a7f6b14fa6 Add 3.2.3rc2 uuid. 2012-03-18 20:39:19 +01:00
Matthias Klose 5ce31cc4fc merge 3.2 2012-03-14 23:17:31 +01:00
Ross Lagerwall 6c52c5755f Modify patchcheck.py to check for changes to configure.in.
It now reports if configure and pyconfig.h.in weren't regenerated but
configure.in was changed.
2012-03-11 19:21:07 +02:00
Martin v. Löwis 0119e4753e Remove uuids, as they are now computed. 2012-03-06 17:54:06 +01:00