]>
git.ipfire.org Git - thirdparty/Python/cpython.git/log
Georg Brandl [Sun, 17 Jul 2005 20:05:26 +0000 (20:05 +0000)]
backport bug [
1061920 ] "k" specifier in PyArg_ParseTuple incomplete documentated
Skip Montanaro [Sun, 17 Jul 2005 15:35:41 +0000 (15:35 +0000)]
use macro
Skip Montanaro [Sun, 17 Jul 2005 11:48:54 +0000 (11:48 +0000)]
backport
Walter Dörwald [Tue, 12 Jul 2005 21:58:38 +0000 (21:58 +0000)]
Backport checkin:
Apply SF patch #
1101726 : Fix buffer overrun in tokenizer.c when a source file
with a PEP 263 encoding declaration results in long decoded line.
Georg Brandl [Tue, 12 Jul 2005 13:20:56 +0000 (13:20 +0000)]
Oops.
Georg Brandl [Tue, 12 Jul 2005 13:18:04 +0000 (13:18 +0000)]
backport bug [
1232768 ] Mistakes in online docs under "5.3 Pure Embedding"
Georg Brandl [Tue, 12 Jul 2005 07:28:25 +0000 (07:28 +0000)]
backport bug [
1235266 ] debug info file descriptor of tarfile is inconsistent
Georg Brandl [Mon, 11 Jul 2005 05:57:11 +0000 (05:57 +0000)]
Backport:
SF bug
1185883 : PyObject_Realloc can't safely take over a block currently
managed by C, because it's possible for the block to be smaller than the
new requested size, and at the end of allocated VM. Trying to copy over
nbytes bytes to a Python small-object block can segfault then, and there's
no portable way to avoid this (we would have to know how many bytes
starting at p are addressable, and std C has no means to determine that).
Georg Brandl [Sat, 9 Jul 2005 15:27:05 +0000 (15:27 +0000)]
Georg Brandl [Fri, 8 Jul 2005 22:25:17 +0000 (22:25 +0000)]
backport bug [
1234979 ] Lock.acquire treats only 1 as True
Georg Brandl [Fri, 8 Jul 2005 21:36:42 +0000 (21:36 +0000)]
backport bug [ 969757 ] function and method objects confounded in Tutorial
Georg Brandl [Mon, 4 Jul 2005 17:16:53 +0000 (17:16 +0000)]
backport bug #
1177468 : don't cache /dev/urandom file descriptor in os.urandom
Georg Brandl [Mon, 4 Jul 2005 14:18:20 +0000 (14:18 +0000)]
Revert patch for
1162912 .
Georg Brandl [Sun, 3 Jul 2005 20:22:13 +0000 (20:22 +0000)]
backport bug [
1162912 ] typesseq-mutable lacks note on combined key/cmp usage
Georg Brandl [Sat, 2 Jul 2005 19:09:42 +0000 (19:09 +0000)]
backport doctest for weakref examples
Georg Brandl [Sat, 2 Jul 2005 18:38:12 +0000 (18:38 +0000)]
backport patch [
1231538 ] Typo fix in compiler/transformer.py (WalkerEror)
Georg Brandl [Sat, 2 Jul 2005 10:44:38 +0000 (10:44 +0000)]
backport bug [
1228904 ] weakref example broken
Georg Brandl [Sat, 2 Jul 2005 10:28:29 +0000 (10:28 +0000)]
backport patch [
1230615 ] Patch for (Doc) #
1168746 (frame.f_exc_*)
backport bug [
1204734 ] incorrect description of __getattribute__
Raymond Hettinger [Fri, 1 Jul 2005 23:25:27 +0000 (23:25 +0000)]
Cross reference the set built-ins with the sets module.
Raymond Hettinger [Fri, 1 Jul 2005 23:01:46 +0000 (23:01 +0000)]
Provide a comparison to the builtin set types.
Raymond Hettinger [Fri, 1 Jul 2005 16:56:53 +0000 (16:56 +0000)]
More info on rounding modes. Add sections for floating point notes.
Raymond Hettinger [Tue, 28 Jun 2005 00:18:10 +0000 (00:18 +0000)]
Note that file objects are iterable.
Raymond Hettinger [Mon, 27 Jun 2005 23:38:47 +0000 (23:38 +0000)]
* Show the keyword argument form of dict().
* Note that dict works with the "in" keyword.
Fred Drake [Mon, 27 Jun 2005 23:22:22 +0000 (23:22 +0000)]
add note that os.EX_* constants are subject to availability on the host
platform
Georg Brandl [Sun, 26 Jun 2005 22:55:05 +0000 (22:55 +0000)]
- Bug #839151: Fix an attempt to access sys.argv in the warnings module
though this can be missing in embedded interpreters
Georg Brandl [Sun, 26 Jun 2005 22:53:43 +0000 (22:53 +0000)]
backport bug [ 839151 ] attempt to access sys.argv when it doesn't exist
Georg Brandl [Sun, 26 Jun 2005 22:23:44 +0000 (22:23 +0000)]
backport bug [
1172785 ] doctest.script_from_examples() result sometimes un-exec-able
Georg Brandl [Sun, 26 Jun 2005 22:09:12 +0000 (22:09 +0000)]
- Bug #
1155638 : Fix a bug which affected HTTP 0.9 responses in httplib.
Georg Brandl [Sun, 26 Jun 2005 22:06:56 +0000 (22:06 +0000)]
backport bug [
1155638 ] self.length shield exception in httplib
Georg Brandl [Sun, 26 Jun 2005 21:59:34 +0000 (21:59 +0000)]
Backport: Prevent creating a HTML link to file://?/
Georg Brandl [Sun, 26 Jun 2005 21:50:34 +0000 (21:50 +0000)]
- Bug #
1100201 : Cross-site scripting was possible on BaseHTTPServer via
error messages.
Georg Brandl [Sun, 26 Jun 2005 21:33:54 +0000 (21:33 +0000)]
backport bug [
1100201 ] Cross-site scripting on BaseHTTPServer
Georg Brandl [Sun, 26 Jun 2005 20:22:46 +0000 (20:22 +0000)]
backport bug [
1072853 ] thisid not intialized in pindent.py script
Georg Brandl [Sat, 25 Jun 2005 21:03:57 +0000 (21:03 +0000)]
backport bug [
1166582 ] IterableUserDict not in docs
Georg Brandl [Sat, 25 Jun 2005 20:44:12 +0000 (20:44 +0000)]
backport bug [
1186072 ] tempnam doc doesn't include link to tmpfile
Georg Brandl [Sat, 25 Jun 2005 20:07:39 +0000 (20:07 +0000)]
backport bug [
1175022 ] property example code error
Georg Brandl [Sat, 25 Jun 2005 19:55:37 +0000 (19:55 +0000)]
backport [
1190563 ] os.waitpid docs don't specify return value for WNOHANG
Georg Brandl [Sat, 25 Jun 2005 19:16:58 +0000 (19:16 +0000)]
backport bug [
1202475 ] httplib docs mentioning HTTPConnection.getreply
Georg Brandl [Sat, 25 Jun 2005 18:53:24 +0000 (18:53 +0000)]
backport patch [
1213031 ] note that os.chown can have -1 as an argument
Georg Brandl [Sat, 25 Jun 2005 18:47:28 +0000 (18:47 +0000)]
backport of bug [
1225705 ] os.environ documentation should mention unsetenv
Georg Brandl [Sat, 25 Jun 2005 18:24:28 +0000 (18:24 +0000)]
backport Patch #
1227442 : smtplib.SMTP.sendmail() accepts list or string for to_addrs.
Raymond Hettinger [Tue, 21 Jun 2005 07:53:56 +0000 (07:53 +0000)]
SF bug #
1224621 : tokenize module does not detect inconsistent dedents
Raymond Hettinger [Sun, 19 Jun 2005 05:53:15 +0000 (05:53 +0000)]
SF patch #
1200018 : Restore GC support to set objects
Reverts 1.26 and 1.27.
And adds cycle testing.
Georg Brandl [Sat, 18 Jun 2005 20:11:26 +0000 (20:11 +0000)]
Bug #
1209560 : spurious blank page in dist.pdf (backport)
Georg Brandl [Sat, 18 Jun 2005 20:06:30 +0000 (20:06 +0000)]
Patch #
1180012 : add documentation for modulefinder (backport)
Raymond Hettinger [Fri, 17 Jun 2005 10:27:50 +0000 (10:27 +0000)]
Fix typo.
Michael W. Hudson [Thu, 16 Jun 2005 14:53:22 +0000 (14:53 +0000)]
backport Lib/test/test_class.py revision 1.13:
Don't use 'is not' to compare strings.
(spotted by reading pypy-svn :)
Andrew M. Kuchling [Wed, 15 Jun 2005 18:48:16 +0000 (18:48 +0000)]
Fix check for error condition
Andrew M. Kuchling [Wed, 15 Jun 2005 18:45:27 +0000 (18:45 +0000)]
[Patch #
1005892 from Alexandr Zamaraev] Fix two errors in the curses test suite
Raymond Hettinger [Wed, 15 Jun 2005 16:54:30 +0000 (16:54 +0000)]
Fix nits.
Skip Montanaro [Wed, 15 Jun 2005 13:38:07 +0000 (13:38 +0000)]
backport
Michael W. Hudson [Wed, 15 Jun 2005 11:47:46 +0000 (11:47 +0000)]
Update version here, too.
Andrew M. Kuchling [Tue, 14 Jun 2005 14:46:06 +0000 (14:46 +0000)]
[Bug #
1219862 ] Document correct argument range for pair_content()
Raymond Hettinger [Tue, 14 Jun 2005 08:58:27 +0000 (08:58 +0000)]
SF bug #
1219448 : small output bug
Raymond Hettinger [Tue, 14 Jun 2005 08:47:19 +0000 (08:47 +0000)]
SF bug #
1215887 : String and list methods documentation deeply hidden
Make doc on specific types easier to find by listing them in the headings
for the abstract types.
Raymond Hettinger [Mon, 13 Jun 2005 01:14:34 +0000 (01:14 +0000)]
Raymond Hettinger [Sun, 12 Jun 2005 18:25:29 +0000 (18:25 +0000)]
Backport 1.26 Decimal FAQ.
Raymond Hettinger [Sun, 12 Jun 2005 18:23:01 +0000 (18:23 +0000)]
Backport 1.37 namespace cleanup.
Georg Brandl [Fri, 10 Jun 2005 19:55:46 +0000 (19:55 +0000)]
Clarify docs about os.popen[234].
Andrew M. Kuchling [Thu, 9 Jun 2005 17:55:34 +0000 (17:55 +0000)]
[Bug #
1200134 ] Fix buffer overflow by constraining size of .getstr(), .instr() to size of allocated buffer
Andrew M. Kuchling [Thu, 9 Jun 2005 14:22:07 +0000 (14:22 +0000)]
[Bug #
1074261 , patch #
1074381 ] Restrict the size of chunks read from the file in order to avoid overflow or huge memory consumption. Patch by Mark Eichin
Andrew M. Kuchling [Wed, 8 Jun 2005 22:53:01 +0000 (22:53 +0000)]
[Patch #
1171487 , bug #
1170331 ] Fix error in base64.b32decode when encoding a single null byte; test a null byte in all encodings to be sure it works
Andrew M. Kuchling [Wed, 8 Jun 2005 21:51:58 +0000 (21:51 +0000)]
[Bug #
1149413 ] 'psize' argument should be 'pgsize'
Anthony Baxter [Wed, 8 Jun 2005 04:56:41 +0000 (04:56 +0000)]
fix broken (unexecuted) test
Anthony Baxter [Wed, 8 Jun 2005 04:35:28 +0000 (04:35 +0000)]
Tools/scripts/reindent.py is your friend
Andrew M. Kuchling [Tue, 7 Jun 2005 19:57:01 +0000 (19:57 +0000)]
[Bug #
1172763 ] dumbdbm uses eval() on lines, so it chokes if there's an extra \r on the end of a line; fixed by stripping off trailing whitespace.
Andrew M. Kuchling [Tue, 7 Jun 2005 19:05:06 +0000 (19:05 +0000)]
[Bug #
1170422 ] Use correct option name
Georg Brandl [Sun, 5 Jun 2005 10:57:00 +0000 (10:57 +0000)]
Bug #
1184380 : extending&embedding example broken
Georg Brandl [Sat, 4 Jun 2005 10:00:18 +0000 (10:00 +0000)]
Bug #
1210001 : typo in email docs
Georg Brandl [Sat, 4 Jun 2005 09:20:12 +0000 (09:20 +0000)]
Backport bug #
1196315 : fix weakref.WeakValueDictionary constructor.
Georg Brandl [Fri, 3 Jun 2005 19:45:53 +0000 (19:45 +0000)]
Backport bug #
1194181 : bz2.BZ2File didn't handle mode 'U' correctly.
Anthony Baxter [Fri, 3 Jun 2005 16:01:29 +0000 (16:01 +0000)]
backport of [
1197218 ] test_locale fix on modern linux
On more modern linuxes (and probably others) straight 'en_US' isn't a
valid locale. Make the code try a couple of alternates.
Georg Brandl [Fri, 3 Jun 2005 14:31:55 +0000 (14:31 +0000)]
Backport bug #
1213894 : os.path.realpath didn't resolve symlinks that were the first
component of the path.
Anthony Baxter [Fri, 3 Jun 2005 14:13:47 +0000 (14:13 +0000)]
fix int.__divmod__.__doc__
Anthony Baxter [Fri, 3 Jun 2005 14:10:50 +0000 (14:10 +0000)]
whitespace normalisation
Anthony Baxter [Fri, 3 Jun 2005 14:02:48 +0000 (14:02 +0000)]
fix exceptions.TabError. _Please_ run test suite before checking in.
Andrew M. Kuchling [Thu, 2 Jun 2005 17:01:08 +0000 (17:01 +0000)]
[Bug #
1209880 ] Describe only the True/False return values from lock.acquire()
Andrew M. Kuchling [Thu, 2 Jun 2005 13:52:07 +0000 (13:52 +0000)]
[Bug #
1193001 ] Make the notation section use the same productionlist env. as other grammar rules
Andrew M. Kuchling [Thu, 2 Jun 2005 13:40:12 +0000 (13:40 +0000)]
[Bug #
1177831 ] Fix (?(id)yes|no) for a group other than the first one, and add a test case
Andrew M. Kuchling [Thu, 2 Jun 2005 00:11:55 +0000 (00:11 +0000)]
[Bug #
1152762 ] Ensure _end_of_line() returns an x-coordinate that's within the text box
Andrew M. Kuchling [Wed, 1 Jun 2005 23:32:31 +0000 (23:32 +0000)]
[Bug #
1105706 ] Use correct name for constant
Andrew M. Kuchling [Wed, 1 Jun 2005 23:22:39 +0000 (23:22 +0000)]
Andrew M. Kuchling [Wed, 1 Jun 2005 15:27:26 +0000 (15:27 +0000)]
[Bug #
1194249 ] Fix duplicate assignment in example code
Raymond Hettinger [Tue, 31 May 2005 10:28:07 +0000 (10:28 +0000)]
SF bug #
1202395 : Description of string.lstrip() needs improvement
Clarify the role of the chars argument in the strip() methods.
Raymond Hettinger [Fri, 27 May 2005 11:23:44 +0000 (11:23 +0000)]
Backport fix to decorator grammar update.
Raymond Hettinger [Fri, 27 May 2005 10:45:14 +0000 (10:45 +0000)]
SF bug #
1209671 : dict.popitem documentation should mention empty dict case
Fred Drake [Wed, 25 May 2005 05:42:51 +0000 (05:42 +0000)]
fix description of the input range of unichr()
(closes SF bug #
1120777 )
Fred Drake [Wed, 25 May 2005 05:30:36 +0000 (05:30 +0000)]
update documentation on what constitutes a line in a source file
(closes SF bug #
1167922 )
Raymond Hettinger [Sat, 14 May 2005 17:20:25 +0000 (17:20 +0000)]
SF bug #
1201807 : Glossary listing bug
Skip Montanaro [Thu, 12 May 2005 13:45:11 +0000 (13:45 +0000)]
backport
Skip Montanaro [Thu, 12 May 2005 13:43:40 +0000 (13:43 +0000)]
backport from head
Raymond Hettinger [Tue, 10 May 2005 03:22:21 +0000 (03:22 +0000)]
SF bug #
1193890 : calendar.weekheader not found in __all__
Brett Cannon [Sat, 30 Apr 2005 05:51:59 +0000 (05:51 +0000)]
Fix a docstring with mismatched opening and closing quotes.
Backport of fix for bug #
1192777 .
Raymond Hettinger [Thu, 28 Apr 2005 07:19:39 +0000 (07:19 +0000)]
SF bug #
1190451 : 6.9 First sentence is confusing
* Fixed incorrect wording: expression->exception
* Noted the specific exception reported by "raise" when the is nothing
to re-raise.
* Eliminated several instances of "e.g." as recommended in the style guide.
Raymond Hettinger [Thu, 28 Apr 2005 00:21:16 +0000 (00:21 +0000)]
Backport 1.270
Raymond Hettinger [Tue, 26 Apr 2005 05:20:03 +0000 (05:20 +0000)]
Fix typo.
Michael W. Hudson [Sun, 24 Apr 2005 19:32:34 +0000 (19:32 +0000)]
Backport my recent fix (rev. 2.40 of Python/pystate.c):
Fix:
[
1176893 ] Readline segfault
by unsilly-ing PyGILState_Release().
Backport candidate.
Walter Dörwald [Thu, 21 Apr 2005 21:53:43 +0000 (21:53 +0000)]
Backport checkin (and the appropriate fix to the test):
If the data read from the bytestream in readline() ends in a '\r' read one more
byte, even if the user has passed a size parameter. This extra byte shouldn't
cause a buffer overflow in the tokenizer. The original plan was to return a line
ending in '\r', which might be recognizable as a complete line and skip any '\n'
that was read afterwards. Unfortunately this didn't work, as the tokenizer only
recognizes '\n' as line ends, which in turn lead to joined lines and
SyntaxErrors, so this special treatment of a split '\r\n' has been dropped. (It
can only happen with a temporarily exhausted bytestream now anyway.)
Fixes parts of SF bugs #
1163244 and #
1175396 .
Raymond Hettinger [Tue, 19 Apr 2005 04:31:38 +0000 (04:31 +0000)]
Correct swapped descriptions of empty string splits.
Jack Jansen [Sun, 17 Apr 2005 21:31:58 +0000 (21:31 +0000)]
Backport:
Updated to work with current Python docs setup, and added a minimal README.