]> granicus.if.org Git - python/log
python
16 years agosocketserver renaming reversal part 3: move the module into the right
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.

16 years agoFixed an import that remained from the lib-tk -> tkinter -> lib-tk renaming
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

16 years agosocketserver renaming reversal part 2: move rename module.
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.

16 years agosocketserver renaming reversal part 1: remove stub module.
Georg Brandl [Sat, 24 May 2008 18:08:33 +0000 (18:08 +0000)]
socketserver renaming reversal part 1: remove stub module.

16 years agoDon't try to get the window size if it was never set before.
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.

16 years agoUse announce instead of print, to suppress output in
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.

16 years agoIntroduce a user macro named $(externalsDir), which should point to the root director...
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.

16 years agoMention that the leaking of variables from list comprehensions
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.

16 years agoRevert temporary checkin in revision 63545.
Mark Dickinson [Fri, 23 May 2008 18:04:06 +0000 (18:04 +0000)]
Revert temporary checkin in revision 63545.

16 years agoFix typo
Raymond Hettinger [Fri, 23 May 2008 17:34:34 +0000 (17:34 +0000)]
Fix typo

16 years agoIssue 2909: show how to name unpacked fields.
Raymond Hettinger [Fri, 23 May 2008 17:21:44 +0000 (17:21 +0000)]
Issue 2909: show how to name unpacked fields.

16 years agoIssue #1390: Raise ValueError in toxml when an invalid comment would
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.

16 years agoPatch #1722225: Support QNX 6.
Martin v. Löwis [Fri, 23 May 2008 15:06:50 +0000 (15:06 +0000)]
Patch #1722225: Support QNX 6.

16 years agoSkip math.sum tests on non IEEE 754 platforms, and on IEEE 754 platforms
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.

16 years agoRemove the old repr stub.
Brett Cannon [Fri, 23 May 2008 05:05:20 +0000 (05:05 +0000)]
Remove the old repr stub.

16 years agoRevert the renaming of repr to reprlib.
Brett Cannon [Fri, 23 May 2008 05:03:59 +0000 (05:03 +0000)]
Revert the renaming of repr to reprlib.

16 years agoTweak the comments and formatting.
Raymond Hettinger [Fri, 23 May 2008 04:32:43 +0000 (04:32 +0000)]
Tweak the comments and formatting.

16 years agoTemporary checkin to get configure to report more
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.

16 years agoBetter error reporting in test_math.py
Mark Dickinson [Fri, 23 May 2008 03:30:01 +0000 (03:30 +0000)]
Better error reporting in test_math.py

