Commit Graph

39859 Commits

Author SHA1 Message Date
Benjamin Peterson 9171bed69a take Brett's advice on a few warnings 2008-05-26 20:41:45 +00:00
Gregory P. Smith 4036fd4b75 Fixes issue2791: subprocess.Popen.communicate leaked a file descripton until
the last reference to the Popen instance was dropped.  Adding explicit
close() calls fixes it.

Candidate for backport to release25-maint.
2008-05-26 20:22:14 +00:00
Benjamin Peterson 3aa84a7f28 warn about some members of the commands module 2008-05-26 19:41:53 +00:00
Benjamin Peterson b17ad2de08 wrap line 2008-05-26 19:37:11 +00:00
Gregory P. Smith 8f1a4a6828 Allow BerlekeyDB up through 4.7. I doubt any of our unixy buildbots even have
that installed yet but the module code supports it.
2008-05-26 19:29:14 +00:00
Gregory P. Smith 572226cad8 Define macros so that this still compiles on Python prior to r63675. 2008-05-26 19:03:35 +00:00
Benjamin Peterson dacde0d6ae turn PyErr_WarnPy3k into a macro 2008-05-26 17:43:53 +00:00
Benjamin Peterson eeb2b21ab0 add __all__ to test_support 2008-05-26 16:22:27 +00:00
Benjamin Peterson 2b4b5acf18 add PyByteArray docs 2008-05-26 15:54:26 +00:00
Georg Brandl 8de9119447 Add renaming notices to 3.0 http package members. 2008-05-26 15:01:48 +00:00
Benjamin Peterson 8b12ee1072 fix typo (thank Georg) 2008-05-26 14:51:54 +00:00
Benjamin Peterson 438e9ac4d4 fix a minor typo 2008-05-26 14:29:09 +00:00
Benjamin Peterson 404d182bba note that PyString and has been aliased to PyBytes 2008-05-26 14:02:09 +00:00
Christian Heimes 36f0a80bce Used vs9to8.py to port all VS9.0 changes to 8.0
Updated VS7.1 and VC6 project files
2008-05-26 13:51:41 +00:00
Christian Heimes 7a9906162b Updated NEWS 2008-05-26 13:15:11 +00:00
Benjamin Peterson d7c778477e put a big note on configure.in asking people to run autoconf 2008-05-26 13:01:25 +00:00
Christian Heimes 44720838eb Renamed bytesobject.c to bytearrayobject.c
Renamed stringobject.c to bytesobject.c
Fixed Windows builds
2008-05-26 13:01:01 +00:00
Christian Heimes 593daf545b Renamed PyString to PyBytes 2008-05-26 12:51:38 +00:00
Benjamin Peterson c3cb683d63 some updates to string formatting section in whatsnew 2008-05-26 12:29:46 +00:00
Christian Heimes 3497f94476 First step of the C API rename:
renamed Include/bytesobject.h to Include/bytearrayobject.h
renamed Include/stringobject.h to Include/bytesobject.h
added Include/stringobject.h with aliases
2008-05-26 12:29:14 +00:00
Thomas Heller b4701e638c On Windows, we must build a debug version iff running a debug build of
Python
2008-05-26 11:42:40 +00:00
Georg Brandl e2caef7646 Add renaming notices to xmlrpc modules. 2008-05-26 10:47:43 +00:00
Georg Brandl 68d3eb9f66 Add renaming notices to 2.6 dbm module docs. 2008-05-26 10:22:15 +00:00
Benjamin Peterson f9ef9881d7 update the tutorial to use str.format 2008-05-26 00:54:22 +00:00
Benjamin Peterson c15205e939 rename the section about new formatting 'new-string-formatting' 2008-05-25 20:05:52 +00:00
Martin v. Löwis bbaa2ebd17 Merged revisions 63634-63643 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3

........
  r63643 | martin.v.loewis | 2008-05-25 19:18:21 +0200 (So, 25 Mai 2008) | 3 lines

  Don't abort on IOErrors caused by saving pickle files.
  Fixes #2938.
........
2008-05-25 17:19:22 +00:00
Martin v. Löwis 367c79a4ad Create grammar pickle files on installation; remove them on uninstallation. 2008-05-25 16:37:34 +00:00
Martin v. Löwis f2e23d039c Merged revisions 62647-63633 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3

........
  r63047 | alexandre.vassalotti | 2008-05-11 11:03:24 +0200 (So, 11 Mai 2008) | 2 lines

  Added import fixer for copy_reg rename.
........
  r63081 | alexandre.vassalotti | 2008-05-11 22:06:36 +0200 (So, 11 Mai 2008) | 2 lines

  Added import fixer for Queue rename.
........
  r63090 | alexandre.vassalotti | 2008-05-11 22:38:16 +0200 (So, 11 Mai 2008) | 2 lines

  Added import fixer for PixMapWrapper rename.
........
  r63141 | alexandre.vassalotti | 2008-05-12 04:42:03 +0200 (Mo, 12 Mai 2008) | 5 lines

  Added fixer for SocketServer renaming.
  Removed PixMapWrapper fixer, since the module is actually pending
  removal.
........
  r63252 | alexandre.vassalotti | 2008-05-15 01:10:20 +0200 (Do, 15 Mai 2008) | 2 lines

  Added fixer for ConfigParser rename.
........
  r63321 | collin.winter | 2008-05-15 19:42:58 +0200 (Do, 15 Mai 2008) | 1 line

  Add a missing comma. Fixes issue 2866.
........
  r63356 | alexandre.vassalotti | 2008-05-16 08:55:44 +0200 (Fr, 16 Mai 2008) | 4 lines

  Added new tests for fix_imports.
  Added refactoring support of from-import statements of the style:
    from foo import bar, baz
