Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | This closes bug #430849 (internal error produced by binascii.a2b_base64) | Peter Schneider-Kamp | 2001-06-07 | 1 | -0/+4 |
| | |||||
* | Address a bug in the uuencode decoder, reported bu "donut" in SF bug | Guido van Rossum | 2001-01-09 | 1 | -3/+3 |
| | | | | #127718: '@' and '`' seem to be confused. | ||||
* | REMOVED all CWI, CNRI and BeOpen copyright markings. | Guido van Rossum | 2000-09-01 | 1 | -16/+0 |
| | | | | This should match the situation in the 1.6b1 tree. | ||||
* | Fix new compiler warnings. Unused var in compile.c. Argsize mismatches | Tim Peters | 2000-08-15 | 1 | -1/+1 |
| | | | | | | in binascii.c (only on platforms with signed chars -- although Py_CHARMASK is documented as returning an int, it only does so on platforms with signed chars). | ||||
* | binascii_unhexlify(): Better error message, courtesy effbot. | Barry Warsaw | 2000-08-15 | 1 | -5/+5 |
| | |||||
* | After a brief conversation and code review with TP, adding two very | Barry Warsaw | 2000-08-15 | 1 | -22/+126 |
| | | | | | | | | | | | | | | commonly used functions to convert an arbitrary binary string into a hexadecimal digit representation and back again. These are often (and often differently) implemented in Python. Best to have one common fast implementation. Specifically, binascii_hexlify(): a.k.a. b2a_hex() to return the hex representation of binary data. binascii_unhexlify(): a.k.a. a2b_hex() to do the inverse conversion (hex digits to binary data). The argument must have an even length, and must contain only hex digits, otherwise a TypeError is raised. | ||||
* | Use METH_VARARGS instead of numeric constant 1 in method def. tables | Andrew M. Kuchling | 2000-08-03 | 1 | -13/+20 |
| | |||||
* | Bunch of minor ANSIfications: 'void initfunc()' -> 'void initfunc(void)', | Thomas Wouters | 2000-07-21 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | and a couple of functions that were missed in the previous batches. Not terribly tested, but very carefully scrutinized, three times. All these were found by the little findkrc.py that I posted to python-dev, which means there might be more lurking. Cases such as this: long func(a, b) long a; long b; /* flagword */ { and other cases where the last ; in the argument list isn't followed by a newline and an opening curly bracket. Regexps to catch all are welcome, of course ;) | ||||
* | ANSI-fication | Peter Schneider-Kamp | 2000-07-10 | 1 | -34/+11 |
| | |||||
* | Change copyright notice. | Guido van Rossum | 2000-06-30 | 1 | -22/+7 |
| | |||||
* | Massive patch by Skip Montanaro to add ":name" to as many | Guido van Rossum | 2000-02-29 | 1 | -10/+10 |
| | | | | PyArg_ParseTuple() format string arguments as possible. | ||||
* | Patch by Jim Ahlstrom to add crc32, a useful checksum function | Guido van Rossum | 2000-02-16 | 1 | -0/+141 |
| | | | | | | | | | | | (e.g. used for ZIP files). The patch includes code that says: + Copyright (C) 1986 Gary S. Brown. You may use this program, or + code or tables extracted from it, as desired without restriction. My interpretation (and Jim's) is that Gary S Brown has no claims under copyright, patent or other rights or interests. Lawyers might disagree. | ||||
* | Patch by Jason Trowbridge. (Followup to his PR#110.) (Slightly | Guido van Rossum | 1999-10-19 | 1 | -18/+69 |
| | | | | | | | | | | | | reformatted.) - Illegal padding is now ignored. (Recommendation by GvR.) - Padding no longer removes characters from data string (resulting in lost data/strings with negative lengths). - Illegal characters outside the ASCII range are now ignored, instead of possibly being remapped to a valid character. | ||||
* | Fix PR#110 -- bad input ("====") for a2b_base64() caused it to call | Guido van Rossum | 1999-10-19 | 1 | -0/+2 |
| | | | | _PyString_Resize() with a negative size. | ||||
* | Add DL_EXPORT() to all modules that could possibly be used | Guido van Rossum | 1998-12-04 | 1 | -1/+1 |
| | | | | on BeOS or Windows. | ||||
* | Use the t# format where appropriate. Greg Stein. | Guido van Rossum | 1998-10-08 | 1 | -3/+3 |
| | |||||
* | Converted to new exception style (Jack) | Guido van Rossum | 1997-10-08 | 1 | -6/+2 |
| | |||||
* | Plug memory leak (DECREF doc string properly after inserting in dict). | Guido van Rossum | 1997-08-04 | 1 | -0/+1 |
| | |||||
* | Allow '@' character as end of line padding in uuencode format. | Guido van Rossum | 1997-07-11 | 1 | -1/+3 |
| | | | | | | | Not sure why this is generated, but this fixes a problem with a particular file that was received with the following final line: F-WE<-*A5]AY]%7>8'&!!(_Y<F*55_"*%46"<OFG=>_5(F/\'``!@ | ||||
* | Renamed. | Roger E. Masse | 1997-01-16 | 1 | -79/+88 |
| | |||||
* | Fix leak involving BuildValue("...O..."). | Guido van Rossum | 1997-01-12 | 1 | -3/+7 |
| | |||||
* | New permission notice, includes CNRI. | Guido van Rossum | 1996-10-25 | 1 | -13/+20 |
| | |||||
* | Add unsigned char cast | Guido van Rossum | 1996-02-25 | 1 | -1/+1 |
| | |||||
* | Fixed off-by-one error in rle-decode, and allow whitespace in base64 | Jack Jansen | 1996-01-22 | 1 | -5/+5 |
| | | | | ascii input (thanks to Donald Beaudry for pointing these out) | ||||
* | Allow '@' for ' ' in uuencoded files. | Jack Jansen | 1995-11-14 | 1 | -2/+5 |
| | |||||
* | Added base64 support | Jack Jansen | 1995-10-04 | 1 | -0/+141 |
| | |||||
* | Obscure bugfix | Jack Jansen | 1995-08-31 | 1 | -5/+2 |
| | |||||
* | Added missing 'leftchar' initializer. | Jack Jansen | 1995-08-14 | 1 | -2/+2 |
| | |||||
* | Helper module for uuencode and binhex coders | Jack Jansen | 1995-08-07 | 1 | -0/+602 |