]>
granicus.if.org Git - python/log
Matthias Klose [Sun, 3 Dec 2006 17:16:41 +0000 (17:16 +0000)]
- Fix build failure on kfreebsd and on the hurd.
Martin v. Löwis [Sun, 3 Dec 2006 12:01:53 +0000 (12:01 +0000)]
Patch #
1371075 : Make ConfigParser accept optional dict type
for ordering, sorting, etc.
Martin v. Löwis [Sun, 3 Dec 2006 11:23:45 +0000 (11:23 +0000)]
Patch #
1544279 : Improve thread-safety of the socket module by moving
the sock_addr_t storage out of the socket object.
Will backport to 2.5.
Martin v. Löwis [Sun, 3 Dec 2006 09:54:46 +0000 (09:54 +0000)]
Move IDLE news into NEWS.txt.
Raymond Hettinger [Sat, 2 Dec 2006 02:00:39 +0000 (02:00 +0000)]
Add name to credits (for untokenize).
Walter Dörwald [Fri, 1 Dec 2006 16:59:47 +0000 (16:59 +0000)]
Move xdrlib tests from the module into a separate test script,
port the tests to unittest and add a few new tests.
Guido van Rossum [Thu, 30 Nov 2006 19:23:13 +0000 (19:23 +0000)]
Update version.
Armin Rigo [Wed, 29 Nov 2006 21:59:22 +0000 (21:59 +0000)]
Forgot a case where the locals can now be a general mapping
instead of just a dictionary. (backporting...)
Thomas Heller [Tue, 28 Nov 2006 20:21:54 +0000 (20:21 +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.
Will backport.
Georg Brandl [Mon, 27 Nov 2006 18:46:21 +0000 (18:46 +0000)]
Bug #
1603789 : grammatical error in Tkinter docs.
Georg Brandl [Sun, 26 Nov 2006 19:27:47 +0000 (19:27 +0000)]
Bug #
1603321 : make pstats.Stats accept Unicode file paths.
Martin v. Löwis [Sat, 25 Nov 2006 15:39:19 +0000 (15:39 +0000)]
Disable _XOPEN_SOURCE on NetBSD 1.x.
Will backport to 2.5
Thomas Heller [Fri, 24 Nov 2006 18:45:39 +0000 (18:45 +0000)]
Fix bug #
1598620 : A ctypes structure cannot contain itself.
Raymond Hettinger [Thu, 23 Nov 2006 21:35:19 +0000 (21:35 +0000)]
... and the number of the counting shall be three.
Raymond Hettinger [Thu, 23 Nov 2006 21:06:03 +0000 (21:06 +0000)]
Fix and/add typo
Michael W. Hudson [Thu, 23 Nov 2006 13:54:04 +0000 (13:54 +0000)]
a test for an error condition not covered by existing tests
(noticed this when writing the equivalent code for pypy)
Georg Brandl [Thu, 23 Nov 2006 09:55:07 +0000 (09:55 +0000)]
Bug #
1601630 : little improvement to getopt docs
Walter Dörwald [Thu, 23 Nov 2006 05:03:56 +0000 (05:03 +0000)]
Change decode() so that it works with a buffer (i.e. unicode(..., 'utf-8-sig'))
SF bug #
1601501 .
Martin v. Löwis [Wed, 22 Nov 2006 08:50:02 +0000 (08:50 +0000)]
Patch #
1362975 : Rework CodeContext indentation algorithm to
avoid hard-coding pixel widths. Also make the text's scrollbar
a child of the text frame, not the top widget.
Martin v. Löwis [Tue, 21 Nov 2006 18:20:25 +0000 (18:20 +0000)]
Conditionalize definition of _CRT_SECURE_NO_DEPRECATE
and _CRT_NONSTDC_NO_DEPRECATE.
Will backport.
Neal Norwitz [Tue, 21 Nov 2006 06:23:44 +0000 (06:23 +0000)]
Fix SF #
1599879 , socket.gethostname should ref getfqdn directly.
Neal Norwitz [Tue, 21 Nov 2006 05:51:51 +0000 (05:51 +0000)]
Oops, convert tabs to spaces
Neal Norwitz [Tue, 21 Nov 2006 05:26:22 +0000 (05:26 +0000)]
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.
Will backport.
Andrew M. Kuchling [Mon, 20 Nov 2006 13:39:37 +0000 (13:39 +0000)]
Jython compatibility fix: if uu.decode() opened its output file, be sure to
close it.
Georg Brandl [Mon, 20 Nov 2006 07:12:58 +0000 (07:12 +0000)]
Further markup fix.
George Yoshida [Mon, 20 Nov 2006 02:24:48 +0000 (02:24 +0000)]
markup fix
Neal Norwitz [Sun, 19 Nov 2006 21:26:53 +0000 (21:26 +0000)]
Speed up function calls into the math module by using METH_O.
There should be no functional changes. However, the error msgs are
slightly different. Also verified that the module dict is not NULL on init.
Martin v. Löwis [Sun, 19 Nov 2006 18:51:54 +0000 (18:51 +0000)]
Patch #
1070046 : Marshal new-style objects like InstanceType
in xmlrpclib.
Andrew M. Kuchling [Sun, 19 Nov 2006 18:40:01 +0000 (18:40 +0000)]
Add a test case of data w/ bytes > 127
Martin v. Löwis [Sun, 19 Nov 2006 10:41:41 +0000 (10:41 +0000)]
Make cStringIO.truncate raise IOError for negative
arguments (even for -1). Fixes the last bit of
#
1359365 .
Georg Brandl [Sun, 19 Nov 2006 08:48:30 +0000 (08:48 +0000)]
Patch [
1586791 ] better error msgs for some TypeErrors
Andrew M. Kuchling [Sat, 18 Nov 2006 22:17:33 +0000 (22:17 +0000)]
Expand checking in test_sha
Martin v. Löwis [Sat, 18 Nov 2006 18:42:11 +0000 (18:42 +0000)]
Patch #
1472877 : Fix Tix subwidget name resolution.
Will backport to 2.5.
Martin v. Löwis [Sat, 18 Nov 2006 18:05:35 +0000 (18:05 +0000)]
Patch #
1594554 : Always close a tkSimpleDialog on ok(), even
if an exception occurs.
Will backport to 2.5.
Martin v. Löwis [Sat, 18 Nov 2006 18:00:23 +0000 (18:00 +0000)]
Patch #
1538878 : Don't make tkSimpleDialog dialogs transient if
the parent window is withdrawn. This mirrors what dialog.tcl
does.
Will backport to 2.5.
Andrew M. Kuchling [Fri, 17 Nov 2006 13:30:25 +0000 (13:30 +0000)]
Remove file-locking in MH.pack() method.
This change looks massive but it's mostly a re-indenting after
removing some try...finally blocks.
Also adds a test case that does a pack() while the mailbox is locked; this
test would have turned up bugs in the original code on some platforms.
In both nmh and GNU Mailutils' implementation of MH-format mailboxes,
no locking is done of individual message files when renaming them.
The original mailbox.py code did do locking, which meant that message
files had to be opened. This code was buggy on certain platforms
(found through reading the code); there were code paths that closed
the file object and then called _unlock_file() on it.
Will backport to 25-maint once I see how the buildbots react to this patch.
Georg Brandl [Thu, 16 Nov 2006 17:08:45 +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.
Georg Brandl [Thu, 16 Nov 2006 16:50:59 +0000 (16:50 +0000)]
Bug #
1597824 : return the registered function from atexit.register()
to facilitate usage as a decorator.
Georg Brandl [Thu, 16 Nov 2006 15:05:14 +0000 (15:05 +0000)]
Bug #
1597576 : mention that the new base64 api has been introduced in py2.4.
Georg Brandl [Wed, 15 Nov 2006 17:42:03 +0000 (17:42 +0000)]
Bug #
1594809 : add a note to README regarding PYTHONPATH and make install.
Walter Dörwald [Wed, 15 Nov 2006 16:23:46 +0000 (16:23 +0000)]
Fix typo.
Martin v. Löwis [Sun, 12 Nov 2006 18:56:03 +0000 (18:56 +0000)]
Patch #
1360200 : Use unmangled_version RPM spec field to deal with
file name mangling.
Will backport to 2.5.
Martin v. Löwis [Sun, 12 Nov 2006 18:48:13 +0000 (18:48 +0000)]
Patch #
1359217 : Ignore 2xx response before 150 response.
Will backport to 2.5.
Martin v. Löwis [Sun, 12 Nov 2006 18:24:26 +0000 (18:24 +0000)]
Bug #
1067760 : Deprecate passing floats to file.seek.
Martin v. Löwis [Sun, 12 Nov 2006 10:41:39 +0000 (10:41 +0000)]
Patch #
1355023 : support whence argument for GzipFile.seek.
Martin v. Löwis [Sun, 12 Nov 2006 10:32:47 +0000 (10:32 +0000)]
Patch #
1065257 : Support passing open files as body in
HTTPConnection.request().
Georg Brandl [Sat, 11 Nov 2006 18:32:47 +0000 (18:32 +0000)]
Bug #
1594758 : wording improvement for dict.update() docs.
Georg Brandl [Sat, 11 Nov 2006 18:29:11 +0000 (18:29 +0000)]
Bug #
1594742 : wrong word in stringobject doc.
Andrew M. Kuchling [Fri, 10 Nov 2006 14:39:01 +0000 (14:39 +0000)]
[Feature request #
1542920 ] Link to wsgi.org
Andrew M. Kuchling [Fri, 10 Nov 2006 13:14:01 +0000 (13:14 +0000)]
Reword entry
Phillip J. Eby [Fri, 10 Nov 2006 00:33:36 +0000 (00:33 +0000)]
Fix SF#
1566719 : not creating site-packages (or other target directory) when
installing .egg-info for a project that contains no modules or packages,
while using --root (as in bdist_rpm).
Andrew M. Kuchling [Thu, 9 Nov 2006 21:16:46 +0000 (21:16 +0000)]
[Patch #
1514543 ] mailbox (Maildir): avoid losing messages on name clash
Two changes:
Where possible, use link()/remove() to move files into a directory; this
makes it easier to avoid overwriting an existing file.
Use _create_carefully() to create files in tmp/, which uses O_EXCL.
Backport candidate.
Walter Dörwald [Thu, 9 Nov 2006 16:23:26 +0000 (16:23 +0000)]
Replace C++ comment with C comment (fixes SF bug #
1593525 ).
Andrew M. Kuchling [Thu, 9 Nov 2006 13:51:14 +0000 (13:51 +0000)]
[Patch #
1514544 by David Watson] use fsync() to ensure data is really on disk
Andrew M. Kuchling [Thu, 9 Nov 2006 13:27:07 +0000 (13:27 +0000)]
[Bug #
1569790 ] mailbox.Maildir.get_folder() loses factory information
Both the Maildir and MH classes had this bug; the patch fixes both classes
and adds a test.
Will backport to 25-maint.
Martin v. Löwis [Thu, 9 Nov 2006 11:27:32 +0000 (11:27 +0000)]
Patch #
1592250 : Add elidge argument to Tkinter.Text.search.
Martin v. Löwis [Thu, 9 Nov 2006 11:06:03 +0000 (11:06 +0000)]
Patch #838546: Make terminal become controlling in pty.fork().
Will backport to 2.5.
Andrew M. Kuchling [Wed, 8 Nov 2006 14:30:14 +0000 (14:30 +0000)]
More edits
Andrew M. Kuchling [Wed, 8 Nov 2006 14:24:03 +0000 (14:24 +0000)]
Add table of contents; this required fixing a few headings. Some more smalle edits.
Andrew M. Kuchling [Wed, 8 Nov 2006 14:14:30 +0000 (14:14 +0000)]
Add section on operator module; make a few edits
Andrew M. Kuchling [Wed, 8 Nov 2006 13:35:34 +0000 (13:35 +0000)]
Add section on the functional module
Georg Brandl [Wed, 8 Nov 2006 10:04:29 +0000 (10:04 +0000)]
Bug #
1592533 : rename variable in heapq doc example, to avoid shadowing
"sorted".
Georg Brandl [Wed, 8 Nov 2006 07:45:59 +0000 (07:45 +0000)]
Patch #
1592072 : fix docs for return value of PyErr_CheckSignals.
Martin v. Löwis [Wed, 8 Nov 2006 07:35:55 +0000 (07:35 +0000)]
Patch #
1351744 : Add askyesnocancel helper for tkMessageBox.
Martin v. Löwis [Wed, 8 Nov 2006 06:48:36 +0000 (06:48 +0000)]
News entry for 52662.
Martin v. Löwis [Wed, 8 Nov 2006 06:46:37 +0000 (06:46 +0000)]
Correctly forward exception in instance_contains().
Fixes #
1591996 . Patch contributed by Neal Norwitz.
Will backport.
Andrew M. Kuchling [Tue, 7 Nov 2006 20:39:16 +0000 (20:39 +0000)]
Add missing word
Thomas Heller [Tue, 7 Nov 2006 18:20:47 +0000 (18:20 +0000)]
Fix grammatical error as well.
Will backport to release25-maint.
Thomas Heller [Tue, 7 Nov 2006 18:01:18 +0000 (18:01 +0000)]
Fix markup.
Will backport to release25-maint.
Ronald Oussoren [Tue, 7 Nov 2006 16:00:34 +0000 (16:00 +0000)]
Whitespace changes to make the source more compliant with PEP8 (SF#
1589070 )
Ronald Oussoren [Tue, 7 Nov 2006 15:53:38 +0000 (15:53 +0000)]
Fix a number of typos in strings and comments (sf#
1589070 )
Skip Montanaro [Mon, 6 Nov 2006 14:34:52 +0000 (14:34 +0000)]
note that user can control directory location even if default dir is used
Andrew M. Kuchling [Sun, 5 Nov 2006 21:04:37 +0000 (21:04 +0000)]
Update link
Neal Norwitz [Sat, 4 Nov 2006 19:25:22 +0000 (19:25 +0000)]
Bug #
1588287 : fix invalid assertion for `1,2` in debug builds.
Will backport
Martin v. Löwis [Sat, 4 Nov 2006 18:14:06 +0000 (18:14 +0000)]
- Patch #
1060577 : Extract list of RPM files from spec file in
bdist_rpm
Will backport to 2.5.
Tim Peters [Fri, 3 Nov 2006 02:32:46 +0000 (02:32 +0000)]
Whitespace normalization.
Thomas Heller [Thu, 2 Nov 2006 20:22:29 +0000 (20:22 +0000)]
Fix a code example by adding a missing import.
Fixes #
1557890 .
Will backport to release25-maint.
Thomas Heller [Thu, 2 Nov 2006 19:48:24 +0000 (19:48 +0000)]
Replace the XXX marker in the 'Arrays and pointers' reference manual
section with a link to the tutorial sections.
Will backport to release25-maint.
Vinay Sajip [Tue, 31 Oct 2006 17:34:31 +0000 (17:34 +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).
Vinay Sajip [Tue, 31 Oct 2006 17:32:37 +0000 (17:32 +0000)]
Change to improve speed of _fixupChildren
Neal Norwitz [Sun, 29 Oct 2006 23:58:36 +0000 (23:58 +0000)]
I'm assuming this is correct, it fixes the tests so they pass again
Neal Norwitz [Sun, 29 Oct 2006 23:39:03 +0000 (23:39 +0000)]
Fix refleak
Walter Dörwald [Sun, 29 Oct 2006 23:02:27 +0000 (23:02 +0000)]
Add tests for incremental codecs with an errors
argument.
Walter Dörwald [Sun, 29 Oct 2006 22:06:28 +0000 (22:06 +0000)]
Add tests for basic argument errors.
Georg Brandl [Sun, 29 Oct 2006 21:54:18 +0000 (21:54 +0000)]
Move the check for openpty to the beginning.
Georg Brandl [Sun, 29 Oct 2006 20:35:12 +0000 (20:35 +0000)]
Remove leftover test output file.
Georg Brandl [Sun, 29 Oct 2006 20:31:17 +0000 (20:31 +0000)]
Convert test_openpty to unittest.
Georg Brandl [Sun, 29 Oct 2006 20:28:26 +0000 (20:28 +0000)]
Convert test_MimeWriter to unittest.
Georg Brandl [Sun, 29 Oct 2006 20:24:01 +0000 (20:24 +0000)]
Completely convert test_httplib to unittest.
Georg Brandl [Sun, 29 Oct 2006 20:09:12 +0000 (20:09 +0000)]
Convert test_cgi to unittest.
Georg Brandl [Sun, 29 Oct 2006 19:51:16 +0000 (19:51 +0000)]
Convert test_cookie to unittest.
Georg Brandl [Sun, 29 Oct 2006 19:35:03 +0000 (19:35 +0000)]
Convert test_types to unittest.
Georg Brandl [Sun, 29 Oct 2006 19:24:43 +0000 (19:24 +0000)]
Convert test_nis to unittest.
Georg Brandl [Sun, 29 Oct 2006 19:20:45 +0000 (19:20 +0000)]
Convert test_poll to unittest.
Georg Brandl [Sun, 29 Oct 2006 19:13:40 +0000 (19:13 +0000)]
Convert test_mmap to unittest.
Georg Brandl [Sun, 29 Oct 2006 18:31:42 +0000 (18:31 +0000)]
Bug #
1576657 : when setting a KeyError for a tuple key, make sure that
the tuple isn't used as the "exception arguments tuple".
Neal Norwitz [Sun, 29 Oct 2006 18:30:10 +0000 (18:30 +0000)]
Update comments, remove commented out code.
Move assembler structure next to assembler code to make it easier to
move it to a separate file.
Georg Brandl [Sun, 29 Oct 2006 18:01:08 +0000 (18:01 +0000)]
Bug #
1586773 : extend hashlib docstring.
Georg Brandl [Sun, 29 Oct 2006 14:39:09 +0000 (14:39 +0000)]
Bug #
1586613 : fix zlib and bz2 codecs' incremental en/decoders.
Georg Brandl [Sun, 29 Oct 2006 09:32:16 +0000 (09:32 +0000)]
Fix the new EncodedFile test to work with big endian platforms.