Commit Graph

36045 Commits

Author SHA1 Message Date
Andrew M. Kuchling 60775f29de [Patch #827559 from Chris Gonnerman] Make SimpleHTTPServer redirect when a directory URL is missing the trailing slash; this lets relative links work. 2006-12-22 19:08:41 +00:00
Andrew M. Kuchling bbad84b41a [Bug #737202; fix from Titus Brown] Make CGIHTTPServer work for scripts in sub-directories 2006-12-22 13:28:43 +00:00
Thomas Heller 28cfe299be Fix wrong markup of an argument in a method signature.
Backported from trunk.
2006-12-21 18:31:36 +00:00
Andrew M. Kuchling 3bffd289b9 Mention the os.SEEK_* constants 2006-12-21 13:41:46 +00:00
Andrew M. Kuchling a9b9ae4678 [Bug #1619680] in_dll() arguments are documented in the wrong order 2006-12-20 20:20:56 +00:00
Andrew M. Kuchling 2a927915cb Backport doc changes from rev. 53112, 53115: use 'iterable' in various
places instead of 'sequence'.
2006-12-20 20:15:08 +00:00
Andrew M. Kuchling 96e60652fa Two grammar fixes 2006-12-20 19:58:18 +00:00
Raymond Hettinger 5425a67331 Bug #1590891: random.randrange don't return correct value for big number 2006-12-20 07:43:59 +00:00
Vinay Sajip e65f14fcc3 Updated documentation for findCaller() to indicate that a 3-tuple is now returned, rather than a 2-tuple. 2006-12-19 18:31:22 +00:00
Andrew M. Kuchling df6994db84 [Patch #1600491 from Jim Jewett] Describe how to build help files on Windows 2006-12-19 15:19:14 +00:00
Andrew M. Kuchling fcb7513fc9 Add NEWS item 2006-12-19 15:13:44 +00:00
Andrew M. Kuchling 0faf90acc4 [Patch #1617413 from Dug Song] Fix HTTP Basic authentication via HTTPS 2006-12-19 15:12:23 +00:00
Andrew M. Kuchling e6acc8718c Add forgotten NEWS item for previous commit 2006-12-18 20:27:30 +00:00
Andrew M. Kuchling 9333ce189f [Patch #1615868 by Lars Gustaebel] Use Py_off_t to fix BZ2File.seek() for offsets > 2Gb 2006-12-18 19:26:13 +00:00
Andrew M. Kuchling aa4135a45e [Bug #1618083] Add missing word; make a few grammar fixes 2006-12-18 17:13:10 +00:00
Andrew M. Kuchling a75d31619c [Patch #1599256 from David Watson] check that os.fsync is available before using it 2006-12-14 18:59:07 +00:00
Vinay Sajip 4d7ad63210 Stripped whitespace from comma-separated values read from config file 2006-12-14 08:41:39 +00:00
Georg Brandl 9e2423ae8f Move errno imports back to individual functions.
(backport from rev. 52996)
2006-12-11 07:56:43 +00:00
Matthias Klose f877b25008 - Fix the build of the library reference in info format. 2006-12-09 12:13:02 +00:00
Georg Brandl 2bcf0154d5 Patch #1608267: fix a race condition in os.makedirs() is the directory
to be created is already there.
 (backport from rev. 52972)
2006-12-09 09:10:18 +00:00
Georg Brandl ed8f294f43 #1577756: svnversion doesn't react to LANG=C, use LC_ALL=C to force
English output.
 (backport from rev. 52970)
2006-12-08 20:46:13 +00:00
Thomas Heller db386544ed Print the results of ctypes.util.find_library("c") and
ctypes.util.find_library("m") so that we can see if it works on the
buildbots.
2006-12-08 20:44:19 +00:00
Raymond Hettinger 775ebe29a5 Backport fixes to set objects:
rev 52964 sf 1576657 KeyError unpacks tuple arguments
rev 52963 sf 1456209 obscure resizing vulnerability
rev 52962 redundant calls to PyObject_Hash()
2006-12-08 18:12:24 +00:00
Georg Brandl ec46940f3b RFE #1592899: mention string.maketrans() in docs for str.translate,
remove reference to the old regex module in the former's doc.
 (backport from rev. 52951)
2006-12-07 09:30:11 +00:00
Georg Brandl 25f58f6b5a Patch #1610437: fix a tarfile bug with long filename headers.
(backport from rev. 52938)
2006-12-06 22:21:23 +00:00
George Yoshida 19d12d4cea Fix pickle doc typo
Patch #1608758
(backport from r52917)
2006-12-05 05:40:57 +00:00
Matthias Klose fa713e18f6 - Fix build failure on kfreebsd and on the hurd. 2006-12-03 17:13:54 +00:00
Martin v. Löwis 95b744cea9 Patch #1544279: Improve thread-safety of the socket module by moving
the sock_addr_t storage out of the socket object.
2006-12-03 11:24:00 +00:00
Raymond Hettinger 1c305dbf97 Fix nit in comment. 2006-12-02 01:57:21 +00:00
Armin Rigo 1bc1ab23d3 Backport of r52862. 2006-11-29 22:07:38 +00:00
Thomas Heller 84a90cade5 Fix #1563807: _ctypes built on AIX fails with ld ffi error.
The contents of ffi_darwin.c must be compiled unless __APPLE__ is
defined and __ppc__ is not.

Backport from trunk.
2006-11-28 20:43:11 +00:00
Georg Brandl 425e2d15c5 Bug #1603789: grammatical error in Tkinter docs.
(backport from rev. 52850)
2006-11-27 18:46:47 +00:00
Georg Brandl 2286441a81 Bug #1603321: make pstats.Stats accept Unicode file paths.
(backport from rev. 52845)
2006-11-26 19:27:51 +00:00
Martin v. Löwis 9147f7ed8b Disable _XOPEN_SOURCE on NetBSD 1.x. 2006-11-25 15:39:28 +00:00
Thomas Heller 558e56d599 Fix bug #1598620: A ctypes structure cannot contain itself.
Backport from trunk.
2006-11-24 19:00:39 +00:00
Georg Brandl 0c55236d39 Bug #1601630: little improvement to getopt docs
(backport from rev. 52833)
2006-11-23 09:55:10 +00:00
Walter Dörwald 9ff1d39402 Backport checkin:
Change decode() so that it works with a buffer (i.e. unicode(..., 'utf-8-sig'))
SF bug #1601501.
2006-11-23 05:06:31 +00:00
Martin v. Löwis 2396f4c3b1 Conditionalize definition of _CRT_SECURE_NO_DEPRECATE
and _CRT_NONSTDC_NO_DEPRECATE.
2006-11-21 18:21:34 +00:00
Neal Norwitz 6a3955e99d Fix SF #1599879, socket.gethostname should ref getfqdn directly. 2006-11-21 06:25:09 +00:00
Neal Norwitz 88b5d2bf30 Oops, convert tabs to spaces 2006-11-21 05:49:41 +00:00
Neal Norwitz 5890a6a8a6 Backport of 52811:
Bug #1599782: Fix segfault on bsddb.db.DB().type().

The problem is that _DB_get_type() can't be called without the GIL
because it calls a bunch of PyErr_* APIs when an error occurs.
There were no other cases in this file that it was called without the GIL.
Removing the BEGIN/END THREAD around _DB_get_type() made everything work.
2006-11-21 05:29:34 +00:00
Andrew M. Kuchling bb4e6dcff5 Jython compatibility fix: if uu.decode() opened its output file, be sure to
close it.
2006-11-20 13:39:57 +00:00
Andrew M. Kuchling 90e23c4769 Add extra SHA tests 2006-11-20 13:31:09 +00:00
Martin v. Löwis 0e64202fd7 Patch #1472877: Fix Tix subwidget name resolution. 2006-11-18 18:42:22 +00:00
Martin v. Löwis e350c840b3 Patch #1594554: Always close a tkSimpleDialog on ok(), even
if an exception occurs.
2006-11-18 18:05:57 +00:00
Martin v. Löwis ce9212f018 Patch #1538878: Don't make tkSimpleDialog dialogs transient if
the parent window is withdrawn. This mirrors what dialog.tcl
does.
2006-11-18 18:00:34 +00:00
Andrew M. Kuchling 830358af09 Remove locking of individual message files in MH.pack().
[Backport of rev52776 from the trunk.]
2006-11-17 16:16:28 +00:00
Georg Brandl dd3bffb679 Bug #1588217: don't parse "= " as a soft line break in binascii's
a2b_qp() function, instead leave it in the string as quopri.decode()
does.
 (backport from rev. 52765)
2006-11-16 17:08:48 +00:00
Georg Brandl 7563191cf6 Bug #1597576: mention that the new base64 api has been introduced in py2.4.
(backport from rev. 52762)
2006-11-16 15:05:19 +00:00
Georg Brandl fb4da1d7ca Bug #1594809: add a note to README regarding PYTHONPATH and make install.
(backport from rev. 52754)
2006-11-15 17:42:07 +00:00