]> granicus.if.org Git - python/log
python
16 years agoMerged revisions 66377 via svnmerge from
Amaury Forgeot d'Arc [Wed, 10 Sep 2008 22:24:24 +0000 (22:24 +0000)]
Merged revisions 66377 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r66377 | amaury.forgeotdarc | 2008-09-11 00:04:45 +0200 (jeu., 11 sept. 2008) | 8 lines

  #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.
........

16 years agoMerged revisions 66337,66347,66350,66352,66358 via svnmerge from
Benjamin Peterson [Wed, 10 Sep 2008 21:57:34 +0000 (21:57 +0000)]
Merged revisions 66337,66347,66350,66352,66358 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r66337 | vinay.sajip | 2008-09-09 08:42:08 -0500 (Tue, 09 Sep 2008) | 1 line

  Issue #3809: Fixed spurious 'test.blah' file left behind by test_logging.
........
  r66347 | georg.brandl | 2008-09-09 14:26:00 -0500 (Tue, 09 Sep 2008) | 2 lines

  Fix varname in docstring. #3822.
........
  r66350 | georg.brandl | 2008-09-09 15:28:31 -0500 (Tue, 09 Sep 2008) | 2 lines

  #3472: update Mac-bundled Python version info.
........
  r66352 | benjamin.peterson | 2008-09-09 15:55:01 -0500 (Tue, 09 Sep 2008) | 4 lines

  Fix #3634 invalid return value from _weakref.ref(Exception).__init__

  Reviewers: Amaury, Antoine, Benjamin
........
  r66358 | benjamin.peterson | 2008-09-09 18:16:48 -0500 (Tue, 09 Sep 2008) | 1 line

  use the latest pygments version
........

16 years agokill memoryview.size in favor of len(view)
Benjamin Peterson [Wed, 10 Sep 2008 21:47:03 +0000 (21:47 +0000)]
kill memoryview.size in favor of len(view)

Reviewer: Antoine Pitrou #3827

16 years agomake use of shorter attribute access
Benjamin Peterson [Wed, 10 Sep 2008 21:38:31 +0000 (21:38 +0000)]
make use of shorter attribute access

16 years agoendow memoryview.tolist() with docs
Benjamin Peterson [Wed, 10 Sep 2008 21:31:58 +0000 (21:31 +0000)]
endow memoryview.tolist() with docs

16 years agoMerged revisions 66369 via svnmerge from
Martin v. Löwis [Wed, 10 Sep 2008 21:15:32 +0000 (21:15 +0000)]
Merged revisions 66369 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r66369 | martin.v.loewis | 2008-09-10 21:16:35 +0200 (Mi, 10 Sep 2008) | 4 lines

  Read unidata_version from unicodedata module.
  Delete old NormalizationTest.txt if it doesn't match
  unidata_version.
........

16 years agofix sphinx warning
Benjamin Peterson [Wed, 10 Sep 2008 21:02:02 +0000 (21:02 +0000)]
fix sphinx warning

16 years agoMerged revisions 66367 via svnmerge from
Martin v. Löwis [Wed, 10 Sep 2008 18:54:20 +0000 (18:54 +0000)]
Merged revisions 66367 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r66367 | martin.v.loewis | 2008-09-10 20:43:49 +0200 (Mi, 10 Sep 2008) | 2 lines

  Update to test Unicode 5.1.
........

16 years agoIssue #3756: make re.escape() handle bytes as well as str.
Guido van Rossum [Wed, 10 Sep 2008 17:44:35 +0000 (17:44 +0000)]
Issue #3756: make re.escape() handle bytes as well as str.
Patch by Andrew McNamara, reviewed and tweaked by myself.

16 years agoMerged revisions 66364 via svnmerge from
Guido van Rossum [Wed, 10 Sep 2008 14:30:50 +0000 (14:30 +0000)]
Merged revisions 66364 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r66364 | guido.van.rossum | 2008-09-10 07:27:00 -0700 (Wed, 10 Sep 2008) | 3 lines

  Issue #3629: Fix sre "bytecode" validator for an end case.
  Reviewed by Amaury.
........

16 years agoMerged revisions 66362 via svnmerge from
Martin v. Löwis [Wed, 10 Sep 2008 14:08:48 +0000 (14:08 +0000)]
Merged revisions 66362 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r66362 | martin.v.loewis | 2008-09-10 15:38:12 +0200 (Mi, 10 Sep 2008) | 3 lines

  Issue #3811: The Unicode database was updated to 5.1.
  Reviewed by Fredrik Lundh and Marc-Andre Lemburg.
........

16 years agoSome typos.
Georg Brandl [Wed, 10 Sep 2008 07:14:18 +0000 (07:14 +0000)]
Some typos.

16 years agodocument the memoryview object a little
Benjamin Peterson [Tue, 9 Sep 2008 22:15:27 +0000 (22:15 +0000)]
document the memoryview object a little

