Commit graph

36306 commits

Author SHA1 Message Date
Lars Gustäbel
a9bad98e3d TarFile.__init__() no longer fails if no name argument is passed and
the fileobj argument has no usable name attribute (e.g. StringIO).

(backported from r57616)
2007-08-28 12:33:15 +00:00
Skip Montanaro
1ab6a25401 Backport this change to get test_sqlite working on Macs. Same change Thomas
made to the trunk awhile ago I believe.
2007-08-27 03:00:59 +00:00
Georg Brandl
906f735bb0 Bug #1010: docs url points to SF.net, now points to bugs.python.org. 2007-08-24 17:20:41 +00:00
Georg Brandl
8e3315d5ae Bug #1765375: fix stripping of unwanted LDFLAGS.
(backport from rev. 57389)
2007-08-24 11:48:37 +00:00
Gregory P. Smith
79af4affd9 On systems with both the ancient bsddb 1.85 library and a recent BerkeleyDB 4.x
library installed both were detected so both modules were enabled.  But the include
path causes the recent BerkeleyDB's db.h file to be included causing the bsddb185
compile to fail.  This disables building bsddb185 when both are present.
2007-08-24 05:38:31 +00:00
Gregory P. Smith
838c33268b backport of r57378 to fix bug 1725856 2007-08-24 05:26:15 +00:00
Georg Brandl
eec47f3556 Backport fix of #1752175. 2007-08-23 18:08:33 +00:00
Georg Brandl
7d108b8806 Bug #1766421: "return code" vs. "status code". 2007-08-23 17:57:53 +00:00
Gregory P. Smith
e468ada1e6 Back port of r57286 from py3k and trunk
------------------------------------------------------------------------
  r57286 | gregory.p.smith | 2007-08-22 14:32:34 -0700 (Wed, 22 Aug 2007) | 3 lines

  stop leaving log.0000001 __db.00* and xxx.db turds in developer
  sandboxes when bsddb3 tests are run.
2007-08-23 05:05:12 +00:00
Neal Norwitz
b354e3d915 Fix a typo in a comment 2007-08-21 04:55:11 +00:00
Matthias Klose
2da880a21c - mark the findCaller 2-element tuple/3-element tuple change as new in 2.4 2007-08-16 12:00:56 +00:00
Georg Brandl
f2944600bd Fix #1771558 (already fixed in trunk). 2007-08-10 17:29:51 +00:00
Georg Brandl
de469d6e91 Fix compilation warning.
(backport from rev. 56833)
2007-08-08 13:50:04 +00:00
Georg Brandl
eb4b738963 Revert the fix for #1548891, it broke backwards compatibility with arbitrary read buffers.
Fixes #1730114.
 (backport from rev. 56830)
2007-08-08 13:03:45 +00:00
Georg Brandl
e51d1d11f0 Bug #1769002: fix a now-wrong sentence in the tutorial.
(backport from rev. 56797)
2007-08-07 07:13:27 +00:00
Hye-Shik Chang
36fe3c0a84 Backport from trunk r56727:
Fix gb18030 codec's bug that doesn't map two-byte characters on
GB18030 extension in encoding. (bug reported by Bjorn Stabell)
2007-08-04 04:15:04 +00:00
Matthias Klose
979f5cd3e0 - Allow Emacs 22 for building the documentation in info format. 2007-08-02 21:28:57 +00:00
Martin v. Löwis
858c80968a Define _BSD_SOURCE, to get access to POSIX extensions on OpenBSD 4.1+. 2007-07-31 19:54:20 +00:00
Georg Brandl
b4d100cf2d Bug #1763149: use proper slice syntax in docstring.
(backport)
2007-07-29 17:37:22 +00:00
Georg Brandl
00247d85bd try-except-finally is new in 2.5.
(backport from rev. 56614)
2007-07-29 09:11:19 +00:00
Georg Brandl
22c1525f46 Clarify PEP 343 description.
(backport from rev. 56611)
2007-07-29 08:26:15 +00:00
Martin v. Löwis
bd28ca65d6 Bug #1704793: Raise KeyError if unicodedata.lookup cannot
represent the result in a single character.
2007-07-28 07:01:43 +00:00
Ronald Oussoren
0e258c5ea5 Mac Buildscript:
- be more strict about the build environment
- update some 3th party libraries
2007-07-26 21:39:36 +00:00
Georg Brandl
77dff905ba tabs, newlines and crs are valid XML characters.
(backport from rev. 56551)
2007-07-26 09:36:28 +00:00
Martin v. Löwis
088277f290 Change location of the package index to pypi.python.org/pypi. 2007-07-25 16:24:08 +00:00
Georg Brandl
44cb859cb7 Add description for wave.setcomptype() values
(backport from rev. 56451)
2007-07-18 22:36:55 +00:00
Andrew M. Kuchling
6ecd4a0535 [Backport of r56382]
Avoid exception if there's a stray directory inside a Maildir folder.

