]>
granicus.if.org Git - python/log
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)
Phillip J. Eby [Fri, 10 Nov 2006 17:13:29 +0000 (17:13 +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). (Backport from trunk)
Andrew M. Kuchling [Fri, 10 Nov 2006 14:39:17 +0000 (14:39 +0000)]
[Feature request #
1542920 ] Link to wsgi.org
Andrew M. Kuchling [Fri, 10 Nov 2006 13:15:58 +0000 (13:15 +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.
Andrew M. Kuchling [Fri, 10 Nov 2006 13:08:03 +0000 (13:08 +0000)]
[Patch #
1514544 by David Watson] use fsync() to ensure data is really on disk
Walter Dörwald [Thu, 9 Nov 2006 16:30:39 +0000 (16:30 +0000)]
Backport checkin:
Replace C++ comment with C comment (fixes SF bug #
1593525 ).
Andrew M. Kuchling [Thu, 9 Nov 2006 13:33:53 +0000 (13:33 +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.
Martin v. Löwis [Thu, 9 Nov 2006 11:06:30 +0000 (11:06 +0000)]
Patch #838546: Make terminal become controlling in pty.fork().
Georg Brandl [Wed, 8 Nov 2006 10:04:32 +0000 (10:04 +0000)]
Bug #
1592533 : rename variable in heapq doc example, to avoid shadowing
"sorted".
(backport from rev. 52668)
Georg Brandl [Wed, 8 Nov 2006 07:46:01 +0000 (07:46 +0000)]
Patch #
1592072 : fix docs for return value of PyErr_CheckSignals.
(backport from rev. 52666)
Martin v. Löwis [Wed, 8 Nov 2006 06:46:49 +0000 (06:46 +0000)]
Correctly forward exception in instance_contains().
Fixes #
1591996 . Patch contributed by Neal Norwitz.
Andrew M. Kuchling [Tue, 7 Nov 2006 20:39:58 +0000 (20:39 +0000)]
Add missing word
Thomas Heller [Tue, 7 Nov 2006 18:23:14 +0000 (18:23 +0000)]
Fix markup and grammatical errors. Backport from trunk
Ronald Oussoren [Tue, 7 Nov 2006 15:54:38 +0000 (15:54 +0000)]
backport of revision 52644
Skip Montanaro [Mon, 6 Nov 2006 14:35:34 +0000 (14:35 +0000)]
backport: note that user can control directory location even if default dir is used
Neal Norwitz [Sat, 4 Nov 2006 19:32:54 +0000 (19:32 +0000)]
Backport 52621:
Bug #
1588287 : fix invalid assertion for `1,2` in debug builds.
Martin v. Löwis [Sat, 4 Nov 2006 18:14:22 +0000 (18:14 +0000)]
Patch #
1060577 : Extract list of RPM files from spec file in
bdist_rpm
Thomas Heller [Thu, 2 Nov 2006 20:24:26 +0000 (20:24 +0000)]
Fix code example by adding a missing import.
Fixes #
1557890 .
Backported from trunk.
Thomas Heller [Thu, 2 Nov 2006 19:52:43 +0000 (19:52 +0000)]
Replace the XXX marker in the 'Arrays and pointers' reference manual
section with a link to the tutorial sections.
Backported from trunk.
Neal Norwitz [Sun, 29 Oct 2006 23:42:59 +0000 (23:42 +0000)]
Fix refleak
Georg Brandl [Sun, 29 Oct 2006 18:31:45 +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".
(backport from rev. 52535)
Georg Brandl [Sun, 29 Oct 2006 18:01:12 +0000 (18:01 +0000)]
Bug #
1586773 : extend hashlib docstring.
(backport from rev. 52532)
Georg Brandl [Sun, 29 Oct 2006 15:22:43 +0000 (15:22 +0000)]
I thought I had already fixed this error in the test.
Georg Brandl [Sun, 29 Oct 2006 14:39:13 +0000 (14:39 +0000)]
Bug #
1586613 : fix zlib and bz2 codecs' incremental en/decoders.
(backport from rev. 52529)
Georg Brandl [Sun, 29 Oct 2006 09:32:19 +0000 (09:32 +0000)]
Fix the new EncodedFile test to work with big endian platforms.
(backport from rev. 52527)
Georg Brandl [Sun, 29 Oct 2006 09:16:15 +0000 (09:16 +0000)]
Patch #
1583880 : fix tarfile's problems with long names and posix/
GNU modes.
(backport from rev. 52524)
Georg Brandl [Sun, 29 Oct 2006 09:05:08 +0000 (09:05 +0000)]
Bug #
1357915 : allow all sequence types for shell arguments in
subprocess.
(backport from rev. 52522)
Georg Brandl [Sun, 29 Oct 2006 08:39:27 +0000 (08:39 +0000)]
Fix codecs.EncodedFile which did not use file_encoding in 2.5.0, and
fix all codecs file wrappers to work correctly with the "with"
statement (bug #
1586513 ).
(backport from rev. 52517)
Neal Norwitz [Sat, 28 Oct 2006 22:13:22 +0000 (22:13 +0000)]
From SF
1557890 , fix problem of using wrong type in example.
Neal Norwitz [Sat, 28 Oct 2006 21:39:31 +0000 (21:39 +0000)]
Backport 52506:
Don't inline Py_ADDRESS_IN_RANGE with gcc 4+ either.
Neal Norwitz [Sat, 28 Oct 2006 21:39:10 +0000 (21:39 +0000)]
Backport 52505:
Prevent crash if alloc of garbage fails. Found by Typo.pl.
Neal Norwitz [Sat, 28 Oct 2006 21:38:43 +0000 (21:38 +0000)]
Backport 52504:
Fix bug #
1565514 , SystemError not raised on too many nested blocks.
It seems like this should be a different error than SystemError, but
I don't have any great ideas and SystemError was raised in 2.4 and earlier.
Neal Norwitz [Sat, 28 Oct 2006 21:37:42 +0000 (21:37 +0000)]
Backport 52503:
Fix crash in test on HP-UX. Apparently, it's not possible to delete a lock if
it's held (even by the current thread).
Neal Norwitz [Sat, 28 Oct 2006 21:37:16 +0000 (21:37 +0000)]
Backport 52502:
Fix warnings with HP's C compiler. It doesn't recognize that infinite
loops are, um, infinite. These conditions should not be able to happen.
Neal Norwitz [Sat, 28 Oct 2006 21:36:37 +0000 (21:36 +0000)]
Backport 52501:
Add some asserts. In sysmodule, I think these were to try to silence
some warnings from Klokwork. They verify the assumptions of the format
of svn version output.
The assert in the thread module helped debug a problem on HP-UX.
Georg Brandl [Sat, 28 Oct 2006 16:04:07 +0000 (16:04 +0000)]
Fix nth() itertool recipe.
(backport from rev. 52497)
Georg Brandl [Fri, 27 Oct 2006 20:39:47 +0000 (20:39 +0000)]
Patch #
1552024 : add decorator support to unparse.py demo script.
(backport from rev. 52488)
Thomas Heller [Fri, 27 Oct 2006 18:47:29 +0000 (18:47 +0000)]
WindowsError.str should display the windows error code,
not the posix error code; with test.
Fixes #
1576174 .
Backported from trunk, revision 52485.
Andrew M. Kuchling [Fri, 27 Oct 2006 17:13:33 +0000 (17:13 +0000)]
[Patch #
1574068 by Scott Dial] urllib and urllib2 were using
base64.encodestring() for encoding authentication data.
encodestring() can include newlines for very long input, which
produced broken HTTP headers.
2.4 backport candidate, probably.
Andrew M. Kuchling [Fri, 27 Oct 2006 16:57:44 +0000 (16:57 +0000)]
[Bug #
1575506 ] The _singlefileMailbox class was using the wrong file object in its flush() method, causing an error
Andrew M. Kuchling [Fri, 27 Oct 2006 16:42:19 +0000 (16:42 +0000)]
[Bug #
1576241 ] Let functools.wraps work with built-in functions
Andrew M. Kuchling [Fri, 27 Oct 2006 14:54:43 +0000 (14:54 +0000)]
Point users to the subprocess module in the docs for os.system, os.spawn*, os.popen2, and the popen2 and commands modules
Andrew M. Kuchling [Fri, 27 Oct 2006 13:29:41 +0000 (13:29 +0000)]
[Bug #
1542016 ] Report PCALL_POP value. This makes the return value of sys.callstats() match its docstring.
Backport candidate. Though it's an API change, this is a pretty obscure
portion of the API.
Andrew M. Kuchling [Fri, 27 Oct 2006 13:06:41 +0000 (13:06 +0000)]
[Bug #
1562583 ] Mention the set_reuse_addr() method
Andrew M. Kuchling [Fri, 27 Oct 2006 12:50:55 +0000 (12:50 +0000)]
[Bug #
1583946 ] Reword description of server and issuer
Andrew M. Kuchling [Fri, 27 Oct 2006 12:18:58 +0000 (12:18 +0000)]
[Bug #
1585690 ] Note that line_num was added in Python 2.5
Martin v. Löwis [Fri, 27 Oct 2006 07:06:59 +0000 (07:06 +0000)]
Get DBL_MAX from float.h not values.h.
Martin v. Löwis [Fri, 27 Oct 2006 06:43:00 +0000 (06:43 +0000)]
Check for values.h.
Martin v. Löwis [Fri, 27 Oct 2006 06:17:21 +0000 (06:17 +0000)]
[Backport of r52452]
Patch #
1549049 : Rewrite type conversion in structmember.
Fixes #
1545696 and #
1566140 .
The new warnings have been omitted in the backport.
Andrew M. Kuchling [Thu, 26 Oct 2006 19:11:06 +0000 (19:11 +0000)]
[Bug #
1579796 ] Wrong syntax for PyDateTime_IMPORT in documentation. Reported by David Faure.
Georg Brandl [Tue, 24 Oct 2006 16:54:23 +0000 (16:54 +0000)]
Patch [
1583506 ] tarfile.py: 100-char filenames are truncated
(backport from rev. 52431)
Martin v. Löwis [Sun, 22 Oct 2006 13:46:23 +0000 (13:46 +0000)]
Remove passwd.adjunct.byname from list of maps
for test_nis.
Martin v. Löwis [Sun, 22 Oct 2006 10:55:25 +0000 (10:55 +0000)]
- Patch #
1560695 : Add .note.GNU-stack to ctypes' sysv.S so that
ctypes isn't considered as requiring executable stacks.
Martin v. Löwis [Sun, 22 Oct 2006 10:47:28 +0000 (10:47 +0000)]
Patch #
1580872 : Remove duplicate declaration of PyCallable_Check.
Thomas Heller [Fri, 20 Oct 2006 19:59:33 +0000 (19:59 +0000)]
Recorded merge of revisions 51379-51603,51606-52365 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk/Modules/_ctypes
........
r51379 | thomas.heller | 2006-08-18 16:38:46 +0200 (Fr, 18 Aug 2006) | 6 lines
Add asserts to check for 'impossible' NULL values, with comments.
In one place where I'n not 1000% sure about the non-NULL, raise
a RuntimeError for safety.
This should fix the klocwork issues that Neal sent me. If so,
it should be applied to the release25-maint branch also.
........
r51401 | neal.norwitz | 2006-08-19 06:23:04 +0200 (Sa, 19 Aug 2006) | 4 lines
Move assert to after NULL check, otherwise we deref NULL in the assert.
Klocwork #307
........
r51819 | thomas.heller | 2006-09-07 20:56:28 +0200 (Do, 07 Sep 2006) | 5 lines
Anonymous structure fields that have a bit-width specified did not work,
and they gave a strange error message from PyArg_ParseTuple:
function takes exactly 2 arguments (3 given).
With tests.
........
r51820 | thomas.heller | 2006-09-07 21:09:54 +0200 (Do, 07 Sep 2006) | 4 lines
The cast function did not accept c_char_p or c_wchar_p instances
as first argument, and failed with a 'bad argument to internal function'
error message.
........
r52365 | thomas.heller | 2006-10-17 21:30:48 +0200 (Di, 17 Okt 2006) | 6 lines
ctypes callback functions only support 'fundamental' result types.
Check this and raise an error when something else is used - before
this change ctypes would hang or crash when such a callback was
called. This is a partial fix for #
1574584 .
Will backport to release25-maint.
........
Thomas Heller [Fri, 20 Oct 2006 07:21:26 +0000 (07:21 +0000)]
Initialized merge tracking via "svnmerge" with revisions "1-51333" from
svn+ssh://pythondev@svn.python.org/python/trunk/Modules/_ctypes
(This had to be done with the command line:
svnmerge init -r 1:51333 -F c:\svn\trunk\Modules\_ctypes
because svnmerge isn't able to deduce the branch point r51333 and the
HEAD URL automatically in a subdirectory.)
Andrew M. Kuchling [Thu, 19 Oct 2006 21:56:14 +0000 (21:56 +0000)]
[Bug #
1576348 ] Fix typo in example
Tim Peters [Wed, 18 Oct 2006 05:30:25 +0000 (05:30 +0000)]
C:\Code\python>type c.txt
Merge rev 52377 from trunk:
newIobject(): repaired incorrect cast to quiet MSVC warning.
Thomas Heller [Tue, 17 Oct 2006 19:41:10 +0000 (19:41 +0000)]
ctypes callback functions only support 'fundamental' result types.
Check this and raise an error when something else is used - before
this change ctypes would hang or crash when such a callback was
called. This is a partial fix for #
1574584 .
Backported from trunk.
Martin v. Löwis [Tue, 17 Oct 2006 18:59:06 +0000 (18:59 +0000)]
Forward-port r52358:
- Bug #
1578513 : Cross compilation was broken by a change to configure.
Repair so that it's back to how it was in 2.4.3.
Martin v. Löwis [Tue, 17 Oct 2006 18:10:09 +0000 (18:10 +0000)]
Remove obsolete file.
Martin v. Löwis [Tue, 17 Oct 2006 15:22:20 +0000 (15:22 +0000)]
Patch #
1457736 : Update VC6 to use current PCbuild settings.
Martin v. Löwis [Sun, 15 Oct 2006 14:30:49 +0000 (14:30 +0000)]
Mention the bdist_msi module.
Martin v. Löwis [Sun, 15 Oct 2006 12:04:07 +0000 (12:04 +0000)]
Remove binary property on project files, set eol-style
to CRLF instead.
Martin v. Löwis [Sun, 15 Oct 2006 09:44:02 +0000 (09:44 +0000)]
Bug #
1567666 : Emulate GetFileAttributesExA for Win95.
Martin v. Löwis [Sun, 15 Oct 2006 08:51:47 +0000 (08:51 +0000)]
Patch #
1577551 : Add ctypes and ET build support for VC6.
Martin v. Löwis [Sun, 15 Oct 2006 07:55:42 +0000 (07:55 +0000)]
Patch #
1576954 : Update VC6 build directory; remove redundant
files in VC7.1 pythoncore.vcproj.
Georg Brandl [Thu, 12 Oct 2006 12:03:11 +0000 (12:03 +0000)]
Fix tarfile depending on buggy int('1\0', base) behavior.
(backport from rev. 52313)
Georg Brandl [Thu, 12 Oct 2006 11:59:29 +0000 (11:59 +0000)]
Small grammar fix, thanks Sjoerd.
(backport from rev. 52311)
Georg Brandl [Thu, 12 Oct 2006 11:47:00 +0000 (11:47 +0000)]
Bug #
1560114 : the Mac filesystem does have accurate information
about the case of filenames.
(backport from rev. 52309)
Georg Brandl [Thu, 12 Oct 2006 11:41:15 +0000 (11:41 +0000)]
Add a note to fpectl docs that it's not built by default
(bug #
1556261 ).
(backport from rev. 52307)
Georg Brandl [Thu, 12 Oct 2006 11:28:04 +0000 (11:28 +0000)]
Bug #
1545497 : when given an explicit base, int() did ignore NULs
embedded in the string to convert.
(backport from rev. 52305)
Georg Brandl [Thu, 12 Oct 2006 11:14:44 +0000 (11:14 +0000)]
Bug #
1546628 : add a note about urlparse.urljoin() and absolute paths.
(backport from rev. 52303)
Georg Brandl [Thu, 12 Oct 2006 09:47:17 +0000 (09:47 +0000)]
Bug #
1548891 : The cStringIO.StringIO() constructor now encodes unicode
arguments with the system default encoding just like the write()
method does, instead of converting it to a raw buffer.
(backport from rev. 52301)
Georg Brandl [Thu, 12 Oct 2006 09:20:36 +0000 (09:20 +0000)]
Bug #
1550524 : better heuristics to find correct class definition
in inspect.findsource().
(backport from rev. 52299)
Georg Brandl [Thu, 12 Oct 2006 08:22:57 +0000 (08:22 +0000)]
Bug #
1565919 : document set types in the Language Reference.
(backport from rev. 52297)
Georg Brandl [Thu, 12 Oct 2006 07:57:24 +0000 (07:57 +0000)]
Bug #813342: Start the IDLE subprocess with -Qnew if the parent
is started with that option.
(backport from rev. 52295)
Georg Brandl [Thu, 12 Oct 2006 07:38:08 +0000 (07:38 +0000)]
Bug #
1575746 : fix typo in property() docs.
(backport from rev. 52293)
Ronald Oussoren [Tue, 10 Oct 2006 07:54:24 +0000 (07:54 +0000)]
Macosx: fix permission problem in generated installer
Martin v. Löwis [Mon, 9 Oct 2006 20:44:50 +0000 (20:44 +0000)]
Bug #
1565150 : Fix subsecond processing for os.utime on Windows.
Barry Warsaw [Mon, 9 Oct 2006 19:42:33 +0000 (19:42 +0000)]
List gc.get_count() in the module docstring.
Georg Brandl [Mon, 9 Oct 2006 19:03:12 +0000 (19:03 +0000)]
Patch #
1572724 : fix typo ('=' instead of '==') in _msi.c.
(backport from rev. 52251)
Andrew M. Kuchling [Mon, 9 Oct 2006 17:13:26 +0000 (17:13 +0000)]
[Bug #
1545341 ] Let the 'classifiers' parameter be a tuple as well as a list.
Ronald Oussoren [Sun, 8 Oct 2006 18:19:28 +0000 (18:19 +0000)]
Backport of r52238
Ronald Oussoren [Sun, 8 Oct 2006 17:52:37 +0000 (17:52 +0000)]
Backport of r52236
Skip Montanaro [Sun, 8 Oct 2006 17:51:24 +0000 (17:51 +0000)]
Backport libcsv.tex bugfix from rev 52218. (SF ticket
1572471 )
Ronald Oussoren [Sun, 8 Oct 2006 17:50:26 +0000 (17:50 +0000)]
Backport of r52233
Ronald Oussoren [Sun, 8 Oct 2006 17:40:52 +0000 (17:40 +0000)]
Backport of r52229
Ronald Oussoren [Sun, 8 Oct 2006 17:38:48 +0000 (17:38 +0000)]
Backport of r52227.