16 years agoBlocked revisions 66181 via svnmerge
Benjamin Peterson [Tue, 9 Sep 2008 20:49:48 +0000 (20:49 +0000)]
Blocked revisions 66181 via svnmerge

........
  r66181 | marc-andre.lemburg | 2008-09-03 06:13:56 -0500 (Wed, 03 Sep 2008) | 4 lines

  Issue #2562: Fix distutils PKG-INFO writing logic to allow having
  non-ascii characters and Unicode in setup.py meta-data.
........

16 years ago#3803: fix docs for comparison of unequal types.
Georg Brandl [Tue, 9 Sep 2008 19:31:57 +0000 (19:31 +0000)]
#3803: fix docs for comparison of unequal types.

16 years agoFix formatter usage of filter(). Bug #3800.
Georg Brandl [Tue, 9 Sep 2008 19:31:25 +0000 (19:31 +0000)]
Fix formatter usage of filter(). Bug #3800.

16 years agoUpdate Pygments version used.
Georg Brandl [Tue, 9 Sep 2008 19:14:12 +0000 (19:14 +0000)]
Update Pygments version used.

16 years agoHighlight snippets as Python 3.
Georg Brandl [Tue, 9 Sep 2008 19:10:58 +0000 (19:10 +0000)]
Highlight snippets as Python 3.

16 years agoIssue #3812: Failed to build python if configure --without-threads.
Hirokazu Yamamoto [Tue, 9 Sep 2008 17:55:11 +0000 (17:55 +0000)]
Issue #3812: Failed to build python if configure --without-threads.

Removed itertools usage from Lib/traceback.py, because itertools
is extension module, so maybe unavailable on build process.
(Lib/_dummy_thread.py uses Lib/traceback.py)

Reviewed by Amaury Forgeot d'Arc.

16 years agoAdded News for r66338
Hirokazu Yamamoto [Tue, 9 Sep 2008 14:01:25 +0000 (14:01 +0000)]
Added News for r66338

16 years agoIssue #3813: cannot lanch python.exe via symbolic link on cygwin.
Hirokazu Yamamoto [Tue, 9 Sep 2008 13:56:11 +0000 (13:56 +0000)]
Issue #3813: cannot lanch python.exe via symbolic link on cygwin.
readlink(2) can return non-null-terminated string.
Reviewed by Amaury Forgeot d'Arc.

16 years agoBlocked revisions 66316,66319 via svnmerge
Hirokazu Yamamoto [Tue, 9 Sep 2008 07:50:07 +0000 (07:50 +0000)]
Blocked revisions 66316,66319 via svnmerge

........
  r66316 | hirokazu.yamamoto | 2008-09-09 08:03:47 +0900 | 2 lines

  Issue #3804: Added test for Issue #2222.
  Reviewed by Benjamin Peterson.
........
  r66319 | hirokazu.yamamoto | 2008-09-09 08:38:42 +0900 | 2 lines

  Issue #3806: LockTests in test_imp should be skipped when thread is not available.
  Reviewed by Benjamin Peterson.
........

16 years agoBlocked revisions 66332 via svnmerge
Amaury Forgeot d'Arc [Tue, 9 Sep 2008 07:39:41 +0000 (07:39 +0000)]
Blocked revisions 66332 via svnmerge

........
  r66332 | amaury.forgeotdarc | 2008-09-09 09:24:30 +0200 (mar., 09 sept. 2008) | 6 lines

  #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
........

16 years agoIssue #3806: LockTests in test_imp should be skipped when thread is not available.
Hirokazu Yamamoto [Tue, 9 Sep 2008 07:33:27 +0000 (07:33 +0000)]
Issue #3806: LockTests in test_imp should be skipped when thread is not available.
Reviewed by Benjamin Peterson.

16 years agoRevert r33661, which broke all buildbots.
Amaury Forgeot d'Arc [Tue, 9 Sep 2008 07:28:22 +0000 (07:28 +0000)]
Revert r33661, which broke all buildbots.

16 years ago#3705: Fix crash when given a non-ascii value on the command line for the "-c" and...
Amaury Forgeot d'Arc [Tue, 9 Sep 2008 07:04:36 +0000 (07:04 +0000)]
#3705: Fix crash when given a non-ascii value on the command line for the "-c" and "-m" parameters
Second part, for Windows.

Reviewed by Antoine Pitrou

16 years ago#3791: Remove bsddb from the Windows msi installer,
Amaury Forgeot d'Arc [Tue, 9 Sep 2008 06:42:00 +0000 (06:42 +0000)]
#3791: Remove bsddb from the Windows msi installer,
And do not compile the core bsddb library.

Reviewed by Martin von Loewis.

16 years agoAdded a warning filter to don't show the warning during
Facundo Batista [Tue, 9 Sep 2008 02:43:19 +0000 (02:43 +0000)]
Added a warning filter to don't show the warning during
the tests. Also fixed the warning message in cgi.py

