Commit graph

13219 commits

Author SHA1 Message Date
Georg Brandl
fb3de1fcd2 Improve diffing logic and output for test_pydoc. 2008-05-20 08:07:36 +00:00
Georg Brandl
bcdafa44f2 Remove html package and fix test_htmlparser. 2008-05-20 07:58:42 +00:00
Georg Brandl
dffbf5f542 Revert copy_reg -> copyreg rename. 2008-05-20 07:49:57 +00:00
Georg Brandl
06d2a2cb0e Remove debugging line. 2008-05-20 07:23:59 +00:00
Georg Brandl
d66c84f63c Remove rest of the tkinter package. 2008-05-20 07:23:25 +00:00
Georg Brandl
6634bf2919 Tkinter rename reversal: remove tkinter package, adapt imports and docs. 2008-05-20 07:13:37 +00:00
Georg Brandl
33cece05b9 Tkinter renaming reversal: move modules back in their place. 2008-05-20 06:58:21 +00:00
Georg Brandl
248e3a8b7f Tkinter renaming reversal: Delete all stubs from lib-tk. 2008-05-20 06:49:28 +00:00
Georg Brandl
7bb1653cc3 Argh, this is the *actual* test that works under Windows. 2008-05-20 06:47:31 +00:00
Georg Brandl
b740f6a0c7 Activate two more test cases in test_httpservers. 2008-05-20 06:15:36 +00:00
Fred Drake
d995e1150c revert creation of the html.entities and html.parser modules
(http://bugs.python.org/issue2882)
2008-05-20 06:08:38 +00:00
Jesus Cea
958ee47286 bsddb: Beware with sequence wrapping 2008-05-19 15:55:11 +00:00
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
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
88e2acf038 GHOP #257: test distutils' build_ext command, written by Josip Dzolonga. 2008-05-18 11:52:36 +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
a9916b55de #2353: raise Py3k warning in file.xreadlines(). 2008-05-17 22:11:54 +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
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
28fdfa9839 #961805: fix Edit.text_modified(). 2008-05-17 17:57:01 +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
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
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
ecf9091f59 Don't allow keyword arguments to reversed(). 2008-05-16 13:24:29 +00:00
Georg Brandl
5ffad6646e Make generator repr consistent with function and code object repr. 2008-05-16 09:34:48 +00:00
Alexandre Vassalotti
a8eaf8faf3 Rename the test file of reprlib. 2008-05-16 07:14:08 +00:00
Alexandre Vassalotti
50a1acb2ab Changed references to the reprlib module to use its new name. 2008-05-16 06:58:49 +00:00
Alexandre Vassalotti
95d97c7390 Renamed the repr module to reprlib.
Added stub module for repr.
2008-05-16 06:37:57 +00:00
Benjamin Peterson
5915a4dcfe make test_platform a bit more assertive (We'll see what the buildbots say.) 2008-05-16 02:24:49 +00:00
Alexandre Vassalotti
eb8cef2664 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.
2008-05-16 02:06:59 +00:00