Commit Graph

40669 Commits

Author SHA1 Message Date
Antoine Pitrou 187ac1bda4 #3601: test_unicode.test_raiseMemError fails in UCS4
Reviewed by Benjamin Peterson on IRC.
2008-09-05 22:04:54 +00:00
Brett Cannon 32476fc5a8 Deprecate bsddb for removal in Python 3.0.
Closes issue 3776.
Review by Nick Coghlan.
2008-09-05 18:33:51 +00:00
Andrew M. Kuchling 6024834ed9 #3671: Typo fix 2008-09-05 15:15:56 +00:00
Brett Cannon 3dffcd1a72 Make it more obvious that warnings.catch_warnings() and its arguments should be considered keyword-only. 2008-09-05 03:52:59 +00:00
Benjamin Peterson 15ad6c0f2b flesh out the documentation on using 2to3 2008-09-04 23:31:27 +00:00
Hirokazu Yamamoto 42e459ef43 Added NEWS 2008-09-04 14:25:30 +00:00
Andrew M. Kuchling 3ff2275628 #3671: various corrections and markup fixes noted by Kent Johnson 2008-09-04 13:26:24 +00:00
Hirokazu Yamamoto 171c4aae4e Issue #3762: platform.architecture() fails if python is lanched via its symbolic link.
Reviewed by Amaury Forgeot d'Arc.
2008-09-04 11:15:14 +00:00
Vinay Sajip 65d66e1006 Issue #3772: Fixed regression problem in StreamHandler.emit(). 2008-09-04 07:31:21 +00:00
Brett Cannon a0b7444f68 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.
2008-09-03 22:45:11 +00:00
Facundo Batista c585df9476 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-03 22:35:50 +00:00
Jesus Cea 69acb43327 Python3.0 bsddb testsuite compatibility improvements 2008-09-03 22:07:11 +00:00
Benjamin Peterson cde6dc9a86 3.0 still has the old threading names 2008-09-03 21:48:20 +00:00
Jesse Noller b814d6a704 Fix issue 3110 - solaris compilation of multiprocessing fails, reviewed by pitrou 2008-09-03 18:10:30 +00:00
Jesus Cea ac25fab12f Fix some leaks - Neal Norwitz 2008-09-03 17:50:32 +00:00
Marc-André Lemburg b339b2aa6f Issue #2562: Fix distutils PKG-INFO writing logic to allow having
non-ascii characters and Unicode in setup.py meta-data.
2008-09-03 11:13:56 +00:00
Vinay Sajip 6a2fd81316 Issue #3726: Allowed spaces in separators in logging configuration files. 2008-09-03 09:20:05 +00:00
Gregory P. Smith ff7b2d5ac6 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.
2008-09-03 05:57:48 +00:00
Benjamin Peterson 0151b5350b 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
........
2008-09-03 02:14:03 +00:00
Benjamin Peterson ee3acff3e3 update 2to3 script from 2to3 trunk 2008-09-03 01:53:28 +00:00
Benjamin Peterson eb55fd8d2f 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.
........
2008-09-03 00:21:32 +00:00
Amaury Forgeot d'Arc 293924bf31 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.
2008-09-02 23:19:56 +00:00
Amaury Forgeot d'Arc 042025f6b8 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.
2008-09-02 21:50:47 +00:00
Amaury Forgeot d'Arc 2e9b6cb6ec Use vs9to8.py to refresh the Visual Studio 2005 build files. 2008-09-02 21:17:05 +00:00
Hirokazu Yamamoto 3e7dd78344 Issue #3759: test_asyncore.py leaked handle.
Reviewed by Amaury Forgeot d'Arc
2008-09-02 20:36:44 +00:00
Andrew M. Kuchling 3e75d2336d Add e-mail address 2008-09-02 13:08:11 +00:00
Andrew M. Kuchling 8315da4c17 Clarify example; add imports 2008-09-02 13:06:00 +00:00
Marc-André Lemburg 31a0a1478b Add news item for #3719. 2008-09-02 12:11:19 +00:00
Marc-André Lemburg d15fad7a89 Add quotes around the file name to avoid issues with spaces.
Closes #3719.
2008-09-02 10:32:34 +00:00
Nick Coghlan 91ae3ea2b4 Issue 3747: Fix caching in ABCMeta.__subclasscheck__ (R: Georg Brandl) 2008-09-02 10:14:47 +00:00
Mark Summerfield 0792cbf5e1 a typo 2008-09-02 07:23:16 +00:00
Gregory P. Smith d712203d17 Issue #3708: os.urandom no longer goes into an infinite loop when passed a
non-integer floating point number.
2008-09-02 05:36:11 +00:00
Gregory P. Smith 2bb25cc1e2 Issue #3678: Correctly pass LDFLAGS and LDLAST to the linker on shared
library targets in the Makefile.
2008-09-02 05:29:51 +00:00
Jesus Cea 3b6be74304 Improve compatibility with Python3.0 testsuite 2008-09-02 02:29:06 +00:00
Andrew M. Kuchling 2dd647b8fc typo fix 2008-09-02 01:39:18 +00:00
Brett Cannon 1eaf0742d8 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.
2008-09-02 01:25:16 +00:00
Andrew M. Kuchling 86533776c2 Describe the __hash__ changes 2008-09-02 01:13:42 +00:00
Benjamin Peterson 973e6c2cf3 remove py3k warnings about the threading api; update docs
Reviewer: Benjamin Peterson
2008-09-01 23:12:58 +00:00
Jesus Cea 057dfddc88 In Python3.0, "test.test_support" is renamed to "test.support". 2008-09-01 20:48:16 +00:00
Amaury Forgeot d'Arc 3571fbfed7 Issue #3751: str.rpartition would perform a left-partition when called with
a unicode argument.

will backport.
2008-09-01 19:52:00 +00:00
Vinay Sajip aa5f873980 Bug #3738: Documentation is now more accurate in describing handler close methods. 2008-09-01 17:44:14 +00:00
Benjamin Peterson e5c1d294b1 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
........
2008-09-01 17:17:22 +00:00
Benjamin Peterson f7feaec16c revert r66114 for Jesse 2008-09-01 17:10:46 +00:00
Jesse Noller 27cc8e1dd2 Submit Nick's patch for issue 3589, reviewed by jnoller 2008-09-01 16:47:25 +00:00
Vinay Sajip 34bfda55d2 Added section about configuring logging in a library. Thanks to Thomas Heller for the idea. 2008-09-01 15:08:07 +00:00
Vinay Sajip 35e3b03e86 logging: fixed lack of use of encoding attribute specified on a stream. 2008-09-01 14:33:59 +00:00
Hirokazu Yamamoto ed8c6441b5 Issue #3748: platform.architecture() printed vogus message on windows.
Reviewed by Marc-Andre Lemburg.
2008-09-01 14:32:58 +00:00
Vinay Sajip 72ed07843a logging: fixed lack of use of encoding attribute specified on a stream. 2008-09-01 14:30:10 +00:00
Hirokazu Yamamoto f7dd75f484 Issue #3732: Backported r53335 to supress deprecation warning.
Reviewed by Benjamin Peterson.
2008-09-01 14:24:04 +00:00
Benjamin Peterson 17f03ca962 Fix compilation when --without-threads is given #3683
Reviewer: Georg Brandl, Benjamin Peterson
2008-09-01 14:18:30 +00:00