16 years agoMerged revisions 66321 via svnmerge from
Brett Cannon [Tue, 9 Sep 2008 01:52:27 +0000 (01:52 +0000)]
Merged revisions 66321 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r66321 | brett.cannon | 2008-09-08 17:49:16 -0700 (Mon, 08 Sep 2008) | 7 lines

  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.
........

16 years agoIssue #3804: Added test for Issue #2222.
Hirokazu Yamamoto [Mon, 8 Sep 2008 23:41:21 +0000 (23:41 +0000)]
Issue #3804: Added test for Issue #2222.
Reviewed by Benjamin Peterson.

16 years agoMerged revisions 66141,66145,66150,66180,66211,66217,66219,66226,66231,66244,66246...
Benjamin Peterson [Mon, 8 Sep 2008 23:05:23 +0000 (23:05 +0000)]
Merged revisions 66141,66145,66150,66180,66211,66217,66219,66226,66231,66244,66246,66249-66250,66264,66268,66272,66294,66306 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r66141 | gregory.p.smith | 2008-09-02 00:29:51 -0500 (Tue, 02 Sep 2008) | 3 lines

  Issue #3678: Correctly pass LDFLAGS and LDLAST to the linker on shared
  library targets in the Makefile.
........
  r66145 | marc-andre.lemburg | 2008-09-02 05:32:34 -0500 (Tue, 02 Sep 2008) | 5 lines

  Add quotes around the file name to avoid issues with spaces.

  Closes #3719.
........
  r66150 | marc-andre.lemburg | 2008-09-02 07:11:19 -0500 (Tue, 02 Sep 2008) | 3 lines

  Add news item for #3719.
........
  r66180 | vinay.sajip | 2008-09-03 04:20:05 -0500 (Wed, 03 Sep 2008) | 1 line

  Issue #3726: Allowed spaces in separators in logging configuration files.
........
  r66211 | vinay.sajip | 2008-09-04 02:31:21 -0500 (Thu, 04 Sep 2008) | 1 line

  Issue #3772: Fixed regression problem in StreamHandler.emit().
........
  r66217 | andrew.kuchling | 2008-09-04 08:26:24 -0500 (Thu, 04 Sep 2008) | 1 line

  #3671: various corrections and markup fixes noted by Kent Johnson
........
  r66219 | hirokazu.yamamoto | 2008-09-04 09:25:30 -0500 (Thu, 04 Sep 2008) | 1 line

  Added NEWS
........
  r66226 | benjamin.peterson | 2008-09-04 18:31:27 -0500 (Thu, 04 Sep 2008) | 1 line

  flesh out the documentation on using 2to3
........
  r66231 | andrew.kuchling | 2008-09-05 10:15:56 -0500 (Fri, 05 Sep 2008) | 1 line

  #3671: Typo fix
........
  r66244 | jesse.noller | 2008-09-05 20:20:11 -0500 (Fri, 05 Sep 2008) | 2 lines

  Fix typo in multiprocessing doc, cancel_join_thread was missing _thread
........
  r66246 | benjamin.peterson | 2008-09-05 22:00:00 -0500 (Fri, 05 Sep 2008) | 1 line

  actually tell the name of the flag to use
........
  r66249 | andrew.kuchling | 2008-09-06 07:50:05 -0500 (Sat, 06 Sep 2008) | 1 line

  Various corrections
........
  r66250 | andrew.kuchling | 2008-09-06 08:04:02 -0500 (Sat, 06 Sep 2008) | 1 line

  #3040: include 'dest' argument in example; trim some trailing whitespace
........
  r66264 | benjamin.peterson | 2008-09-06 14:42:39 -0500 (Sat, 06 Sep 2008) | 1 line

  docs are pretty good about new-style classes these days
........
  r66268 | andrew.kuchling | 2008-09-06 15:28:01 -0500 (Sat, 06 Sep 2008) | 1 line

  #3669 from Robert Lehmann: simplify use of iterator in example
........
  r66272 | andrew.kuchling | 2008-09-06 16:26:02 -0500 (Sat, 06 Sep 2008) | 1 line

  #1317: describe the does_esmtp, ehlo_resp, esmtp_features, and helo_resp attributes
........
  r66294 | georg.brandl | 2008-09-07 12:00:17 -0500 (Sun, 07 Sep 2008) | 2 lines

  Add a new howto about Python and the web, by Marek Kubica.
........
  r66306 | mark.summerfield | 2008-09-08 09:45:37 -0500 (Mon, 08 Sep 2008) | 3 lines

  Added xrefs to each other.
........

16 years agoBlocked revisions 66142 via svnmerge
Benjamin Peterson [Mon, 8 Sep 2008 22:09:39 +0000 (22:09 +0000)]
Blocked revisions 66142 via svnmerge

........
  r66142 | gregory.p.smith | 2008-09-02 00:36:11 -0500 (Tue, 02 Sep 2008) | 3 lines

  Issue #3708: os.urandom no longer goes into an infinite loop when passed a
  non-integer floating point number.
........

