]>
granicus.if.org Git - python/log
Georg Brandl [Wed, 10 May 2006 16:09:03 +0000 (16:09 +0000)]
Bug #
1485447 : subprocess: document that the "cwd" parameter isn't used to find the executable. Misc. other markup fixes.
Georg Brandl [Wed, 10 May 2006 15:59:06 +0000 (15:59 +0000)]
Bug #
1482988 : indicate more prominently that the Stats class is in the pstats module.
Thomas Wouters [Wed, 10 May 2006 15:04:11 +0000 (15:04 +0000)]
Ignore reflog.txt, too.
Neal Norwitz [Wed, 10 May 2006 06:57:58 +0000 (06:57 +0000)]
Fix problems found by Coverity.
longobject.c: also fix an ssize_t problem
<a> could have been NULL, so hoist the size calc to not use <a>.
_ssl.c: under fail: self is DECREF'd, but it would have been NULL.
_elementtree.c: delete self if there was an error.
_csv.c: I'm not sure if lineterminator could have been anything other than
a string. However, other string method calls are checked, so check this
one too.
Tim Peters [Wed, 10 May 2006 02:43:01 +0000 (02:43 +0000)]
Variant of patch #
1478292 . doctest.register_optionflag(name)
shouldn't create a new flag when `name` is already the name of
an option flag.
Thomas Heller [Tue, 9 May 2006 20:20:15 +0000 (20:20 +0000)]
Disable a test that is unreliable.
Neal Norwitz [Tue, 9 May 2006 05:38:56 +0000 (05:38 +0000)]
Micro optimization. In the first case, we know that frame->f_exc_type
is NULL, so there's no reason to do anything with it. In the second case,
we know frame->f_exc_type is not NULL, so we can just do an INCREF.
Georg Brandl [Mon, 8 May 2006 17:48:01 +0000 (17:48 +0000)]
Patch #
1478993 : take advantage of BaseException/Exception split in cookielib
Georg Brandl [Mon, 8 May 2006 17:36:08 +0000 (17:36 +0000)]
Patch #
1479302 : Make urllib2 digest auth and basic auth play together.
Georg Brandl [Mon, 8 May 2006 17:28:47 +0000 (17:28 +0000)]
Add test for rev. 45934.
Martin v. Löwis [Mon, 8 May 2006 05:25:56 +0000 (05:25 +0000)]
Add missing PyMem_Free.
Georg Brandl [Sun, 7 May 2006 20:44:34 +0000 (20:44 +0000)]
Patch #
1483395 : add new TLDs to cookielib
Andrew M. Kuchling [Sun, 7 May 2006 17:14:53 +0000 (17:14 +0000)]
Minor language edit
Andrew M. Kuchling [Sun, 7 May 2006 17:12:12 +0000 (17:12 +0000)]
[Patch #
1479977 ] Revised version of urllib2 HOWTO, edited by John J. Lee
Martin v. Löwis [Sat, 6 May 2006 20:04:08 +0000 (20:04 +0000)]
Handle ERROR_ALREADY_EXISTS.
Martin v. Löwis [Sat, 6 May 2006 16:32:54 +0000 (16:32 +0000)]
Port access, chmod, parts of getcwdu, mkdir, and utime to direct Win32 API.
George Yoshida [Sat, 6 May 2006 14:16:51 +0000 (14:16 +0000)]
Use \versionchanged for the feature change
George Yoshida [Sat, 6 May 2006 13:09:45 +0000 (13:09 +0000)]
describe optional arguments for DocFileSuite
Thomas Heller [Fri, 5 May 2006 19:14:24 +0000 (19:14 +0000)]
Clean up.
Thomas Heller [Fri, 5 May 2006 18:46:27 +0000 (18:46 +0000)]
oops - the function is exported as 'my_free', not 'free'.
Thomas Heller [Fri, 5 May 2006 18:43:24 +0000 (18:43 +0000)]
Fix memory leaks in the ctypes test suite, reported by valgrind, by
free()ing the memory we allocate.
Thomas Heller [Fri, 5 May 2006 18:42:14 +0000 (18:42 +0000)]
Export the 'free' standard C function for use in the test suite.
Martin v. Löwis [Thu, 4 May 2006 14:27:52 +0000 (14:27 +0000)]
Update checks to consider Windows error numbers.
Martin v. Löwis [Thu, 4 May 2006 12:04:27 +0000 (12:04 +0000)]
Drop now-unnecessary arguments to posix_2str.
Martin v. Löwis [Thu, 4 May 2006 10:08:42 +0000 (10:08 +0000)]
Implement os.{chdir,rename,rmdir,remove} using Win32 directly.
Martin v. Löwis [Thu, 4 May 2006 05:51:03 +0000 (05:51 +0000)]
Patch #
1475845 : Raise IndentationError for unexpected indent.
Georg Brandl [Thu, 4 May 2006 05:08:10 +0000 (05:08 +0000)]
Bug #
1481530 : allow "from os.path import ..." with imputil
Thomas Heller [Wed, 3 May 2006 18:35:39 +0000 (18:35 +0000)]
Don't fail the tests when libglut.so or libgle.so cannot be loaded.
Georg Brandl [Wed, 3 May 2006 18:18:32 +0000 (18:18 +0000)]
Bug #
1385040 : don't allow "def foo(a=1, b): pass" in the compiler package.
Georg Brandl [Wed, 3 May 2006 18:12:33 +0000 (18:12 +0000)]
Bug #
1472191 : convert breakpoint indices to ints before comparing them to ints
Georg Brandl [Wed, 3 May 2006 18:03:22 +0000 (18:03 +0000)]
RFE #
1472176 : In httplib, don't encode the netloc and hostname with "idna" if not necessary.
Georg Brandl [Wed, 3 May 2006 17:46:13 +0000 (17:46 +0000)]
Add seamonkey to list of Windows browsers too.
Nick Coghlan [Wed, 3 May 2006 13:17:49 +0000 (13:17 +0000)]
Get rid of a couple more context object references, fix some markup and clarify what happens when a generator context function swallows an exception.
Nick Coghlan [Wed, 3 May 2006 13:02:47 +0000 (13:02 +0000)]
Finish bringing SVN into line with latest version of PEP 343 by getting rid of all remaining references to context objects that I could find. Without a __context__() method context objects no longer exist. Also get test_with working again, and adopt a suggestion from Neal for decimal.Context.get_manager()
Georg Brandl [Wed, 3 May 2006 05:15:10 +0000 (05:15 +0000)]
Move network tests from test_urllib2 to test_urllib2net.
Georg Brandl [Wed, 3 May 2006 05:05:02 +0000 (05:05 +0000)]
Patch #
1480067 : don't redirect HTTP digest auth in urllib2
Martin v. Löwis [Wed, 3 May 2006 04:52:04 +0000 (04:52 +0000)]
Correct some formulations, fix XXX comments.
Tim Peters [Wed, 3 May 2006 04:46:14 +0000 (04:46 +0000)]
Whitespace normalization.
Fred Drake [Wed, 3 May 2006 02:29:39 +0000 (02:29 +0000)]
fix up whitespace in prompt strings
Fred Drake [Wed, 3 May 2006 02:29:09 +0000 (02:29 +0000)]
one more place to avoid extra markup (how many will there be?)
Fred Drake [Wed, 3 May 2006 02:27:40 +0000 (02:27 +0000)]
one more place to avoid extra markup
Fred Drake [Wed, 3 May 2006 02:12:47 +0000 (02:12 +0000)]
at least comment on why curly-quotes are not enabled
Fred Drake [Wed, 3 May 2006 02:04:40 +0000 (02:04 +0000)]
avoid ugly markup based on the unfortunate conversions of ">>" and "<<" to
guillemets; no need for magic here
Fred Drake [Wed, 3 May 2006 01:48:24 +0000 (01:48 +0000)]
tell LaTeX2HTML to:
- use UTF-8 output
- not mess with the >>> prompt!
Fred Drake [Wed, 3 May 2006 01:46:52 +0000 (01:46 +0000)]
remove unnecessary assignment
Andrew M. Kuchling [Tue, 2 May 2006 22:47:49 +0000 (22:47 +0000)]
Update context manager section for removal of __context__
Andrew M. Kuchling [Tue, 2 May 2006 21:44:33 +0000 (21:44 +0000)]
Use open() instead of file()
Guido van Rossum [Tue, 2 May 2006 20:47:36 +0000 (20:47 +0000)]
Hopefully this will fix the spurious failures of test_mailbox.py that I'm
experiencing. (This code and mailbox.py itself are full of calls to file()
that should be calls to open() -- but I'm not fixing those.)
Armin Rigo [Tue, 2 May 2006 19:52:32 +0000 (19:52 +0000)]
Documentation bug: PySet_Pop() returns a new reference (because the
caller becomes the owner of that reference).
Guido van Rossum [Tue, 2 May 2006 19:47:52 +0000 (19:47 +0000)]
Get rid of __context__, per the latest changes to PEP 343 and python-dev
discussion.
There are two places of documentation that still mention __context__:
Doc/lib/libstdtypes.tex -- I wasn't quite sure how to rewrite that without
spending a whole lot of time thinking about it; and whatsnew, which Andrew
usually likes to change himself.
Guido van Rossum [Tue, 2 May 2006 17:36:09 +0000 (17:36 +0000)]
Fix the formatting of KeyboardInterrupt -- a bad issubclass() call.
Andrew M. Kuchling [Tue, 2 May 2006 11:30:03 +0000 (11:30 +0000)]
Provide encoding as keyword argument; soften warning paragraph about encodings
Vinay Sajip [Tue, 2 May 2006 08:35:36 +0000 (08:35 +0000)]
Replaced my dumb way of calculating seconds to midnight with Tim Peters' much more sensible suggestion. What was I thinking ?!?
Neal Norwitz [Tue, 2 May 2006 07:27:47 +0000 (07:27 +0000)]
Fix breakage from patch
1471883 (r45800 & r45808) on OSF/1.
The problem was that pyconfig.h was being included before some system headers
which caused redefinitions and other breakage. This moves system headers
after expat_config.h which includes pyconfig.h.
Fred Drake [Tue, 2 May 2006 06:53:59 +0000 (06:53 +0000)]
SF #
1479988 : add methods to allow access to weakrefs for the
weakref.WeakKeyDictionary and weakref.WeakValueDictionary
Neal Norwitz [Tue, 2 May 2006 06:23:22 +0000 (06:23 +0000)]
Try to fix breakage caused by patch #
1479181 , r45850
Neal Norwitz [Tue, 2 May 2006 04:43:14 +0000 (04:43 +0000)]
SF #
1479181 : split open() and file() from being aliases for each other.
Andrew M. Kuchling [Mon, 1 May 2006 17:06:54 +0000 (17:06 +0000)]
Markup fixes
Andrew M. Kuchling [Mon, 1 May 2006 16:32:49 +0000 (16:32 +0000)]
Add item
Andrew M. Kuchling [Mon, 1 May 2006 16:30:25 +0000 (16:30 +0000)]
Markup fixes; add some XXX comments noting problems
Fred Drake [Mon, 1 May 2006 16:28:54 +0000 (16:28 +0000)]
add dependency
Martin v. Löwis [Mon, 1 May 2006 16:14:16 +0000 (16:14 +0000)]
Rename parameters to match the documentation (which
in turn matches Microsoft's documentation).
Drop unused parameter in CAB.append.
Martin v. Löwis [Mon, 1 May 2006 16:12:44 +0000 (16:12 +0000)]
Add msilib documentation.
Martin v. Löwis [Mon, 1 May 2006 15:56:03 +0000 (15:56 +0000)]
Rename uisample to text, drop all non-text tables.
Gerhard Häring [Mon, 1 May 2006 15:14:48 +0000 (15:14 +0000)]
Further integration of the documentation for the sqlite3 module. There's still
quite some content to move over from the pysqlite manual, but it's a start now.
Andrew M. Kuchling [Mon, 1 May 2006 12:45:02 +0000 (12:45 +0000)]
Some ElementTree fixes: import from xml, not xmlcore; fix case of module name; mention list() instead of getchildren()
Martin v. Löwis [Mon, 1 May 2006 06:28:01 +0000 (06:28 +0000)]
Work around deadlock risk. Will backport.
Fred Drake [Mon, 1 May 2006 06:25:58 +0000 (06:25 +0000)]
- minor clarification in section title
- markup adjustments
(there is clearly much to be done in this section)
Barry Warsaw [Mon, 1 May 2006 03:03:02 +0000 (03:03 +0000)]
Port forward from 2.4 branch:
Patch #
1464708 from William McVey: fixed handling of nested comments in mail
addresses. E.g.
"Foo ((Foo Bar)) <foo@example.com>"
Fixes for both rfc822.py and email package. This patch needs to be back
ported to Python 2.3 for email 2.5.
Andrew M. Kuchling [Sun, 30 Apr 2006 21:19:49 +0000 (21:19 +0000)]
Add item
Andrew M. Kuchling [Sun, 30 Apr 2006 21:19:31 +0000 (21:19 +0000)]
Add urllib2 HOWTO from Michael Foord
Georg Brandl [Sun, 30 Apr 2006 19:34:19 +0000 (19:34 +0000)]
Patch #
1479438 : add \keyword markup for "with".
Georg Brandl [Sun, 30 Apr 2006 18:14:54 +0000 (18:14 +0000)]
Patch #
1472854 : make the rlcompleter.Completer class usable on non-
UNIX platforms.
Georg Brandl [Sun, 30 Apr 2006 17:42:26 +0000 (17:42 +0000)]
Fix another problem in inspect: if the module for an object cannot be found, don't try to give its __dict__ to linecache.
Phillip J. Eby [Sun, 30 Apr 2006 15:59:26 +0000 (15:59 +0000)]
Fix infinite regress when inspecting <string> or <stdin> frames.
Georg Brandl [Sun, 30 Apr 2006 11:13:56 +0000 (11:13 +0000)]
Bug #
1473625 : stop cPickle making float dumps locale dependent in protocol 0.
On the way, add a decorator to test_support to facilitate running single
test functions in different locales with automatic cleanup.
Georg Brandl [Sun, 30 Apr 2006 09:23:59 +0000 (09:23 +0000)]
Patch #
1470976 : don't NLST files when retrieving over FTP.
Georg Brandl [Sun, 30 Apr 2006 08:57:35 +0000 (08:57 +0000)]
In stdlib, use hashlib instead of deprecated md5 and sha modules.
Georg Brandl [Sun, 30 Apr 2006 07:06:11 +0000 (07:06 +0000)]
Patch #
1470846 : fix urllib2 ProxyBasicAuthHandler.
George Yoshida [Sun, 30 Apr 2006 03:49:56 +0000 (03:49 +0000)]
Use \versionchanged instead of \versionadded for new parameter support.
Andrew M. Kuchling [Sun, 30 Apr 2006 01:07:09 +0000 (01:07 +0000)]
Add two items
Gerhard Häring [Sat, 29 Apr 2006 23:12:41 +0000 (23:12 +0000)]
This is the start of documentation for the sqlite3 module. Please feel free to
find a better place for the link to it than alongside bsddb & friends.
Brett Cannon [Sat, 29 Apr 2006 21:29:50 +0000 (21:29 +0000)]
Fix docstring for contextfactory; mentioned old contextmanager name.
Martin v. Löwis [Sat, 29 Apr 2006 12:37:25 +0000 (12:37 +0000)]
Further changes for #
1471883 : Edit Misc/NEWS, and
add expat_config.h.
Andrew M. Kuchling [Sat, 29 Apr 2006 12:10:43 +0000 (12:10 +0000)]
Add item
Andrew M. Kuchling [Sat, 29 Apr 2006 12:10:28 +0000 (12:10 +0000)]
Make case of 'ZIP' consistent
Andrew M. Kuchling [Sat, 29 Apr 2006 11:53:15 +0000 (11:53 +0000)]
Add item
Ronald Oussoren [Sat, 29 Apr 2006 11:31:35 +0000 (11:31 +0000)]
Patch
1471883 : --enable-universalsdk on Mac OS X
George Yoshida [Sat, 29 Apr 2006 02:43:30 +0000 (02:43 +0000)]
grammar fix
Georg Brandl [Fri, 28 Apr 2006 19:09:24 +0000 (19:09 +0000)]
Bug #
1478429 : make datetime.datetime.fromtimestamp accept every float,
possibly "rounding up" to the next whole second.
Thomas Heller [Fri, 28 Apr 2006 17:02:18 +0000 (17:02 +0000)]
Remove a duplicated test (the same test is in test_incomplete.py).
Georg Brandl [Fri, 28 Apr 2006 16:58:52 +0000 (16:58 +0000)]
Bug #
1478326 : don't allow '/' in distutils.util.get_platform machine names
since this value is used to name the build directory.
Georg Brandl [Fri, 28 Apr 2006 16:54:25 +0000 (16:54 +0000)]
Bug #
1472949 : stringify IOErrors in shutil.copytree when appending
them to the Error errors list.
George Yoshida [Fri, 28 Apr 2006 16:40:14 +0000 (16:40 +0000)]
correct a dead link
Georg Brandl [Fri, 28 Apr 2006 16:36:55 +0000 (16:36 +0000)]
Bug #
1475009 : clarify ntpath.join behavior with absolute components
Georg Brandl [Fri, 28 Apr 2006 16:31:17 +0000 (16:31 +0000)]
Add SeaMonkey to the list of Mozilla browsers.
George Yoshida [Fri, 28 Apr 2006 16:09:45 +0000 (16:09 +0000)]
fix markup glitch
Neal Norwitz [Fri, 28 Apr 2006 05:28:54 +0000 (05:28 +0000)]
Fix a warning on ppc (debian)
Neal Norwitz [Fri, 28 Apr 2006 05:28:30 +0000 (05:28 +0000)]
Fix a warning on alpha
Neal Norwitz [Fri, 28 Apr 2006 05:28:05 +0000 (05:28 +0000)]
Fix some warnings on Mac OS X 10.4