The Maildir specification doesn't seem to say anything about this
situation, and it can happen if you're keeping a Maildir mailbox in
Subversion (.svn directories) or some similar system.  The patch just
ignores directories in the cur/, new/, tmp/ folders.
2007-07-14 22:06:30 +00:00
Andrew M. Kuchling
0336870720 Typo fix 2007-07-14 20:58:23 +00:00
Georg Brandl
f2d40f744e Clarify webbrowser.open description.
(backport from rev. 56366)
2007-07-14 17:32:47 +00:00
Georg Brandl
f09060e62f Bug #1753406: missing \versionadded for subprocess.check_call.
(backport from rev. 56364)
2007-07-14 17:12:27 +00:00
Raymond Hettinger
f4d9caed03 Backport 56345 2007-07-14 11:31:35 +00:00
Barry Warsaw
9c2d4deec3 In response to this SF bug:
[ 1752723 ] email.message_from_string: initial line gets discarded

I added a test to assert that when the first line of text passed to
message_from_string() contains a leading space, the message ends up with the
appropriate FirstHeaderLineIsContinuationDefect on its defects list.

The bug is invalid.
2007-07-13 21:20:38 +00:00
Thomas Heller
2b78594b1f PyType_stgdict() returns a borrowed reference which must not be
Py_DECREF'd.
2007-07-13 19:52:41 +00:00
Thomas Heller
8b6a17bdeb News entry for
Fix for SF# 1649098: avoid zero-sized array declaration in structure.
2007-07-13 17:36:01 +00:00
Thomas Heller
f9a8544567 Fix for SF# 1649098: avoid zero-sized array declaration in structure. 2007-07-13 17:33:13 +00:00
Thomas Heller
6f4155d1de Fix for SF# 1701409: segfault in c_char_p of ctypes. The repr output
of c_char_p and c_wchar_p has changed as a sideeffect.
2007-07-13 17:07:55 +00:00
Georg Brandl
78d59d65c7 Bug #1637365: add subsection about "__name__ == __main__" to the
Python tutorial.
 (backport from rev. 56306)
2007-07-12 09:37:53 +00:00
Georg Brandl
f36e6a1a83 Patch #1731659: improve time.strptime docs.
(backport from rev. 56302)
2007-07-12 09:06:43 +00:00
Georg Brandl
c5db923994 Patch #1673759: add a missing overflow check when formatting floats
with %G.
 (backport from rev. 56298)
2007-07-12 08:38:04 +00:00
Georg Brandl
fea72f7c10 Patch #1739696: use code.co_code only if really necessary
(backport from rev. 56296)
2007-07-12 08:11:32 +00:00
Georg Brandl
40df67f704 Patch #1752270, #1750931: complain if urllib2 add_handler called
without handler.
 (backport from rev. 56293)
2007-07-12 08:05:48 +00:00
Georg Brandl
ad4b263ba7 Fix #1752132: wrong comment in opcode description.
(backport from rev. 56280)
2007-07-11 19:41:53 +00:00
Ronald Oussoren
c0f800dc8b Patch 1673122: be explicit about which libtool to use, to avoid name clashes
when a users install GNU libtool early in his PATH
2007-07-09 08:40:34 +00:00
Ronald Oussoren
47f29a67e5 Patch 1693258: Fix for duplicate "preferences" menu-OS X
Backport of 56204.
2007-07-09 06:03:47 +00:00
Ronald Oussoren
43f1f68b7c Fixes IDLE crash on OSX: some versions of Tcl/Tk on OSX don't have a
console object, avoid crashing in that case.
2007-07-09 05:46:04 +00:00
Georg Brandl
a1d47f0e89 Remove duplicate sentence from alarm() doc.
(backport from rev. 56143)
2007-07-02 11:54:30 +00:00
Georg Brandl
511087b035 Fix a few webbrowser.py problems.
(backport from rev. 56137)
2007-07-01 08:11:40 +00:00
Georg Brandl
1d1e950289 Document smtp.SMTPAuthenticationError.
(backport from rev. 56129)
2007-06-30 11:01:05 +00:00
Georg Brandl
adfd13e00b Fix a variable name in winreg docs.
(backport from rev. 56091)
2007-06-27 14:09:59 +00:00
Georg Brandl
4508df2c72 Bug #1742901: document None behavior of shlex.split.
(backport from rev. 56084)
2007-06-25 15:21:26 +00:00