16 years agoBlocked revisions 66281-66282,66301,66310 via svnmerge
Benjamin Peterson [Mon, 8 Sep 2008 21:56:45 +0000 (21:56 +0000)]
Blocked revisions 66281-66282,66301,66310 via svnmerge

........
  r66281 | josiah.carlson | 2008-09-06 22:53:58 -0500 (Sat, 06 Sep 2008) | 3 lines

  This fixes a small inconsistency between trunk and 3.0, closing bug 3764.
........
  r66282 | josiah.carlson | 2008-09-06 23:37:10 -0500 (Sat, 06 Sep 2008) | 3 lines

  undoing change that broke trunk.  Need to find a better solution to this.
........
  r66301 | facundo.batista | 2008-09-07 19:20:28 -0500 (Sun, 07 Sep 2008) | 4 lines

  Issue 3801.  Fixing a dumb error in the deprecated parse_qsl()
  function.  Tests added.
........
  r66310 | bill.janssen | 2008-09-08 11:37:24 -0500 (Mon, 08 Sep 2008) | 1 line

  incorporate fixes from issue 3162; SSL doc patch
........

16 years agomention that bsddb3 can be gotten as a third party addon
Benjamin Peterson [Mon, 8 Sep 2008 21:35:37 +0000 (21:35 +0000)]
mention that bsddb3 can be gotten as a third party addon

16 years agofixes from issue 3162 for SSL module
Bill Janssen [Mon, 8 Sep 2008 16:45:19 +0000 (16:45 +0000)]
fixes from issue 3162 for SSL module

16 years agoAdd 3.0b3 uuid
Martin v. Löwis [Mon, 8 Sep 2008 16:30:35 +0000 (16:30 +0000)]
Add 3.0b3 uuid

16 years agoMerged revisions 66304-66305,66307 via svnmerge from
Martin v. Löwis [Mon, 8 Sep 2008 16:27:54 +0000 (16:27 +0000)]
Merged revisions 66304-66305,66307 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r66304 | martin.v.loewis | 2008-09-08 14:02:45 +0200 (Mo, 08 Sep 2008) | 2 lines

  Allow passing the MSI file name to merge.py.
........
  r66305 | martin.v.loewis | 2008-09-08 15:50:10 +0200 (Mo, 08 Sep 2008) | 3 lines

  Issue #2271: Set SecureCustomProperties so that installation will properly
  use the TARGETDIR even for unprivileged users.
........
  r66307 | martin.v.loewis | 2008-09-08 18:15:38 +0200 (Mo, 08 Sep 2008) | 1 line

  Add UUIDs for upcoming releases
........

16 years agoremove some more bsddb references
Benjamin Peterson [Mon, 8 Sep 2008 02:49:30 +0000 (02:49 +0000)]
remove some more bsddb references

16 years agoAdded sanity checks for the deprecated parse_qs() and
Facundo Batista [Mon, 8 Sep 2008 00:23:29 +0000 (00:23 +0000)]
Added sanity checks for the deprecated parse_qs() and
parse_qsl() functions in cgi module.

16 years agoreran autoconf
Gregory P. Smith [Sun, 7 Sep 2008 19:24:00 +0000 (19:24 +0000)]
reran autoconf

16 years agoMerged revision 66295 via svnmerge from
Gregory P. Smith [Sun, 7 Sep 2008 19:23:19 +0000 (19:23 +0000)]
Merged revision 66295 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r66295 | gregory.p.smith | 2008-09-07 12:18:16 -0700 (Sun, 07 Sep 2008)

  bugfix to r66283 (see issue #1204).
........

16 years agodescribe the change merged in r66285
Gregory P. Smith [Sun, 7 Sep 2008 06:29:10 +0000 (06:29 +0000)]
describe the change merged in r66285

16 years agoblock 66284 from being merged; i reran autoconf to regenerate
Gregory P. Smith [Sun, 7 Sep 2008 06:27:24 +0000 (06:27 +0000)]
block 66284 from being merged; i reran autoconf to regenerate
configure and included that in 66285.

16 years agoMerged revisions 66179,66283 via svnmerge from
Gregory P. Smith [Sun, 7 Sep 2008 06:24:49 +0000 (06:24 +0000)]
Merged revisions 66179,66283 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r66179 | gregory.p.smith | 2008-09-02 22:57:48 -0700 (Tue, 02 Sep 2008)

  Fix issue 3645: OpenBSD required -lcurses when linking with readline
  to get the correct completion_matches function to avoid crashes on
  x86_64 (amd64).
........
  r66283 | gregory.p.smith | 2008-09-06 22:15:18 -0700 (Sat, 06 Sep 2008)

  - 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).
........

16 years agoMerged revisions 66277 via svnmerge from
Benjamin Peterson [Sat, 6 Sep 2008 23:33:21 +0000 (23:33 +0000)]
Merged revisions 66277 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r66277 | benjamin.peterson | 2008-09-06 18:19:15 -0500 (Sat, 06 Sep 2008) | 1 line

  fix missing module
........

