Commit Graph

323 Commits

Author SHA1 Message Date
Georg Brandl 0b74edd9aa Add find_recursionlimit.py to README. 2009-10-11 21:14:37 +00:00
Georg Brandl 2bd92a5961 Move find_recursionlimit.py to Tools/scripts; it is out of place in Misc. 2009-10-11 21:10:07 +00:00
Georg Brandl af09b60aac #6912: add "with" block support to pindent. 2009-09-17 07:49:37 +00:00
Georg Brandl 392775f615 Add a script to fixup rst files if the pre-commit hook rejects them. 2009-03-28 19:33:33 +00:00
Jeffrey Yasskin 43bff057c1 Tools/scripts/analyze_dxp.py, a module with some helper functions to
analyze the output of sys.getdxp().
2009-02-24 22:48:34 +00:00
Mark Dickinson 3e4caeb3bf Issue #5341: Fix a variety of spelling errors. 2009-02-21 20:27:01 +00:00
Benjamin Peterson eee9583065 rewrite verbose conditionals 2009-01-10 17:18:55 +00:00
Benjamin Peterson 6ed1c93c96 SVN format 9 is the same it seems 2008-11-28 23:18:46 +00:00
Benjamin Peterson adc93b9499 don't use a catch-all 2008-10-25 23:27:07 +00:00
Benjamin Peterson 501447d7c7 don't recurse into directories that start with '.' 2008-10-15 20:34:09 +00:00
Benjamin Peterson ee3acff3e3 update 2to3 script from 2to3 trunk 2008-09-03 01:53:28 +00:00
Benjamin Peterson d068ad5879 Merged revisions 65853-65854 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3

........
  r65853 | benjamin.peterson | 2008-08-19 11:09:09 -0500 (Tue, 19 Aug 2008) | 1 line

  apply a patch for #3131. this solves the problem for the moment, but we should do some refactoring to get display logic out of RefactoringTool
........
  r65854 | benjamin.peterson | 2008-08-19 11:37:38 -0500 (Tue, 19 Aug 2008) | 1 line

  another quick fix to get lib2to3 to work
........
2008-08-19 16:41:34 +00:00
Benjamin Peterson 37553fdb95 set svn:executable on a script 2008-08-17 20:33:45 +00:00
Benjamin Peterson b8bfdf5200 fix Tools/scripts/2to3 as the result of a merge error 2008-06-16 20:18:18 +00:00
Martin v. Löwis a6e02e8406 Conservatively restrict support to format 8 repositories. 2008-06-14 06:24:44 +00:00
Martin v. Löwis 49ac5aa2ef Support subversion repositories of version 8. 2008-06-14 01:50:46 +00:00
Martin v. Löwis cdbc977c03 Install 2to3 script. 2008-03-24 12:57:53 +00:00
Brett Cannon a8b09fd4c3 Add Tools/scripts/patchcheck.py. Invoked from ``make check``, the script does
some verification:

- Runs reindent.py on all .py files.
- Checks if any changes in Doc exist.
- Whether Misc/ACKS was changed.
- Whether Misc/NEWS was changed.

The hope is that ``make check`` can become a command anybody can run to get
reminders about what all the requisite steps needed to create a proper
patch/checkin.
2008-03-18 17:25:13 +00:00
Christian Heimes c5f05e45cf Patch #2167 from calvin: Remove unused imports 2008-02-23 17:40:11 +00:00
Facundo Batista f88a077f69 Now we handle different the backup copy, because of security
issues regarding user/group and permissions. Fixes 1050828.
2008-02-17 16:21:13 +00:00
Christian Heimes bd865db90c Added win_add2path.py to Tools/scripts/
Added builddoc.bat to Doc/
2008-01-18 11:58:50 +00:00
Skip Montanaro d3328477d4 Install pygettext (once the scriptsinstall target is working again). 2007-08-29 01:24:11 +00:00
Georg Brandl 04233ee5e1 Make reindent.py executable. 2007-06-07 13:30:24 +00:00
Georg Brandl 0750b1f220 Fix name. 2006-10-06 12:46:08 +00:00
Guido van Rossum 790e1944a0 Make this thing executable. 2006-09-18 21:36:16 +00:00
Andrew M. Kuchling fe5004fc86 Update list of files; fix a typo 2006-07-31 16:27:57 +00:00
Neal Norwitz 7fbb9d1174 SF bug #1457411, fix errors using variables that don't exist.
Rename file -> filename to be clear.

