- 02 Kas, 2007 1 kayıt (commit)
-
-
Georg Brandl yazdı
Backport fixes for the code that decodes octal escapes (and for PyString also hex escapes) -- this was reaching beyond the end of the input string buffer, even though it is not supposed to be \0-terminated. This has no visible effect but is clearly the correct thing to do. (In 3.0 it had a visible effect after removing ob_sstate from PyString.) Also fixes #1098.
-
- 29 Tem, 2007 1 kayıt (commit)
-
-
Georg Brandl yazdı
(backport)
-
- 12 Tem, 2007 1 kayıt (commit)
-
-
Georg Brandl yazdı
with %G. (backport from rev. 56298)
-
- 11 Haz, 2007 1 kayıt (commit)
-
-
Neal Norwitz yazdı
Fix a bug when there was a newline in the string expandtabs was called on. This also catches another condition that can overflow.
-
- 09 Haz, 2007 1 kayıt (commit)
-
-
Neal Norwitz yazdı
a large width is passed on 32-bit platforms. Found by Google. It would be good for people to review this especially carefully and verify I don't have an off by one error and there is no other way to cause overflow.
-
- 04 Eki, 2006 1 kayıt (commit)
-
-
Armin Rigo yazdı
* unified the way intobject, longobject and mystrtoul handle values around -sys.maxint-1. * in general, trying to entierely avoid overflows in any computation involving signed ints or longs is extremely involved. Fixed a few simple cases where a compiler might be too clever (but that's all guesswork). * more overflow checks against bad data in marshal.c. * 2.5 specific: fixed a number of places that were still confusing int and Py_ssize_t. Some of them could potentially have caused "real-world" breakage. * list.pop(x): fixing overflow issues on x was messy. I just reverted to PyArg_ParseTuple("n"), which does the right thing. (An obscure test was trying to give a Decimal to list.pop()... doesn't make sense any more IMHO) * trying to write a few tests...
-
- 05 Eyl, 2006 1 kayıt (commit)
-
-
Neal Norwitz yazdı
Partially from SF patch #1551339, but also taken from head.
-
- 21 Agu, 2006 1 kayıt (commit)
-
-
Neal Norwitz yazdı
a unicode string in a build with wide unicode (UCS-4) support. I will forward port to 2.6. Can someone backport to 2.4?
-
- 14 Agu, 2006 2 kayıt (commit)
-
-
Marc-André Lemburg yazdı
-
Marc-André Lemburg yazdı
Replace UnicodeDecodeErrors raised during == and != compares of Unicode and other objects with a new UnicodeWarning. All other comparisons continue to raise exceptions. Exceptions other than UnicodeDecodeErrors are also left untouched.
-
- 12 Agu, 2006 1 kayıt (commit)
-
-
Neal Norwitz yazdı
I modified this patch some by fixing style, some error checking, and adding XXX comments. This patch requires review and some changes are to be expected. I'm checking in now to get the greatest possible review and establish a baseline for moving forward. I don't want this to hold up release if possible.
-
- 21 Tem, 2006 1 kayıt (commit)
-
-
Neal Norwitz yazdı
Many (all?) of these could be backported.
-
- 14 Haz, 2006 1 kayıt (commit)
-
-
Martin v. Löwis yazdı
-
- 13 Haz, 2006 1 kayıt (commit)
-
-
Neal Norwitz yazdı
-
- 10 Haz, 2006 1 kayıt (commit)
-
-
Georg Brandl yazdı
Also improve error message on overflow.
-
- 09 Haz, 2006 1 kayıt (commit)
-
-
Georg Brandl yazdı
-
- 04 Haz, 2006 2 kayıt (commit)
-
-
Georg Brandl yazdı
-
Martin v. Löwis yazdı
-
- 27 May, 2006 7 kayıt (commit)
-
-
Fredrik Lundh yazdı
to enable use from stringobject
-
Fredrik Lundh yazdı
where appropriate
-
Martin v. Löwis yazdı
-
Andrew Dalke yazdı
-
Fredrik Lundh yazdı
-
Martin v. Löwis yazdı
-
Neal Norwitz yazdı
- Check the correct variable (str_obj, not str) for NULL - sep_len was already verified it wasn't 0
-
- 26 May, 2006 13 kayıt (commit)
-
-
Andrew M. Kuchling yazdı
-
Fredrik Lundh yazdı
-
Fredrik Lundh yazdı
-
Fredrik Lundh yazdı
find
-
Fredrik Lundh yazdı
find helpers; updated unicodeobject to use stringlib_count
-
Fredrik Lundh yazdı
feel free to add more tests and improve the documentation.
-
Fredrik Lundh yazdı
-
Fredrik Lundh yazdı
-
Fredrik Lundh yazdı
-
Fredrik Lundh yazdı
-
Fredrik Lundh yazdı
length (thanks, neal!). and yes, I've verified that this doesn't slow things down ;-)
-
Fredrik Lundh yazdı
~15% faster for the current tests (which is noticable faster than a corre- sponding find call). thanks to neal-who-never-sleeps for the tip.
-
Fredrik Lundh yazdı
feel free to improve the documentation and the docstrings.
-
- 25 May, 2006 2 kayıt (commit)
-
-
Andrew Dalke yazdı
Now using PyInt_FromSsize_t.
-
Fredrik Lundh yazdı
-