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
Neal Norwitz
e99cb23e71
Backport 55887:
...
Bug #1734723 : Fix repr.Repr() so it doesn't ignore the maxtuple attribute.
2007-06-11 07:34:07 +00:00
Neal Norwitz
bb56e2a558
Backport 55882: SF #1734732 , lower case the module names per PEP 8.
2007-06-11 05:36:48 +00:00
Neal Norwitz
8355dd5806
Backport 55874:
...
Fix a bug when there was a newline in the string expandtabs was called on.
This also catches another condition that can overflow.
2007-06-11 04:32:41 +00:00
Neal Norwitz
11c5275c61
Backport 55873:
...
Prevent these tests from running on Win64 since they don't apply there either
2007-06-11 04:31:25 +00:00
Martin v. Löwis
390240d0b1
Backport r55845: Provide LLONG_MAX for S390.
2007-06-09 12:57:46 +00:00
Martin v. Löwis
2276885acd
Patch #1733960 : Allow T_LONGLONG to accept ints.
2007-06-09 08:01:33 +00:00
Neal Norwitz
66e64e2b6a
Prevent expandtabs() on string and unicode objects from causing a segfault when
...
a large width is passed on 32-bit platforms. Found by Google.
It would be good for people to review this especially carefully and verify
I don't have an off by one error and there is no other way to cause overflow.
2007-06-09 04:06:30 +00:00
Thomas Heller
11c58c4c8d
Merged revisions 55129-55131 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk/Lib/ctypes
........
r55129 | thomas.heller | 2007-05-04 21:54:22 +0200 (Fr, 04 Mai 2007) | 3 lines
Do not truncate 64-bit pointers to 32-bit integers.
Fixes SF #1703286 , will backport to release25-maint.
........
r55131 | thomas.heller | 2007-05-04 21:56:32 +0200 (Fr, 04 Mai 2007) | 1 line
Oops, these tests do not run on Windows CE.
........
2007-06-08 19:39:31 +00:00
Thomas Heller
bc9e5dcf88
Fix wrong documentation, and correct the punktuation.
...
Closes [1700455].
Backported from trunk.
2007-06-08 19:19:24 +00:00
Martin v. Löwis
897704d1dd
Bug #1733488 : Fix compilation of bufferobject.c on AIX.
2007-06-08 17:29:40 +00:00
Kristján Valur Jónsson
b11197045a
backport change 55821 to release25-maint
2007-06-07 23:56:18 +00:00
Georg Brandl
d2acc2e9c5
Patch #1667860 : Fix UnboundLocalError in urllib2.
...
(backport from rev. 55805)
2007-06-07 13:34:41 +00:00
Georg Brandl
73c958aced
Disallow function calls like foo(None=1).
...
Backport from py3k rev. 55708 by Guido.
(backport from rev. 55802)
2007-06-07 13:23:28 +00:00
Georg Brandl
c98da3d811
Backport rev. 55783:
...
Patch by Tim Delany (missing DECREF). SF #1731330 .
2007-06-05 22:06:28 +00:00
Hye-Shik Chang
fc41f199ba
Fix for Windows: close a temporary file before trying to delete it.
2007-06-05 19:28:15 +00:00
Hye-Shik Chang
60111e09a9
(Backport from r55770)
...
Bug #1728403 : Fix a bug that CJKCodecs StreamReader hangs when it
reads a file that ends with incomplete sequence and sizehint argument
for .read() is specified.
2007-06-05 19:14:33 +00:00
Brett Cannon
c9490e2fe9
Backport of r55752: make time.strptime() behave better when whitespace is in
...
the format arguments.
2007-06-04 00:14:06 +00:00
Neal Norwitz
2413e038c4
Backport 55731:
...
SF 1668596/1720897: distutils now copies data files
even if package_dir is empty.
2007-06-02 18:53:07 +00:00
Georg Brandl
2e23bb7545
Fix wrong issue number.
...
(backport from rev. 55735)
2007-06-01 19:20:52 +00:00
Georg Brandl
ba871a06fb
Bug #1722484 : remove docstrings again when running with -OO.
...
(backport from rev. 55732)
2007-06-01 11:33:45 +00:00
Thomas Heller
b40092bf98
Merged revisions 55677 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk/Lib/ctypes
........
r55677 | thomas.heller | 2007-05-30 09:01:25 +0200 (Mi, 30 Mai 2007) | 2 lines
Correct the name of a field in the WIN32_FIND_DATAA and WIN32_FIND_DATAW structures.
Closes bug #1726026 .
........
2007-05-30 07:07:34 +00:00
Vinay Sajip
8c6ec81ac8
Updated docstring for SysLogHandler ( #1720726 ).
2007-05-25 07:27:30 +00:00
Vinay Sajip
425c614b6e
Updated documentation for SysLogHandler ( #1720726 ).
2007-05-25 07:21:19 +00:00
Neal Norwitz
35cff5ff75
Document "new" params to HTTPConnection/HTTPSConnection
2007-05-22 06:09:24 +00:00
Georg Brandl
13703087ba
Backport rev 55465 by Nick Coghlan.
2007-05-20 15:03:06 +00:00
Neal Norwitz
df73802131
Backout the original 'fix' to 1721309 which had no effect.
...
Different versions of Berkeley DB handle this differently.
The comments and bug report should have the details. Memory is allocated
in 4.4 (and presumably earlier), but not in 4.5. Thus
4.5 has the free error, but not earlier versions.
Mostly update comments, plus make the free conditional.
2007-05-20 02:14:48 +00:00
Neal Norwitz
73bf1018d6
Backport rev 55452:
...
Whoops, need to pay attention to those test failures.
Move the clear to *before* the first use, not after.
2007-05-19 04:37:31 +00:00
Neal Norwitz
f86ae691d3
Backport rev 55450:
...
SF bug #1721309 : Clear data so random memory does not get freed.
2007-05-19 03:53:33 +00:00
Neal Norwitz
cf0fab2686
Verify neither dumps or loads overflow the stack and segfault.
2007-05-18 05:45:33 +00:00
Neal Norwitz
ce15dce421
Drop the max stack depth to something that works in 2.6
2007-05-18 05:12:22 +00:00
Fred Drake
2cb077a8c1
fix argument name in documentation; match the implementation
2007-05-17 19:29:43 +00:00
Neal Norwitz
dc78cc6f7c
Fix bug in marshal where bad data would cause a segfault due to
...
lack of an infinite recursion check.
Contributed by Damien Miller at Google.
2007-05-16 20:09:36 +00:00
Georg Brandl
4043a6bbd6
Bug #1719995 : don't use deprecated method in sets example.
...
(backport from rev. 55383)
2007-05-16 13:44:25 +00:00
Neal Norwitz
5ece2fb0d1
Add what looks like a necessary call to PyErr_NoMemory() when PyMem_MALLOC()
...
fails.
2007-05-16 04:35:11 +00:00
Georg Brandl
4c87581c32
HTML-escape the plain traceback in cgitb's HTML output, to prevent
...
the traceback inadvertently or maliciously closing the comment and
injecting HTML into the error page.
(backport from rev. 55348)
2007-05-15 20:19:39 +00:00
Georg Brandl
0d338e4bc6
Bug #1046945 : document SWIG options of distutils.
...
(backport from rev. 55287)
2007-05-12 21:06:51 +00:00
Georg Brandl
39d8cc7422
Update DDJ link.
...
(backport from rev. 55259)
2007-05-11 11:44:00 +00:00
Georg Brandl
5a25e45d3a
Patch #1714700 : clarify os.linesep vs. tfiles opened in text mode.
...
(backport)
2007-05-11 11:03:46 +00:00
Neal Norwitz
914c98bfe3
Fix typo in docstring (the module is popen2, not 3).
2007-05-11 06:23:43 +00:00
Thomas Heller
e4b5c331fc
Mark blocked revisions.
2007-05-10 07:19:16 +00:00