Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | This patch changes the default behaviour of the builtin charmap | Marc-André Lemburg | 2001-01-03 | 1 | -11/+39 |
| | | | | | | | | | | | | | | | | codec to not apply Latin-1 mappings for keys which are not found in the mapping dictionaries, but instead treat them as undefined mappings. The patch was originally written by Martin v. Loewis with some additional (cosmetic) changes and an updated test script by Marc-Andre Lemburg. The standard codecs were recreated from the most current files available at the Unicode.org site using the Tools/scripts/gencodec.py tool. This patch closes the bugs #116285 and #119960. | ||||
* | SF bug 124051: ndiff "?" lines can be confusing. Well, they still can, but | Tim Peters | 2000-12-09 | 1 | -28/+19 |
| | | | | after implementing it I liked Gregor's two-"?" line idea a lot. | ||||
* | Hack ndiff to display lines w/ leading tabs more intuitively. This synchs | Tim Peters | 2000-11-01 | 1 | -9/+24 |
| | | | | ndiff w/ a custom version I made for Guido during the pre-2.0 freeze. | ||||
* | I'm moving redemo.py here from Demo/tkinter/guido, since it is | Guido van Rossum | 2000-10-06 | 1 | -0/+171 |
| | | | | | | | somewhat useful to learn regular expressions, and this way it'll be installed on Windows. This closes bug report 115609. | ||||
* | New tool for normalizing indentation of .py files. | Tim Peters | 2000-10-05 | 1 | -0/+258 |
| | |||||
* | satisfy the tabnanny | Jeremy Hylton | 2000-09-18 | 3 | -358/+358 |
| | |||||
* | Allow this script to act like a module by only calling main() if | Barry Warsaw | 2000-09-16 | 1 | -1/+3 |
| | | | | __name__ == '__main__'. Closes SF bug #110844. | ||||
* | REMOVED all CWI, CNRI and BeOpen copyright markings. | Guido van Rossum | 2000-09-01 | 1 | -19/+4 |
| | | | | This should match the situation in the 1.6b1 tree. | ||||
* | Rob Hooft, Moshe Zadka: converted to 4 space indents and re instead of regex. | Guido van Rossum | 2000-09-01 | 2 | -72/+78 |
| | |||||
* | Python code coverage tool by Skip Montanaro and Andrew Dalke | Jeremy Hylton | 2000-08-03 | 1 | -0/+661 |
| | |||||
* | add expandtabs command (-e) | Peter Schneider-Kamp | 2000-07-11 | 1 | -37/+64 |
| | | | | change eliminate to delete (-d) | ||||
* | Change copyright notice. | Guido van Rossum | 2000-06-30 | 1 | -21/+6 |
| | |||||
* | Running the program through itself reveals that one end tag was | Guido van Rossum | 2000-06-28 | 1 | -1/+1 |
| | | | | | | | | | | mislabeled. (Using -c and then -e rearranges some comments, so I won't check that in -- but it's a good test anyway. Note that pindent is not perfect -- e.g. it doesn't know about triple-quoted strings!) | ||||
* | Peter Schneider-Kamp: | Guido van Rossum | 2000-06-28 | 1 | -10/+75 |
| | | | | | | | | | | | | | Problem: A Python program can be completed and reformatted using Tools/scripts/pindent.py. Unfortunately there is no option for removal of the generated "# end"-tags. Although a few Python commands or a "grep -v '# end '" can do wonders here, there are two drawbacks: - not everyone has grep/time to write a Python script - it is not checked whether the "# end"-tags were used validly Solution: add extra option "-e" (eliminate) to pindent.py | ||||
* | Of course, I forget how to type long ago... | Fred Drake | 2000-03-17 | 1 | -1/+1 |
| | | | | Typo noted by /F. | ||||
* | "write marshalled" --> "writes marshalled" (in docstring); noted by | Fred Drake | 2000-03-17 | 1 | -1/+1 |
| | | | | Detlef Lannert <lannert@lannert.rz.uni-duesseldorf.de>. | ||||
* | Marc-Andre Lemburg: added | Guido van Rossum | 2000-03-10 | 2 | -0/+290 |
| | | | | gencodec.py - Create Python codecs from Unicode mapping files | ||||
* | Correct type error in getopt.error handling code. | Guido van Rossum | 2000-02-29 | 1 | -1/+1 |
| | |||||
* | Script by Tim Peters to discover illegal append() calls. | Guido van Rossum | 2000-02-29 | 1 | -0/+168 |
| | |||||
* | Fix multi-arg append(). | Guido van Rossum | 2000-02-29 | 1 | -1/+1 |
| | |||||
* | Deleting tabpolice.py; it was superceded by tabnanny.py long ago. | Guido van Rossum | 2000-02-23 | 1 | -104/+0 |
| | |||||
* | Moved tabnanny.py to standard library status. | Guido van Rossum | 2000-02-23 | 1 | -368/+0 |
| | |||||
* | Patch by Gerrit Holl: | Guido van Rossum | 2000-02-14 | 2 | -4/+4 |
| | | | | * In crlf.py and lfcr.py: regsub -> re | ||||
* | Patch by Gerrit Holl: | Guido van Rossum | 2000-02-14 | 1 | -2/+6 |
| | | | | | | * In logmerge.py: added '-r' flag to show the oldest checkin first instead of the newest, and getopt.getopt was used wrong. | ||||
* | Scrit by Marc-Andre Lemburg to generate htmlentitydefs.py. | Guido van Rossum | 1999-08-19 | 1 | -0/+65 |
| | |||||
* | Mark Hammond writes: | Guido van Rossum | 1999-07-30 | 1 | -1/+3 |
| | | | | | | | | | | | | | | | | """ If the filename being complained about contains a space, enclose the file-name in quotes. The reason is simply that when I try and parse tabnanny's output, filenames with spaces make it very difficult to determine where the filename stops and the linenumber begins! """ Tim approves. I slightly changed the patch (use 'in' instead of string.find()) and arbitrarily bumped the __version__ variable up to 6. | ||||
* | Use re instead of regex. | Guido van Rossum | 1999-04-09 | 1 | -10/+11 |
| | | | | | Don't rewrite the file in place. (Reported by Andy Dustman.) | ||||
* | For reasons I dare not explain, this script should always execute | Guido van Rossum | 1999-04-02 | 1 | -2/+1 |
| | | | | main() when imported (in other words, it is not usable as a module). | ||||
* | Tim Peters writes: | Guido van Rossum | 1999-03-28 | 1 | -24/+53 |
| | | | | | | | | I should have waited overnight <wink/sigh>. Nothing wrong with the one I sent, but I couldn't resist going on to add new -r1 / -r2 cmdline options for recreating the original files from ndiff's output. That's attached, if you're game! Us Windows guys don't usually have a sed sitting around <wink>. | ||||
* | Tim Peters writes: | Guido van Rossum | 1999-03-27 | 1 | -160/+88 |
| | | | | | | | Attached is a cleaned-up version of ndiff (added useful module docstring, now echo'ed in case of cmd line mistake); added -q option to suppress initial file identification lines; + other minor cleanups, & a slightly faster match engine. | ||||
* | During display, if EPIPE is raised, it's probably because a pager was | Fred Drake | 1999-03-26 | 1 | -3/+8 |
| | | | | killed. Discard the error in that case, but propogate it otherwise. | ||||
* | Added a -q ('quiet') option to tabnanny, which causes only the names of | Andrew M. Kuchling | 1998-12-18 | 1 | -3/+7 |
| | | | | offending files to be printed. Good for emacs `tabnanny.py *.py` | ||||
* | Patch by Chris Herborth: | Guido van Rossum | 1998-12-17 | 1 | -1/+7 |
| | | | | | BeOS headers live in various non-standard places; luckily, there's an environment variable that lists them all. | ||||
* | Detlef Lannert lannert@lannert.rz.uni-duesseldorf.de notices: | Guido van Rossum | 1998-10-20 | 1 | -1/+4 |
| | | | | | | | | | """ the NEWS file of Python 1.5.2a2 inspired me to look at Tools/scripts/untabify.py. I wonder why it accepts a -t argument but ignores it. The following patch tries to make it somewhat useful (i.e., to override the tabsize=8 setting). Is that agreeable? """ | ||||
* | New version that is much more compact and easier to maintain. (Sjoerd) | Guido van Rossum | 1998-10-09 | 1 | -239/+124 |
| | |||||
* | Fix multi-arg list.append() calls. | Guido van Rossum | 1998-10-08 | 3 | -9/+9 |
| | |||||
* | Added a whole bunch of descriptions. | Guido van Rossum | 1998-10-07 | 1 | -0/+11 |
| | |||||
* | Use the imp module to get the magic word. | Guido van Rossum | 1998-10-07 | 1 | -6/+2 |
| | |||||
* | Added #! line | Guido van Rossum | 1998-10-07 | 1 | -0/+1 |
| | |||||
* | Print serious errors to stderr instead of stdout. | Guido van Rossum | 1998-09-14 | 1 | -4/+11 |
| | |||||
* | nannified | Guido van Rossum | 1998-09-14 | 1 | -885/+885 |
| | |||||
* | nannified | Guido van Rossum | 1998-09-14 | 1 | -17/+17 |
| | |||||
* | nannified. | Guido van Rossum | 1998-09-14 | 1 | -8/+8 |
| | |||||
* | Utility to replace CRLF with LF in argument files. | Guido van Rossum | 1998-09-14 | 1 | -0/+19 |
| | |||||
* | Utility to replace LF with CRLF in argument files. | Guido van Rossum | 1998-09-14 | 1 | -0/+19 |
| | |||||
* | Utility to untabify stubber results. | Guido van Rossum | 1998-09-14 | 1 | -0/+50 |
| | |||||
* | New tool: reverse grep (greps from the end). Uses a fairly efficient | Guido van Rossum | 1998-08-12 | 1 | -0/+65 |
| | | | | strategy to read from the end of the file. | ||||
* | A script by Mark-Andre Lemburg to produce the PC/python_nt.def file | Guido van Rossum | 1998-08-10 | 1 | -0/+102 |
| | | | | automatically. | ||||
* | # The variable total is never used somehow. I think I had plans for | Guido van Rossum | 1998-07-02 | 1 | -2/+2 |
| | | | | # it but can't remember what. Get rid of a comparison that breaks. | ||||
* | Fix by Sjoerd Mullender to support symbolic links and make a backup of | Guido van Rossum | 1998-06-29 | 1 | -56/+80 |
| | | | | | | | | .mirrorinfo. Fix by me to call string.lstrip(filename) to cope with a bug in strop.strip() in Python 1.4. Additionally, I changed all print statements that print filenames etc. to put them in backquotes so that it will be more obvious when there's a funny character on one of them (such as a space...). |