Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | SF #1022953: binascii.a2b_hqx("") raises SystemError | Raymond Hettinger | 2004-09-06 | 1 | -0/+10 |
| | | | | | | | | | | | | | Several functions adopted the strategy of altering a full lengthed string copy and resizing afterwards. That would fail if the initial string was short enough (0 or 1) to be interned. Interning precluded the subsequent resizing operation. The solution was to make sure the initial string was at least two characters long. Added tests to verify that all binascii functions do not crater when given an empty string argument. | ||||
* | Whitespace normalization. | Tim Peters | 2004-07-08 | 1 | -1/+1 |
| | |||||
* | Port test_binascii.py to PyUnit and enhance tests. | Walter Dörwald | 2004-03-15 | 1 | -123/+149 |
| | | | | | Code coverage for binascii.c is at 92%. From SF patch #736962. | ||||
* | binascii_a2b_base64: Properly return an empty string if the input was all | Thomas Wouters | 2003-03-17 | 1 | -0/+4 |
| | | | | | | | invalid, rather than returning a string of random garbage of the estimated result length. Closes SF patch #703471 by Hye-Shik Chang. Will backport to 2.2-maint (consider it done.) | ||||
* | Complete the absolute import patch for the test suite. All relative | Barry Warsaw | 2002-07-30 | 1 | -1/+1 |
| | | | | | | | | imports of test modules now import from the test package. Other related oddities are also fixed (like DeprecationWarning filters that weren't specifying the full import part, etc.). Also did a general code cleanup to remove all "from test.test_support import *"'s. Other from...import *'s weren't changed. | ||||
* | Whitespace normalization. | Tim Peters | 2002-05-23 | 1 | -1/+1 |
| | |||||
* | easy --disable-unicode proofing. | Michael W. Hudson | 2002-05-20 | 1 | -2/+4 |
| | |||||
* | Add test case for SF bug 534347. | Guido van Rossum | 2002-04-04 | 1 | -0/+8 |
| | |||||
* | Whitespace normalization. | Tim Peters | 2001-10-18 | 1 | -1/+0 |
| | |||||
* | Add test of hexlify on Unicode strings | Jeremy Hylton | 2001-10-11 | 1 | -0/+4 |
| | |||||
* | The first batch of changes recommended by the fixdiv tool. These are | Guido van Rossum | 2001-09-04 | 1 | -2/+2 |
| | | | | | mostly changes of / operators into //. Once or twice I did more or less than recommended. | ||||
* | This patch removes all uses of "assert" in the regression test suite | Marc-André Lemburg | 2001-01-17 | 1 | -4/+4 |
| | | | | | | | and replaces them with a new API verify(). As a result the regression suite will also perform its tests in optimization mode. Written by Marc-Andre Lemburg. Copyright assigned to Guido van Rossum. | ||||
* | Update the code to better reflect recommended style: | Fred Drake | 2000-12-12 | 1 | -1/+1 |
| | | | | | Use != instead of <> since <> is documented as "obsolescent". Use "is" and "is not" when comparing with None or type objects. | ||||
* | tests for binascii.b2a_hex() and binascii.a2b_hex(). | Barry Warsaw | 2000-08-15 | 1 | -0/+19 |
| | |||||
* | Added test for new crc32() function. | Guido van Rossum | 2000-02-16 | 1 | -0/+6 |
| | |||||
* | Rewritten -- this now tests the binascii *except* for the binhex | Guido van Rossum | 1999-10-19 | 1 | -44/+85 |
| | | | | module, which is tested by test_binhex.py. | ||||
* | Mass check-in after untabifying all files that need it. | Guido van Rossum | 1998-03-26 | 1 | -12/+12 |
| | |||||
* | Minor output message change | Roger E. Masse | 1997-01-16 | 1 | -1/+7 |
| | |||||
* | test script for the binascii C module. | Roger E. Masse | 1997-01-16 | 1 | -0/+40 |