Commit graph

42619 commits

Author SHA1 Message Date
Benjamin Peterson
573025f298 update year 2009-07-15 00:46:42 +00:00
Michael Foord
91dcd93beb Move TestRunner initialisation into unittest.TestProgram.runTests. Fixes issue 6418. 2009-07-14 17:58:12 +00:00
Amaury Forgeot d'Arc
78c06bd9b7 Document the newly added codec 2009-07-13 23:11:54 +00:00
Marc-André Lemburg
cecaa65f65 Use a different VER command output parser to address the localization
issues mentioned in #3410.

Prepare for Windows 7 (still commented out).
2009-07-13 21:28:33 +00:00
Marc-André Lemburg
19e5b3f9d1 Use a new global DEV_NULL instead of hard-coding /dev/null into the system
command helper functions.

See #6479 for some motivation.
2009-07-13 20:23:49 +00:00
Amaury Forgeot d'Arc
9d11fefe1b NEWS entry for r74000. 2009-07-13 20:03:21 +00:00
Amaury Forgeot d'Arc
70dda76cde #1616979: Add the cp720 (Arabic DOS) encoding.
Since there is no official mapping file from unicode.org,
the codec file is generated on Windows with the new genwincodec.py script.
2009-07-13 20:01:11 +00:00
Amaury Forgeot d'Arc
f31fd0179e Set svn:eol-style=CRLF on all Visual Studio solution files.
This should allow direct compilation from a downloaded source tar ball.
2009-07-13 19:14:17 +00:00
Vinay Sajip
cbb24b35a0 Issue #6314: logging: Extra checks on the "level" argument in more places. 2009-07-13 11:21:05 +00:00
Benjamin Peterson
d50a5d5deb fix umlaut 2009-07-13 00:03:20 +00:00
Benjamin Peterson
95e5ebe3e3 change encoding to utf-8 2009-07-12 23:56:18 +00:00
Benjamin Peterson
1944d7e724 fix another name 2009-07-12 23:49:23 +00:00
Benjamin Peterson
dd116c2ea5 change encoding to utf-8 2009-07-12 23:44:43 +00:00
Benjamin Peterson
36a81381c6 fix Tarek's name 2009-07-12 23:40:33 +00:00
Kristján Valur Jónsson
0369ba2a4a http://bugs.python.org/issue6267
Add more tests for the xlmrpc.ServerProxy
2009-07-12 22:42:08 +00:00
Benjamin Peterson
6736530df0 add Joe 2009-07-12 21:18:55 +00:00
Benjamin Peterson
72f94f75d6 add versionadded 2009-07-12 16:56:54 +00:00
Hirokazu Yamamoto
6633a6606b Fixed distutils test. 2009-07-12 02:04:47 +00:00
Benjamin Peterson
9d2916cdfd ignore things in Lib/test/data/ 2009-07-11 22:25:24 +00:00
Benjamin Peterson
9bd39c119e put downloaded test support files in Lib/test/data instead of the cwd 2009-07-11 22:15:13 +00:00
Tarek Ziadé
51f32c00e8 reverted changes for #6459 (doesn't apply on 2.x) 2009-07-11 17:21:00 +00:00
Amaury Forgeot d'Arc
74b8d333b7 #2622 Import errors in email.message, from a py2app standalone application.
Patch by Mads Kiilerich, Reviewed by Barry Warsaw.
2009-07-11 14:33:51 +00:00
Georg Brandl
c91cbb948a array.array is actually a class. 2009-07-11 14:23:38 +00:00
Tarek Ziadé
23a3775cc8 fixed #6459: distutils.command.build_ext.get_export_symbols now uses 'PyInit' 2009-07-11 10:55:27 +00:00
Georg Brandl
b7e14eda6e #6456: clarify the meaning of constants used as arguments to nl_langinfo(). 2009-07-11 10:51:31 +00:00
Tarek Ziadé
51c045d6b4 cleaned up distutils.build_ext module 2009-07-11 10:48:31 +00:00
Georg Brandl
7750505d2d #6430: add note about size of "u" type. 2009-07-11 10:37:38 +00:00
Georg Brandl
7c150bf904 #6448: clarify docs for find_module(). 2009-07-11 10:18:10 +00:00
Georg Brandl
0294de028f #6446: fix import_spam() function to use correct error and reference handling. 2009-07-11 10:14:54 +00:00
Georg Brandl
3405cbcf06 Fix style. 2009-07-11 10:12:36 +00:00
Amaury Forgeot d'Arc
9175742ef0 Add basic tests for the return value of os.popen().close().
According to #6358, python 3.0 has a different implementation that behaves differently.
2009-07-11 09:09:59 +00:00
Kristján Valur Jónsson
ef6007c1ae http://bugs.python.org/issue6460
Need to be careful with thread switching when testing the xmlrpc server.  The server thread may not have updated stats when the client thread tests them.
2009-07-11 08:44:43 +00:00
Ezio Melotti
6cbfc12ccd more cleanups and if zlib -> skipUnless(zlib) 2009-07-10 20:25:56 +00:00
Amaury Forgeot d'Arc
8318afa0b8 #6447: typo in subprocess docstring 2009-07-10 16:47:42 +00:00
Tarek Ziadé
1c6ebc22bc cleaned up distutils.command.build 2009-07-10 10:00:21 +00:00
Tarek Ziadé
3f7cba1b65 Added test coverage for distutils.command.build 2009-07-10 09:57:15 +00:00
Tarek Ziadé
8c40001175 Fixed #6455 (the test shall use pyd files under win32, rather than so files) 2009-07-10 09:10:33 +00:00
Amaury Forgeot d'Arc
ce32eb7406 #6416: Fix compilation of the select module on Windows, as well as test_subprocess:
PIPE_BUF is not defined on Windows, and probably has no meaning there.

