]>
granicus.if.org Git - python/log
Brett Cannon [Thu, 29 May 2008 05:08:50 +0000 (05:08 +0000)]
UserString.MutableString has been removed in Python 3.0.
Works on issue #2877. Thanks Quentin Gallet-Gilles for the patch.
Georg Brandl [Wed, 28 May 2008 15:41:36 +0000 (15:41 +0000)]
#2990: prevent inconsistent state while updating method cache.
Benjamin Peterson [Wed, 28 May 2008 11:51:41 +0000 (11:51 +0000)]
fix spelling
Georg Brandl [Wed, 28 May 2008 11:21:39 +0000 (11:21 +0000)]
#2989: add PyType_Modified().
Mark Hammond [Wed, 28 May 2008 01:54:55 +0000 (01:54 +0000)]
bdist_wininst now works correctly when both --skip-build and --plat-name are specified.
Benjamin Peterson [Wed, 28 May 2008 01:12:35 +0000 (01:12 +0000)]
update tutorial function with more appropiate one from Eric Smith
Jesus Cea [Tue, 27 May 2008 13:26:02 +0000 (13:26 +0000)]
Better integration between Python testing and bsddb3
Lars Gustäbel [Tue, 27 May 2008 12:39:23 +0000 (12:39 +0000)]
Do not close external file objects passed to tarfile.open(mode='w:bz2')
when the TarFile is closed.
Gregory P. Smith [Tue, 27 May 2008 08:40:09 +0000 (08:40 +0000)]
Disable the use of BerkeleyDB 4.6 on platforms that appear to have
issues with it.
Benjamin Peterson [Tue, 27 May 2008 01:42:29 +0000 (01:42 +0000)]
Improvements for test_py3kwarn
- Always show warnings so they are always catchable
- Make test_os_path_walk faster by walking a less populous directory
Benjamin Peterson [Tue, 27 May 2008 01:18:39 +0000 (01:18 +0000)]
remove some __getslice__
Gregory P. Smith [Mon, 26 May 2008 22:07:28 +0000 (22:07 +0000)]
Fix issue2588: Do not execute str[size-1] = '\0' when a 0 size is
passed in. (The assert won't prevent this in non-debug builds).
Benjamin Peterson [Mon, 26 May 2008 21:44:26 +0000 (21:44 +0000)]
remove duplication in test module
Gregory P. Smith [Mon, 26 May 2008 21:16:34 +0000 (21:16 +0000)]
Fix issue2589: there was a potential integer overflow leading to
memory corruption on esoteric platforms and incorrect behavior on
normal platforms.
Benjamin Peterson [Mon, 26 May 2008 20:43:24 +0000 (20:43 +0000)]
fix minor grammar typo
Benjamin Peterson [Mon, 26 May 2008 20:41:45 +0000 (20:41 +0000)]
take Brett's advice on a few warnings
Gregory P. Smith [Mon, 26 May 2008 20:22:14 +0000 (20:22 +0000)]
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.
Benjamin Peterson [Mon, 26 May 2008 19:41:53 +0000 (19:41 +0000)]
warn about some members of the commands module
Benjamin Peterson [Mon, 26 May 2008 19:37:11 +0000 (19:37 +0000)]
wrap line
Gregory P. Smith [Mon, 26 May 2008 19:29:14 +0000 (19:29 +0000)]
Allow BerlekeyDB up through 4.7. I doubt any of our unixy buildbots even have
that installed yet but the module code supports it.
Gregory P. Smith [Mon, 26 May 2008 19:03:35 +0000 (19:03 +0000)]
Define macros so that this still compiles on Python prior to r63675.
Benjamin Peterson [Mon, 26 May 2008 17:43:53 +0000 (17:43 +0000)]
turn PyErr_WarnPy3k into a macro
Benjamin Peterson [Mon, 26 May 2008 16:22:27 +0000 (16:22 +0000)]
add __all__ to test_support
Benjamin Peterson [Mon, 26 May 2008 15:54:26 +0000 (15:54 +0000)]
add PyByteArray docs
Georg Brandl [Mon, 26 May 2008 15:01:48 +0000 (15:01 +0000)]
Add renaming notices to 3.0 http package members.
Benjamin Peterson [Mon, 26 May 2008 14:51:54 +0000 (14:51 +0000)]
fix typo (thank Georg)
Benjamin Peterson [Mon, 26 May 2008 14:29:09 +0000 (14:29 +0000)]
fix a minor typo
Benjamin Peterson [Mon, 26 May 2008 14:02:09 +0000 (14:02 +0000)]
note that PyString and has been aliased to PyBytes
Christian Heimes [Mon, 26 May 2008 13:51:41 +0000 (13:51 +0000)]
Used vs9to8.py to port all VS9.0 changes to 8.0
Updated VS7.1 and VC6 project files
Christian Heimes [Mon, 26 May 2008 13:15:11 +0000 (13:15 +0000)]
Updated NEWS
Benjamin Peterson [Mon, 26 May 2008 13:01:25 +0000 (13:01 +0000)]
put a big note on configure.in asking people to run autoconf
Christian Heimes [Mon, 26 May 2008 13:01:01 +0000 (13:01 +0000)]
Renamed bytesobject.c to bytearrayobject.c
Renamed stringobject.c to bytesobject.c
Fixed Windows builds
Christian Heimes [Mon, 26 May 2008 12:51:38 +0000 (12:51 +0000)]
Renamed PyString to PyBytes
Benjamin Peterson [Mon, 26 May 2008 12:29:46 +0000 (12:29 +0000)]
some updates to string formatting section in whatsnew
Christian Heimes [Mon, 26 May 2008 12:29:14 +0000 (12:29 +0000)]
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
Thomas Heller [Mon, 26 May 2008 11:42:40 +0000 (11:42 +0000)]
On Windows, we must build a debug version iff running a debug build of
Python
Georg Brandl [Mon, 26 May 2008 10:47:43 +0000 (10:47 +0000)]
Add renaming notices to xmlrpc modules.
Georg Brandl [Mon, 26 May 2008 10:22:15 +0000 (10:22 +0000)]
Add renaming notices to 2.6 dbm module docs.
Benjamin Peterson [Mon, 26 May 2008 00:54:22 +0000 (00:54 +0000)]
update the tutorial to use str.format
Benjamin Peterson [Sun, 25 May 2008 20:05:52 +0000 (20:05 +0000)]
rename the section about new formatting 'new-string-formatting'
Martin v. Löwis [Sun, 25 May 2008 17:19:22 +0000 (17:19 +0000)]
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.
........
Martin v. Löwis [Sun, 25 May 2008 16:37:34 +0000 (16:37 +0000)]
Create grammar pickle files on installation; remove them on uninstallation.
Martin v. Löwis [Sun, 25 May 2008 14:58:01 +0000 (14:58 +0000)]
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.
........
Georg Brandl [Sun, 25 May 2008 12:34:57 +0000 (12:34 +0000)]
Add renaming notices to thread and dummy_thread.
Martin v. Löwis [Sun, 25 May 2008 11:56:23 +0000 (11:56 +0000)]
Include all licenses of the packages that we include.
Gregory P. Smith [Sun, 25 May 2008 08:32:04 +0000 (08:32 +0000)]
note about r63617
Gregory P. Smith [Sun, 25 May 2008 08:28:29 +0000 (08:28 +0000)]
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.
Georg Brandl [Sun, 25 May 2008 08:07:37 +0000 (08:07 +0000)]
#2959: allow multiple close() calls for GzipFile.
Georg Brandl [Sun, 25 May 2008 07:46:33 +0000 (07:46 +0000)]
Hint about _winreg renaming in the docs.
Georg Brandl [Sun, 25 May 2008 07:25:25 +0000 (07:25 +0000)]
ConfigParser renaming reversal part 3: move module into place and adapt imports.
Georg Brandl [Sun, 25 May 2008 07:21:58 +0000 (07:21 +0000)]
ConfigParser renaming reversal part 2: move module.
Georg Brandl [Sun, 25 May 2008 07:21:41 +0000 (07:21 +0000)]
ConfigParser renaming reversal part 1: remove stub module.
Gregory P. Smith [Sun, 25 May 2008 07:20:34 +0000 (07:20 +0000)]
print out information about which BerkeleyDB library was found by
setup.py to use to build the bsddb module.
Georg Brandl [Sun, 25 May 2008 07:20:14 +0000 (07:20 +0000)]
Queue renaming reversal part 3: move module into place and
change imports and other references. Closes #2925.
Gregory P. Smith [Sun, 25 May 2008 07:14:09 +0000 (07:14 +0000)]
* 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.
Georg Brandl [Sun, 25 May 2008 07:10:03 +0000 (07:10 +0000)]
Queue renaming reversal part 2: move module.
Georg Brandl [Sun, 25 May 2008 07:08:35 +0000 (07:08 +0000)]
Queue renaming reversal part 1: remove stub module.
Gregory P. Smith [Sun, 25 May 2008 03:13:41 +0000 (03:13 +0000)]
Use test_support to get network ports to bind to.
Gregory P. Smith [Sat, 24 May 2008 21:21:23 +0000 (21:21 +0000)]
Correct the url to the external bsddb.db docs (likely to be integrated
soon anyways?)
Georg Brandl [Sat, 24 May 2008 18:31:28 +0000 (18:31 +0000)]
socketserver renaming reversal part 3: move the module into the right
place and fix all references to it. Closes #2926.
Guilherme Polo [Sat, 24 May 2008 18:24:49 +0000 (18:24 +0000)]
Fixed an import that remained from the lib-tk -> tkinter -> lib-tk renaming
Georg Brandl [Sat, 24 May 2008 18:11:29 +0000 (18:11 +0000)]
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.
Georg Brandl [Sat, 24 May 2008 18:08:33 +0000 (18:08 +0000)]
socketserver renaming reversal part 1: remove stub module.
Martin v. Löwis [Sat, 24 May 2008 09:36:45 +0000 (09:36 +0000)]
Don't try to get the window size if it was never set before.
Fixes the test failure on Solaris.
Martin v. Löwis [Sat, 24 May 2008 09:00:04 +0000 (09:00 +0000)]
Use announce instead of print, to suppress output in
the testsuite.
Trent Nelson [Fri, 23 May 2008 20:33:14 +0000 (20:33 +0000)]
Introduce a user macro named $(externalsDir), which should point to the root directory of where all the external sources should live. Developers can change this value if their external sources live elsewhere. The default of '..\..' matches the current status quo.
Martin v. Löwis [Fri, 23 May 2008 19:33:13 +0000 (19:33 +0000)]
Mention that the leaking of variables from list comprehensions
is fixed in 3.0.
Mark Dickinson [Fri, 23 May 2008 18:04:06 +0000 (18:04 +0000)]
Revert temporary checkin in revision 63545.
Raymond Hettinger [Fri, 23 May 2008 17:34:34 +0000 (17:34 +0000)]
Fix typo
Raymond Hettinger [Fri, 23 May 2008 17:21:44 +0000 (17:21 +0000)]
Issue 2909: show how to name unpacked fields.
Martin v. Löwis [Fri, 23 May 2008 15:18:28 +0000 (15:18 +0000)]
Issue #1390: Raise ValueError in toxml when an invalid comment would
otherwise be produced.
Martin v. Löwis [Fri, 23 May 2008 15:06:50 +0000 (15:06 +0000)]
Patch #
1722225 : Support QNX 6.
Mark Dickinson [Fri, 23 May 2008 12:07:36 +0000 (12:07 +0000)]
Skip math.sum tests on non IEEE 754 platforms, and on IEEE 754 platforms
that exhibit the problem described in issue #2937.
Brett Cannon [Fri, 23 May 2008 05:05:20 +0000 (05:05 +0000)]
Remove the old repr stub.
Brett Cannon [Fri, 23 May 2008 05:03:59 +0000 (05:03 +0000)]
Revert the renaming of repr to reprlib.
Raymond Hettinger [Fri, 23 May 2008 04:32:43 +0000 (04:32 +0000)]
Tweak the comments and formatting.
Mark Dickinson [Fri, 23 May 2008 04:22:50 +0000 (04:22 +0000)]
Temporary checkin to get configure to report more
information about the processor on the Debian/alpha
buildbot. (I'm still trying to track down the cause
of the test_math failures for this machine.) This
checkin will be reverted within the next 48 hours.
Mark Dickinson [Fri, 23 May 2008 03:30:01 +0000 (03:30 +0000)]
Better error reporting in test_math.py
Mark Dickinson [Fri, 23 May 2008 02:36:48 +0000 (02:36 +0000)]
Add tests for math.sum (Issue #2819)
Mark Dickinson [Fri, 23 May 2008 01:35:30 +0000 (01:35 +0000)]
Issue #2819: Add math.sum, a function that sums a sequence of floats
efficiently but with no intermediate loss of precision. Based on
Raymond Hettinger's ASPN recipe. Thanks Jean Brouwers for the patch.
Raymond Hettinger [Fri, 23 May 2008 00:49:27 +0000 (00:49 +0000)]
Docs for Issue 2819.
Benjamin Peterson [Thu, 22 May 2008 23:09:26 +0000 (23:09 +0000)]
fix test_pydoc so it works on make installed Python installations
Also let it pass when invoked directly
Jesus Cea [Thu, 22 May 2008 15:27:38 +0000 (15:27 +0000)]
bsddb module updated to version 4.7.0
Brett Cannon [Thu, 22 May 2008 03:18:35 +0000 (03:18 +0000)]
Add Quentin Gallet-Gilles for (at least) a fixer for markupbase.
Benjamin Peterson [Thu, 22 May 2008 01:02:23 +0000 (01:02 +0000)]
remove redundant invocation of json doctests
Benjamin Peterson [Thu, 22 May 2008 00:57:02 +0000 (00:57 +0000)]
use more specific asserts in test_opcode
Benjamin Peterson [Wed, 21 May 2008 22:52:39 +0000 (22:52 +0000)]
check for toolbox glue before testing platform.mac_ver intensly
Thomas Heller [Wed, 21 May 2008 19:47:44 +0000 (19:47 +0000)]
Oops, get_tests may be called with 3 arguments.
Thomas Heller [Wed, 21 May 2008 18:47:02 +0000 (18:47 +0000)]
The -x <test1[,test2...]> flag allows to exclude tests.
Martin v. Löwis [Wed, 21 May 2008 07:31:31 +0000 (07:31 +0000)]
Add Robert Schuppenies.
Brett Cannon [Tue, 20 May 2008 22:08:20 +0000 (22:08 +0000)]
Add a note about the renaming of test.test_support in 3.0.
Thomas Heller [Tue, 20 May 2008 19:53:47 +0000 (19:53 +0000)]
On HPUX, -fPIC must be used for linking. _ctypes now builds on HP-UX
IA64 and PA machines.
The ctypes unittests work fine on the IA64, but dump core in
test_qsort on the PA.
Vinay Sajip [Tue, 20 May 2008 15:37:22 +0000 (15:37 +0000)]
Updated with fixes for #2914 and #2929.
Vinay Sajip [Tue, 20 May 2008 15:34:36 +0000 (15:34 +0000)]
Fixed: #2914 (RFE for UTC support in TimedRotatingFileHandler) and #2929 (wrong filename used to delete old log files).
Georg Brandl [Tue, 20 May 2008 08:48:34 +0000 (08:48 +0000)]
#615772: raise a more explicit error from Tkinter.Misc.__contains__.
Georg Brandl [Tue, 20 May 2008 08:40:43 +0000 (08:40 +0000)]
#2592: delegate nb_index and the floor/truediv slots in weakref.proxy.
Georg Brandl [Tue, 20 May 2008 08:25:48 +0000 (08:25 +0000)]
Patch #
1775025 : allow opening zipfile members via ZipInfo instances.
Patch by Graham Horler.
Martin v. Löwis [Tue, 20 May 2008 08:11:19 +0000 (08:11 +0000)]
Patch #2488: Add sys.maxsize.
Georg Brandl [Tue, 20 May 2008 08:10:03 +0000 (08:10 +0000)]
Use inspect.getabsfile() to get the documented module's filename.
Georg Brandl [Tue, 20 May 2008 08:07:36 +0000 (08:07 +0000)]
Improve diffing logic and output for test_pydoc.