]> granicus.if.org Git - python/log
python
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.

16 years agoDoc changes for the big Tkinter rename.
Georg Brandl [Fri, 16 May 2008 17:37:53 +0000 (17:37 +0000)]
Doc changes for the big Tkinter rename.

16 years agoFix reprlib docs.
Georg Brandl [Fri, 16 May 2008 17:33:13 +0000 (17:33 +0000)]
Fix reprlib docs.

16 years agoTkinter rename, step 2: fix imports and add stub modules.
Georg Brandl [Fri, 16 May 2008 15:48:15 +0000 (15:48 +0000)]
Tkinter rename, step 2: fix imports and add stub modules.

16 years agoStep 1 of Tkinter renaming: move lib-tk modules into a new "tkinter" package.
Georg Brandl [Fri, 16 May 2008 14:24:45 +0000 (14:24 +0000)]
Step 1 of Tkinter renaming: move lib-tk modules into a new "tkinter" package.

16 years agoDocument O_ASYNC addition.
Georg Brandl [Fri, 16 May 2008 13:41:26 +0000 (13:41 +0000)]
Document O_ASYNC addition.

16 years agoDon't allow keyword arguments to reversed().
Georg Brandl [Fri, 16 May 2008 13:24:29 +0000 (13:24 +0000)]
Don't allow keyword arguments to reversed().

16 years ago#2845: fix copy2's docs.
Georg Brandl [Fri, 16 May 2008 13:18:50 +0000 (13:18 +0000)]
#2845: fix copy2's docs.

16 years ago#2890: support os.O_ASYNC and fcntl.FASYNC.
Georg Brandl [Fri, 16 May 2008 13:10:15 +0000 (13:10 +0000)]
#2890: support os.O_ASYNC and fcntl.FASYNC.

16 years agoFollowing Amaury's advice
Christian Heimes [Fri, 16 May 2008 11:28:56 +0000 (11:28 +0000)]
Following Amaury's advice

16 years agoFixed #2870: cmathmodule.c compile error
Christian Heimes [Fri, 16 May 2008 10:23:31 +0000 (10:23 +0000)]
Fixed #2870: cmathmodule.c compile error

16 years ago#2869: remove parameter from signature.
Georg Brandl [Fri, 16 May 2008 09:47:29 +0000 (09:47 +0000)]
#2869: remove parameter from signature.

16 years agoMake generator repr consistent with function and code object repr.
Georg Brandl [Fri, 16 May 2008 09:34:48 +0000 (09:34 +0000)]
Make generator repr consistent with function and code object repr.

16 years agoRename the test file of reprlib.
Alexandre Vassalotti [Fri, 16 May 2008 07:14:08 +0000 (07:14 +0000)]
Rename the test file of reprlib.

16 years agoUpdated reprlib's documentation to mention the renaming.
Alexandre Vassalotti [Fri, 16 May 2008 07:00:58 +0000 (07:00 +0000)]
Updated reprlib's documentation to mention the renaming.

16 years agoChanged references to the reprlib module to use its new name.
Alexandre Vassalotti [Fri, 16 May 2008 06:58:49 +0000 (06:58 +0000)]
Changed references to the reprlib module to use its new name.

16 years agoRenamed the repr module to reprlib.
Alexandre Vassalotti [Fri, 16 May 2008 06:37:57 +0000 (06:37 +0000)]
Renamed the repr module to reprlib.
Added stub module for repr.

