]>
granicus.if.org Git - python/log
Benjamin Peterson [Tue, 9 Sep 2008 20:55:01 +0000 (20:55 +0000)]
Fix #3634 invalid return value from _weakref.ref(Exception).__init__
Reviewers: Amaury, Antoine, Benjamin
Georg Brandl [Tue, 9 Sep 2008 20:28:31 +0000 (20:28 +0000)]
#3472: update Mac-bundled Python version info.
Georg Brandl [Tue, 9 Sep 2008 19:26:00 +0000 (19:26 +0000)]
Fix varname in docstring. #3822.
Vinay Sajip [Tue, 9 Sep 2008 13:42:08 +0000 (13:42 +0000)]
Issue #3809: Fixed spurious 'test.blah' file left behind by test_logging.
Amaury Forgeot d'Arc [Tue, 9 Sep 2008 07:24:30 +0000 (07:24 +0000)]
#3777: long(4.2) returned an int, and broke backward compatibility.
the __long__ slot is allowed to return either int or long, but the behaviour of
float objects should not change between 2.5 and 2.6.
Reviewed by Benjamin Peterson
Brett Cannon [Tue, 9 Sep 2008 00:49:16 +0000 (00:49 +0000)]
warnings.catch_warnings() now returns a list or None instead of the custom
WarningsRecorder object. This makes the API simpler to use as no special object
must be learned.
Closes issue 3781.
Review by Benjamin Peterson.
Hirokazu Yamamoto [Mon, 8 Sep 2008 23:38:42 +0000 (23:38 +0000)]
Issue #3806: LockTests in test_imp should be skipped when thread is not available.
Reviewed by Benjamin Peterson.
Hirokazu Yamamoto [Mon, 8 Sep 2008 23:03:47 +0000 (23:03 +0000)]
Issue #3804: Added test for Issue #2222.
Reviewed by Benjamin Peterson.
Bill Janssen [Mon, 8 Sep 2008 16:37:24 +0000 (16:37 +0000)]
incorporate fixes from issue 3162; SSL doc patch
Martin v. Löwis [Mon, 8 Sep 2008 16:15:38 +0000 (16:15 +0000)]
Add UUIDs for upcoming releases
Mark Summerfield [Mon, 8 Sep 2008 14:45:37 +0000 (14:45 +0000)]
Added xrefs to each other.
Martin v. Löwis [Mon, 8 Sep 2008 13:50:10 +0000 (13:50 +0000)]
Issue #2271: Set SecureCustomProperties so that installation will properly
use the TARGETDIR even for unprivileged users.
Martin v. Löwis [Mon, 8 Sep 2008 12:02:45 +0000 (12:02 +0000)]
Allow passing the MSI file name to merge.py.
Facundo Batista [Mon, 8 Sep 2008 00:20:28 +0000 (00:20 +0000)]
Issue 3801. Fixing a dumb error in the deprecated parse_qsl()
function. Tests added.
Gregory P. Smith [Sun, 7 Sep 2008 19:19:04 +0000 (19:19 +0000)]
reran autoconf
Gregory P. Smith [Sun, 7 Sep 2008 19:18:16 +0000 (19:18 +0000)]
bugfix to r66283 (see issue #1204).
Georg Brandl [Sun, 7 Sep 2008 17:00:17 +0000 (17:00 +0000)]
Add a new howto about Python and the web, by Marek Kubica.
Gregory P. Smith [Sun, 7 Sep 2008 05:15:58 +0000 (05:15 +0000)]
reran autoconf for r66283's checkin
Gregory P. Smith [Sun, 7 Sep 2008 05:15:18 +0000 (05:15 +0000)]
- Issue #1204: The configure script now tests for additional libraries
that may be required when linking against readline. This fixes issues
with x86_64 builds on some platforms (at least a few Linux flavors as
well as OpenBSD/amd64).
Josiah Carlson [Sun, 7 Sep 2008 04:37:10 +0000 (04:37 +0000)]
undoing change that broke trunk. Need to find a better solution to this.
Josiah Carlson [Sun, 7 Sep 2008 03:53:58 +0000 (03:53 +0000)]
This fixes a small inconsistency between trunk and 3.0, closing bug 3764.
Benjamin Peterson [Sat, 6 Sep 2008 23:19:15 +0000 (23:19 +0000)]
fix missing module
Antoine Pitrou [Sat, 6 Sep 2008 23:04:32 +0000 (23:04 +0000)]
Backport relevant part of r66274 (in issue #874900).
Andrew M. Kuchling [Sat, 6 Sep 2008 21:26:02 +0000 (21:26 +0000)]
#1317: describe the does_esmtp, ehlo_resp, esmtp_features, and helo_resp attributes
Amaury Forgeot d'Arc [Sat, 6 Sep 2008 20:53:51 +0000 (20:53 +0000)]
#3796: A test class was not run in test_float.
Reviewed by Benjamin.
Andrew M. Kuchling [Sat, 6 Sep 2008 20:28:01 +0000 (20:28 +0000)]
#3669 from Robert Lehmann: simplify use of iterator in example
Benjamin Peterson [Sat, 6 Sep 2008 19:42:39 +0000 (19:42 +0000)]
docs are pretty good about new-style classes these days
Benjamin Peterson [Sat, 6 Sep 2008 19:28:11 +0000 (19:28 +0000)]
#
1638033 : add support for httponly on Cookie.Morsel
Reviewer: Benjamin
Andrew M. Kuchling [Sat, 6 Sep 2008 13:04:02 +0000 (13:04 +0000)]
#3040: include 'dest' argument in example; trim some trailing whitespace
Andrew M. Kuchling [Sat, 6 Sep 2008 12:50:05 +0000 (12:50 +0000)]
Various corrections
Benjamin Peterson [Sat, 6 Sep 2008 03:00:00 +0000 (03:00 +0000)]
actually tell the name of the flag to use
Jesse Noller [Sat, 6 Sep 2008 01:20:11 +0000 (01:20 +0000)]
Fix typo in multiprocessing doc, cancel_join_thread was missing _thread
Antoine Pitrou [Fri, 5 Sep 2008 23:30:23 +0000 (23:30 +0000)]
Issue #3535: zipfile couldn't read some zip files larger than 2GB.
Reviewed by Amaury Forgeot d'Arc.
Brett Cannon [Fri, 5 Sep 2008 22:59:17 +0000 (22:59 +0000)]
GNU coding guidelines say that ``make check`` should verify the build. That
clashes with what Python's build target did. Rename the target to 'patchcheck'
to avoid the culture clash.
Closes issue 3758.
Reviewed by Benjamin Peterson.
Antoine Pitrou [Fri, 5 Sep 2008 22:04:54 +0000 (22:04 +0000)]
#3601: test_unicode.test_raiseMemError fails in UCS4
Reviewed by Benjamin Peterson on IRC.
Brett Cannon [Fri, 5 Sep 2008 18:33:51 +0000 (18:33 +0000)]
Deprecate bsddb for removal in Python 3.0.
Closes issue 3776.
Review by Nick Coghlan.
Andrew M. Kuchling [Fri, 5 Sep 2008 15:15:56 +0000 (15:15 +0000)]
#3671: Typo fix
Brett Cannon [Fri, 5 Sep 2008 03:52:59 +0000 (03:52 +0000)]
Make it more obvious that warnings.catch_warnings() and its arguments should be considered keyword-only.
Benjamin Peterson [Thu, 4 Sep 2008 23:31:27 +0000 (23:31 +0000)]
flesh out the documentation on using 2to3
Hirokazu Yamamoto [Thu, 4 Sep 2008 14:25:30 +0000 (14:25 +0000)]
Added NEWS
Andrew M. Kuchling [Thu, 4 Sep 2008 13:26:24 +0000 (13:26 +0000)]
#3671: various corrections and markup fixes noted by Kent Johnson
Hirokazu Yamamoto [Thu, 4 Sep 2008 11:15:14 +0000 (11:15 +0000)]
Issue #3762: platform.architecture() fails if python is lanched via its symbolic link.
Reviewed by Amaury Forgeot d'Arc.
Vinay Sajip [Thu, 4 Sep 2008 07:31:21 +0000 (07:31 +0000)]
Issue #3772: Fixed regression problem in StreamHandler.emit().
Brett Cannon [Wed, 3 Sep 2008 22:45:11 +0000 (22:45 +0000)]
test_py3kwarn had been overlooked when test.test_support.catch_warning() was
re-implemented to use warnings.catch_warnings() and had its API improved.
Closes issue #3768.
Code review by Benjamin Peterson.
Facundo Batista [Wed, 3 Sep 2008 22:35:50 +0000 (22:35 +0000)]
Issue 600362: Relocated parse_qs() and parse_qsl(), from the cgi module
to the urlparse one. Added a PendingDeprecationWarning in the old
module, it will be deprecated in the future. Docs and tests updated.
Jesus Cea [Wed, 3 Sep 2008 22:07:11 +0000 (22:07 +0000)]
Python3.0 bsddb testsuite compatibility improvements
Benjamin Peterson [Wed, 3 Sep 2008 21:48:20 +0000 (21:48 +0000)]
3.0 still has the old threading names
Jesse Noller [Wed, 3 Sep 2008 18:10:30 +0000 (18:10 +0000)]
Fix issue 3110 - solaris compilation of multiprocessing fails, reviewed by pitrou
Jesus Cea [Wed, 3 Sep 2008 17:50:32 +0000 (17:50 +0000)]
Fix some leaks - Neal Norwitz
Marc-André Lemburg [Wed, 3 Sep 2008 11:13:56 +0000 (11:13 +0000)]
Issue #2562: Fix distutils PKG-INFO writing logic to allow having
non-ascii characters and Unicode in setup.py meta-data.
Vinay Sajip [Wed, 3 Sep 2008 09:20:05 +0000 (09:20 +0000)]
Issue #3726: Allowed spaces in separators in logging configuration files.
Gregory P. Smith [Wed, 3 Sep 2008 05:57:48 +0000 (05:57 +0000)]
Fix issue 3645: OpenBSD required -lcurses when linking with readline
to get the correct completion_matches function to avoid crashes on
x86_64 (amd64).
I don't have OpenBSD to test myself. I tested that it does not break
anything on linux. It is simple.
Benjamin Peterson [Wed, 3 Sep 2008 02:14:03 +0000 (02:14 +0000)]
Merged revisions 66176 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3
........
r66176 | benjamin.peterson | 2008-09-02 21:04:06 -0500 (Tue, 02 Sep 2008) | 1 line
fix typo
........
Benjamin Peterson [Wed, 3 Sep 2008 01:53:28 +0000 (01:53 +0000)]
update 2to3 script from 2to3 trunk
Benjamin Peterson [Wed, 3 Sep 2008 00:21:32 +0000 (00:21 +0000)]
Merged revisions 66173 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3
........
r66173 | benjamin.peterson | 2008-09-02 18:57:48 -0500 (Tue, 02 Sep 2008) | 8 lines
A little 2to3 refactoring #3637
This moves command line logic from refactor.py to a new file called
main.py. RefactoringTool now merely deals with the actual fixers and
refactoring; options processing for example is abstracted out.
This patch was reviewed by Gregory P. Smith.
........
Amaury Forgeot d'Arc [Tue, 2 Sep 2008 23:19:56 +0000 (23:19 +0000)]
Issue 2975: when compiling multiple extension modules with visual studio 2008
from the same python instance, some environment variables (LIB, INCLUDE)
would grow without limit.
Tested with these statements:
distutils.ccompiler.new_compiler().initialize()
print os.environ['LIB']
But I don't know how to turn them into reliable unit tests.
Amaury Forgeot d'Arc [Tue, 2 Sep 2008 21:50:47 +0000 (21:50 +0000)]
Attempt to correct the build files for the Microsoft VS7.1 compiler.
I don't have a working VS7.1, but VS2005 can automatically convert
the project and build a working python interpreter.
Amaury Forgeot d'Arc [Tue, 2 Sep 2008 21:17:05 +0000 (21:17 +0000)]
Use vs9to8.py to refresh the Visual Studio 2005 build files.
Hirokazu Yamamoto [Tue, 2 Sep 2008 20:36:44 +0000 (20:36 +0000)]
Issue #3759: test_asyncore.py leaked handle.
Reviewed by Amaury Forgeot d'Arc
Andrew M. Kuchling [Tue, 2 Sep 2008 13:08:11 +0000 (13:08 +0000)]
Add e-mail address
Andrew M. Kuchling [Tue, 2 Sep 2008 13:06:00 +0000 (13:06 +0000)]
Clarify example; add imports
Marc-André Lemburg [Tue, 2 Sep 2008 12:11:19 +0000 (12:11 +0000)]
Add news item for #3719.
Marc-André Lemburg [Tue, 2 Sep 2008 10:32:34 +0000 (10:32 +0000)]
Add quotes around the file name to avoid issues with spaces.
Closes #3719.
Nick Coghlan [Tue, 2 Sep 2008 10:14:47 +0000 (10:14 +0000)]
Issue 3747: Fix caching in ABCMeta.__subclasscheck__ (R: Georg Brandl)
Mark Summerfield [Tue, 2 Sep 2008 07:23:16 +0000 (07:23 +0000)]
a typo
Gregory P. Smith [Tue, 2 Sep 2008 05:36:11 +0000 (05:36 +0000)]
Issue #3708: os.urandom no longer goes into an infinite loop when passed a
non-integer floating point number.
Gregory P. Smith [Tue, 2 Sep 2008 05:29:51 +0000 (05:29 +0000)]
Issue #3678: Correctly pass LDFLAGS and LDLAST to the linker on shared
library targets in the Makefile.
Jesus Cea [Tue, 2 Sep 2008 02:29:06 +0000 (02:29 +0000)]
Improve compatibility with Python3.0 testsuite
Andrew M. Kuchling [Tue, 2 Sep 2008 01:39:18 +0000 (01:39 +0000)]
typo fix
Brett Cannon [Tue, 2 Sep 2008 01:25:16 +0000 (01:25 +0000)]
Move test.test_support.catch_warning() to the warnings module, rename it
catch_warnings(), and clean up the API.
While expanding the test suite, a bug was found where a warning about the
'line' argument to showwarning() was not letting functions with '*args' go
without a warning.
Closes issue 3602.
Code review by Benjamin Peterson.
Andrew M. Kuchling [Tue, 2 Sep 2008 01:13:42 +0000 (01:13 +0000)]
Describe the __hash__ changes
Benjamin Peterson [Mon, 1 Sep 2008 23:12:58 +0000 (23:12 +0000)]
remove py3k warnings about the threading api; update docs
Reviewer: Benjamin Peterson
Jesus Cea [Mon, 1 Sep 2008 20:48:16 +0000 (20:48 +0000)]
In Python3.0, "test.test_support" is renamed to "test.support".
Amaury Forgeot d'Arc [Mon, 1 Sep 2008 19:52:00 +0000 (19:52 +0000)]
Issue #3751: str.rpartition would perform a left-partition when called with
a unicode argument.
will backport.
Vinay Sajip [Mon, 1 Sep 2008 17:44:14 +0000 (17:44 +0000)]
Bug #3738: Documentation is now more accurate in describing handler close methods.
Benjamin Peterson [Mon, 1 Sep 2008 17:17:22 +0000 (17:17 +0000)]
Merged revisions 65887,65889,65967-65968,65981 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3
........
r65887 | benjamin.peterson | 2008-08-19 17:45:04 -0500 (Tue, 19 Aug 2008) | 1 line
allow the raw_input fixer to handle calls after the raw_input (ie. raw_input().split())
........
r65889 | benjamin.peterson | 2008-08-19 18:11:03 -0500 (Tue, 19 Aug 2008) | 1 line
no need for 2.4 compatibility now
........
r65967 | benjamin.peterson | 2008-08-21 18:43:37 -0500 (Thu, 21 Aug 2008) | 1 line
allow a Call to have no arguments
........
r65968 | benjamin.peterson | 2008-08-21 18:45:13 -0500 (Thu, 21 Aug 2008) | 1 line
add a fixer for sys.exc_info etc by Jeff Balogh #2357
........
r65981 | benjamin.peterson | 2008-08-22 15:41:30 -0500 (Fri, 22 Aug 2008) | 1 line
add a fixer to add parenthese for list and gen comps #2367
........
Benjamin Peterson [Mon, 1 Sep 2008 17:10:46 +0000 (17:10 +0000)]
revert r66114 for Jesse
Jesse Noller [Mon, 1 Sep 2008 16:47:25 +0000 (16:47 +0000)]
Submit Nick's patch for issue 3589, reviewed by jnoller
Vinay Sajip [Mon, 1 Sep 2008 15:08:07 +0000 (15:08 +0000)]
Added section about configuring logging in a library. Thanks to Thomas Heller for the idea.
Vinay Sajip [Mon, 1 Sep 2008 14:33:59 +0000 (14:33 +0000)]
logging: fixed lack of use of encoding attribute specified on a stream.
Hirokazu Yamamoto [Mon, 1 Sep 2008 14:32:58 +0000 (14:32 +0000)]
Issue #3748: platform.architecture() printed vogus message on windows.
Reviewed by Marc-Andre Lemburg.
Vinay Sajip [Mon, 1 Sep 2008 14:30:10 +0000 (14:30 +0000)]
logging: fixed lack of use of encoding attribute specified on a stream.
Hirokazu Yamamoto [Mon, 1 Sep 2008 14:24:04 +0000 (14:24 +0000)]
Issue #3732: Backported r53335 to supress deprecation warning.
Reviewed by Benjamin Peterson.
Benjamin Peterson [Mon, 1 Sep 2008 14:18:30 +0000 (14:18 +0000)]
Fix compilation when --without-threads is given #3683
Reviewer: Georg Brandl, Benjamin Peterson
Georg Brandl [Mon, 1 Sep 2008 14:15:55 +0000 (14:15 +0000)]
#3749: fix c'n'p errors.
Benjamin Peterson [Mon, 1 Sep 2008 14:13:43 +0000 (14:13 +0000)]
#3703 unhelpful _fileio.FileIO error message when trying to open a directory
Reviewer: Gregory P. Smith
Gregory P. Smith [Sun, 31 Aug 2008 16:34:18 +0000 (16:34 +0000)]
issue3715: docstring representation of hex escaped string needs to be double
escaped.
Andrew M. Kuchling [Sun, 31 Aug 2008 15:48:44 +0000 (15:48 +0000)]
Update patch/bug count
Andrew M. Kuchling [Sun, 31 Aug 2008 15:41:48 +0000 (15:41 +0000)]
Last batch of edits; remove the 'other changes' section
Andrew M. Kuchling [Sun, 31 Aug 2008 14:29:31 +0000 (14:29 +0000)]
Edit the library section, rearranging items to flow better and making lots of edits
Jesus Cea [Sun, 31 Aug 2008 14:00:51 +0000 (14:00 +0000)]
Update bsddb code to version 4.7.3pre2. This code should
be compatible with Python 3.0, also.
http://www.jcea.es/programacion/pybsddb.htm#bsddb3-4.7.3
Nick Coghlan [Sun, 31 Aug 2008 13:10:50 +0000 (13:10 +0000)]
Issue 2235: document the ability to block inheritance of __hash__ in the language reference
Andrew M. Kuchling [Sun, 31 Aug 2008 02:24:08 +0000 (02:24 +0000)]
More edits
Andrew M. Kuchling [Sat, 30 Aug 2008 22:56:54 +0000 (22:56 +0000)]
More edits; markup fixes
Georg Brandl [Sat, 30 Aug 2008 22:00:28 +0000 (22:00 +0000)]
Fix markup.
Georg Brandl [Sat, 30 Aug 2008 19:03:43 +0000 (19:03 +0000)]
#3707: fix inf. recursion in pydoc topic search. Rev'd by Antoine.
Andrew M. Kuchling [Sat, 30 Aug 2008 16:44:54 +0000 (16:44 +0000)]
Edit four more sections
Andrew M. Kuchling [Sat, 30 Aug 2008 15:25:47 +0000 (15:25 +0000)]
Correction from Antoine Pitrou: BufferedWriter and Reader support seek()
Andrew M. Kuchling [Sat, 30 Aug 2008 15:21:23 +0000 (15:21 +0000)]
Tidy up some sentences
Andrew M. Kuchling [Sat, 30 Aug 2008 15:19:57 +0000 (15:19 +0000)]
Partial edits from revision and tidying pass