Commit Graph

484 Commits

Author SHA1 Message Date
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
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
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
Ezio Melotti ccc9e617f5 #16245: add a script to generate the html.entities.html5 dict. 2012-10-23 15:46:33 +02:00
Benjamin Peterson b29614e047 compare singletons by identity not equality (closes #16712)
Patch from Serhiy Storchaka.
2012-10-09 11:16:03 -04: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
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
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
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
É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
Alexander Belopolsky a2637729f2 Issue #7582: Use ISO timestamp in diff.py 2012-06-22 12:46:19 -04: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
Nick Coghlan ec5cf095a9 Better control when dumping import state 2012-04-29 17:58:24 +10:00
Nick Coghlan d0bb6aa275 Start a shared utility script for poking around at the import internals 2012-04-25 22:17:54 +10:00