Anyway the subprocess module uses another way to perform non-blocking reads (with a thread)
2009-07-09 22:37:22 +00:00
R. David Murray
b0c828ae4a Try to fix Solaris buildbot rmtree failure in test_getcwd_long_pathnames
cleanup.  If this fix works, it means that Solaris is unique among
our platforms in what happens when shutil.rmtree is called on the
current working directory (ie: it doesn't work on Solaris, but
it does everywhere else).
2009-07-09 18:41:03 +00:00
R. David Murray
6fcf7cae5c Temporarily ignore rmtree errors in test_getcwd_long_pathnames to see
if the test gives useful failure info on Solaris buildbot.
2009-07-09 16:17:30 +00:00
R. David Murray
573399a2f6 Curdir needs to be in the path for the test to work on all buildbots.
(I copied this from another import test, but currently this will fail if
TESTFN ends up in /tmp...see issue 2609).
2009-07-09 15:35:33 +00:00
R. David Murray
fbf2cc4d74 Specify umask in execute bit test to get consistent results
and make sure we test resetting all three execute bits.
2009-07-09 13:55:44 +00:00
Tarek Ziadé
00490f2754 PendingDeprecationWarning -> DeprecationWarning in build_ext 2009-07-09 07:42:42 +00:00
R. David Murray
00e1f63c6e Make test work with -O. 2009-07-09 02:06:17 +00:00
R. David Murray
8a624a9eb0 Conditionalize test cleanup code to eliminate traceback, which will
hopefully reveal the real problem.
2009-07-09 01:43:41 +00:00
Tarek Ziadé
42b145d0e2 Sets the compiler attribute to keep the old behavior for third-party packages. 2009-07-08 22:40:51 +00:00
Mark Dickinson
5fd3af24a2 Issue #1523: Remove deprecated overflow masking in struct module, and
make sure that out-of-range values consistently raise struct.error.
2009-07-07 15:08:28 +00:00
Mark Dickinson
bb3895cfc6 Expand test coverage for struct.pack with native integer packing;
reorganize the test_struct module to remove duplicated code and tests.
2009-07-07 14:15:45 +00:00
Mark Dickinson
ca6b5f36f4 Add skipping to struct test that only applies when overflow masking is in effect 2009-07-07 11:08:23 +00:00
Mark Dickinson
24766ba6af Typo in error message 2009-07-07 10:18:22 +00:00