- 06 Eyl, 2004 2 kayıt (commit)
-
-
Raymond Hettinger yazdı
-
Raymond Hettinger yazdı
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.
-
- 27 Tem, 2004 1 kayıt (commit)
-
-
Martin v. Löwis yazdı
-
- 06 Haz, 2004 1 kayıt (commit)
-
-
Neal Norwitz yazdı
This fixes the problem and the test passes. I'm not sure the test is really correct though. It seems like it would be better to raise an exception. I think that wasn't done for backwards compatability. Bugfix candidate.
-
- 11 May, 2004 1 kayıt (commit)
-
-
Barry Warsaw yazdı
binascii_a2b_qp() and binascii_b2a_qp() with calls to PyMem_Malloc() and PyMem_Free(). These won't return NULL unless the allocations actually fail, so it won't trigger a bogus memory error on some platforms <cough>AIX</cough> when passed a length of zero.
-
- 17 Mar, 2003 1 kayıt (commit)
-
-
Thomas Wouters yazdı
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.)
-
- 15 Agu, 2002 1 kayıt (commit)
-
-
Barry Warsaw yazdı
exception. The bug fix for SF #430849 wasn't quite right. This closes SF bug #595671. I'll backport this to Python 2.2.
-
- 02 Agu, 2002 1 kayıt (commit)
-
-
Mark Hammond yazdı
for Py_Main(). Thanks to Kalle Svensson and Skip Montanaro for the patches.
-
- 02 Tem, 2002 2 kayıt (commit)
-
-
Tim Peters yazdı
binascii_crc32(): The previous patch forced this to return the same result across platforms. This patch deals with that, on a 64-bit box, the *entry* value may have "unexpected" bits in the high four bytes. Bugfix candidate.
-
Tim Peters yazdı
binascii_crc32(): Make this return a signed 4-byte result across platforms. The other way to make this platform-independent would be to make it return an unsigned unbounded int, but the evidence suggests other code out there treats it like a signed 4-byte int (e.g., existing code writing the result with struct.pack "l" format). Bugfix candidate.
-
- 13 Haz, 2002 1 kayıt (commit)
-
-
Martin v. Löwis yazdı
-
- 19 Ara, 2001 1 kayıt (commit)
-
-
Tim Peters yazdı
binascii_b2a_base64(): We didn't allocate enough buffer space for very short inputs (e.g., a 1-byte input can produce a 5-byte output, but we only allocated 2 bytes). I expect that malloc overheads absorbed the overrun in practice, but computing a correct upper bound is a very simple change.
-
- 30 Eki, 2001 1 kayıt (commit)
-
-
Guido van Rossum yazdı
memory, rather than the standard's 57. This fixes SF bug #473009.
-
- 04 Eki, 2001 1 kayıt (commit)
-
-
Greg Ward yazdı
to make the SGI C compiler happier (bug #445960).
-
- 30 Eyl, 2001 1 kayıt (commit)
-
-
Martin v. Löwis yazdı
Decode and encode underscores for header style encoding. Fixes bug #463996.
-
- 07 Haz, 2001 1 kayıt (commit)
-
-
Peter Schneider-Kamp yazdı
-
- 09 Ock, 2001 1 kayıt (commit)
-
-
Guido van Rossum yazdı
#127718: '@' and '`' seem to be confused.
-
- 01 Eyl, 2000 1 kayıt (commit)
-
-
Guido van Rossum yazdı
This should match the situation in the 1.6b1 tree.
-
- 15 Agu, 2000 3 kayıt (commit)
-
-
Tim Peters yazdı
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).
-
Barry Warsaw yazdı
-
Barry Warsaw yazdı
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.
-
- 03 Agu, 2000 1 kayıt (commit)
-
-
Andrew M. Kuchling yazdı
-
- 21 Tem, 2000 1 kayıt (commit)
-
-
Thomas Wouters yazdı
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 ;)
-
- 10 Tem, 2000 1 kayıt (commit)
-
-
Peter Schneider-Kamp yazdı
-
- 30 Haz, 2000 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 29 Şub, 2000 1 kayıt (commit)
-
-
Guido van Rossum yazdı
PyArg_ParseTuple() format string arguments as possible.
-
- 16 Şub, 2000 1 kayıt (commit)
-
-
Guido van Rossum yazdı
(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.
-
- 19 Eki, 1999 2 kayıt (commit)
-
-
Guido van Rossum yazdı
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.
-
Guido van Rossum yazdı
_PyString_Resize() with a negative size.
-
- 04 Ara, 1998 1 kayıt (commit)
-
-
Guido van Rossum yazdı
on BeOS or Windows.
-
- 08 Eki, 1998 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 08 Eki, 1997 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 04 Agu, 1997 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 11 Tem, 1997 1 kayıt (commit)
-
-
Guido van Rossum yazdı
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/\'``!@
-
- 16 Ock, 1997 1 kayıt (commit)
-
-
Roger E. Masse yazdı
-
- 12 Ock, 1997 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 25 Eki, 1996 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 25 Şub, 1996 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 22 Ock, 1996 1 kayıt (commit)
-
-
Jack Jansen yazdı
ascii input (thanks to Donald Beaudry for pointing these out)
-
- 14 Kas, 1995 1 kayıt (commit)
-
-
Jack Jansen yazdı
-