Commit Graph

2335 Commits

Author SHA1 Message Date
Benjamin Peterson 1f09c663ad let this work with system Python 2.5 2013-09-27 09:11:21 -04:00
Serhiy Storchaka 935349406a Issue #18873: The tokenize module, IDLE, 2to3, and the findnocoding.py script
now detect Python source code encoding only in comment lines.
2013-09-16 23:57:00 +03:00
Serhiy Storchaka dafea85190 Issue #18873: The tokenize module, IDLE, 2to3, and the findnocoding.py script
now detect Python source code encoding only in comment lines.
2013-09-16 23:51:56 +03:00
Serhiy Storchaka c56894d305 Issue #18922: Now The Lib/smtpd.py and Tools/i18n/msgfmt.py scripts write
their version strings to stdout, and not to sderr.
2013-09-05 17:44:53 +03:00
Serhiy Storchaka 48e6a8c88a Issue #18743: Fix references to non-existant "StringIO" module
in docstrings and comments.
2013-08-29 11:39:48 +03:00
Serhiy Storchaka 50254c57cd Issue #18743: Fix references to non-existant "StringIO" module
in docstrings and comments.
2013-08-29 11:35:43 +03:00
Ezio Melotti d640fe2af5 #18803: merge with 3.3. 2013-08-26 01:33:30 +03:00
Ezio Melotti 7c4a7e6f3c #18803: fix more typos. Patch by Févry Thibault. 2013-08-26 01:32:56 +03:00
Antoine Pitrou 9d95254bb7 Issue #18772: fix the gdb plugin after the set implementation changes 2013-08-24 21:07:07 +02:00
Andrew Kuchling f3a2e9f937 #18445: update Tools/scripts/README.
- document abitype.py, analyze_dxp.py, get-remote-certificate.py,
  import_diagnostics.py, parse_html5_entities.py.
- remove redemo.py which was moved to Tools/Demo.
- sort list into alphabetical order