16 years agoAdd tests for math.sum (Issue #2819)
Mark Dickinson [Fri, 23 May 2008 02:36:48 +0000 (02:36 +0000)]
Add tests for math.sum (Issue #2819)

16 years agoIssue #2819: Add math.sum, a function that sums a sequence of floats
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.

16 years agoDocs for Issue 2819.
Raymond Hettinger [Fri, 23 May 2008 00:49:27 +0000 (00:49 +0000)]
Docs for Issue 2819.

16 years agofix test_pydoc so it works on make installed Python installations
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

16 years agobsddb module updated to version 4.7.0
Jesus Cea [Thu, 22 May 2008 15:27:38 +0000 (15:27 +0000)]
bsddb module updated to version 4.7.0

16 years agoAdd Quentin Gallet-Gilles for (at least) a fixer for markupbase.
Brett Cannon [Thu, 22 May 2008 03:18:35 +0000 (03:18 +0000)]
Add Quentin Gallet-Gilles for (at least) a fixer for markupbase.

16 years agoremove redundant invocation of json doctests
Benjamin Peterson [Thu, 22 May 2008 01:02:23 +0000 (01:02 +0000)]
remove redundant invocation of json doctests

16 years agouse more specific asserts in test_opcode
Benjamin Peterson [Thu, 22 May 2008 00:57:02 +0000 (00:57 +0000)]
use more specific asserts in test_opcode

16 years agocheck for toolbox glue before testing platform.mac_ver intensly
Benjamin Peterson [Wed, 21 May 2008 22:52:39 +0000 (22:52 +0000)]
check for toolbox glue before testing platform.mac_ver intensly

16 years agoOops, get_tests may be called with 3 arguments.
Thomas Heller [Wed, 21 May 2008 19:47:44 +0000 (19:47 +0000)]
Oops, get_tests may be called with 3 arguments.

16 years agoThe -x <test1[,test2...]> flag allows to exclude tests.
Thomas Heller [Wed, 21 May 2008 18:47:02 +0000 (18:47 +0000)]
The -x <test1[,test2...]> flag allows to exclude tests.

16 years agoAdd Robert Schuppenies.
Martin v. Löwis [Wed, 21 May 2008 07:31:31 +0000 (07:31 +0000)]
Add Robert Schuppenies.

16 years agoAdd a note about the renaming of test.test_support in 3.0.
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.

16 years agoOn HPUX, -fPIC must be used for linking. _ctypes now builds on HP-UX
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.

16 years agoUpdated with fixes for #2914 and #2929.
Vinay Sajip [Tue, 20 May 2008 15:37:22 +0000 (15:37 +0000)]
Updated with fixes for #2914 and #2929.

16 years agoFixed: #2914 (RFE for UTC support in TimedRotatingFileHandler) and #2929 (wrong filen...
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).

16 years ago#615772: raise a more explicit error from Tkinter.Misc.__contains__.
Georg Brandl [Tue, 20 May 2008 08:48:34 +0000 (08:48 +0000)]
#615772: raise a more explicit error from Tkinter.Misc.__contains__.

16 years ago#2592: delegate nb_index and the floor/truediv slots in weakref.proxy.
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.

16 years agoPatch #1775025: allow opening zipfile members via ZipInfo instances.
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.

16 years agoPatch #2488: Add sys.maxsize.
Martin v. Löwis [Tue, 20 May 2008 08:11:19 +0000 (08:11 +0000)]
Patch #2488: Add sys.maxsize.

16 years agoUse inspect.getabsfile() to get the documented module's filename.
Georg Brandl [Tue, 20 May 2008 08:10:03 +0000 (08:10 +0000)]
Use inspect.getabsfile() to get the documented module's filename.

16 years agoImprove diffing logic and output for test_pydoc.
Georg Brandl [Tue, 20 May 2008 08:07:36 +0000 (08:07 +0000)]
Improve diffing logic and output for test_pydoc.

16 years agoRemove html package and fix test_htmlparser.
Georg Brandl [Tue, 20 May 2008 07:58:42 +0000 (07:58 +0000)]
Remove html package and fix test_htmlparser.

16 years agoRemove directories that no longer exist.
Georg Brandl [Tue, 20 May 2008 07:52:27 +0000 (07:52 +0000)]
Remove directories that no longer exist.

16 years agoRevert copy_reg -> copyreg rename.
Georg Brandl [Tue, 20 May 2008 07:49:57 +0000 (07:49 +0000)]
Revert copy_reg -> copyreg rename.

16 years agoRemove debugging line.
Georg Brandl [Tue, 20 May 2008 07:23:59 +0000 (07:23 +0000)]
Remove debugging line.

16 years agoRemove rest of the tkinter package.
Georg Brandl [Tue, 20 May 2008 07:23:25 +0000 (07:23 +0000)]
Remove rest of the tkinter package.

16 years agoStandardize renaming notes.
Georg Brandl [Tue, 20 May 2008 07:21:58 +0000 (07:21 +0000)]
Standardize renaming notes.

16 years agoAdd notes that tkinter modules will be renamed.
Georg Brandl [Tue, 20 May 2008 07:20:12 +0000 (07:20 +0000)]
Add notes that tkinter modules will be renamed.

16 years agoTkinter rename reversal: remove tkinter package, adapt imports and docs.
Georg Brandl [Tue, 20 May 2008 07:13:37 +0000 (07:13 +0000)]
Tkinter rename reversal: remove tkinter package, adapt imports and docs.

16 years agoTkinter renaming reversal: move modules back in their place.
Georg Brandl [Tue, 20 May 2008 06:58:21 +0000 (06:58 +0000)]
Tkinter renaming reversal: move modules back in their place.

16 years agoTkinter renaming reversal: Delete all stubs from lib-tk.
Georg Brandl [Tue, 20 May 2008 06:49:28 +0000 (06:49 +0000)]
Tkinter renaming reversal: Delete all stubs from lib-tk.

16 years agoArgh, this is the *actual* test that works under Windows.
Georg Brandl [Tue, 20 May 2008 06:47:31 +0000 (06:47 +0000)]
Argh, this is the *actual* test that works under Windows.

16 years agoActivate two more test cases in test_httpservers.
Georg Brandl [Tue, 20 May 2008 06:15:36 +0000 (06:15 +0000)]
Activate two more test cases in test_httpservers.

16 years agorevert creation of the html.entities and html.parser modules
Fred Drake [Tue, 20 May 2008 06:08:38 +0000 (06:08 +0000)]
revert creation of the html.entities and html.parser modules
(http://bugs.python.org/issue2882)

16 years agoAdd html package so it gets installed and more tests work (from installed copy)
Neal Norwitz [Tue, 20 May 2008 05:21:57 +0000 (05:21 +0000)]
Add html package so it gets installed and more tests work (from installed copy)

16 years agotest_httpservers has unpredictable refcount behavior.
Georg Brandl [Mon, 19 May 2008 16:47:25 +0000 (16:47 +0000)]
test_httpservers has unpredictable refcount behavior.

16 years agobsddb: Beware with sequence wrapping
Jesus Cea [Mon, 19 May 2008 15:55:11 +0000 (15:55 +0000)]
bsddb: Beware with sequence wrapping

16 years agojust MacOS (instead of MacOS 9)
Benjamin Peterson [Mon, 19 May 2008 11:55:54 +0000 (11:55 +0000)]
just MacOS (instead of MacOS 9)

16 years agoRe-organize the increasingly long list of deprecated modules
Andrew M. Kuchling [Mon, 19 May 2008 03:03:46 +0000 (03:03 +0000)]
Re-organize the increasingly long list of deprecated modules

16 years agochange some imports in tests so they will not be skipped in 3.0
Benjamin Peterson [Sun, 18 May 2008 23:07:07 +0000 (23:07 +0000)]
change some imports in tests so they will not be skipped in 3.0

16 years agofix test_platform (os was not imported)
Benjamin Peterson [Sun, 18 May 2008 22:07:42 +0000 (22:07 +0000)]
fix test_platform (os was not imported)

16 years agoFix test_pyclbr after another platform-dependent function was added to urllib.
Georg Brandl [Sun, 18 May 2008 21:10:19 +0000 (21:10 +0000)]
Fix test_pyclbr after another platform-dependent function was added to urllib.

16 years ago- Add unittests for platform.mac_ver (or rather, ensure that the unittest for
Ronald Oussoren [Sun, 18 May 2008 20:54:47 +0000 (20:54 +0000)]
- Add unittests for platform.mac_ver (or rather, ensure that the unittest for
  that function actually tests something on OSX).

- Add documentation to platform.mac_ver that explains why the middle element
  of the return value will not contain useful information.

16 years agobring test_pydoc up to my high standards (now that I have them)
Benjamin Peterson [Sun, 18 May 2008 20:48:07 +0000 (20:48 +0000)]
bring test_pydoc up to my high standards (now that I have them)

16 years agoMake gestaltmodule.c 64-bit safe.
Ronald Oussoren [Sun, 18 May 2008 20:47:13 +0000 (20:47 +0000)]
Make gestaltmodule.c 64-bit safe.

16 years agoMacOSX: ctypes annotation in implementation of getproxies_macosx_sysconf
Ronald Oussoren [Sun, 18 May 2008 20:09:54 +0000 (20:09 +0000)]
MacOSX: ctypes annotation in implementation of getproxies_macosx_sysconf

getproxies_macosx_sysconf uses ctypes to call SystemConfiguration APIs. This
checkin adds ctypes annotation to specify the right argument types for the
API's that are used.

This is needed to be able to use urllib on a 64-bit system, without
annotations you'd get a hard crash.

16 years agoGHOP #121: improve test_pydoc, by Benjamin Peterson.
Georg Brandl [Sun, 18 May 2008 16:32:48 +0000 (16:32 +0000)]
GHOP #121: improve test_pydoc, by Benjamin Peterson.

16 years agoAdd GHOP students.
Georg Brandl [Sun, 18 May 2008 13:34:06 +0000 (13:34 +0000)]
Add GHOP students.

16 years agoGHOP #257: test distutils' build_ext command, written by Josip Dzolonga.
Georg Brandl [Sun, 18 May 2008 11:52:36 +0000 (11:52 +0000)]
GHOP #257: test distutils' build_ext command, written by Josip Dzolonga.

16 years agoGHOP #217: add support for compiling Python with coverage checking enabled.
Georg Brandl [Sun, 18 May 2008 11:46:51 +0000 (11:46 +0000)]
GHOP #217: add support for compiling Python with coverage checking enabled.

16 years agoTake namedtuple item names only from ascii_letters (this blew up on OSX),
Georg Brandl [Sun, 18 May 2008 10:39:26 +0000 (10:39 +0000)]
Take namedtuple item names only from ascii_letters (this blew up on OSX),
and make sure there are no duplicate names.

16 years agoGHOP #134, #171, #137: unit tests for the three HTTPServer modules.
Georg Brandl [Sun, 18 May 2008 09:12:20 +0000 (09:12 +0000)]
GHOP #134, #171, #137: unit tests for the three HTTPServer modules.

16 years agoGHOP #180 by Michael Schneider: add examples to the socketserver documentation.
Georg Brandl [Sun, 18 May 2008 08:52:59 +0000 (08:52 +0000)]
GHOP #180 by Michael Schneider: add examples to the socketserver documentation.

16 years ago#2353: raise Py3k warning in file.xreadlines().
Georg Brandl [Sat, 17 May 2008 22:11:54 +0000 (22:11 +0000)]
#2353: raise Py3k warning in file.xreadlines().

16 years agoRename html.parser file, and split html.entities from htmllib
Georg Brandl [Sat, 17 May 2008 21:54:03 +0000 (21:54 +0000)]
Rename html.parser file, and split html.entities from htmllib
to ease removal of the latter in Py3k.

16 years agodocument the renames for modules moved to the html package
Fred Drake [Sat, 17 May 2008 21:23:02 +0000 (21:23 +0000)]
document the renames for modules moved to the html package
(http://bugs.python.org/issue2882)

16 years agoupdate references and documentation for modules in the new html package
Fred Drake [Sat, 17 May 2008 21:14:05 +0000 (21:14 +0000)]
update references and documentation for modules in the new html package
(http://bugs.python.org/issue2882)

16 years agorename HTMLParser to html.parser, htmlentitydefs to html.entities
Fred Drake [Sat, 17 May 2008 20:30:04 +0000 (20:30 +0000)]
rename HTMLParser to html.parser, htmlentitydefs to html.entities
(http://bugs.python.org/issue2882)

16 years agorevert 63425 over Guido's Febuary message about this, that I missed
Benjamin Peterson [Sat, 17 May 2008 20:09:42 +0000 (20:09 +0000)]
revert 63425 over Guido's Febuary message about this, that I missed

16 years agofix spelling
Benjamin Peterson [Sat, 17 May 2008 19:51:10 +0000 (19:51 +0000)]
fix spelling

16 years agoadd Py3k warnings to oct and hex. backport hex behavior (because it's not different)
Benjamin Peterson [Sat, 17 May 2008 19:21:20 +0000 (19:21 +0000)]
add Py3k warnings to oct and hex. backport hex behavior (because it's not different)

16 years agoAdd new tkinter dir to various locations where lib-tk shows up.
Georg Brandl [Sat, 17 May 2008 19:14:23 +0000 (19:14 +0000)]
Add new tkinter dir to various locations where lib-tk shows up.

16 years agoAdd "tkinter" to the list of directories to install.
Georg Brandl [Sat, 17 May 2008 19:06:20 +0000 (19:06 +0000)]
Add "tkinter" to the list of directories to install.

16 years agoDon't export a name "tkinter" from the "tkinter" package.
Georg Brandl [Sat, 17 May 2008 18:17:45 +0000 (18:17 +0000)]
Don't export a name "tkinter" from the "tkinter" package.
Else people doing "from tkinter import *" will get a nasty surprise.

16 years agoReally move the imports to the top this time. :)
Georg Brandl [Sat, 17 May 2008 18:15:24 +0000 (18:15 +0000)]
Really move the imports to the top this time. :)

16 years agoRewrap consistently to 70 chars, and standardize the way of referring to issues.
Georg Brandl [Sat, 17 May 2008 18:14:43 +0000 (18:14 +0000)]
Rewrap consistently to 70 chars, and standardize the way of referring to issues.

16 years ago#961805: fix Edit.text_modified().
Georg Brandl [Sat, 17 May 2008 17:57:01 +0000 (17:57 +0000)]
#961805: fix Edit.text_modified().

16 years agoReplace signatures with optional arguments in square brackets with
Lars Gustäbel [Sat, 17 May 2008 16:50:22 +0000 (16:50 +0000)]
Replace signatures with optional arguments in square brackets with
keyword arguments and the actual default values.
Fix references that point nowhere or to the wrong place.
Add description of the ENCODING module-level variable.
Fix the URL pointing to the GNU tar manual.
Remove two obsolete examples.
Add an example on how to use a generator with TarFile.extractall().

16 years agoMove imports to file top.
Georg Brandl [Sat, 17 May 2008 15:30:35 +0000 (15:30 +0000)]
Move imports to file top.

16 years agoTkinter: make stub modules.
Georg Brandl [Sat, 17 May 2008 15:21:58 +0000 (15:21 +0000)]
Tkinter: make stub modules.

16 years agoTkinter rename: merge tkSimpleDialog and tkFileDialog into simpledialog and filedialog.
Georg Brandl [Sat, 17 May 2008 15:07:03 +0000 (15:07 +0000)]
Tkinter rename: merge tkSimpleDialog and tkFileDialog into simpledialog and filedialog.

16 years agofix issue2381: test_subprocess fails if your sys.executable is on a
Gregory P. Smith [Sat, 17 May 2008 07:17:34 +0000 (07:17 +0000)]
fix issue2381: test_subprocess fails if your sys.executable is on a
path with a space in it.

16 years agoissue2858: Fix potential memory corruption when bsddb.db.DBEnv.lock_get
Gregory P. Smith [Sat, 17 May 2008 06:12:02 +0000 (06:12 +0000)]
issue2858: Fix potential memory corruption when bsddb.db.DBEnv.lock_get
and other bsddb.db object constructors raised an exception.
Debugging & patch by Neal Norowitz.

16 years agoFix-up docstring
Raymond Hettinger [Sat, 17 May 2008 04:13:36 +0000 (04:13 +0000)]
Fix-up docstring

16 years agomention Py3k in glossary
Benjamin Peterson [Fri, 16 May 2008 22:59:28 +0000 (22:59 +0000)]
mention Py3k in glossary

16 years agoVery simple test for ctypes.util.find_library on Windows.
Thomas Heller [Fri, 16 May 2008 20:19:07 +0000 (20:19 +0000)]
Very simple test for ctypes.util.find_library on Windows.

16 years agoIssue 1793: Add ctypes.util.find_msvcrt() function (on Windows).
Thomas Heller [Fri, 16 May 2008 20:06:31 +0000 (20:06 +0000)]
Issue 1793: Add ctypes.util.find_msvcrt() function (on Windows).

16 years agoAdded Python 3.0 warning to cPickle.
Alexandre Vassalotti [Fri, 16 May 2008 19:14:31 +0000 (19:14 +0000)]
Added Python 3.0 warning to cPickle.

16 years agoPatch by Quentin Gallet-Gilles: Renaming leftovers for 2.6.
Alexandre Vassalotti [Fri, 16 May 2008 18:03:52 +0000 (18:03 +0000)]
Patch by Quentin Gallet-Gilles: Renaming leftovers for 2.6.

This fixes the omissions of configparser, copyreg, queue and
socketserver renaming.

16 years agoNEWS entry for Tkinter rename.
Georg Brandl [Fri, 16 May 2008 17:40:23 +0000 (17:40 +0000)]
NEWS entry for Tkinter rename.