Will backport.
2006-03-24 05:36:33 +00:00
Neal Norwitz 10be10cbe7 Remove regsub, reconvert, regex, regex_syntax and everything under lib-old. 2006-03-16 06:50:13 +00:00
Thomas Heller 3b9e9ae8a5 Deleted the svn_mime-type application/octet-stream from PCBuild/pcbuild.sln.
Tools/scripts/svneol.py: added the .sln and .vcproj extensions because these are text files.
Ran svneol.py over the source tree.
2006-03-09 18:49:35 +00:00
Martin v. Löwis 8ff212034e Directly read working copy data to obtain list of properties. 2006-03-09 02:20:05 +00:00
Tim Peters 84457af29e Taught svneol to look at .c and .h files too, and
it found a bunch more in need of svn:eol-style.
2006-03-09 01:59:27 +00:00
Tim Peters d87f81f5f3 Simple utility to add svn:eol-style to text files under
SVN control.  Like reindent.py, I expect to run this
mindlessly from time to time, checking in whatever it
happens to do ;-)
2006-03-09 01:42:24 +00:00
Georg Brandl 8797578a06 Add two missing markup tags. 2006-01-23 21:31:00 +00:00
Marc-André Lemburg c5694c8bf4 Moved gencodec.py to the Tools/unicode/ directory.
Added new support for decoding tables.

Cleaned up the implementation a bit.
2005-10-21 13:45:17 +00:00
Tim Peters 9e34c04732 Whitespace normalization (via reindent.py). 2005-08-26 15:20:46 +00:00
Georg Brandl 256372c88c Add findnocoding.py and pysource.py. 2005-08-24 21:42:14 +00:00
Georg Brandl 568973181a Patch [ 784089 ] A program to scan python files and list those require coding 2005-08-24 18:32:30 +00:00
Raymond Hettinger c418cc81ae Teach texcheck about \textbar 2005-07-01 22:55:43 +00:00
Georg Brandl 7e7688c2ec bug [ 1072853 ] thisid not intialized in pindent.py script 2005-06-26 20:20:48 +00:00
Tim Peters 130e37f3e2 Read the text files to be compared in universal-newline mode. 2004-10-03 19:03:19 +00:00
Martin v. Löwis e064b41f5a Patch #914575: difflib side by side diff support, diff.py s/b/s HTML option. 2004-08-29 16:34:40 +00:00
Skip Montanaro 8107ca47eb Keep option parser from gobbling up the filename to be profiled and the
flags it accepts.  It's too late to change optparse's default behavior now,
but I find the default setting of allow_interspersed_args very weird.
2004-08-24 14:26:43 +00:00
Tim Peters 494aaee902 Whitespace normalization. 2004-08-09 18:54:11 +00:00
Andrew M. Kuchling e236b38731 [Patch #1005491 ] use __name__ == '__main__' in scripts 2004-08-09 17:27:55 +00:00
Marc-André Lemburg 5ae638c78e Remove copyright notices from gencodec.py output.
The script was originally used to create the initial set of
codecs (and these were (c) CNRI). While the script itself still
is (c) CNRI, the output certainly isn't anymore.
2004-07-23 10:09:57 +00:00
Tim Peters 4fba4521e8 WTF is with this script? It contained illegal syntax and illegal
indentation -- it could never have been run, under any version of Python.
2004-07-18 05:31:31 +00:00
Raymond Hettinger 7b7acd1de5 Use set() instead of sets.Set() 2004-07-12 13:29:10 +00:00
Raymond Hettinger 5492f3d977 Add more known macros. 2004-07-12 13:16:49 +00:00
Tim Peters 27f883687b Whitespace normalization. 2004-07-08 04:22:35 +00:00
Skip Montanaro 165163f245 add usage() function, -h(elp) flag and long versions of short flags 2004-03-27 18:43:56 +00:00