summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* split unittest.py into a packageBenjamin Peterson2009-07-1913-902/+918
|
* Fix for issue5102, timeout value propages between redirects, proxy, digest andSenthil Kumaran2009-07-192-6/+10
| | | | auth handlers. Fixed tests to reflect the same.
* Issue #6431: Fix Fraction comparisons with unknown types, and withMark Dickinson2009-07-182-30/+158
| | | | float infinities and nans. Backport of r74078 from py3k.
* Issue #6415: Fixed warnings.warn sagfault on bad formatted string.Hirokazu Yamamoto2009-07-171-0/+13
|
* Revert r74028.Georg Brandl2009-07-161-2/+2
|
* #6482: simplify "except: raise" to "finally:".Georg Brandl2009-07-161-2/+2
|
* #6466 refactored distutils duplicate get_versions() functions (used to get ↵Tarek Ziadé2009-07-166-111/+231
| | | | gcc/ld/dllwrap versions)
* Issue 6433: multiprocessing.pool.map hangs on empty listJesse Noller2009-07-162-0/+8
|
* #5910: fix kqueue for calls with more than one event.Georg Brandl2009-07-161-0/+16
|
* #6076 Add a title to the IDLE Preferences window.Amaury Forgeot d'Arc2009-07-151-0/+1
|
* methods' names pep8ificationEzio Melotti2009-07-151-127/+127
|
* Move TestRunner initialisation into unittest.TestProgram.runTests. Fixes ↵Michael Foord2009-07-142-11/+2
| | | | issue 6418.
* Use a different VER command output parser to address the localizationMarc-André Lemburg2009-07-131-2/+17
| | | | | | issues mentioned in #3410. Prepare for Windows 7 (still commented out).
* Use a new global DEV_NULL instead of hard-coding /dev/null into the systemMarc-André Lemburg2009-07-131-4/+20
| | | | | | command helper functions. See #6479 for some motivation.
* #1616979: Add the cp720 (Arabic DOS) encoding.Amaury Forgeot d'Arc2009-07-131-0/+311
| | | | | Since there is no official mapping file from unicode.org, the codec file is generated on Windows with the new genwincodec.py script.
* Issue #6314: logging: Extra checks on the "level" argument in more places.Vinay Sajip2009-07-131-8/+15
|
* http://bugs.python.org/issue6267Kristján Valur Jónsson2009-07-121-4/+41
| | | | Add more tests for the xlmrpc.ServerProxy
* Fixed distutils test.Hirokazu Yamamoto2009-07-121-1/+1
|
* put downloaded test support files in Lib/test/data instead of the cwdBenjamin Peterson2009-07-111-5/+4
|
* reverted changes for #6459 (doesn't apply on 2.x)Tarek Ziadé2009-07-112-4/+4
|
* #2622 Import errors in email.message, from a py2app standalone application.Amaury Forgeot d'Arc2009-07-118-18/+18
| | | | Patch by Mads Kiilerich, Reviewed by Barry Warsaw.
* fixed #6459: distutils.command.build_ext.get_export_symbols now uses 'PyInit'Tarek Ziadé2009-07-112-4/+4
|
* cleaned up distutils.build_ext moduleTarek Ziadé2009-07-111-26/+16
|
* Add basic tests for the return value of os.popen().close().Amaury Forgeot d'Arc2009-07-111-0/+7
| | | | According to #6358, python 3.0 has a different implementation that behaves differently.
* http://bugs.python.org/issue6460Kristján Valur Jónsson2009-07-111-2/+8
| | | | 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.
* more cleanups and if zlib -> skipUnless(zlib)Ezio Melotti2009-07-101-90/+94
|
* #6447: typo in subprocess docstringAmaury Forgeot d'Arc2009-07-101-2/+2
|
* cleaned up distutils.command.buildTarek Ziadé2009-07-101-15/+5
|
* Added test coverage for distutils.command.buildTarek Ziadé2009-07-101-0/+54
|
* Fixed #6455 (the test shall use pyd files under win32, rather than so files)Tarek Ziadé2009-07-101-4/+5
|
* #6416: Fix compilation of the select module on Windows, as well as ↵Amaury Forgeot d'Arc2009-07-092-6/+7
| | | | | | | | 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)
* Try to fix Solaris buildbot rmtree failure in test_getcwd_long_pathnamesR. David Murray2009-07-091-2/+1
| | | | | | | 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).
* Temporarily ignore rmtree errors in test_getcwd_long_pathnames to seeR. David Murray2009-07-091-1/+2
| | | | if the test gives useful failure info on Solaris buildbot.
* Curdir needs to be in the path for the test to work on all buildbots.R. David Murray2009-07-091-0/+2
| | | | | (I copied this from another import test, but currently this will fail if TESTFN ends up in /tmp...see issue 2609).
* Specify umask in execute bit test to get consistent resultsR. David Murray2009-07-091-0/+2
| | | | and make sure we test resetting all three execute bits.
* PendingDeprecationWarning -> DeprecationWarning in build_extTarek Ziadé2009-07-091-2/+2
|
* Make test work with -O.R. David Murray2009-07-091-2/+8
|
* Conditionalize test cleanup code to eliminate traceback, which willR. David Murray2009-07-091-1/+1
| | | | hopefully reveal the real problem.
* Sets the compiler attribute to keep the old behavior for third-party packages.Tarek Ziadé2009-07-082-4/+29
|
* Issue #1523: Remove deprecated overflow masking in struct module, andMark Dickinson2009-07-071-19/+1
| | | | make sure that out-of-range values consistently raise struct.error.
* Expand test coverage for struct.pack with native integer packing;Mark Dickinson2009-07-071-170/+107
| | | | reorganize the test_struct module to remove duplicated code and tests.
* Add skipping to struct test that only applies when overflow masking is in effectMark Dickinson2009-07-071-0/+2
|
* http://bugs.python.org/issue6382Kristján Valur Jónsson2009-07-071-9/+23
| | | | added the shutdown_request() which can perform shutdown before calling close. This is needed for the ForkingMixIn because different close semantics are required for child and parent process. shutdown_request(), for TCP servers, calls socket.shutdown() and then calls close_request(). Therefore, this is not an backwards incompatible change, since subclasses that continue to override close_request() continue to work.
* Issue 6070: when creating a compiled file, after copying the mode bits, onR. David Murray2009-07-071-0/+19
| | | | | posix zap the execute bit in case it was set on the .py file, since the compiled files are not directly executable on posix. Patch by Marco N.
* Fixed #6377: distutils compiler switch ignored (and added a deprecation ↵Tarek Ziadé2009-07-062-23/+69
| | | | warning if compiler is not used as supposed = a string option)
* http://bugs.python.org/issue6382Kristján Valur Jónsson2009-07-051-1/+3
| | | | close_request() (which can send a socket.shutdown()) must be called by the child process in a forking server. The parent must merely close the socket handle.
* Issues #1530559, #1741130: Fix various inconsistencies in struct.packMark Dickinson2009-07-051-25/+26
| | | | integer packing, and reenable some previously broken tests.
* Backport test cases added in r73852.Alexandre Vassalotti2009-07-051-0/+13
|
* Fix bad variable name in r73846.Alexandre Vassalotti2009-07-051-2/+2
|
* Issue 2370: Add Python 3 warnings for the removal of operator.isCallable andAlexandre Vassalotti2009-07-051-0/+12
| | | | | | operator.sequenceIncludes. Patch contributed by Jeff Balogh (and updated slightly by me).