]>
granicus.if.org Git - python/log
Andrew M. Kuchling [Sat, 13 Sep 2008 02:08:30 +0000 (02:08 +0000)]
Use title case
Andrew M. Kuchling [Sat, 13 Sep 2008 01:57:25 +0000 (01:57 +0000)]
Update uses of string exceptions
Andrew M. Kuchling [Sat, 13 Sep 2008 01:56:56 +0000 (01:56 +0000)]
Fix SyntaxError
Andrew M. Kuchling [Sat, 13 Sep 2008 01:48:36 +0000 (01:48 +0000)]
Subclass exception
Andrew M. Kuchling [Sat, 13 Sep 2008 01:47:02 +0000 (01:47 +0000)]
Remove semicolon
Andrew M. Kuchling [Sat, 13 Sep 2008 01:43:28 +0000 (01:43 +0000)]
#687648 from Robert Schuppenies: use classic division.
Andrew M. Kuchling [Sat, 13 Sep 2008 01:42:55 +0000 (01:42 +0000)]
#687648 from Robert Schuppenies: use classic division. From me: remove two stray semicolons
Andrew M. Kuchling [Sat, 13 Sep 2008 01:34:41 +0000 (01:34 +0000)]
#687648 from Robert Schuppenies: use classic division. From me: don't use string exception; add __main__ section
Andrew M. Kuchling [Sat, 13 Sep 2008 01:27:33 +0000 (01:27 +0000)]
#687648 from Robert Schuppenies: use classic division. From me: don't use string exception; flush stdout after printing
Andrew M. Kuchling [Sat, 13 Sep 2008 01:22:08 +0000 (01:22 +0000)]
#687648 from Robert Schuppenies: use classic division. (RM Barry gave permission to update the demos.)
Barry Warsaw [Sat, 13 Sep 2008 01:12:18 +0000 (01:12 +0000)]
post release updates
Barry Warsaw [Sat, 13 Sep 2008 00:03:14 +0000 (00:03 +0000)]
Tagging 2.6rc1
Barry Warsaw [Fri, 12 Sep 2008 23:35:48 +0000 (23:35 +0000)]
Fix the release level
Barry Warsaw [Fri, 12 Sep 2008 23:25:57 +0000 (23:25 +0000)]
Bumping to 2.6rc1
Gerhard Häring [Fri, 12 Sep 2008 22:33:22 +0000 (22:33 +0000)]
Issue #3846: Release GIL during calls to sqlite3_prepare. This improves concurrent access to the same database file from multiple threads/processes.
Gerhard Häring [Fri, 12 Sep 2008 18:58:57 +0000 (18:58 +0000)]
Fixes issue #3103. In the sqlite3 module, made one more function static. All renaming public symbos now have the pysqlite prefix to avoid name clashes. This at least once created problems where the same symbol name appeared somewhere in Apache and the sqlite3 module was used from mod_python.
Gerhard Häring [Fri, 12 Sep 2008 13:54:06 +0000 (13:54 +0000)]
sqlite3 module: Mark iterdump() method as "Non-standard" like all the other methods not found in DB-API.
Benjamin Peterson [Thu, 11 Sep 2008 22:04:02 +0000 (22:04 +0000)]
fix typo
Amaury Forgeot d'Arc [Thu, 11 Sep 2008 20:56:13 +0000 (20:56 +0000)]
#3640: Correct a crash in cPickle on 64bit platforms, in the case of deeply nested lists or dicts.
Reviewed by Martin von Loewis.
Nick Coghlan [Thu, 11 Sep 2008 12:11:06 +0000 (12:11 +0000)]
Issue #3781: Final cleanup of warnings.catch_warnings and its usage in the test suite. Closes issue w.r.t. 2.6 (R: Brett Cannon)
Martin v. Löwis [Thu, 11 Sep 2008 06:53:30 +0000 (06:53 +0000)]
Issue #3642: Suppress warning in obmalloc when size_t is
larger than uint. Reverts r65975. Reviewed by Brett Cannon.
Benjamin Peterson [Wed, 10 Sep 2008 22:28:00 +0000 (22:28 +0000)]
update asdl_c.py from r66377
Amaury Forgeot d'Arc [Wed, 10 Sep 2008 22:04:45 +0000 (22:04 +0000)]
#3743: PY_FORMAT_SIZE_T is designed for the OS "printf" functions, not for
PyString_FromFormat which has an independent implementation, and uses "%zd".
This makes a difference on win64, where printf needs "%Id" to display
64bit values. For example, queue.__repr__ was incorrect.
Reviewed by Martin von Loewis.
Martin v. Löwis [Wed, 10 Sep 2008 19:16:35 +0000 (19:16 +0000)]
Read unidata_version from unicodedata module.
Delete old NormalizationTest.txt if it doesn't match
unidata_version.
Martin v. Löwis [Wed, 10 Sep 2008 18:43:49 +0000 (18:43 +0000)]
Update to test Unicode 5.1.
Guido van Rossum [Wed, 10 Sep 2008 14:27:00 +0000 (14:27 +0000)]
- Issue #3629: Fix sre "bytecode" validator for an end case.
Reviewed by Amaury.
Martin v. Löwis [Wed, 10 Sep 2008 13:38:12 +0000 (13:38 +0000)]
Issue #3811: The Unicode database was updated to 5.1.
Reviewed by Fredrik Lundh and Marc-Andre Lemburg.
Benjamin Peterson [Tue, 9 Sep 2008 23:16:48 +0000 (23:16 +0000)]
use the latest pygments version
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