]>
granicus.if.org Git - python/log
Martin v. Löwis [Sat, 20 Jan 2007 13:44:50 +0000 (13:44 +0000)]
Add /GS- flags for AMD64.
Raymond Hettinger [Fri, 19 Jan 2007 18:03:13 +0000 (18:03 +0000)]
SF#
1635892 : Fix docs for betavariate's input parameters .
Martin v. Löwis [Fri, 19 Jan 2007 18:01:16 +0000 (18:01 +0000)]
Add UUIDs for 2.5.1 and 2.5.2
Martin v. Löwis [Fri, 19 Jan 2007 06:42:33 +0000 (06:42 +0000)]
Prefix AST symbols with _Py_. Fixes #
1637022 .
Neal Norwitz [Fri, 19 Jan 2007 05:52:46 +0000 (05:52 +0000)]
SF #
1635217 , Fix unbalanced paren
Neal Norwitz [Thu, 18 Jan 2007 07:16:31 +0000 (07:16 +0000)]
Add a comment for some code I don't understand. Why would needsfree
be true if we didn't malloc the code? Seems like the code is wrong
or could use comments.
Also verify if the buildbots are working properly for the 2.5 branch.
Georg Brandl [Wed, 17 Jan 2007 21:20:01 +0000 (21:20 +0000)]
Bug #
1629125 : fix wrong data type (int -> Py_ssize_t) in PyDict_Next docs.
(backport from rev. 53477)
Georg Brandl [Wed, 17 Jan 2007 21:09:07 +0000 (21:09 +0000)]
Bug #
1637967 : missing //= operator in list.
(backport from rev. 53475)
Andrew M. Kuchling [Wed, 17 Jan 2007 19:56:06 +0000 (19:56 +0000)]
[Part of bug #
1599254 ] Add suggestion to Mailbox docs to use Maildir, and warn user to lock/unlock mailboxes when modifying them
Thomas Heller [Wed, 17 Jan 2007 19:55:40 +0000 (19:55 +0000)]
Bug #
1610795 : ctypes.util.find_library works now on BSD systems.
Thomas Heller [Wed, 17 Jan 2007 19:53:24 +0000 (19:53 +0000)]
Merged revisions 53402 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk/Lib/ctypes
........
r53402 | thomas.heller | 2007-01-12 21:17:34 +0100 (Fr, 12 Jan 2007) | 6 lines
patch #
1610795 : BSD version of ctypes.util.find_library, by Martin
Kammerhofer.
Backported from trunk.
........
Thomas Heller [Wed, 17 Jan 2007 09:53:03 +0000 (09:53 +0000)]
Merged revisions 53466 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk/Modules/_ctypes
........
r53466 | thomas.heller | 2007-01-17 10:40:34 +0100 (Mi, 17 Jan 2007) | 2 lines
Replace C++ comments with C comments.
........
Peter Astrand [Sat, 13 Jan 2007 22:37:11 +0000 (22:37 +0000)]
Fix for bug #
1634343 : allow specifying empty arguments on Windows
Thomas Heller [Fri, 12 Jan 2007 08:13:57 +0000 (08:13 +0000)]
Blocked revisions 53361 via svnmerge
........
r53361 | thomas.heller | 2007-01-10 21:51:19 +0100 (Wed, 10 Jan 2007) | 1 line
Must change the version number in the _ctypes extension as well.
........
Thomas Heller [Fri, 12 Jan 2007 08:05:28 +0000 (08:05 +0000)]
Blocked revisions 52388 via svnmerge
........
r52388 | martin.v.loewis | 2006-10-19 13:00:37 +0200 (Thu, 19 Oct 2006) | 3 lines
Fix various minor errors in passing arguments to
PyArg_ParseTuple.
........
Thomas Heller [Fri, 12 Jan 2007 08:03:54 +0000 (08:03 +0000)]
Blocked revisions 52945,53358 via svnmerge
........
r52945 | brett.cannon | 2006-12-07 00:38:48 +0100 (Thu, 07 Dec 2006) | 3 lines
Fix a bad assumption that all objects assigned to '__loader__' on a module
will have a '_files' attribute.
........
r53358 | thomas.heller | 2007-01-10 21:12:13 +0100 (Wed, 10 Jan 2007) | 1 line
Change the ctypes version number to "1.1.0".
........
Raymond Hettinger [Thu, 11 Jan 2007 18:21:04 +0000 (18:21 +0000)]
SF #
1486663 -- Allow keyword args in subclasses of set() and frozenset().
Matthias Klose [Thu, 11 Jan 2007 11:42:43 +0000 (11:42 +0000)]
- idle: Honor the "Cancel" action in the save dialog (Debian bug #299092).
Matthias Klose [Thu, 11 Jan 2007 10:25:45 +0000 (10:25 +0000)]
- Make the documentation match the code and the docstring
Thomas Heller [Wed, 10 Jan 2007 20:44:21 +0000 (20:44 +0000)]
Must update the version number on the extension module as well.
Thomas Heller [Wed, 10 Jan 2007 20:07:29 +0000 (20:07 +0000)]
Change the ctypes version number to "1.0.2".
Thomas Heller [Tue, 9 Jan 2007 19:52:31 +0000 (19:52 +0000)]
Merged revisions 53316 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk/Lib/ctypes
........
r53316 | thomas.heller | 2007-01-09 20:19:33 +0100 (Di, 09 Jan 2007) | 4 lines
Verify the sizes of the basic ctypes data types against the struct
module.
Backport from trunk.
........
Raymond Hettinger [Mon, 8 Jan 2007 18:05:53 +0000 (18:05 +0000)]
Fix zero-length corner case for iterating over a mutating deque.
Vinay Sajip [Mon, 8 Jan 2007 10:12:29 +0000 (10:12 +0000)]
Backported changes from trunk:
Made func argument in LogRecord.__init__ optional.
Improved performance of _fixupChildren.
Vinay Sajip [Mon, 8 Jan 2007 10:11:58 +0000 (10:11 +0000)]
Backported change from trunk:
Made SysLogHandler more resilient in the face of syslogd failures.
Vinay Sajip [Mon, 8 Jan 2007 09:36:17 +0000 (09:36 +0000)]
Added relativeCreated to Formatter doc (has been in the system for a long time - was unaccountably left out of the docs and not noticed until now).
Documentation clarified to mention optional parameters.
Documentation omitted the additional parameter to LogRecord.__init__ which was added in 2.5. (See SF #
1569622 ).
Peter Astrand [Sun, 7 Jan 2007 09:00:11 +0000 (09:00 +0000)]
Re-implemented fix for #
1531862 once again, in a way that works with Python 2.2. Fixes bug #
1603424 .
Anthony Baxter [Sat, 6 Jan 2007 04:50:44 +0000 (04:50 +0000)]
update to (c) years to include 2007
Thomas Heller [Fri, 5 Jan 2007 20:21:59 +0000 (20:21 +0000)]
Revisions 52418,52841,52855 have already been merged.
Thomas Heller [Fri, 5 Jan 2007 19:59:21 +0000 (19:59 +0000)]
Blocked revisions 52945 via svnmerge
........
r52945 | brett.cannon | 2006-12-07 00:38:48 +0100 (Thu, 07 Dec 2006) | 3 lines
Fix a bad assumption that all objects assigned to '__loader__' on a module
will have a '_files' attribute.
........
Thomas Heller [Fri, 5 Jan 2007 19:35:13 +0000 (19:35 +0000)]
Mark changes already backported as merged, so "svnmerge avail" does
not list them any longer.
Thomas Heller [Fri, 5 Jan 2007 19:24:12 +0000 (19:24 +0000)]
Initialized merge tracking via "svnmerge" with revisions "1-51333" from
svn+ssh://pythondev@svn.python.org/python/trunk/Lib/ctypes
Andrew M. Kuchling [Fri, 5 Jan 2007 14:24:36 +0000 (14:24 +0000)]
[Bug #
1622533 ] Make docstrings raw strings because they contain control characters (\0, \1)
Gregory P. Smith [Fri, 5 Jan 2007 07:22:29 +0000 (07:22 +0000)]
typo fix
Neal Norwitz [Fri, 5 Jan 2007 05:28:50 +0000 (05:28 +0000)]
Backport:
Prevent crash on shutdown which can occur if we are finalizing
and the module dict has been cleared already and some object
raises a warning (like in a __del__).
Gregory P. Smith [Fri, 5 Jan 2007 02:09:06 +0000 (02:09 +0000)]
support linking the _bsddb extension module against BerkeleyDB 4.5
[backport of r53252]
Martin v. Löwis [Thu, 4 Jan 2007 21:06:57 +0000 (21:06 +0000)]
Bug #
1566280 : Explicitly invoke threading._shutdown from Py_Main,
to avoid relying on atexit.
Raymond Hettinger [Thu, 4 Jan 2007 17:53:16 +0000 (17:53 +0000)]
Fix stability of heapq's nlargest() and nsmallest().
Neal Norwitz [Thu, 4 Jan 2007 06:26:22 +0000 (06:26 +0000)]
SF #
1627373 , fix typo in CarbonEvt.
Raymond Hettinger [Fri, 29 Dec 2006 18:49:13 +0000 (18:49 +0000)]
For sets with cyclical reprs, emit '...' instead of recursing.
Thomas Wouters [Fri, 29 Dec 2006 14:42:17 +0000 (14:42 +0000)]
Backport trunk checkin r51565:
Fix SF bug #
1545837 : array.array borks on deepcopy. array.__deepcopy__()
needs to take an argument, even if it doesn't actually use it.
Neal Norwitz [Fri, 29 Dec 2006 03:01:06 +0000 (03:01 +0000)]
SF bug #
1623890 , fix argument name in docstring
Neal Norwitz [Thu, 28 Dec 2006 04:39:54 +0000 (04:39 +0000)]
Remove a stray (old) macro name left around (I guess)
Lars Gustäbel [Wed, 27 Dec 2006 10:36:58 +0000 (10:36 +0000)]
Patch #
1504073 : Fix tarfile.open() for mode "r" with a fileobj argument.
Backport from rev. 53161.
Lars Gustäbel [Sat, 23 Dec 2006 18:13:57 +0000 (18:13 +0000)]
Patch #
1262036 : Prevent TarFiles from being added to themselves under
certain conditions.
(backport from rev. 53155)
Moved message from my previous change to the right place in
Misc/NEWS.
Lars Gustäbel [Sat, 23 Dec 2006 16:51:47 +0000 (16:51 +0000)]
Patch #
1230446 : tarfile.py: fix ExFileObject so that read() and tell()
work correctly together with readline().
(backport from rev. 53153)
Andrew M. Kuchling [Fri, 22 Dec 2006 19:08:41 +0000 (19:08 +0000)]
[Patch #827559 from Chris Gonnerman] Make SimpleHTTPServer redirect when a directory URL is missing the trailing slash; this lets relative links work.
Andrew M. Kuchling [Fri, 22 Dec 2006 13:28:43 +0000 (13:28 +0000)]
[Bug #737202; fix from Titus Brown] Make CGIHTTPServer work for scripts in sub-directories
Thomas Heller [Thu, 21 Dec 2006 18:31:36 +0000 (18:31 +0000)]
Fix wrong markup of an argument in a method signature.
Backported from trunk.
Andrew M. Kuchling [Thu, 21 Dec 2006 13:41:46 +0000 (13:41 +0000)]
Mention the os.SEEK_* constants
Andrew M. Kuchling [Wed, 20 Dec 2006 20:20:56 +0000 (20:20 +0000)]
[Bug #
1619680 ] in_dll() arguments are documented in the wrong order
Andrew M. Kuchling [Wed, 20 Dec 2006 20:15:08 +0000 (20:15 +0000)]
Backport doc changes from rev. 53112, 53115: use 'iterable' in various
places instead of 'sequence'.
Andrew M. Kuchling [Wed, 20 Dec 2006 19:58:18 +0000 (19:58 +0000)]
Two grammar fixes
Raymond Hettinger [Wed, 20 Dec 2006 07:43:59 +0000 (07:43 +0000)]
Bug #
1590891 : random.randrange don't return correct value for big number
Vinay Sajip [Tue, 19 Dec 2006 18:31:22 +0000 (18:31 +0000)]
Updated documentation for findCaller() to indicate that a 3-tuple is now returned, rather than a 2-tuple.
Andrew M. Kuchling [Tue, 19 Dec 2006 15:19:14 +0000 (15:19 +0000)]
[Patch #
1600491 from Jim Jewett] Describe how to build help files on Windows
Andrew M. Kuchling [Tue, 19 Dec 2006 15:13:44 +0000 (15:13 +0000)]
Add NEWS item
Andrew M. Kuchling [Tue, 19 Dec 2006 15:12:23 +0000 (15:12 +0000)]
[Patch #
1617413 from Dug Song] Fix HTTP Basic authentication via HTTPS
Andrew M. Kuchling [Mon, 18 Dec 2006 20:27:30 +0000 (20:27 +0000)]
Add forgotten NEWS item for previous commit
Andrew M. Kuchling [Mon, 18 Dec 2006 19:26:13 +0000 (19:26 +0000)]
[Patch #
1615868 by Lars Gustaebel] Use Py_off_t to fix BZ2File.seek() for offsets > 2Gb
Andrew M. Kuchling [Mon, 18 Dec 2006 17:13:10 +0000 (17:13 +0000)]
[Bug #
1618083 ] Add missing word; make a few grammar fixes
Andrew M. Kuchling [Thu, 14 Dec 2006 18:59:07 +0000 (18:59 +0000)]
[Patch #
1599256 from David Watson] check that os.fsync is available before using it
Vinay Sajip [Thu, 14 Dec 2006 08:41:39 +0000 (08:41 +0000)]
Stripped whitespace from comma-separated values read from config file
Georg Brandl [Mon, 11 Dec 2006 07:56:43 +0000 (07:56 +0000)]
Move errno imports back to individual functions.
(backport from rev. 52996)
Matthias Klose [Sat, 9 Dec 2006 12:13:02 +0000 (12:13 +0000)]
- Fix the build of the library reference in info format.
Georg Brandl [Sat, 9 Dec 2006 09:10:18 +0000 (09:10 +0000)]
Patch #
1608267 : fix a race condition in os.makedirs() is the directory
to be created is already there.
(backport from rev. 52972)
Georg Brandl [Fri, 8 Dec 2006 20:46:13 +0000 (20:46 +0000)]
#
1577756 : svnversion doesn't react to LANG=C, use LC_ALL=C to force
English output.
(backport from rev. 52970)
Thomas Heller [Fri, 8 Dec 2006 20:44:19 +0000 (20:44 +0000)]
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.
Raymond Hettinger [Fri, 8 Dec 2006 18:12:24 +0000 (18:12 +0000)]
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()
Georg Brandl [Thu, 7 Dec 2006 09:30:11 +0000 (09:30 +0000)]
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)
Georg Brandl [Wed, 6 Dec 2006 22:21:23 +0000 (22:21 +0000)]
Patch #
1610437 : fix a tarfile bug with long filename headers.
(backport from rev. 52938)
George Yoshida [Tue, 5 Dec 2006 05:40:57 +0000 (05:40 +0000)]
Fix pickle doc typo
Patch #
1608758
(backport from r52917)
Matthias Klose [Sun, 3 Dec 2006 17:13:54 +0000 (17:13 +0000)]
- Fix build failure on kfreebsd and on the hurd.
Martin v. Löwis [Sun, 3 Dec 2006 11:24:00 +0000 (11:24 +0000)]
Patch #
1544279 : Improve thread-safety of the socket module by moving
the sock_addr_t storage out of the socket object.
Raymond Hettinger [Sat, 2 Dec 2006 01:57:21 +0000 (01:57 +0000)]
Fix nit in comment.
Armin Rigo [Wed, 29 Nov 2006 22:07:38 +0000 (22:07 +0000)]
Backport of r52862.
Thomas Heller [Tue, 28 Nov 2006 20:43:11 +0000 (20:43 +0000)]
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.
Georg Brandl [Mon, 27 Nov 2006 18:46:47 +0000 (18:46 +0000)]
Bug #
1603789 : grammatical error in Tkinter docs.
(backport from rev. 52850)
Georg Brandl [Sun, 26 Nov 2006 19:27:51 +0000 (19:27 +0000)]
Bug #
1603321 : make pstats.Stats accept Unicode file paths.
(backport from rev. 52845)
Martin v. Löwis [Sat, 25 Nov 2006 15:39:28 +0000 (15:39 +0000)]
Disable _XOPEN_SOURCE on NetBSD 1.x.
Thomas Heller [Fri, 24 Nov 2006 19:00:39 +0000 (19:00 +0000)]
Fix bug #
1598620 : A ctypes structure cannot contain itself.
Backport from trunk.
Georg Brandl [Thu, 23 Nov 2006 09:55:10 +0000 (09:55 +0000)]
Bug #
1601630 : little improvement to getopt docs
(backport from rev. 52833)
Walter Dörwald [Thu, 23 Nov 2006 05:06:31 +0000 (05:06 +0000)]
Backport checkin:
Change decode() so that it works with a buffer (i.e. unicode(..., 'utf-8-sig'))
SF bug #
1601501 .
Martin v. Löwis [Tue, 21 Nov 2006 18:21:34 +0000 (18:21 +0000)]
Conditionalize definition of _CRT_SECURE_NO_DEPRECATE
and _CRT_NONSTDC_NO_DEPRECATE.
Neal Norwitz [Tue, 21 Nov 2006 06:25:09 +0000 (06:25 +0000)]
Fix SF #
1599879 , socket.gethostname should ref getfqdn directly.
Neal Norwitz [Tue, 21 Nov 2006 05:49:41 +0000 (05:49 +0000)]
Oops, convert tabs to spaces
Neal Norwitz [Tue, 21 Nov 2006 05:29:34 +0000 (05:29 +0000)]
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.
Andrew M. Kuchling [Mon, 20 Nov 2006 13:39:57 +0000 (13:39 +0000)]
Jython compatibility fix: if uu.decode() opened its output file, be sure to
close it.
Andrew M. Kuchling [Mon, 20 Nov 2006 13:31:09 +0000 (13:31 +0000)]
Add extra SHA tests
Martin v. Löwis [Sat, 18 Nov 2006 18:42:22 +0000 (18:42 +0000)]
Patch #
1472877 : Fix Tix subwidget name resolution.
Martin v. Löwis [Sat, 18 Nov 2006 18:05:57 +0000 (18:05 +0000)]
Patch #
1594554 : Always close a tkSimpleDialog on ok(), even
if an exception occurs.
Martin v. Löwis [Sat, 18 Nov 2006 18:00:34 +0000 (18:00 +0000)]
Patch #
1538878 : Don't make tkSimpleDialog dialogs transient if
the parent window is withdrawn. This mirrors what dialog.tcl
does.
Andrew M. Kuchling [Fri, 17 Nov 2006 16:16:28 +0000 (16:16 +0000)]
Remove locking of individual message files in MH.pack().
[Backport of rev52776 from the trunk.]
Georg Brandl [Thu, 16 Nov 2006 17:08:48 +0000 (17:08 +0000)]
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)
Georg Brandl [Thu, 16 Nov 2006 15:05:19 +0000 (15:05 +0000)]
Bug #
1597576 : mention that the new base64 api has been introduced in py2.4.
(backport from rev. 52762)
Georg Brandl [Wed, 15 Nov 2006 17:42:07 +0000 (17:42 +0000)]
Bug #
1594809 : add a note to README regarding PYTHONPATH and make install.
(backport from rev. 52754)
Martin v. Löwis [Sun, 12 Nov 2006 18:56:18 +0000 (18:56 +0000)]
Patch #
1360200 : Use unmangled_version RPM spec field to deal with
file name mangling.
Martin v. Löwis [Sun, 12 Nov 2006 18:48:30 +0000 (18:48 +0000)]
Patch #
1359217 : Ignore 2xx response before 150 response.
Georg Brandl [Sat, 11 Nov 2006 18:32:50 +0000 (18:32 +0000)]
Bug #
1594758 : wording improvement for dict.update() docs.
(backport from rev. 52733)
Georg Brandl [Sat, 11 Nov 2006 18:29:15 +0000 (18:29 +0000)]
Bug #
1594742 : wrong word in stringobject doc.
(backport from rev. 52731)