Patch by Seydou Dia.
2013-08-18 20:04:34 -04:00
Andrew Kuchling d36b515954 #18445: change permissions on some scripts to executable 2013-08-18 19:48:12 -04:00
Antoine Pitrou 9ed5f27266 Issue #18722: Remove uses of the "register" keyword in C code. 2013-08-13 20:18:52 +02:00
Martin v. Löwis d87c3d3ea4 Issue #16067: Merge with 3.3 2013-08-03 20:12:45 +02:00
Martin v. Löwis 78fa5e38a9 Issue #16067: Add description into MSI file to replace installer's temporary name. 2013-08-03 20:09:42 +02:00
Martin v. Löwis 5284f80268 Issue #18569: The installer now adds .py to the PATHEXT variable
when extensions are registered. Patch by Paul Moore.
2013-08-01 18:31:06 +02:00
Martin v. Löwis 85a4847f07 Add UUID for 3.4. 2013-08-01 17:34:42 +02:00
Terry Jan Reedy db53ad7cf1 Merge with 3.3 2013-07-21 20:58:15 -04:00
Terry Jan Reedy 6e2711b345 Issue #18439: Make patchcheck work on Windows for ACKS, NEWS. 2013-07-21 20:57:44 -04:00
Serhiy Storchaka 8361617fad Issue #18448: Fix a typo in Tools/demo/eiffel.py. 2013-07-16 22:14:03 +03:00
Serhiy Storchaka 6a98fe9edd Issue #18448: Fix a typo in Tools/demo/eiffel.py. 2013-07-16 22:12:03 +03:00
Serhiy Storchaka c9b3f6f5ef Issue #18457: Fixed saving of formulas and complex numbers in Tools/demo/ss1.py.
Useed context managers for file I/O.
Removed out-of-dated code and misleading comments.
2013-07-16 21:58:37 +03:00
Serhiy Storchaka ec7ddd9028 Issue #18457: Fixed saving of formulas and complex numbers in Tools/demo/ss1.py.
Useed context managers for file I/O.
Removed out-of-dated code and misleading comments.
2013-07-16 21:55:36 +03:00
Serhiy Storchaka 6180a2f453 Issue #18449: Make Tools/demo/ss1.py work again on Python 3. Patch by
Févry Thibault.
2013-07-15 12:37:43 +03:00
Serhiy Storchaka 2670b9acb6 Issue #18449: Make Tools/demo/ss1.py work again on Python 3. Patch by
Févry Thibault.
2013-07-15 12:34:17 +03:00
Brett Cannon 53e600c24a Issue #17177: update checkpyc to stop using imp 2013-06-15 18:10:18 -04:00
Serhiy Storchaka 302b8c31ec Issue #15239: Make mkstringprep.py work again on Python 3. 2013-06-09 17:11:48 +03:00
Serhiy Storchaka e7275ffa4c Issue #15239: Make mkstringprep.py work again on Python 3. 2013-06-09 17:08:00 +03:00
Serhiy Storchaka 369d05a616 Fix some bugs in Tools/scripts/abitype.py. 2013-05-17 10:17:43 +03:00
Serhiy Storchaka e67f8e7419 Fix some bugs in Tools/scripts/abitype.py. 2013-05-17 10:18:40 +03:00
Georg Brandl 3bfc5f5d83 merge with 3.3 2013-05-12 19:57:26 +02:00
Georg Brandl 84fc4ba67e Closes #17962: Build with OpenSSL 1.0.1e on Windows. 2013-05-12 19:50:34 +02:00
David Malcolm 1df37c657d #17833: merge with 3.3 2013-05-06 14:51:13 -04:00
David Malcolm d08b210164 #17833: fix test_gdb failures seen on PPC64 Linux in test_threads (test.test_gdb.PyBtTests) 2013-05-06 14:47:15 -04:00
Ned Deily dbccf6ad4c Issue #17801: fix shebang line of gprof2html.py 2013-04-20 14:08:16 -07:00
Ned Deily 67804e9838 Issue #17801: fix shebang line of gprof2html.py 2013-04-20 14:07:43 -07:00
Victor Stinner d8a5cc91e6 python-gdb.py: Replace invalid Unicode character with U+FFFD to be able to
display invalid strings. Such strings can be found while Python is creating a
new string, in a text decoder for example, when Python is compiled in debug
mode.
2013-04-11 21:37:45 +02:00
Victor Stinner 765531d2d0 Issue #17516: use comment syntax for comments, instead of multiline string 2013-03-26 01:11:54 +01:00
Martin v. Löwis 5fe5b4ead3 #17425: merge 3.3 2013-03-24 22:53:04 +01:00
Martin v. Löwis cc0b927b74 Issue #17425: Build with openssl 1.0.1d on Windows. 2013-03-24 22:45:50 +01:00
Benjamin Peterson cda75be02a unify some ast.argument's attrs; change Attribute column offset (closes #16795)
Patch from Sven Brauch.
2013-03-18 10:48:58 -07:00
Terry Jan Reedy dd61f8f389 Merge with 3.3: Issue #17047: removed doubled words in Doc/*,
Mac/*, and Tool/* found by Serhiy Storchaka and Matthew Barnett
2013-03-11 17:27:28 -04:00
Terry Jan Reedy caeb6bea9b Merge with 3.2: Issue #17047: removed doubled words in Doc/*,
Mac/*, and Tool/* found by Serhiy Storchaka and Matthew Barnett
2013-03-11 17:26:33 -04:00
Terry Jan Reedy 65e69b3718 Issue #17047: removed doubled words in Doc/*, Mac/*, and Tool/*
found by Serhiy Storchaka and Matthew Barnett
2013-03-11 17:23:46 -04:00
Serhiy Storchaka 151699a202 Issue #17156: pygettext.py now uses an encoding of source file and correctly
writes and escapes non-ascii characters.
2013-02-09 22:38:29 +02:00
Serhiy Storchaka 859cd4723f Issue #17156: pygettext.py now uses an encoding of source file and correctly
writes and escapes non-ascii characters.
2013-02-09 22:38:12 +02:00
Serhiy Storchaka b6ed17344b Issue #17156: pygettext.py now uses an encoding of source file and correctly
writes and escapes non-ascii characters.
2013-02-09 22:37:22 +02:00
Ezio Melotti 3a62e45b97 Merge typo fixes from 3.3. 2013-01-27 06:20:51 +02:00
Ezio Melotti 3f5db3940f Fix a few typos and a double semicolon. Patch by Eitan Adler. 2013-01-27 06:20:14 +02:00
Martin v. Löwis 3f50bf652b Drop support for Windows 2000; allow any XP API (but not Vista+).
Drop SDK version configuration for Tk compilation, to not bind it to W2k
anymore. Binding it to XP would conflict with Tk's own binding of tkMenu to W2k.
2013-01-25 14:06:18 +01:00
doko@python.org 6951fea3ab - Issue #17029: Let h2py search the multiarch system include directory. 2013-01-25 13:20:46 +01:00
doko@python.org 0c77bf757f - Issue #17029: Let h2py search the multiarch system include directory. 2013-01-25 13:19:35 +01:00
doko@python.org 3e6e2ac31d - Issue #17029: Let h2py search the multiarch system include directory. 2013-01-25 13:12:29 +01:00
Serhiy Storchaka 1829bb4591 Issue #15539: Fix a backup file creation in pindent.py on Windows. 2013-01-11 22:21:45 +02:00
Serhiy Storchaka b4fb2e2aac Issue #15539: Fix a backup file creation in pindent.py on Windows. 2013-01-11 22:19:07 +02:00
Serhiy Storchaka a3a01b6ac3 Issue #15539: Fix a backup file creation in pindent.py on Windows. 2013-01-11 22:18:17 +02:00
Ezio Melotti e814501c21 Merge patchcheck changes with 3.3 2013-01-11 14:12:42 +02:00
Ezio Melotti 8762595ef3 Merge patchcheck changes with 3.2 2013-01-11 14:12:20 +02:00
Ezio Melotti 5e12bb728f Add a note about checking refleaks to patchcheck. 2013-01-11 14:07:47 +02:00
Serhiy Storchaka 9942e5a9cf Issue #15539: Fix a number of bugs in Tools/scripts/pindent.py.
Now pindent.py works with a "with" statement.  pindent.py no longer produces
improper indentation.  pindent.py now works with continued lines broken after
"class" or "def" keywords and with continuations at the start of line.  Added
regression tests for pindent.py.  Modernized pindent.py.
2013-01-11 12:12:32 +02:00
Serhiy Storchaka 40ce22edb5 Issue #15539: Fix a number of bugs in Tools/scripts/pindent.py.
Now pindent.py works with a "with" statement.  pindent.py no longer produces
improper indentation.  pindent.py now works with continued lines broken after
"class" or "def" keywords and with continuations at the start of line.  Added
regression tests for pindent.py.  Modernized pindent.py.
2013-01-11 12:10:57 +02:00
Serhiy Storchaka 6840a54ad4 Issue #15539: Fix a number of bugs in Tools/scripts/pindent.py.
Now pindent.py works with a "with" statement.  pindent.py no longer produces
improper indentation.  pindent.py now works with continued lines broken after
"class" or "def" keywords and with continuations at the start of line.  Added
regression tests for pindent.py.  Modernized pindent.py.
2013-01-11 12:04:23 +02:00
Andrew Svetlov 8b33dd8e54 Use OESeeror instead of os.error (#16720)
Patch by Serhiy Storchaka.
2012-12-24 19:58:48 +02:00
Brian Curtin 445ad997ab Fix #14470. Remove w9xpopen per PEP 11.
As stated in PEP 11, 3.4 removes code on Windows platforms where
COMSPEC points to command.com. The w9xpopen project in Visual Studio
was added to support that case, and there was a special case in subprocess
to cover that situation. This change removes the w9xpopen project from
the Visual Studio solution and removes any references to the w9xpopen
executable.
2012-12-23 16:53:21 -06:00
Andrew Svetlov 2606a6f197 Issue #16719: Get rid of WindowsError. Use OSError instead
Patch by Serhiy Storchaka.
2012-12-19 14:33:35 +02:00
Andrew Svetlov a191959849 Issue #16714: use 'raise' exceptions, don't 'throw'.
Patch by Serhiy Storchaka.
2012-12-18 21:27:16 +02:00
Andrew Svetlov 5b89840d9c Issue #16714: use 'raise' exceptions, don't 'throw'.
Patch by Serhiy Storchaka.
2012-12-18 21:26:36 +02:00
Andrew Svetlov 737fb89dd1 Issue #16714: use 'raise' exceptions, don't 'throw'.
Patch by Serhiy Storchaka.
2012-12-18 21:14:22 +02:00
Andrew Svetlov 6b2cbeba58 Issue #16421: allow to load multiple modules from the same shared object.
Patch by Václav Šmilauer.
2012-12-14 17:04:59 +02:00
Benjamin Peterson 442f20996d create NameConstant AST class for None, True, and False literals (closes #16619) 2012-12-06 17:41:04 -05:00
Ezio Melotti 90378b4807 #13301: merge with 3.3. 2012-11-09 11:51:30 +01:00
Ezio Melotti 956c6c2dab #13301: merge with 3.2. 2012-11-09 11:51:03 +01:00
Ezio Melotti 9bf379e9fb #13301: use ast.literal_eval() instead of eval() in Tools/i18n/msgfmt.py. Patch by Serhiy Storchaka. 2012-11-09 11:46:19 +01:00
Nick Coghlan 8155f8e5d4 Issue #5765: Merge from 3.3 2012-11-05 00:19:49 +10:00
Nick Coghlan 10d6ddeef1 Issue #5765: Also check the compiler when finding the recursion limit 2012-11-05 00:19:18 +10:00
Vinay Sajip d94a502cb0 Issue #16340: Merged fix from 3.3. 2012-10-28 09:11:48 +00:00
Vinay Sajip 65e2bef4f0 Issue #16340: exclude venv/scripts from byte-compilation at installation time on Windows. 2012-10-28 09:11:00 +00:00
Ezio Melotti ccc9e617f5 #16245: add a script to generate the html.entities.html5 dict. 2012-10-23 15:46:33 +02:00
Christian Heimes efb15993f8 Add _sha3.pyd to list of extension modules for MSI 2012-10-22 17:01:13 +02:00
Antoine Pitrou e9631e5d3a Issue #15378: Fix Tools/unicode/comparecodecs.py. Patch by Serhiy Storchaka. 2012-10-17 16:14:40 +02:00
Antoine Pitrou 31605ace0d Issue #15378: Fix Tools/unicode/comparecodecs.py. Patch by Serhiy Storchaka. 2012-10-17 16:13:55 +02:00
Antoine Pitrou 1eff0fc3cd Issue #15378: Fix Tools/unicode/comparecodecs.py. Patch by Serhiy Storchaka. 2012-10-17 16:12:30 +02:00
Benjamin Peterson 29e02a2be8 merge 3.3 2012-10-09 11:16:13 -04:00
Benjamin Peterson b29614e047 compare singletons by identity not equality (closes #16712)
Patch from Serhiy Storchaka.
2012-10-09 11:16:03 -04:00
Jesus Cea f1af705720 #16135: Removal of OS/2 support (Remove OS2 and OS/2 references) 2012-10-05 02:48:46 +02:00
Jesus Cea b176203dda #16135: Removal of OS/2 support (C code and Docs) 2012-10-05 02:27:40 +02:00
Philip Jenvey fd0d3e5d25 more yield from
patch by Serhiy Storchaka
2012-10-01 15:34:31 -07:00
Benjamin Peterson b8350f1c7d upgrade to UCD 6.2 2012-09-29 13:47:39 -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