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
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
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
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
Nadeem Vawda
6721149501
Merge: #14053 : Fix "make patchcheck" to work with MQ.
...
Patch by Francisco Martín Brugué
2012-02-22 11:53:09 +02:00
Nadeem Vawda
9f64f73193
Issue #14053 : Fix "make patchcheck" to work with MQ.
...
Patch by Francisco Martín Brugué
2012-02-22 11:46:41 +02:00
Benjamin Peterson
c9f54cf512
enable hash randomization by default
2012-02-21 16:08:05 -05:00
Georg Brandl
2fb477c0f0
Merge 3.2: Issue #13703 plus some related test suite fixes.
2012-02-21 00:33:36 +01:00
Antoine Pitrou
87ae0a2804
Backout of changeset 228fd2bd83a5 by Nadeem Vawda in branch 'default':
...
Issue #12804 : Prevent "make test" from using network resources.
2011-10-01 16:41:48 +02:00
Nadeem Vawda
08aa3c0235
Issue #12804 : Prevent "make test" from using network resources.
2011-08-21 16:41:03 +02:00
Antoine Pitrou
7f0a6ddb90
Use -n for tests under Windows
2011-08-16 20:02:26 +02:00
Éric Araujo
147cd508bc
Merge 3.2
2011-08-12 19:53:13 +02:00
Éric Araujo
1bf5b6a454
Update crlf and lfcr scripts for 3.x bytes semantics ( #12032 ).
...
Changes to crlf originally by Victor Stinner for 3.3, copied to lfcr by
me. Manually tested.
2011-08-12 19:40:05 +02:00
Éric Araujo
f04488e2ba
Merge 3.2
2011-08-12 18:03:30 +02:00
Éric Araujo
fbc5ff6235
patchcheck: don’t talk about the test suite when no code file were changed.
...
The line about the test suite will still get printed for changes in
Tools for example, which aren’t covered by the test suite, but it’s not
a big deal IMO.
2011-08-12 17:50:08 +02:00
Jason R. Coombs
88bf51baff
Corrected attribute docstring per pep-257 (reference #10639 )
2011-08-02 08:19:31 -04:00
Nadeem Vawda
328b5015a2
Clean up description of Tools/scripts/run_tests.py.
...
Also, add an entry for the script in Tools/scripts/README.
2011-08-02 10:16:45 +02:00
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