Commit Graph

39656 Commits

Author SHA1 Message Date
Benjamin Peterson d21dabc890 change some imports in tests so they will not be skipped in 3.0 2008-05-18 23:07:07 +00:00
Benjamin Peterson 913c15c1c6 fix test_platform (os was not imported) 2008-05-18 22:07:42 +00:00
Georg Brandl 6e7e0790de Fix test_pyclbr after another platform-dependent function was added to urllib. 2008-05-18 21:10:19 +00:00
Ronald Oussoren 7a0f4c75b1 - 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.
2008-05-18 20:54:47 +00:00
Benjamin Peterson f5c38dadf6 bring test_pydoc up to my high standards (now that I have them) 2008-05-18 20:48:07 +00:00
Ronald Oussoren 6cc9fd7bd5 Make gestaltmodule.c 64-bit safe. 2008-05-18 20:47:13 +00:00
Ronald Oussoren 099646f29a 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.
2008-05-18 20:09:54 +00:00
Georg Brandl 8632cc2573 GHOP #121: improve test_pydoc, by Benjamin Peterson. 2008-05-18 16:32:48 +00:00
Georg Brandl 1356e09663 Add GHOP students. 2008-05-18 13:34:06 +00:00
Georg Brandl 88e2acf038 GHOP #257: test distutils' build_ext command, written by Josip Dzolonga. 2008-05-18 11:52:36 +00:00
Georg Brandl 405b5f316a GHOP #217: add support for compiling Python with coverage checking enabled. 2008-05-18 11:46:51 +00:00
Georg Brandl 0bb0299ad8 Take namedtuple item names only from ascii_letters (this blew up on OSX),
and make sure there are no duplicate names.
2008-05-18 10:39:26 +00:00
Georg Brandl f899dfa1d1 GHOP #134, #171, #137: unit tests for the three HTTPServer modules. 2008-05-18 09:12:20 +00:00
Georg Brandl 67d6933ab5 GHOP #180 by Michael Schneider: add examples to the socketserver documentation. 2008-05-18 08:52:59 +00:00
Georg Brandl a9916b55de #2353: raise Py3k warning in file.xreadlines(). 2008-05-17 22:11:54 +00:00
Georg Brandl c76ffca2be Rename html.parser file, and split html.entities from htmllib
to ease removal of the latter in Py3k.
2008-05-17 21:54:03 +00:00
Fred Drake 20b56603c9 document the renames for modules moved to the html package
(http://bugs.python.org/issue2882)
2008-05-17 21:23:02 +00:00
Fred Drake cb51d84214 update references and documentation for modules in the new html package
(http://bugs.python.org/issue2882)
2008-05-17 21:14:05 +00:00
Fred Drake 91ae250273 rename HTMLParser to html.parser, htmlentitydefs to html.entities
(http://bugs.python.org/issue2882)
2008-05-17 20:30:04 +00:00
Benjamin Peterson c6d64ec83f revert 63425 over Guido's Febuary message about this, that I missed 2008-05-17 20:09:42 +00:00
Benjamin Peterson d7943cb71d fix spelling 2008-05-17 19:51:10 +00:00
Benjamin Peterson 79a922d6df add Py3k warnings to oct and hex. backport hex behavior (because it's not different) 2008-05-17 19:21:20 +00:00
Georg Brandl 6c90c9faae Add new tkinter dir to various locations where lib-tk shows up. 2008-05-17 19:14:23 +00:00
Georg Brandl 7363445d94 Add "tkinter" to the list of directories to install. 2008-05-17 19:06:20 +00:00
Georg Brandl 9098a0d100 Don't export a name "tkinter" from the "tkinter" package.
Else people doing "from tkinter import *" will get a nasty surprise.
2008-05-17 18:17:45 +00:00
Georg Brandl f4a942c980 Really move the imports to the top this time. :) 2008-05-17 18:15:24 +00:00
Georg Brandl 3ee81df3bb Rewrap consistently to 70 chars, and standardize the way of referring to issues. 2008-05-17 18:14:43 +00:00
Georg Brandl 28fdfa9839 #961805: fix Edit.text_modified(). 2008-05-17 17:57:01 +00:00
Lars Gustäbel 4bfb59390c 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().
2008-05-17 16:50:22 +00:00
Georg Brandl a9c205dd46 Move imports to file top. 2008-05-17 15:30:35 +00:00
Georg Brandl 8291f8efae Tkinter: make stub modules. 2008-05-17 15:21:58 +00:00
Georg Brandl 7e6b33f00a Tkinter rename: merge tkSimpleDialog and tkFileDialog into simpledialog and filedialog. 2008-05-17 15:07:03 +00:00
Gregory P. Smith af8a68733f fix issue2381: test_subprocess fails if your sys.executable is on a
path with a space in it.
2008-05-17 07:17:34 +00:00
Gregory P. Smith 664782e1c8 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.
2008-05-17 06:12:02 +00:00
Raymond Hettinger ce956842e2 Fix-up docstring 2008-05-17 04:13:36 +00:00
Benjamin Peterson 518c44cecf mention Py3k in glossary 2008-05-16 22:59:28 +00:00
Thomas Heller ee130b72f8 Very simple test for ctypes.util.find_library on Windows. 2008-05-16 20:19:07 +00:00
Thomas Heller 95ba13fa85 Issue 1793: Add ctypes.util.find_msvcrt() function (on Windows). 2008-05-16 20:06:31 +00:00
Alexandre Vassalotti 3c4971c40e Added Python 3.0 warning to cPickle. 2008-05-16 19:14:31 +00:00
Alexandre Vassalotti ea0b22a167 Patch by Quentin Gallet-Gilles: Renaming leftovers for 2.6.
This fixes the omissions of configparser, copyreg, queue and
socketserver renaming.
2008-05-16 18:03:52 +00:00
Georg Brandl 5e7b1c07bc NEWS entry for Tkinter rename. 2008-05-16 17:40:23 +00:00
Georg Brandl c21cd7e7ec Doc changes for the big Tkinter rename. 2008-05-16 17:37:53 +00:00
Georg Brandl cd174da82f Fix reprlib docs. 2008-05-16 17:33:13 +00:00
Georg Brandl ad9afeb8f0 Tkinter rename, step 2: fix imports and add stub modules. 2008-05-16 15:48:15 +00:00
Georg Brandl bbc57d73a0 Step 1 of Tkinter renaming: move lib-tk modules into a new "tkinter" package. 2008-05-16 14:24:45 +00:00
Georg Brandl ae6b9f3cb2 Document O_ASYNC addition. 2008-05-16 13:41:26 +00:00
Georg Brandl ecf9091f59 Don't allow keyword arguments to reversed(). 2008-05-16 13:24:29 +00:00
Georg Brandl 88107dafef #2845: fix copy2's docs. 2008-05-16 13:18:50 +00:00
Georg Brandl 5049a858ba #2890: support os.O_ASYNC and fcntl.FASYNC. 2008-05-16 13:10:15 +00:00
Christian Heimes ca21c65a23 Following Amaury's advice 2008-05-16 11:28:56 +00:00