]>
granicus.if.org Git - python/log
Neal Norwitz [Fri, 5 Oct 2007 05:05:24 +0000 (05:05 +0000)]
Backport 58332: Fix Coverity #159.
This code was broken if save() returned a negative number since i contained
a boolean value and then we compared i < 0 which should never be true.
Neal Norwitz [Fri, 5 Oct 2007 03:45:42 +0000 (03:45 +0000)]
Backport 58330:
Fix Coverity #158: Check the correct variable.
Fred Drake [Fri, 5 Oct 2007 03:12:00 +0000 (03:12 +0000)]
move descriptions of ac_(in|out)_buffer_size to the right place
http://bugs.python.org/issue1053
Georg Brandl [Mon, 24 Sep 2007 17:58:18 +0000 (17:58 +0000)]
#1196: document default radix for int().
Georg Brandl [Mon, 24 Sep 2007 17:56:12 +0000 (17:56 +0000)]
Fix -- being converted to - in HTML. #1186.
Georg Brandl [Wed, 19 Sep 2007 06:37:26 +0000 (06:37 +0000)]
Fix #1169: remove docstrings in functions for -OO.
(backport from rev. 58204)
Sean Reifscheider [Tue, 18 Sep 2007 23:38:15 +0000 (23:38 +0000)]
issue1172: Documentation of "done" attribute in cgi module.
Sean Reifscheider [Mon, 17 Sep 2007 20:58:46 +0000 (20:58 +0000)]
issue1082: Fixing system and platform names for Vista.
Sean Reifscheider [Mon, 17 Sep 2007 09:43:11 +0000 (09:43 +0000)]
issue1140: Guido's patch from revision 58098 (2.6) applied to 2.5.
Sean Reifscheider [Mon, 17 Sep 2007 05:45:20 +0000 (05:45 +0000)]
issue1597011: Fix for bz2 module corner-case error due to error checking bug.
Thomas Heller [Fri, 14 Sep 2007 20:05:26 +0000 (20:05 +0000)]
ctypes.util.find_library uses dump(1) instead of objdump(1) on Solaris.
Fixes issue #
1777530 ; backported from trunk.
Martin v. Löwis [Fri, 14 Sep 2007 07:02:51 +0000 (07:02 +0000)]
Backport 58150: Rename debug import lib to _msi_d.lib.
Martin v. Löwis [Fri, 14 Sep 2007 07:01:59 +0000 (07:01 +0000)]
Backport r58149: Clean Release projects as well.
Martin v. Löwis [Thu, 13 Sep 2007 18:26:13 +0000 (18:26 +0000)]
Add 2.5 MSI builder.
Georg Brandl [Wed, 12 Sep 2007 19:00:10 +0000 (19:00 +0000)]
Bug #1153: repr.repr() now doesn't require set and dictionary items
to be orderable to properly represent them.
(backport from rev. 58122)
Georg Brandl [Wed, 12 Sep 2007 18:29:21 +0000 (18:29 +0000)]
bug #1154: release memory allocated by "es" PyArg_ParseTuple format specifier.
(backport from rev. 58119)
Georg Brandl [Wed, 12 Sep 2007 18:11:03 +0000 (18:11 +0000)]
Fix #1139: PyFile_Encoding really is PyFile_SetEncoding.
(backport from rev. 58117).
Georg Brandl [Wed, 12 Sep 2007 18:08:54 +0000 (18:08 +0000)]
Fix #1122: wrong return type documented for various _Size() functions.
(backport from rev. 58115).
Brett Cannon [Tue, 11 Sep 2007 21:12:14 +0000 (21:12 +0000)]
Cause passing a string to generator.throw() to raise a deprecation warning.
Georg Brandl [Fri, 7 Sep 2007 20:12:59 +0000 (20:12 +0000)]
Backport: #1095: ln -f doesn't work portably.
Gregory P. Smith [Thu, 6 Sep 2007 23:01:32 +0000 (23:01 +0000)]
backport of r58023 to fix unit test suite issue1112 on windows
Thomas Heller [Thu, 6 Sep 2007 20:26:03 +0000 (20:26 +0000)]
Fix typo: c_float represents to C float type.
Armin Rigo [Thu, 6 Sep 2007 08:35:34 +0000 (08:35 +0000)]
Backport of r58004.
Martin v. Löwis [Wed, 5 Sep 2007 11:47:22 +0000 (11:47 +0000)]
Patch #786737: Allow building in a tree of symlinks pointing to
a readonly source.
Matthias Klose [Wed, 5 Sep 2007 06:45:57 +0000 (06:45 +0000)]
- Makefile.pre.in(buildbottest): Run an optional script pybuildbot.identify
to include some information about the build environment.
Martin v. Löwis [Wed, 5 Sep 2007 06:39:02 +0000 (06:39 +0000)]
Patch #1105: Explain that one needs to build the solution
to get dependencies right.
Matthias Klose [Tue, 4 Sep 2007 23:47:16 +0000 (23:47 +0000)]
- Fix libffi configure for hppa*-*-linux* | parisc*-*-linux*.
Martin v. Löwis [Tue, 4 Sep 2007 14:20:25 +0000 (14:20 +0000)]
Patch #
1031213 : Decode source line in SyntaxErrors back to its original
source encoding.
Matthias Klose [Mon, 3 Sep 2007 22:13:48 +0000 (22:13 +0000)]
- Added support for linking the bsddb module against BerkeleyDB 4.6.x.
Ronald Oussoren [Sun, 2 Sep 2007 09:48:20 +0000 (09:48 +0000)]
Backport of rev. 57904
Martin v. Löwis [Sat, 1 Sep 2007 06:36:38 +0000 (06:36 +0000)]
Bug #
1737210 : Change Manufacturer of Windows installer to PSF.
Martin v. Löwis [Fri, 31 Aug 2007 10:00:06 +0000 (10:00 +0000)]
Mark registry components as 64-bit on Win64.
Lars Gustäbel [Thu, 30 Aug 2007 20:25:13 +0000 (20:25 +0000)]
Warn about possible risks when extracting untrusted archives.
Martin v. Löwis [Thu, 30 Aug 2007 18:58:29 +0000 (18:58 +0000)]
Bug #
1709599 : Run test_1565150 only if the file system is NTFS.
Martin v. Löwis [Thu, 30 Aug 2007 18:37:41 +0000 (18:37 +0000)]
Bug #
1746880 : Correctly install DLLs into system32 folder on Win64.
Skip Montanaro [Wed, 29 Aug 2007 01:34:15 +0000 (01:34 +0000)]
.
Skip Montanaro [Tue, 28 Aug 2007 23:26:55 +0000 (23:26 +0000)]
backport r57626
Lars Gustäbel [Tue, 28 Aug 2007 12:33:15 +0000 (12:33 +0000)]
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)
Skip Montanaro [Mon, 27 Aug 2007 03:00:59 +0000 (03:00 +0000)]
Backport this change to get test_sqlite working on Macs. Same change Thomas
made to the trunk awhile ago I believe.
Georg Brandl [Fri, 24 Aug 2007 17:20:41 +0000 (17:20 +0000)]
Bug #1010: docs url points to SF.net, now points to bugs.python.org.
Georg Brandl [Fri, 24 Aug 2007 11:48:37 +0000 (11:48 +0000)]
Bug #
1765375 : fix stripping of unwanted LDFLAGS.
(backport from rev. 57389)
Gregory P. Smith [Fri, 24 Aug 2007 05:38:31 +0000 (05:38 +0000)]
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.
Gregory P. Smith [Fri, 24 Aug 2007 05:26:15 +0000 (05:26 +0000)]
backport of r57378 to fix bug
1725856
Georg Brandl [Thu, 23 Aug 2007 18:08:33 +0000 (18:08 +0000)]
Backport fix of #
1752175 .
Georg Brandl [Thu, 23 Aug 2007 17:57:53 +0000 (17:57 +0000)]
Bug #
1766421 : "return code" vs. "status code".
Gregory P. Smith [Thu, 23 Aug 2007 05:05:12 +0000 (05:05 +0000)]
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.
Neal Norwitz [Tue, 21 Aug 2007 04:55:11 +0000 (04:55 +0000)]
Fix a typo in a comment
Matthias Klose [Thu, 16 Aug 2007 12:00:56 +0000 (12:00 +0000)]
- mark the findCaller 2-element tuple/3-element tuple change as new in 2.4
Georg Brandl [Fri, 10 Aug 2007 17:29:51 +0000 (17:29 +0000)]
Fix #
1771558 (already fixed in trunk).
Georg Brandl [Wed, 8 Aug 2007 13:50:04 +0000 (13:50 +0000)]
Fix compilation warning.
(backport from rev. 56833)
Georg Brandl [Wed, 8 Aug 2007 13:03:45 +0000 (13:03 +0000)]
Revert the fix for #
1548891 , it broke backwards compatibility with arbitrary read buffers.
Fixes #
1730114 .
(backport from rev. 56830)
Georg Brandl [Tue, 7 Aug 2007 07:13:27 +0000 (07:13 +0000)]
Bug #
1769002 : fix a now-wrong sentence in the tutorial.
(backport from rev. 56797)
Hye-Shik Chang [Sat, 4 Aug 2007 04:15:04 +0000 (04:15 +0000)]
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)
Matthias Klose [Thu, 2 Aug 2007 21:28:57 +0000 (21:28 +0000)]
- Allow Emacs 22 for building the documentation in info format.
Martin v. Löwis [Tue, 31 Jul 2007 19:54:20 +0000 (19:54 +0000)]
Define _BSD_SOURCE, to get access to POSIX extensions on OpenBSD 4.1+.
Georg Brandl [Sun, 29 Jul 2007 17:37:22 +0000 (17:37 +0000)]
Bug #
1763149 : use proper slice syntax in docstring.
(backport)
Georg Brandl [Sun, 29 Jul 2007 09:11:19 +0000 (09:11 +0000)]
try-except-finally is new in 2.5.
(backport from rev. 56614)
Georg Brandl [Sun, 29 Jul 2007 08:26:15 +0000 (08:26 +0000)]
Clarify PEP 343 description.
(backport from rev. 56611)
Martin v. Löwis [Sat, 28 Jul 2007 07:01:43 +0000 (07:01 +0000)]
Bug #
1704793 : Raise KeyError if unicodedata.lookup cannot
represent the result in a single character.
Ronald Oussoren [Thu, 26 Jul 2007 21:39:36 +0000 (21:39 +0000)]
Mac Buildscript:
- be more strict about the build environment
- update some 3th party libraries
Georg Brandl [Thu, 26 Jul 2007 09:36:28 +0000 (09:36 +0000)]
tabs, newlines and crs are valid XML characters.
(backport from rev. 56551)
Martin v. Löwis [Wed, 25 Jul 2007 16:24:08 +0000 (16:24 +0000)]
Change location of the package index to pypi.python.org/pypi.
Georg Brandl [Wed, 18 Jul 2007 22:36:55 +0000 (22:36 +0000)]
Add description for wave.setcomptype() values
(backport from rev. 56451)
Andrew M. Kuchling [Sat, 14 Jul 2007 22:06:30 +0000 (22:06 +0000)]
[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.
Andrew M. Kuchling [Sat, 14 Jul 2007 20:58:23 +0000 (20:58 +0000)]
Typo fix
Georg Brandl [Sat, 14 Jul 2007 17:32:47 +0000 (17:32 +0000)]
Clarify webbrowser.open description.
(backport from rev. 56366)
Georg Brandl [Sat, 14 Jul 2007 17:12:27 +0000 (17:12 +0000)]
Bug #
1753406 : missing \versionadded for subprocess.check_call.
(backport from rev. 56364)
Raymond Hettinger [Sat, 14 Jul 2007 11:31:35 +0000 (11:31 +0000)]
Backport 56345
Barry Warsaw [Fri, 13 Jul 2007 21:20:38 +0000 (21:20 +0000)]
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.
Thomas Heller [Fri, 13 Jul 2007 19:52:41 +0000 (19:52 +0000)]
PyType_stgdict() returns a borrowed reference which must not be
Py_DECREF'd.
Thomas Heller [Fri, 13 Jul 2007 17:36:01 +0000 (17:36 +0000)]
News entry for
Fix for SF#
1649098 : avoid zero-sized array declaration in structure.
Thomas Heller [Fri, 13 Jul 2007 17:33:13 +0000 (17:33 +0000)]
Fix for SF#
1649098 : avoid zero-sized array declaration in structure.
Thomas Heller [Fri, 13 Jul 2007 17:07:55 +0000 (17:07 +0000)]
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.
Georg Brandl [Thu, 12 Jul 2007 09:37:53 +0000 (09:37 +0000)]
Bug #
1637365 : add subsection about "__name__ == __main__" to the
Python tutorial.
(backport from rev. 56306)
Georg Brandl [Thu, 12 Jul 2007 09:06:43 +0000 (09:06 +0000)]
Patch #
1731659 : improve time.strptime docs.
(backport from rev. 56302)
Georg Brandl [Thu, 12 Jul 2007 08:38:04 +0000 (08:38 +0000)]
Patch #
1673759 : add a missing overflow check when formatting floats
with %G.
(backport from rev. 56298)
Georg Brandl [Thu, 12 Jul 2007 08:11:32 +0000 (08:11 +0000)]
Patch #
1739696 : use code.co_code only if really necessary
(backport from rev. 56296)
Georg Brandl [Thu, 12 Jul 2007 08:05:48 +0000 (08:05 +0000)]
Patch #
1752270 , #
1750931 : complain if urllib2 add_handler called
without handler.
(backport from rev. 56293)
Georg Brandl [Wed, 11 Jul 2007 19:41:53 +0000 (19:41 +0000)]
Fix #
1752132 : wrong comment in opcode description.
(backport from rev. 56280)
Ronald Oussoren [Mon, 9 Jul 2007 08:40:34 +0000 (08:40 +0000)]
Patch
1673122 : be explicit about which libtool to use, to avoid name clashes
when a users install GNU libtool early in his PATH
Ronald Oussoren [Mon, 9 Jul 2007 06:03:47 +0000 (06:03 +0000)]
Patch
1693258 : Fix for duplicate "preferences" menu-OS X
Backport of 56204.
Ronald Oussoren [Mon, 9 Jul 2007 05:46:04 +0000 (05:46 +0000)]
Fixes IDLE crash on OSX: some versions of Tcl/Tk on OSX don't have a
console object, avoid crashing in that case.
Georg Brandl [Mon, 2 Jul 2007 11:54:30 +0000 (11:54 +0000)]
Remove duplicate sentence from alarm() doc.
(backport from rev. 56143)
Georg Brandl [Sun, 1 Jul 2007 08:11:40 +0000 (08:11 +0000)]
Fix a few webbrowser.py problems.
(backport from rev. 56137)
Georg Brandl [Sat, 30 Jun 2007 11:01:05 +0000 (11:01 +0000)]
Document smtp.SMTPAuthenticationError.
(backport from rev. 56129)
Georg Brandl [Wed, 27 Jun 2007 14:09:59 +0000 (14:09 +0000)]
Fix a variable name in winreg docs.
(backport from rev. 56091)
Georg Brandl [Mon, 25 Jun 2007 15:21:26 +0000 (15:21 +0000)]
Bug #
1742901 : document None behavior of shlex.split.
(backport from rev. 56084)
Georg Brandl [Tue, 19 Jun 2007 12:38:26 +0000 (12:38 +0000)]
Bug #
1739115 : make shutil.rmtree docs clear wrt. file deletion.
(backport from rev. 56040)
Georg Brandl [Tue, 19 Jun 2007 12:36:06 +0000 (12:36 +0000)]
Bug #
1737864 : allow empty message in logging format routines.
(backport from rev. 56038)
Neal Norwitz [Sun, 17 Jun 2007 18:49:42 +0000 (18:49 +0000)]
SF #
1738670 , make example in doc work
Georg Brandl [Sat, 16 Jun 2007 17:10:26 +0000 (17:10 +0000)]
Add missing \versionadded.
(backport from rev. 56006)
Thomas Heller [Fri, 15 Jun 2007 17:10:41 +0000 (17:10 +0000)]
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.
........
Martin v. Löwis [Thu, 14 Jun 2007 20:47:15 +0000 (20:47 +0000)]
Patch #
1734014 : Use _I64_MAX instead of LLONG_MAX.
Martin v. Löwis [Wed, 13 Jun 2007 03:42:55 +0000 (03:42 +0000)]
Provide PY_LLONG_MAX on all systems having long long.
Neal Norwitz [Mon, 11 Jun 2007 07:34:07 +0000 (07:34 +0000)]
Backport 55887:
Bug #
1734723 : Fix repr.Repr() so it doesn't ignore the maxtuple attribute.
Neal Norwitz [Mon, 11 Jun 2007 05:36:48 +0000 (05:36 +0000)]
Backport 55882: SF #
1734732 , lower case the module names per PEP 8.
Neal Norwitz [Mon, 11 Jun 2007 04:32:41 +0000 (04:32 +0000)]
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.
Neal Norwitz [Mon, 11 Jun 2007 04:31:25 +0000 (04:31 +0000)]
Backport 55873:
Prevent these tests from running on Win64 since they don't apply there either
Martin v. Löwis [Sat, 9 Jun 2007 12:57:46 +0000 (12:57 +0000)]
Backport r55845: Provide LLONG_MAX for S390.
Martin v. Löwis [Sat, 9 Jun 2007 08:01:33 +0000 (08:01 +0000)]
Patch #
1733960 : Allow T_LONGLONG to accept ints.