]>
granicus.if.org Git - python/log
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
Neal Norwitz [Fri, 28 Apr 2006 04:34:43 +0000 (04:34 +0000)]
Try to really fix the slow buildbots this time.
Printing to stdout, doesn't mean the data was actually written.
It depends on the buffering, so we need to flush. This will hopefully
really fix the buildbots getting killed due to no output on the slow bots.
Neal Norwitz [Fri, 28 Apr 2006 04:32:20 +0000 (04:32 +0000)]
Add some whitespace to be more consistent.
Thomas Wouters [Thu, 27 Apr 2006 23:41:27 +0000 (23:41 +0000)]
Add more ignores of ImportWarnings; these are all just potential triggers
(since they won't trigger if zlib is already sucessfully imported); they
were found by grepping .py files, instead of looking at warning output :)
Thomas Wouters [Thu, 27 Apr 2006 23:13:20 +0000 (23:13 +0000)]
- Add new Warning class, ImportWarning
- Warn-raise ImportWarning when importing would have picked up a directory
as package, if only it'd had an __init__.py. This swaps two tests (for
case-ness and __init__-ness), but case-test is not really more expensive,
and it's not in a speed-critical section.
- Test for the new warning by importing a common non-package directory on
sys.path: site-packages
- In regrtest.py, silence warnings generated by the build-environment
because Modules/ (which is added to sys.path for Setup-created modules)
has 'zlib' and '_ctypes' directories without __init__.py's.
David Goodger [Thu, 27 Apr 2006 22:53:05 +0000 (22:53 +0000)]
Added SVN access for Steven Bethard and Talin, for PEP updating.
Thomas Wouters [Thu, 27 Apr 2006 22:38:32 +0000 (22:38 +0000)]
Do the small-memory run of big-meormy tests using a prime number, rather
than a convenient power-of-2-and-multiple-of-5, so incorrect testing
algorithms fail more easily.
Thomas Wouters [Thu, 27 Apr 2006 22:37:50 +0000 (22:37 +0000)]
Some style fixes and size-calculation fixes. Also do the small-memory run
using a prime number, rather than a convenient power-of-2-and-multiple-of-5,
so incorrect testing algorithms fail more easily.
Thomas Heller [Thu, 27 Apr 2006 15:50:42 +0000 (15:50 +0000)]
Rerun the libffi configuration if any of the files used for that
are newer then fficonfig.py.
Thomas Wouters [Thu, 27 Apr 2006 13:46:59 +0000 (13:46 +0000)]
Some more size-estimate fixes, for large-list-tests.
George Yoshida [Thu, 27 Apr 2006 13:41:07 +0000 (13:41 +0000)]
markup fix
Andrew M. Kuchling [Thu, 27 Apr 2006 12:42:54 +0000 (12:42 +0000)]
Mention the xmlrpclib.Error base class, which is used in one of the examples
Andrew M. Kuchling [Thu, 27 Apr 2006 12:38:35 +0000 (12:38 +0000)]
[Bug #
1477140 ] Import Error base class
Andrew M. Kuchling [Thu, 27 Apr 2006 12:34:39 +0000 (12:34 +0000)]
[Bug #
1477102 ] Add necessary import to example
This may be a useful style question for the docs -- should examples show
the necessary imports, or should it be assumed that the reader will
figure it out? In the What's New, I'm not consistent but usually opt
for omitting the imports.
Andrew M. Kuchling [Thu, 27 Apr 2006 12:23:07 +0000 (12:23 +0000)]
Bump document version
Andrew M. Kuchling [Thu, 27 Apr 2006 12:22:37 +0000 (12:22 +0000)]
Now that 2.5a2 is out, revert to the current date
Anthony Baxter [Thu, 27 Apr 2006 02:13:47 +0000 (02:13 +0000)]
Tagging for release of Python 2.5a2
Anthony Baxter [Thu, 27 Apr 2006 02:13:13 +0000 (02:13 +0000)]
2.5a2
Anthony Baxter [Thu, 27 Apr 2006 02:11:24 +0000 (02:11 +0000)]
2.5a2
Fred Drake [Thu, 27 Apr 2006 00:20:14 +0000 (00:20 +0000)]
add missing word
Fred Drake [Thu, 27 Apr 2006 00:02:24 +0000 (00:02 +0000)]
- update version numbers in file names again, until we have a better way
- elaborate instructions for Cygwin support (closes SF #839709)
Fred Drake [Wed, 26 Apr 2006 23:40:32 +0000 (23:40 +0000)]
one more place to use the current Python version
Hye-Shik Chang [Wed, 26 Apr 2006 19:20:26 +0000 (19:20 +0000)]
Fix build on MIPS for libffi. I haven't tested this yet because I
don't have an access on MIPS machines. Will be tested by buildbot. :)
Thomas Wouters [Wed, 26 Apr 2006 19:14:46 +0000 (19:14 +0000)]
Some more test-size-estimate fixes: test_append and test_insert trigger a
list resize, which overallocates.
Thomas Wouters [Wed, 26 Apr 2006 18:46:01 +0000 (18:46 +0000)]
Add tests for += and *= on strings, and fix the memory-use estimate for the
list.extend tests (they were estimating half the actual use.)
Martin v. Löwis [Wed, 26 Apr 2006 17:19:44 +0000 (17:19 +0000)]
Use GS- and bufferoverlowU.lib where appropriate, for AMD64.
Tim Peters [Wed, 26 Apr 2006 17:11:16 +0000 (17:11 +0000)]
Whitespace normalization.
Thomas Wouters [Wed, 26 Apr 2006 15:53:30 +0000 (15:53 +0000)]
The result of SF patch #
1471578 : big-memory tests for strings, lists and
tuples. Lots to be added, still, but this will give big-memory people
something to play with in 2.5 alpha 2, and hopefully get more people to
write these tests.
Andrew M. Kuchling [Wed, 26 Apr 2006 12:23:39 +0000 (12:23 +0000)]
Add labels to all sections