Commit Graph

36449 Commits

Author SHA1 Message Date
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
Georg Brandl 5a5adf3a86 Bug #1739115: make shutil.rmtree docs clear wrt. file deletion.
(backport from rev. 56040)
2007-06-19 12:38:26 +00:00
Georg Brandl 03210e5741 Bug #1737864: allow empty message in logging format routines.
(backport from rev. 56038)
2007-06-19 12:36:06 +00:00
Neal Norwitz ea84b8105a SF #1738670, make example in doc work 2007-06-17 18:49:42 +00:00
Georg Brandl 15eb97b14d Add missing \versionadded.
(backport from rev. 56006)
2007-06-16 17:10:26 +00:00
Thomas Heller 59fc24403d Merged revisions 55896 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk/Modules/_ctypes

........
  r55896 | thomas.heller | 2007-06-11 17:58:33 +0200 (Mo, 11 Jun 2007) | 3 lines

  Use "O&" in calls to PyArg_Parse when we need a 'void*' instead of "k"
  or "K" codes.
........
2007-06-15 17:10:41 +00:00
Martin v. Löwis d3d80f3cd1 Patch #1734014: Use _I64_MAX instead of LLONG_MAX. 2007-06-14 20:47:15 +00:00
Martin v. Löwis 7d18356db7 Provide PY_LLONG_MAX on all systems having long long. 2007-06-13 03:42:55 +00:00