........
  r63362 | alexandre.vassalotti | 2008-05-16 09:17:53 +0200 (Fr, 16 Mai 2008) | 2 lines

  Added the repr module import fixer.
........
  r63456 | georg.brandl | 2008-05-18 21:51:18 +0200 (So, 18 Mai 2008) | 2 lines

  #2908: fixers for Tkinter rename.
........
  r63461 | georg.brandl | 2008-05-18 23:00:20 +0200 (So, 18 Mai 2008) | 2 lines

  Fix for last patch.
........
  r63525 | alexandre.vassalotti | 2008-05-21 23:43:29 +0200 (Mi, 21 Mai 2008) | 4 lines

  Add missing comma in fix_imports.

  Bug caught by Quentin Gallet-Gilles.
........
  r63532 | brett.cannon | 2008-05-22 05:02:43 +0200 (Do, 22 Mai 2008) | 4 lines

  When testing fix_imports, no need to only test a subset of input; test it all!

  Do all revisions to the sandbox need to be manually applied to the trunk?
........
  r63533 | brett.cannon | 2008-05-22 05:16:45 +0200 (Do, 22 Mai 2008) | 1 line

  Add _markupbase to the import fixer.
........
  r63612 | georg.brandl | 2008-05-25 09:56:59 +0200 (So, 25 Mai 2008) | 2 lines

  Add fixer for _winreg rename.
........
  r63627 | georg.brandl | 2008-05-25 14:30:10 +0200 (So, 25 Mai 2008) | 2 lines

  Add fixer entry for the thread module.
........
  r63629 | georg.brandl | 2008-05-25 14:34:13 +0200 (So, 25 Mai 2008) | 2 lines

  Fixer entry for dummy_thread.
........
  r63633 | martin.v.loewis | 2008-05-25 16:52:41 +0200 (So, 25 Mai 2008) | 2 lines

  Temporarily disable Test_imports.
........
2008-05-25 14:58:01 +00:00
Georg Brandl 8a710dc441 Add renaming notices to thread and dummy_thread. 2008-05-25 12:34:57 +00:00
Martin v. Löwis dcc86204eb Include all licenses of the packages that we include. 2008-05-25 11:56:23 +00:00
Gregory P. Smith 5d7d6c37c2 note about r63617 2008-05-25 08:32:04 +00:00
Gregory P. Smith 9e6468be1d Fix issue2669: bsddb simple/legacy interface iteration silently fails
when database changes size during iteration.

It now behaves like a dictionary, the next attempt to get a value from
the iterator after the database has changed size will raise a RuntimeError.
2008-05-25 08:28:29 +00:00
Georg Brandl e08e3d0686 #2959: allow multiple close() calls for GzipFile. 2008-05-25 08:07:37 +00:00
Georg Brandl ecd0ad3c57 Hint about _winreg renaming in the docs. 2008-05-25 07:46:33 +00:00
Georg Brandl 392c6fc02d ConfigParser renaming reversal part 3: move module into place and adapt imports. 2008-05-25 07:25:25 +00:00
Georg Brandl 995ee9dab0 ConfigParser renaming reversal part 2: move module. 2008-05-25 07:21:58 +00:00
Georg Brandl 9a1aa8c9b2 ConfigParser renaming reversal part 1: remove stub module. 2008-05-25 07:21:41 +00:00
Gregory P. Smith c424061968 print out information about which BerkeleyDB library was found by
setup.py to use to build the bsddb module.
2008-05-25 07:20:34 +00:00
Georg Brandl a6168f9e0a Queue renaming reversal part 3: move module into place and
change imports and other references. Closes #2925.
2008-05-25 07:20:14 +00:00
Gregory P. Smith 8107290fa1 * Give the test_bsddb3 tests a unique temporary directory to run their
stuff in and clean it up afterwards regardless of the result.
* Get rid of duplicate list of test modules to run, they're maintained
  within test_all now.
* Print the BerkeleyDB version to stderr when running test_bsddb3 to
  help buildbot problem diagnosis.
2008-05-25 07:14:09 +00:00
Georg Brandl 6153ab3fee Queue renaming reversal part 2: move module. 2008-05-25 07:10:03 +00:00
Georg Brandl c8214253f2 Queue renaming reversal part 1: remove stub module. 2008-05-25 07:08:35 +00:00
Gregory P. Smith f7cbfcffec Use test_support to get network ports to bind to. 2008-05-25 03:13:41 +00:00
Gregory P. Smith d1e5715265 Correct the url to the external bsddb.db docs (likely to be integrated
soon anyways?)
2008-05-24 21:21:23 +00:00
Georg Brandl e152a77d96 socketserver renaming reversal part 3: move the module into the right
place and fix all references to it.  Closes #2926.
2008-05-24 18:31:28 +00:00
Guilherme Polo 6acb075f03 Fixed an import that remained from the lib-tk -> tkinter -> lib-tk renaming 2008-05-24 18:24:49 +00:00
Georg Brandl b897c9a1a6 socketserver renaming reversal part 2: move rename module.
I'm doing this case-only rename in a two-step process via a different directory
to hopefully avoid problems with case-insensitive filesystems.
2008-05-24 18:11:29 +00:00
Georg Brandl ae2496755c socketserver renaming reversal part 1: remove stub module. 2008-05-24 18:08:33 +00:00
Martin v. Löwis 7d3d04d6db Don't try to get the window size if it was never set before.
Fixes the test failure on Solaris.
2008-05-24 09:36:45 +00:00
Martin v. Löwis 68faf5b0fc Use announce instead of print, to suppress output in
the testsuite.
2008-05-24 09:00:04 +00:00