Commit Graph

37262 Commits

Author SHA1 Message Date
Hirokazu Yamamoto 54a1cc68a1 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.
2008-09-09 17:55:11 +00:00
Hirokazu Yamamoto 167b12b71c Added News for r66338 2008-09-09 14:01:25 +00:00
Hirokazu Yamamoto f8247796b1 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.
2008-09-09 13:56:11 +00:00
Hirokazu Yamamoto 29d95eb6f2 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.
........
2008-09-09 07:50:07 +00:00
Amaury Forgeot d'Arc 016625db40 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
........
2008-09-09 07:39:41 +00:00
Hirokazu Yamamoto 36144098e3 Issue #3806: LockTests in test_imp should be skipped when thread is not available.
Reviewed by Benjamin Peterson.
2008-09-09 07:33:27 +00:00
Amaury Forgeot d'Arc 8530e8590f Revert r33661, which broke all buildbots. 2008-09-09 07:28:22 +00:00
Amaury Forgeot d'Arc 14b785192b #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
2008-09-09 07:04:36 +00:00
Amaury Forgeot d'Arc f7bfcfbb68 #3791: Remove bsddb from the Windows msi installer,
And do not compile the core bsddb library.

Reviewed by Martin von Loewis.
2008-09-09 06:42:00 +00:00
Facundo Batista a27244bfa1 Added a warning filter to don't show the warning during
the tests. Also fixed the warning message in cgi.py
2008-09-09 02:43:19 +00:00
Brett Cannon 1cd0247a4d 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.
........
2008-09-09 01:52:27 +00:00
Hirokazu Yamamoto 4c19e6e02d Issue #3804: Added test for Issue #2222.
Reviewed by Benjamin Peterson.
2008-09-08 23:41:21 +00:00
Benjamin Peterson ae5360b31e 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.
........
2008-09-08 23:05:23 +00:00
Benjamin Peterson e5b4ca6c99 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.
........
2008-09-08 22:09:39 +00:00
Benjamin Peterson c321ecb084 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
........
2008-09-08 21:56:45 +00:00
Benjamin Peterson 905aa66512 mention that bsddb3 can be gotten as a third party addon 2008-09-08 21:35:37 +00:00
Bill Janssen 58afe4c194 fixes from issue 3162 for SSL module 2008-09-08 16:45:19 +00:00
Martin v. Löwis f9ee5b4cff Add 3.0b3 uuid 2008-09-08 16:30:35 +00:00
Martin v. Löwis 1c4c306626 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
........
2008-09-08 16:27:54 +00:00
Benjamin Peterson 9a46cab613 remove some more bsddb references 2008-09-08 02:49:30 +00:00
Facundo Batista bd18fd6710 Added sanity checks for the deprecated parse_qs() and
parse_qsl() functions in cgi module.
2008-09-08 00:23:29 +00:00
Gregory P. Smith 3856c376a0 reran autoconf 2008-09-07 19:24:00 +00:00
Gregory P. Smith 9751591209 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).
........
2008-09-07 19:23:19 +00:00
Gregory P. Smith 207f2113d8 describe the change merged in r66285 2008-09-07 06:29:10 +00:00
Gregory P. Smith 9e20777f73 block 66284 from being merged; i reran autoconf to regenerate
configure and included that in 66285.
2008-09-07 06:27:24 +00:00
Gregory P. Smith 188209465a 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).
........
2008-09-07 06:24:49 +00:00
Benjamin Peterson d43029ba5a 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
........
2008-09-06 23:33:21 +00:00
Antoine Pitrou c770bbbf48 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).
........
2008-09-06 23:06:41 +00:00
Antoine Pitrou 5fe291f817 Issue #874900: fix behaviour of threading module after a fork.
Reviewed by Gregory P. Smith.
2008-09-06 23:00:03 +00:00
Gregory P. Smith 0a608fdaac fixes deferred/release blocker issue #3797: Fixed the dbm, marshal, mmap,
ossaudiodev, & winreg modules to return bytes objects instead of bytearray
objects.
2008-09-06 21:34:51 +00:00
Amaury Forgeot d'Arc 7e958d1ceb 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.
........
2008-09-06 21:03:22 +00:00
Antoine Pitrou 5651eaa720 Issue #3705: py3k aborts if "-c" or "-m" is given a non-ascii value.
Reviewed by Benjamin Peterson.
2008-09-06 20:46:58 +00:00
Gregory P. Smith 693fc4604f 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.
2008-09-06 20:13:06 +00:00
Benjamin Peterson 35e661c711 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
........
2008-09-06 19:37:35 +00:00
Georg Brandl ae55dc0da4 #3794: remove __div__ and __rdiv__ traces. 2008-09-06 17:43:49 +00:00
Georg Brandl 1aeaadd82a #3793: fix markup. 2008-09-06 17:42:52 +00:00
Barry Warsaw cf06bcc098 Remove alpha notes from RELNOTES 2008-09-06 16:49:24 +00:00
Hirokazu Yamamoto c883c4a767 forgot to remove _bsddb description from readme.txt (VC6) 2008-09-06 07:21:15 +00:00
Amaury Forgeot d'Arc 696af9772e Align the VS2003 and VS2005 build files with the VS2008 ones
(VC6 was done before)
2008-09-06 00:11:20 +00:00
Benjamin Peterson 6a59b0e000 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.
........
2008-09-05 23:45:52 +00:00
Antoine Pitrou 9e4fdf446d 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.
........
2008-09-05 23:43:02 +00:00
Benjamin Peterson 791dc2f32c compile _bytesio and _stringio into the binary and initalize stdio before site fixing #3279
Reviewer: Alexandre Vassalotti
2008-09-05 23:27:15 +00:00
Brett Cannon a741ebf8a1 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.
........
2008-09-05 23:01:27 +00:00
Antoine Pitrou b305aeb1dd 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.
........
2008-09-05 22:13:06 +00:00
Amaury Forgeot d'Arc f048111403 #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.
2008-09-05 20:48:47 +00:00
Brett Cannon f9b99a0baa 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.
........
2008-09-05 18:35:01 +00:00
Brett Cannon 45916a4042 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.
........
2008-09-05 03:54:40 +00:00
Benjamin Peterson 88d9498e6b fix small typo 2008-09-05 00:43:33 +00:00
Antoine Pitrou d79dc6216c Issue #3660 (part of): fix a memory leak in _pickle.
Patch by Amaury Forgeot d'Arc, review by me.
2008-09-05 00:03:33 +00:00
Amaury Forgeot d'Arc 9252287f2c 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.
2008-09-04 22:53:19 +00:00