- 24 Eyl, 2002 1 kayıt (commit)
-
-
Guido van Rossum yazdı
#544265, Remove warnings for passing const to free()
-
- 23 Eyl, 2002 21 kayıt (commit)
-
-
Guido van Rossum yazdı
1.39: Fix SF bug 610610 (reported by Martijn Pieters, diagnosed by Neal Norwitz). The switch in Exception__str__ didn't clear the error if PySequence_Size() raised an exception. Added a case -1 which clears the error and falls through to the default case. 1.40: Two more cases of switch(PySequence_Size()) without checking for case -1. (Same problem as last checkin for SF bug 610610) Need to clear the error and proceed.
-
Guido van Rossum yazdı
unicodeobject.c 2.169 stringobject.c 2.189 Fix warnings on 64-bit platforms about casts from pointers to ints. Two of these were real bugs.
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
Insert an overflow check when the sequence repetition count is outside the range of ints. The old code would pass random truncated bits to sq_repeat() on a 64-bit machine.
-
Guido van Rossum yazdı
1.51: Bug #556025: list(xrange(1e9)) --> seg fault Close the bug report again -- this time for Cygwin due to a newlib bug. See the following for the details: http://sources.redhat.com/ml/newlib/2002/msg00369.html Note that this commit is only a documentation (i.e., comment) change. 1.54: The list(xrange(sys.maxint / 4)) test blew up on 64-bit platforms. Because ob_size is a 32-bit int but sys.maxint is LONG_MAX which is a 64-bit value, there's no way to make this test succeed on a 64-bit platform. So just skip it when sys.maxint isn't 0x7fffffff.
-
Guido van Rossum yazdı
(Most of) SF patch 601369 (Christos Georgiou): obmalloc,structmodule: 64bit, big endian (issue 2 only). This adds a bunch of memcpy calls via a temporary variable to avoid alignment errors. That's needed for some platforms.
-
Guido van Rossum yazdı
1.56: Apply diff3.txt from SF patch http://www.python.org/sf/536241 If a str or unicode method returns the original object, make sure that for str and unicode subclasses the original will not be returned. This should prevent SF bug http://www.python.org/sf/460020 from reappearing. 1.68: Fix SF bug 599128, submitted by Inyeol Lee: .replace() would do the wrong thing for a unicode subclass when there were zero string replacements. The example given in the SF bug report was only one way to trigger this; replacing a string of length >= 2 that's not found is another. The code would actually write outside allocated memory if replacement string was longer than the search string.
-
Guido van Rossum yazdı
Fix SF bug 599128, submitted by Inyeol Lee: .replace() would do the wrong thing for a unicode subclass when there were zero string replacements. The example given in the SF bug report was only one way to trigger this; replacing a string of length >= 2 that's not found is another. The code would actually write outside allocated memory if replacement string was longer than the search string.
-
Guido van Rossum yazdı
Add a bunch of sys.stdout.flush() calls that will hopefully improve the usability of the output of the Xenofarm builds.
-
Raymond Hettinger yazdı
SF bug 594996: OverflowError in random.randrange Loosened the acceptable 'start' and 'stop' arguments so that any Python (bounded) ints can be used. So, e.g., randrange(-sys.maxint-1, sys.maxint) no longer blows up.
-
Raymond Hettinger yazdı
random.gauss() uses a piece of hidden state used by nothing else, and the .seed() and .whseed() methods failed to reset it. In other words, setting the seed didn't completely determine the sequence of results produced by random.gauss(). It does now. Programs repeatedly mixing calls to a seed method with calls to gauss() may see different results now. Bugfix candidate (random.gauss() has always been broken in this way), despite that it may change results.
-
Raymond Hettinger yazdı
The test for re.engine was misfiring because re.engine is no longer defined and the default was "pre" instead of "sre". Give up on 1.5.2 compatibility, hardcode the sre solution. However, this XXX comment still applies, AFAIK: # XXX This code depends on internals of the regular expression # engine! There's no standard API to do a substitution when you # have already found the match. One should be added.
-
Raymond Hettinger yazdı
Convert characters from the locale's encoding on output. Reject characters outside the locale's encoding on input.
-
Raymond Hettinger yazdı
-
Raymond Hettinger yazdı
-
Raymond Hettinger yazdı
Properly fix SF bug #507298 (Gregor Lingl): shellpython2.2 -Qnew smart indent error Use // where int division is intended.
-
Guido van Rossum yazdı
-
Raymond Hettinger yazdı
-
Raymond Hettinger yazdı
is Control-A rather than Alt-A.
-
Michael W. Hudson yazdı
revision 1.70 of rfc822.py parseaddr(): Fixed in the same way that Message.getaddrlist() was fixed (re: SF bug #555035). Include a unittest.
-
Michael W. Hudson yazdı
revision 1.17 of test_rfc822.py parseaddr(): Fixed in the same way that Message.getaddrlist() was fixed (re: SF bug #555035). Include a unittest.
-
- 22 Eyl, 2002 4 kayıt (commit)
-
-
Martin v. Löwis yazdı
Fixes #612595.
-
Martin v. Löwis yazdı
-
cvs2svn yazdı
'release22-maint'.
-
Martin v. Löwis yazdı
-
- 15 Eyl, 2002 1 kayıt (commit)
-
-
Guido van Rossum yazdı
Address SF bug #577530: del __builtins__ breaks out of rexec Using the suggestion there: add_module() forces __builtin__ back; this fixes r_exec, r_eval, r_execfile. This does not mean that rexec is now considered safe! But for those willing to take the risk, it's safer than before. (Note that a safety analysis of the code module would be wise if you plan to use the interactive console for real -- I've only ever used it to play with restricted mode.)
-
- 13 Eyl, 2002 1 kayıt (commit)
-
-
Neal Norwitz yazdı
-
- 12 Eyl, 2002 1 kayıt (commit)
-
-
Fred Drake yazdı
Note that there is no str.joinfields(), use str.join() instead.
-
- 11 Eyl, 2002 2 kayıt (commit)
-
-
Fred Drake yazdı
the work of the XML-SIG in the main body of the text. Incorporates changes made by Martin von Löwis in revision 1.20 on the trunk. Modify the markup in a few places to avoid wrapping lines in bad places, and just general cleanliness.
-
Martin v. Löwis yazdı
-
- 10 Eyl, 2002 2 kayıt (commit)
-
-
Fred Drake yazdı
-
Martin v. Löwis yazdı
-
- 08 Eyl, 2002 1 kayıt (commit)
-
-
Raymond Hettinger yazdı
-
- 07 Eyl, 2002 2 kayıt (commit)
-
-
Neal Norwitz yazdı
-
Raymond Hettinger yazdı
-
- 06 Eyl, 2002 2 kayıt (commit)
-
-
Raymond Hettinger yazdı
Closes SF bug 605731.
-
Raymond Hettinger yazdı
in a list comprehension. Includes a justification and a comparision to regular for-loops. Closes SF bug 605047.
-
- 05 Eyl, 2002 1 kayıt (commit)
-
-
Neal Norwitz yazdı
Raise ValueError if user passes a size to mmap which is larger than the file. Also need Tim's fix in test_mmap.py, 1.22 which flushes the file before mmap'ing it.
-
- 04 Eyl, 2002 1 kayıt (commit)
-
-
Raymond Hettinger yazdı
-