16 years agomake test_platform a bit more assertive (We'll see what the buildbots say.)
Benjamin Peterson [Fri, 16 May 2008 02:24:49 +0000 (02:24 +0000)]
make test_platform a bit more assertive (We'll see what the buildbots say.)

16 years agoFixed import of configparser in the distutils module.
Alexandre Vassalotti [Fri, 16 May 2008 02:06:59 +0000 (02:06 +0000)]
Fixed import of configparser in the distutils module.

If configparser is unavailable, try to import configparser using its
old name. This is required for backward-compatibility with older
Python versions.

16 years agoDeprecated statvfs for removal in 3.0.
Brett Cannon [Fri, 16 May 2008 00:50:02 +0000 (00:50 +0000)]
Deprecated statvfs for removal in 3.0.

16 years agoRemove the last usage of statvfs in the stdlib.
Brett Cannon [Fri, 16 May 2008 00:37:42 +0000 (00:37 +0000)]
Remove the last usage of statvfs in the stdlib.

16 years agoDeprecate sunaudiodev/SUNAUDIODEV for removal in 3.0.
Brett Cannon [Fri, 16 May 2008 00:10:24 +0000 (00:10 +0000)]
Deprecate sunaudiodev/SUNAUDIODEV for removal in 3.0.

16 years agofix typos in whatsnew
Benjamin Peterson [Thu, 15 May 2008 22:41:16 +0000 (22:41 +0000)]
fix typos in whatsnew

16 years agoadd Mac modules to the list of deprecated ones
Benjamin Peterson [Thu, 15 May 2008 22:34:33 +0000 (22:34 +0000)]
add Mac modules to the list of deprecated ones

16 years agoFixed typo in a doctest of test_genexps.
Alexandre Vassalotti [Thu, 15 May 2008 20:31:42 +0000 (20:31 +0000)]
Fixed typo in a doctest of test_genexps.

16 years agoRevert r63323: Use lowercase version of module name.
Alexandre Vassalotti [Thu, 15 May 2008 20:30:56 +0000 (20:30 +0000)]
Revert r63323: Use lowercase version of module name.

The distutils module should continue to use the old ConfigParser name,
for backward-compatibility.

16 years agoImport class from distutils.cmd, not .core, to avoid circular import
Andrew M. Kuchling [Thu, 15 May 2008 20:07:39 +0000 (20:07 +0000)]
Import class from distutils.cmd, not .core, to avoid circular import

16 years agoUse lowercase version of module name
Andrew M. Kuchling [Thu, 15 May 2008 20:06:51 +0000 (20:06 +0000)]
Use lowercase version of module name

16 years ago#2863: add gen.__name__ and add this name to generator repr().
Georg Brandl [Thu, 15 May 2008 15:08:32 +0000 (15:08 +0000)]
#2863: add gen.__name__ and add this name to generator repr().

16 years agoDeprecate sunaudiodev/SUNAUDIODEV for removal in 3.0.
Brett Cannon [Thu, 15 May 2008 07:11:41 +0000 (07:11 +0000)]
Deprecate sunaudiodev/SUNAUDIODEV for removal in 3.0.

16 years agodisable the crashing test. I will also file a bug. This crash does
Gregory P. Smith [Thu, 15 May 2008 04:56:18 +0000 (04:56 +0000)]
disable the crashing test.  I will also file a bug.  This crash does
not appear to be a new bug, its just that the test coverage went up
recently exposing it.  (I verified that by testing this test code on
an older Modules/_bsddb.c)

16 years agoAdd a snippet for the deprecation directive for docs.
Brett Cannon [Thu, 15 May 2008 04:36:53 +0000 (04:36 +0000)]
Add a snippet for the deprecation directive for docs.

16 years agoUpdate docs for deprecation of IRIX modules.
Brett Cannon [Thu, 15 May 2008 04:34:17 +0000 (04:34 +0000)]
Update docs for deprecation of IRIX modules.

16 years agoDeprecate WAIT for removal in 3.0.
Brett Cannon [Thu, 15 May 2008 04:17:35 +0000 (04:17 +0000)]
Deprecate WAIT for removal in 3.0.

16 years agoDeprecated torgb for removal in 3.0.
Brett Cannon [Thu, 15 May 2008 04:15:25 +0000 (04:15 +0000)]
Deprecated torgb for removal in 3.0.

16 years agoDeprecate SV for removal in 3.0.
Brett Cannon [Thu, 15 May 2008 04:13:19 +0000 (04:13 +0000)]
Deprecate SV for removal in 3.0.

16 years agoDeprecate readcd for removal in 3.0.
Brett Cannon [Thu, 15 May 2008 03:51:21 +0000 (03:51 +0000)]
Deprecate readcd for removal in 3.0.

16 years agoDeprecated panelparser for removal in 3.0.
Brett Cannon [Thu, 15 May 2008 03:49:00 +0000 (03:49 +0000)]
Deprecated panelparser for removal in 3.0.

16 years agoThe panel module for IRIX has been deprecated for removal in 3.0.
Brett Cannon [Thu, 15 May 2008 03:46:27 +0000 (03:46 +0000)]
The panel module for IRIX has been deprecated for removal in 3.0.

16 years agoDeprecate jpeg for IRIX for removal in 3.0.
Brett Cannon [Thu, 15 May 2008 03:44:00 +0000 (03:44 +0000)]
Deprecate jpeg for IRIX for removal in 3.0.

16 years agoDeprecate IOCTL from IRIX for removal in 3.0.
Brett Cannon [Thu, 15 May 2008 03:41:55 +0000 (03:41 +0000)]
Deprecate IOCTL from IRIX for removal in 3.0.

16 years agoDeprecate IN from IRIX for removal in 3.0.
Brett Cannon [Thu, 15 May 2008 03:36:13 +0000 (03:36 +0000)]
Deprecate IN from IRIX for removal in 3.0.

16 years agoDeprecate imgfile for removal in 3.0.
Brett Cannon [Thu, 15 May 2008 03:32:11 +0000 (03:32 +0000)]
Deprecate imgfile for removal in 3.0.

16 years agoDeprecate GLWS from IRIX for removal in 3.0.
Brett Cannon [Thu, 15 May 2008 03:29:18 +0000 (03:29 +0000)]
Deprecate GLWS from IRIX for removal in 3.0.

16 years agoDeprecate GET from IRIX for removal in 3.0.
Brett Cannon [Thu, 15 May 2008 03:27:12 +0000 (03:27 +0000)]
Deprecate GET from IRIX for removal in 3.0.

16 years agoDeprecated 'fm' for removal in 3.0.
Brett Cannon [Thu, 15 May 2008 03:23:17 +0000 (03:23 +0000)]
Deprecated 'fm' for removal in 3.0.

16 years agoFL, flp, and fl from IRIX have been deprecated for removal in 3.0.
Brett Cannon [Thu, 15 May 2008 03:20:36 +0000 (03:20 +0000)]
FL, flp, and fl from IRIX have been deprecated for removal in 3.0.

16 years agoFILE from IRIX has been deprecated for removal in 3.0.
Brett Cannon [Thu, 15 May 2008 03:17:24 +0000 (03:17 +0000)]
FILE from IRIX has been deprecated for removal in 3.0.

16 years agoDeprecate ERRNO for removal in 3.0.
Brett Cannon [Thu, 15 May 2008 03:14:57 +0000 (03:14 +0000)]
Deprecate ERRNO for removal in 3.0.

16 years agoDeprecate DEVICE, GL, gl, and the related modules cgen and cgensupport for removal...
Brett Cannon [Thu, 15 May 2008 02:33:55 +0000 (02:33 +0000)]
Deprecate DEVICE, GL, gl, and the related modules cgen and cgensupport for removal in 3.0.

16 years agoNote some removals and a rename
Andrew M. Kuchling [Thu, 15 May 2008 01:10:24 +0000 (01:10 +0000)]
Note some removals and a rename

16 years agoRevert distutils changes done in r63248.
Alexandre Vassalotti [Thu, 15 May 2008 00:33:57 +0000 (00:33 +0000)]
Revert distutils changes done in r63248.

As explained by Marc-Andre Lemburg, distutils needs to stay
backward-compatible. Therefore, it should use the old ConfigParser
module name.

16 years agoAdded documentation stub for ConfigParser.
Alexandre Vassalotti [Wed, 14 May 2008 22:51:10 +0000 (22:51 +0000)]
Added documentation stub for ConfigParser.

16 years agoUpdated import statements to use the new `configparser` module name.
Alexandre Vassalotti [Wed, 14 May 2008 22:44:22 +0000 (22:44 +0000)]
Updated import statements to use the new `configparser` module name.
Updated the documentation to use the new name.
Revert addition of the stub entry for the old name.

Georg, I am reverting your changes since this commit should propagate
to py3k.

16 years agoUpdate configparser docs for lowercasing rename.
Georg Brandl [Wed, 14 May 2008 22:30:31 +0000 (22:30 +0000)]
Update configparser docs for lowercasing rename.

16 years agoRenamed the ConfigParser module to 'configparser'.
Alexandre Vassalotti [Wed, 14 May 2008 22:07:07 +0000 (22:07 +0000)]
Renamed the ConfigParser module to 'configparser'.

16 years agoMoved copy_reg stub module to lib-old/.
Alexandre Vassalotti [Wed, 14 May 2008 21:52:37 +0000 (21:52 +0000)]
Moved copy_reg stub module to lib-old/.

Stub modules will be easier to track (and remove) if they are all kept
in lib-old/, instead of sprinkling them throughout the library.

16 years agoDeprecate CL, CL_old, and cl for 3.0.
Brett Cannon [Wed, 14 May 2008 21:12:12 +0000 (21:12 +0000)]
Deprecate CL, CL_old, and cl for 3.0.

16 years agoDeprecate the cdplayer module for IRIX for 3.0.
Brett Cannon [Wed, 14 May 2008 21:08:41 +0000 (21:08 +0000)]
Deprecate the cdplayer module for IRIX for 3.0.

16 years agoThe cddb module for IRIX has been deprecated for 3.0.
Brett Cannon [Wed, 14 May 2008 20:34:22 +0000 (20:34 +0000)]
The cddb module for IRIX has been deprecated for 3.0.

16 years agoThe CD and cd modules for IRIX are deprecated for 3.0.
Brett Cannon [Wed, 14 May 2008 20:31:38 +0000 (20:31 +0000)]
The CD and cd modules for IRIX are deprecated for 3.0.

16 years agoInstall the json package and tests as well as the lib2to3 tests
Neal Norwitz [Wed, 14 May 2008 07:21:42 +0000 (07:21 +0000)]
Install the json package and tests as well as the lib2to3 tests
so the tests work when run from an install directory.
They are currently skipped on the daily runs (not from the buildbots)
for checking refleaks, etc.

16 years agoFix another "refleak" by clearing the filters after test.
Georg Brandl [Wed, 14 May 2008 07:18:22 +0000 (07:18 +0000)]
Fix another "refleak" by clearing the filters after test.