summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* #6446: fix import_spam() function to use correct error and reference handling.Georg Brandl2009-07-111-9/+16
|
* Fix style.Georg Brandl2009-07-111-4/+4
|
* 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-102-4/+7
|
* #6416: Fix compilation of the select module on Windows, as well as ↵Amaury Forgeot d'Arc2009-07-094-7/+10
| | | | | | | | 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-073-238/+37
| | | | 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
|
* Typo in error messageMark Dickinson2009-07-071-1/+1
|
* Update issue 6070 patch to match the patch that was actually testedR. David Murray2009-07-071-1/+3
| | | | on Windows.
* 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.
* #6420: Fix a compilation warning in the nis module, for OpenBSD and FreeBSD.Amaury Forgeot d'Arc2009-07-071-1/+1
|
* Grow the allocated buffer in PyUnicode_EncodeUTF7 to avoid buffer overrun.Alexandre Vassalotti2009-07-071-2/+2
| | | | | | | Without this change, test_unicode.UnicodeTest.test_codecs_utf7 crashes in debug mode. What happens is the unicode string u'\U000abcde' with a length of 1 encodes to the string '+2m/c3g-' of length 8. Since only 5 bytes is reserved in the buffer, a buffer overrun occurs.
* Issue 6070: when creating a compiled file, after copying the mode bits, onR. David Murray2009-07-073-1/+25
| | | | | 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-064-68/+121
| | | | 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-053-134/+148
| | | | 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-052-2/+33
| | | | | | operator.sequenceIncludes. Patch contributed by Jeff Balogh (and updated slightly by me).
* if zlib -> skipUnless(zlib) and minor cleanupsEzio Melotti2009-07-041-37/+49
|
* Merge r73838 from py3k branch. Use the nondeprecated unittest methodGregory P. Smith2009-07-048-155/+155
| | | | names.
* using print statements when used for user interactionTarek Ziadé2009-07-042-29/+11
|
* Fixed #6413: fixed log level in distutils.dist.announceTarek Ziadé2009-07-042-2/+4
|
* news entry for r73825Gregory P. Smith2009-07-041-0/+3
|
* Use select.poll() in subprocess, when available, rather than select() so thatGregory P. Smith2009-07-042-36/+113
| | | | | | | | | | it does not fail when file descriptors are large. Fixes issue3392. Patch largely contributed by Frank Chu (fpmc) with some improvements by me. See http://bugs.python.org/issue3392. Candidate for backporting to release26-maint as it is a bug fix and changes no public API.
* #6398 typo: versio. -> version.Ezio Melotti2009-07-041-1/+1
|
* http://bugs.python.org/issue6267Kristján Valur Jónsson2009-07-031-1/+1
| | | | Incorrect exception handling for xmlrpc client retry
* http://bugs.python.org/issue6267Kristján Valur Jónsson2009-07-031-5/+5
| | | | Incorrect exception handling for xmlrp client retry
* http://bugs.python.org/issue6381Kristján Valur Jónsson2009-07-031-1/+6
| | | | some platforms may raise ENOTCONN if the stack has disconnected the socket on behalf of the peer.
* Adds the select.PIPE_BUF attribute to expose the system constant.Gregory P. Smith2009-07-032-0/+11
|
* cleaned distutils.file_utilTarek Ziadé2009-07-031-69/+52
|
* basic tests to raise distutils.file_util coverageTarek Ziadé2009-07-031-1/+16
|
* another cStringIO restrictionBenjamin Peterson2009-07-031-2/+3
|
* cleaned up distutils.command.build_pyTarek Ziadé2009-07-031-90/+44
|
* Fixed #6403 : package path usage for build_extTarek Ziadé2009-07-033-10/+43
|
* condense with assertRaisesBenjamin Peterson2009-07-021-13/+2
|