summaryrefslogtreecommitdiffstats
path: root/Lib/binhex.py
Commit message (Collapse)AuthorAgeFilesLines
* Remove a useless operation, setting name to itselfNeal Norwitz2004-06-071-1/+0
|
* Replace backticks with repr() or "%r"Walter Dörwald2004-02-121-2/+2
| | | | From SF patch #852334.
* The first batch of changes recommended by the fixdiv tool. These areGuido van Rossum2001-09-041-2/+2
| | | | | mostly changes of / operators into //. Once or twice I did more or less than recommended.
* Turn an octal constant into a hex constant.Guido van Rossum2001-08-011-1/+1
|
* String method cleanup.Eric S. Raymond2001-02-101-3/+1
|
* String method conversion.Eric S. Raymond2001-02-091-1/+1
|
* added __all__ lists to a number of Python modulesSkip Montanaro2001-01-201-0/+2
| | | | | | | | added test script and expected output file as well this closes patch 103297. __all__ attributes will be added to other modules without first submitting a patch, just adding the necessary line to the test script to verify more-or-less correct implementation.
* Whitespace normalization.Tim Peters2001-01-141-30/+30
|
* Update the code to better reflect recommended style:Fred Drake2000-12-121-3/+3
| | | | | Use != instead of <> since <> is documented as "obsolescent". Use "is" and "is not" when comparing with None or type objects.
* Convert some old-style string exceptions to class exceptions.Fred Drake2000-08-171-1/+2
|
* Spelling fixes supplied by Rob W. W. Hooft. All these are fixes in eitherThomas Wouters2000-07-161-1/+1
| | | | | | | | | | comments, docstrings or error messages. I fixed two minor things in test_winreg.py ("didn't" -> "Didn't" and "Didnt" -> "Didn't"). There is a minor style issue involved: Guido seems to have preferred English grammar (behaviour, honour) in a couple places. This patch changes that to American, which is the more prominent style in the source. I prefer English myself, so if English is preferred, I'd be happy to supply a patch myself ;)
* typos fixed by Rob HooftJeremy Hylton2000-06-281-2/+2
|
* Actually, the previous batch's comment should have been different;Guido van Rossum2000-02-041-1/+1
| | | | | | | | | | *this* set of patches is Ka-Ping's final sweep: The attached patches update the standard library so that all modules have docstrings beginning with one-line summaries. A new docstring was added to formatter. The docstring for os.py was updated to mention nt, os2, ce in addition to posix, dos, mac.
* Mass patch by Ka-Ping Yee:Guido van Rossum2000-02-021-470/+471
| | | | | | | | | | | 1. Comments at the beginning of the module, before functions, and before classes have been turned into docstrings. 2. Tabs are normalized to four spaces. Also, removed the "remove" function from dircmp.py, which reimplements list.remove() (it must have been very old).
* A few lines were indented using spaces instead of tabs -- fix them.Guido van Rossum1998-03-261-7/+7
|
* Use string.replace instead of regsub.[g]sub.Guido van Rossum1997-12-241-2/+1
|
* Merged in Jack's fixes. This brings some lines beyond 79 chars again;Guido van Rossum1997-02-111-17/+32
| | | | | | | | | I'll clean that up later. Also corrected a mistake introduced by the previous reformatting: an 'else' belonging to a 'for' was accidentally reindented to belong to the 'if' inside the 'for'. Note that the module uses inconsistent indentation -- most code is indented with 8 spaces, but some of the reformatted code uses 4 spaces. I'll fix this later in the promised cleanup pass.
* As per GvR recomendations, remove the restriction that binhex only run onRoger E. Masse1997-01-161-33/+43
| | | | | | | big-endian machines. This is done by directing the struct module's pack and unpack methods to treat the data always in bin endian format. This has been tested on irix (big endian) and solaris x86 (little endian) but not yet on the mac.
* new binhex from Jack (much faster)Guido van Rossum1996-03-251-9/+14
|
* Finally check in Jack's latest version, which fixes all known bugs.Guido van Rossum1996-03-231-142/+153
|
* Fixed hexbin handlingJack Jansen1995-10-031-4/+7
|
* Indent bugJack Jansen1995-08-171-1/+1
|
* Put debug output inside 'if DEBUG'.Jack Jansen1995-08-141-6/+7
|
* Implement binhex protocol.Jack Jansen1995-08-071-0/+485
Note: binhex works, hexbin does not work yet.