16 years agoBlocked revisions 66275 via svnmerge
Antoine Pitrou [Sat, 6 Sep 2008 23:06:41 +0000 (23:06 +0000)]
Blocked revisions 66275 via svnmerge

........
  r66275 | antoine.pitrou | 2008-09-07 01:04:32 +0200 (dim., 07 sept. 2008) | 3 lines

  Backport relevant part of r66274 (in issue #874900).
........

16 years agoIssue #874900: fix behaviour of threading module after a fork.
Antoine Pitrou [Sat, 6 Sep 2008 23:00:03 +0000 (23:00 +0000)]
Issue #874900: fix behaviour of threading module after a fork.

Reviewed by Gregory P. Smith.

16 years agofixes deferred/release blocker issue #3797: Fixed the dbm, marshal, mmap,
Gregory P. Smith [Sat, 6 Sep 2008 21:34:51 +0000 (21:34 +0000)]
fixes deferred/release blocker issue #3797: Fixed the dbm, marshal, mmap,
ossaudiodev, & winreg modules to return bytes objects instead of bytearray
objects.

16 years agoI modified the tests a bit to account for unicode string
Amaury Forgeot d'Arc [Sat, 6 Sep 2008 21:03:22 +0000 (21:03 +0000)]
I modified the tests a bit to account for unicode string

Merged revisions 66270 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r66270 | amaury.forgeotdarc | 2008-09-06 22:53:51 +0200 (sam., 06 sept. 2008) | 3 lines

  #3796: A test class was not run in test_float.
  Reviewed by Benjamin.
........

16 years agoIssue #3705: py3k aborts if "-c" or "-m" is given a non-ascii value.
Antoine Pitrou [Sat, 6 Sep 2008 20:46:58 +0000 (20:46 +0000)]
Issue #3705: py3k aborts if "-c" or "-m" is given a non-ascii value.

Reviewed by Benjamin Peterson.

16 years agoFixes release blocker issue #3492 and #3790.
Gregory P. Smith [Sat, 6 Sep 2008 20:13:06 +0000 (20:13 +0000)]
Fixes release blocker issue #3492 and #3790.

Make zlib and zipimport to return bytes instead of bytearray and use bytes
rather than bytearray for their internal leftover data storages.

16 years agoMerged revisions 66262 via svnmerge from
Benjamin Peterson [Sat, 6 Sep 2008 19:37:35 +0000 (19:37 +0000)]
Merged revisions 66262 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r66262 | benjamin.peterson | 2008-09-06 14:28:11 -0500 (Sat, 06 Sep 2008) | 4 lines

  #1638033: add support for httponly on Cookie.Morsel

  Reviewer: Benjamin
........

16 years ago#3794: remove __div__ and __rdiv__ traces.
Georg Brandl [Sat, 6 Sep 2008 17:43:49 +0000 (17:43 +0000)]
#3794: remove __div__ and __rdiv__ traces.

16 years ago#3793: fix markup.
Georg Brandl [Sat, 6 Sep 2008 17:42:52 +0000 (17:42 +0000)]
#3793: fix markup.

16 years agoRemove alpha notes from RELNOTES
Barry Warsaw [Sat, 6 Sep 2008 16:49:24 +0000 (16:49 +0000)]
Remove alpha notes from RELNOTES

16 years agoforgot to remove _bsddb description from readme.txt (VC6)
Hirokazu Yamamoto [Sat, 6 Sep 2008 07:21:15 +0000 (07:21 +0000)]
forgot to remove _bsddb description from readme.txt (VC6)

16 years agoAlign the VS2003 and VS2005 build files with the VS2008 ones
Amaury Forgeot d'Arc [Sat, 6 Sep 2008 00:11:20 +0000 (00:11 +0000)]
Align the VS2003 and VS2005 build files with the VS2008 ones
(VC6 was done before)

16 years agoBlocked revisions 66137,66182,66192,66196 via svnmerge
Benjamin Peterson [Fri, 5 Sep 2008 23:45:52 +0000 (23:45 +0000)]
Blocked revisions 66137,66182,66192,66196 via svnmerge

........
  r66137 | jesus.cea | 2008-09-01 21:29:06 -0500 (Mon, 01 Sep 2008) | 1 line

  Improve compatibility with Python3.0 testsuite
........
  r66182 | jesus.cea | 2008-09-03 12:50:32 -0500 (Wed, 03 Sep 2008) | 1 line

  Fix some leaks - Neal Norwitz
........
  r66192 | jesus.cea | 2008-09-03 17:07:11 -0500 (Wed, 03 Sep 2008) | 1 line

  Python3.0 bsddb testsuite compatibility improvements
........
  r66196 | facundo.batista | 2008-09-03 17:35:50 -0500 (Wed, 03 Sep 2008) | 5 lines

  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.
........

16 years agoMerged revisions 66240 via svnmerge from
Antoine Pitrou [Fri, 5 Sep 2008 23:43:02 +0000 (23:43 +0000)]
Merged revisions 66240 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r66240 | antoine.pitrou | 2008-09-06 01:30:23 +0200 (sam., 06 sept. 2008) | 5 lines

  Issue #3535: zipfile couldn't read some zip files larger than 2GB.

  Reviewed by Amaury Forgeot d'Arc.
........

16 years agocompile _bytesio and _stringio into the binary and initalize stdio before site fixing...
Benjamin Peterson [Fri, 5 Sep 2008 23:27:15 +0000 (23:27 +0000)]
compile _bytesio and _stringio into the binary and initalize stdio before site fixing #3279

Reviewer: Alexandre Vassalotti

16 years agoMerged revisions 66237 via svnmerge from
Brett Cannon [Fri, 5 Sep 2008 23:01:27 +0000 (23:01 +0000)]
Merged revisions 66237 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r66237 | brett.cannon | 2008-09-05 15:59:17 -0700 (Fri, 05 Sep 2008) | 7 lines

  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.
........

16 years agoMerged revisions 66235 via svnmerge from
Antoine Pitrou [Fri, 5 Sep 2008 22:13:06 +0000 (22:13 +0000)]
Merged revisions 66235 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r66235 | antoine.pitrou | 2008-09-06 00:04:54 +0200 (sam., 06 sept. 2008) | 6 lines

  #3601: test_unicode.test_raiseMemError fails in UCS4

  Reviewed by Benjamin Peterson on IRC.
........

16 years ago#3660: Correct a reference leak in PyUnicode_AsEncodedString when
Amaury Forgeot d'Arc [Fri, 5 Sep 2008 20:48:47 +0000 (20:48 +0000)]
#3660: Correct a reference leak in PyUnicode_AsEncodedString when
the encoder does not return a bytes object.

Now test_unicode passes without leaking.

Reviewer: Antoine Pitrou.

16 years agoBlocked revisions 66232 via svnmerge
Brett Cannon [Fri, 5 Sep 2008 18:35:01 +0000 (18:35 +0000)]
Blocked revisions 66232 via svnmerge

........
  r66232 | brett.cannon | 2008-09-05 11:33:51 -0700 (Fri, 05 Sep 2008) | 5 lines

  Deprecate bsddb for removal in Python 3.0.

  Closes issue 3776.
  Review by Nick Coghlan.
........

16 years agoBlocked revisions 66229 via svnmerge
Brett Cannon [Fri, 5 Sep 2008 03:54:40 +0000 (03:54 +0000)]
Blocked revisions 66229 via svnmerge

........
  r66229 | brett.cannon | 2008-09-04 20:52:59 -0700 (Thu, 04 Sep 2008) | 1 line

  Make it more obvious that warnings.catch_warnings() and its arguments should be considered keyword-only.
........

16 years agofix small typo
Benjamin Peterson [Fri, 5 Sep 2008 00:43:33 +0000 (00:43 +0000)]
fix small typo

16 years agoIssue #3660 (part of): fix a memory leak in _pickle.
Antoine Pitrou [Fri, 5 Sep 2008 00:03:33 +0000 (00:03 +0000)]
Issue #3660 (part of): fix a memory leak in _pickle.

Patch by Amaury Forgeot d'Arc, review by me.

16 years agoFollow-up of #3773: In PyTokenizer_FindEncoding, remove the call to PyErr_NoMemory...
Amaury Forgeot d'Arc [Thu, 4 Sep 2008 22:53:19 +0000 (22:53 +0000)]
Follow-up of #3773: In PyTokenizer_FindEncoding, remove the call to PyErr_NoMemory when PyMem_MALLOC() fails.
It is not stritly necessary, the function may already return NULL without an exception set,
for example when the file cannot be opened.

Discussed with Benjamin Peterson.

16 years ago#3773: Check for errors around the use of PyTokenizer_FindEncoding().
Amaury Forgeot d'Arc [Thu, 4 Sep 2008 22:34:09 +0000 (22:34 +0000)]
#3773: Check for errors around the use of PyTokenizer_FindEncoding().

reviewed by Brett Cannon.

16 years agoIssue #3160: the "bdist_wininst" distutils command didn't work.
Antoine Pitrou [Thu, 4 Sep 2008 21:32:09 +0000 (21:32 +0000)]
Issue #3160: the "bdist_wininst" distutils command didn't work.

Reviewed by Trent Nelson.

16 years agoUpdate release notes for pybsddb.
Barry Warsaw [Thu, 4 Sep 2008 13:44:35 +0000 (13:44 +0000)]
Update release notes for pybsddb.

16 years agoMerged revisions 66213 via svnmerge from
Hirokazu Yamamoto [Thu, 4 Sep 2008 11:24:53 +0000 (11:24 +0000)]
Merged revisions 66213 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r66213 | hirokazu.yamamoto | 2008-09-04 20:15:14 +0900 | 1 line

  Issue #3762: platform.architecture() fails if python is lanched via its symbolic link.
  Reviewed by Amaury Forgeot d'Arc.
........

16 years agoIssue #1658: dict size is changing during iteration in tkinter.BaseWidget and
Guilherme Polo [Thu, 4 Sep 2008 11:21:31 +0000 (11:21 +0000)]
Issue #1658: dict size is changing during iteration in tkinter.BaseWidget and
tkinter.scrolledtext.ScrolledText.

Reviewed by Amaury Forgeot d'Arc

16 years agoFollows to bsddb removal (VC6)
Hirokazu Yamamoto [Thu, 4 Sep 2008 08:47:17 +0000 (08:47 +0000)]
Follows to bsddb removal (VC6)

16 years agoMention that bsddb is gone and include a link to jcea's website where
Gregory P. Smith [Thu, 4 Sep 2008 05:07:03 +0000 (05:07 +0000)]
Mention that bsddb is gone and include a link to jcea's website where
it is being maintained.

16 years agoPyTokenizer_FindEncoding() always failed because it set the tokenizer state
Brett Cannon [Thu, 4 Sep 2008 05:04:25 +0000 (05:04 +0000)]
PyTokenizer_FindEncoding() always failed because it set the tokenizer state
with only a file pointer when it called fp_setreadl() which expected a file
path. Changed fp_setreadl() to use either a file path or file descriptor
(derived from the file pointer) to fix the issue.

Closes issue 3594.
Reviewed by Antoine Pitrou and Benjamin Peterson.

16 years agoInclude a pointer to the pybsddb website with the 'bsddb has been
Gregory P. Smith [Thu, 4 Sep 2008 04:46:48 +0000 (04:46 +0000)]
Include a pointer to the pybsddb website with the 'bsddb has been
removed' note.

16 years agocorrect an example
Gregory P. Smith [Thu, 4 Sep 2008 04:18:09 +0000 (04:18 +0000)]
correct an example

16 years agoRemove _bsddb project on py3k (_bsddb44 project remains and builds). As discussed
Mark Hammond [Thu, 4 Sep 2008 03:03:00 +0000 (03:03 +0000)]
Remove _bsddb project on py3k (_bsddb44 project remains and builds).  As discussed
with Barry etc on #python-dev

16 years agoFix a memory leak in reloading extension modules #3667
Benjamin Peterson [Thu, 4 Sep 2008 02:28:15 +0000 (02:28 +0000)]
Fix a memory leak in reloading extension modules #3667

Reviewer: Barry Warsaw

16 years ago#2501 xml.sax.parser doesn't terminate when given a filename; enable some more tests!
Benjamin Peterson [Thu, 4 Sep 2008 02:22:52 +0000 (02:22 +0000)]
#2501 xml.sax.parser doesn't terminate when given a filename; enable some more tests!

Reviewed by myself

16 years agoCommitting the patch in issue 2965, so that weakref dicts have a closer
Barry Warsaw [Thu, 4 Sep 2008 01:42:51 +0000 (01:42 +0000)]
Committing the patch in issue 2965, so that weakref dicts have a closer
interface to normal dictionaries.  keys(), values() and items() still return
iterators instead of views, but that can be fixed later (or not).

16 years agodb_incs is needed
Benjamin Peterson [Wed, 3 Sep 2008 23:30:49 +0000 (23:30 +0000)]
db_incs is needed

16 years agoclean up some more bsddb scraps
Benjamin Peterson [Wed, 3 Sep 2008 22:59:38 +0000 (22:59 +0000)]
clean up some more bsddb scraps

16 years agoIssue 600362: Relocated parse_qs() and parse_qsl(), from the cgi module
Facundo Batista [Wed, 3 Sep 2008 22:49:01 +0000 (22:49 +0000)]
Issue 600362: Relocated parse_qs() and parse_qsl(), from the cgi module
to the urlparse one.  Added a DeprecationWarning in the old module, it
will be deprecated in the future.  Docs and tests updated.

16 years agoBlocked revisions 66197 via svnmerge
Brett Cannon [Wed, 3 Sep 2008 22:47:09 +0000 (22:47 +0000)]
Blocked revisions 66197 via svnmerge

........
  r66197 | brett.cannon | 2008-09-03 15:45:11 -0700 (Wed, 03 Sep 2008) | 6 lines

  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.
........

16 years agoremove bsddb
Benjamin Peterson [Wed, 3 Sep 2008 22:30:12 +0000 (22:30 +0000)]
remove bsddb

16 years agoMerged revisions 66134,66136,66143,66154-66155,66190 via svnmerge from
Benjamin Peterson [Wed, 3 Sep 2008 22:22:18 +0000 (22:22 +0000)]
Merged revisions 66134,66136,66143,66154-66155,66190 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r66134 | andrew.kuchling | 2008-09-01 20:13:42 -0500 (Mon, 01 Sep 2008) | 1 line

  Describe the __hash__ changes
........
  r66136 | andrew.kuchling | 2008-09-01 20:39:18 -0500 (Mon, 01 Sep 2008) | 1 line

  typo fix
........
  r66143 | mark.summerfield | 2008-09-02 02:23:16 -0500 (Tue, 02 Sep 2008) | 3 lines

  a typo
........
  r66154 | andrew.kuchling | 2008-09-02 08:06:00 -0500 (Tue, 02 Sep 2008) | 1 line

  Clarify example; add imports
........
  r66155 | andrew.kuchling | 2008-09-02 08:08:11 -0500 (Tue, 02 Sep 2008) | 1 line

  Add e-mail address
........
  r66190 | benjamin.peterson | 2008-09-03 16:48:20 -0500 (Wed, 03 Sep 2008) | 1 line

  3.0 still has the old threading names
........

16 years agoPython3.0 bsddb testsuite compatibility improvements
Jesus Cea [Wed, 3 Sep 2008 22:07:33 +0000 (22:07 +0000)]
Python3.0 bsddb testsuite compatibility improvements

16 years agoFixed wording of python --help text.
Christian Heimes [Wed, 3 Sep 2008 20:31:07 +0000 (20:31 +0000)]
Fixed wording of python --help text.
The -b option was still using the old name 'buffer' instead of 'bytearray'.

16 years agoThe decode is used to workaround this:
Jesus Cea [Wed, 3 Sep 2008 20:23:47 +0000 (20:23 +0000)]
The decode is used to workaround this:
http://mail.python.org/pipermail/python-3000/2008-September/014709.html

16 years agoIssue #3696: Error parsing arguments on OpenBSD <= 4.4 and Cygwin.
Antoine Pitrou [Wed, 3 Sep 2008 18:58:51 +0000 (18:58 +0000)]
Issue #3696: Error parsing arguments on OpenBSD <= 4.4 and Cygwin.

Patch by Amaury Forgeot d'Arc, reviewed by me.

16 years agoIssue #3697: "Fatal Python error: Cannot recover from stack overflow"
Antoine Pitrou [Wed, 3 Sep 2008 18:34:34 +0000 (18:34 +0000)]
Issue #3697: "Fatal Python error: Cannot recover from stack overflow"
could be easily encountered under Windows in debug mode when exercising
the recursion limit checking code, due to bogus handling of recursion
limit when USE_STACKCHEK was enabled.

Reviewed by Amaury Forgeot d'Arc on IRC.

16 years agomerge 66184 to fix issue3110 to py3k
Jesse Noller [Wed, 3 Sep 2008 18:22:19 +0000 (18:22 +0000)]
merge 66184 to fix issue3110 to py3k

16 years agoFix some leaks - Neal Norwitz
Jesus Cea [Wed, 3 Sep 2008 17:50:59 +0000 (17:50 +0000)]
Fix some leaks - Neal Norwitz

16 years agoMerged revisions 66174-66175,66177 via svnmerge from
Benjamin Peterson [Wed, 3 Sep 2008 02:27:16 +0000 (02:27 +0000)]
Merged revisions 66174-66175,66177 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

................
  r66174 | benjamin.peterson | 2008-09-02 19:21:32 -0500 (Tue, 02 Sep 2008) | 15 lines

  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.
  ........
................
  r66175 | benjamin.peterson | 2008-09-02 20:53:28 -0500 (Tue, 02 Sep 2008) | 1 line

  update 2to3 script from 2to3 trunk
................
  r66177 | benjamin.peterson | 2008-09-02 21:14:03 -0500 (Tue, 02 Sep 2008) | 9 lines

  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
  ........
................

16 years agoMerged revisions 66171 via svnmerge from
Amaury Forgeot d'Arc [Tue, 2 Sep 2008 23:22:56 +0000 (23:22 +0000)]
Merged revisions 66171 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r66171 | amaury.forgeotdarc | 2008-09-03 01:19:56 +0200 (mer., 03 sept. 2008) | 9 lines

  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.
........

16 years agoMerged revisions 66167 via svnmerge from
Amaury Forgeot d'Arc [Tue, 2 Sep 2008 23:08:07 +0000 (23:08 +0000)]
Merged revisions 66167 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r66167 | amaury.forgeotdarc | 2008-09-02 23:50:47 +0200 (mar., 02 sept. 2008) | 5 lines

  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.
........

16 years agoMerged revisions 66166 via svnmerge from
Amaury Forgeot d'Arc [Tue, 2 Sep 2008 22:36:25 +0000 (22:36 +0000)]
Merged revisions 66166 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

Note: The Windows projects still use bsddb 4.4.20 on the py3k branch

........
  r66166 | amaury.forgeotdarc | 2008-09-02 23:17:05 +0200 (mar., 02 sept. 2008) | 2 lines

  Use vs9to8.py to refresh the Visual Studio 2005 build files.
........

16 years agoMerged revisions 66162 via svnmerge from
Hirokazu Yamamoto [Tue, 2 Sep 2008 20:41:25 +0000 (20:41 +0000)]
Merged revisions 66162 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r66162 | hirokazu.yamamoto | 2008-09-03 05:36:44 +0900 | 2 lines

  Issue #3759: test_asyncore.py leaked handle.
  Reviewed by Amaury Forgeot d'Arc
........