summaryrefslogtreecommitdiffstats
path: root/Tools
Commit message (Collapse)AuthorAgeFilesLines
* SF #989185: Drop unicode.iswide() and unicode.width() and addHye-Shik Chang2004-08-041-6/+12
| | | | | | | | | | | | unicodedata.east_asian_width(). You can still implement your own simple width() function using it like this: def width(u): w = 0 for c in unicodedata.normalize('NFC', u): cwidth = unicodedata.east_asian_width(c) if cwidth in ('W', 'F'): w += 2 else: w += 1 return w
* PEP-0318, @decorator-style. In Guido's words:Anthony Baxter2004-08-023-8/+26
| | | | | "@ seems the syntax that everybody can hate equally" Implementation by Mark Russell, from SF #979728.
* Remove copyright notices from gencodec.py output.Marc-André Lemburg2004-07-231-5/+0
| | | | | | 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.
* Whitespace normalization, via reindent.py.Tim Peters2004-07-1843-579/+566
|
* WTF is with this script? It contained illegal syntax and illegalTim Peters2004-07-181-8/+8
| | | | indentation -- it could never have been run, under any version of Python.
* Call the correct tp_dealloc.Jack Jansen2004-07-151-2/+2
|
* Use set() instead of sets.Set()Raymond Hettinger2004-07-121-3/+2
|
* Add more known macros.Raymond Hettinger2004-07-121-0/+1
|
* Whitespace normalization.Tim Peters2004-07-082-2/+0
|
* - SF #962502: Add two more methods for unicode type; width() andHye-Shik Chang2004-06-021-4/+29
| | | | | | | iswide() for east asian width manipulation. (Inspired by David Goodger, Reviewed by Martin v. Loewis) - Move _PyUnicode_TypeRecord.flags to the end of the struct so that no padding is added for UCS-4 builds. (Suggested by Martin v. Loewis)
* Applying SF patch #949329 on behalf of Raymond Hettinger.Armin Rigo2004-05-191-27/+26
|
* SF patch #872326: Generator expression implementationRaymond Hettinger2004-05-191-0/+11
| | | | | | | | | | | | | | (Code contributed by Jiwon Seo.) The documentation portion of the patch is being re-worked and will be checked-in soon. Likewise, PEP 289 will be updated to reflect Guido's rationale for the design decisions on binding behavior (as described in in his patch comments and in discussions on python-dev). The test file, test_genexps.py, is written in doctest format and is meant to exercise all aspects of the the patch. Further additions are welcome from everyone. Please stress test this new feature as much as possible before the alpha release.
* Small fixes in freeze.py.Gustavo Niemeyer2004-05-081-3/+3
|
* delete timing output - it appears after the </html> line.Skip Montanaro2004-04-161-3/+0
|
* add usage() function, -h(elp) flag and long versions of short flagsSkip Montanaro2004-03-271-8/+18
|
* [Patch #918212] Support XHTML's 'id' attribute, which can be on any element.Andrew M. Kuchling2004-03-212-6/+31
|
* * explain flags in doc stringsSkip Montanaro2004-03-032-15/+32
| | | | | * reverse order of files on the command line in pickle2db.py to make it symmetrical with db2pickle.py in the two-arg case (src, then dest)
* Replace backticks with repr() or "%r"Walter Dörwald2004-02-1221-166/+151
| | | | From SF patch #852334.
* add hotshotmain.py refSkip Montanaro2004-01-271-0/+1
|
* The bagpipe didn't say "no" (*), so here's a main program script useful forSkip Montanaro2004-01-261-0/+54
| | | | | | | running an application under hotshot's control. Only slightly embellished from what Walter Dörwald posted to python-dev. (*) http://www.icdc.com/~roadkill/silverstein/turtle.html
* Got rid of macglue.h, replacing it by pymactoolbox.h where relevant.Jack Jansen2003-11-201-13/+0
| | | | Cleaned up various things in the toolbox modules.
* allow dump/load of gdbm filesSkip Montanaro2003-10-282-6/+28
|
* Patch #812378: Normalize white space.Martin v. Löwis2003-10-249-206/+205
|
* Fix a bunch of typos in documentation, docstrings and comments.Walter Dörwald2003-10-203-3/+3
| | | | (From SF patch #810751)
* Patch #713645: Fix typo.Martin v. Löwis2003-09-201-1/+1
|
* Generalize the last change to check for other markup spacing errors.Raymond Hettinger2003-09-081-4/+4
|
* Check for \NULL markup errors.Raymond Hettinger2003-09-081-0/+5
|
* Fix for SF bug #780996, crash when no .pynche file exists and -dBarry Warsaw2003-09-031-2/+4
| | | | | | | | option is not given. If dbfile isn't given and can't be retrieved from the optionsdb, just initialize it to the first element in RGB_TXT. Backport candidate.
* Added doubled word warnings.Raymond Hettinger2003-08-251-0/+3
|
* This started opening files in text mode by default in the 2.3 release,Tim Peters2003-08-181-10/+11
| | | | | | | which is a disaster on Windows. Restored the binary default of all previous releases. Also minor code cleanups. Bugfix candidate!
* When piping output into a pager like "less", quiting the pager beforeFred Drake2003-08-141-2/+6
| | | | | the output was consumed would cause and exception to be raise in logmerge; suppress this specific error, because it's not helpful.
* fix for bug 773020 - splitting PATH should use os.pathsepSkip Montanaro2003-07-171-1/+1
|
* This file was moved to Lib/.Jeremy Hylton2003-07-071-729/+0
|
* SF bug 753592, websucker bugNeal Norwitz2003-07-011-1/+1
| | | | | Pass the proper variable when the user supplies a directory. Will backport.
* minor __doc__ string tweakageSkip Montanaro2003-06-201-5/+5
|
* typoSkip Montanaro2003-06-201-1/+1
|
* Make the comment prefix 7 character long, so the lines are properlyWalter Dörwald2003-06-191-1/+1
| | | | aligned.
* Get rid of old IDLE. Lib/idlelib rules!Guido van Rossum2003-06-1471-10925/+0
|
* Put the main script for the new IDLE here.Guido van Rossum2003-06-132-0/+5
|
* Added a command line interface for difflib.pyRaymond Hettinger2003-06-082-0/+42
|
* Patch #748849: Update to current tools and demos.Martin v. Löwis2003-06-071-3/+14
|
* modulefinder.py is not a freeze private module anymore.Gustavo Niemeyer2003-05-261-1/+1
|
* * Added file globbing to make it easier to check many LaTeX files.Raymond Hettinger2003-05-161-39/+60
| | | | | | | * Delimiter mismatch now prints a warning instead of raising an exception. * Offer style warnings for use of e.g. and i.e. * Bypass false positive warnings for forward slashes in urls and in /rfc822. * Put non-LaTex delimiter matching first to make -d option more reliable.
* Forward slash warnings now only occur for potentially valid LaTeX commands.Raymond Hettinger2003-05-141-8/+8
| | | | (Idea contributed by Anthony Baxter.)
* Fix use of 'file' as a variable name.Andrew M. Kuchling2003-05-1316-107/+108
| | | | (I've tested the fixes, but please proofread anyway.)
* Prevent script from allowing '-r12'Andrew M. Kuchling2003-05-131-1/+1
|
* Rename sum5.py to md5sum.py, because sum5.py is more interestingAndrew M. Kuchling2003-05-132-110/+81
| | | | as an example program
* Don't use 'file' as a variable nameAndrew M. Kuchling2003-05-131-24/+17
| | | | | Modernize the code a bit Add docstring
* [Bug #724767] Avoid use of 'file' as a variable nameAndrew M. Kuchling2003-05-131-7/+7
|
* [Bug #724767] crlf.py uses the variable name file, which it shouldn't anymore.Andrew M. Kuchling2003-05-131-7/+7
|