Commit Graph

14781 Commits

Author SHA1 Message Date
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 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
Vinay Sajip cbb24b35a0 Issue #6314: logging: Extra checks on the "level" argument in more places. 2009-07-13 11:21:05 +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
Hirokazu Yamamoto 6633a6606b Fixed distutils test. 2009-07-12 02:04:47 +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
Tarek Ziadé 23a3775cc8 fixed #6459: distutils.command.build_ext.get_export_symbols now uses 'PyInit' 2009-07-11 10:55:27 +00:00
Tarek Ziadé 51c045d6b4 cleaned up distutils.build_ext module 2009-07-11 10:48:31 +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
Kristján Valur Jónsson c71fae5ad7 http://bugs.python.org/issue6382
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.
2009-07-07 09:01:34 +00:00
R. David Murray 23a736a4f0 Issue 6070: when creating a compiled file, after copying the mode bits, on
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.
2009-07-07 01:06:13 +00:00
Tarek Ziadé e670e5ad5b Fixed #6377: distutils compiler switch ignored (and added a deprecation warning if compiler is not used as supposed = a string option) 2009-07-06 12:50:46 +00:00
Kristján Valur Jónsson f5b8ea9128 http://bugs.python.org/issue6382
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.
2009-07-05 20:56:57 +00:00
Mark Dickinson 463dc4bf26 Issues #1530559, #1741130: Fix various inconsistencies in struct.pack
integer packing, and reenable some previously broken tests.
2009-07-05 10:01:24 +00:00
Alexandre Vassalotti 5b1abb7bb0 Backport test cases added in r73852. 2009-07-05 06:33:41 +00:00
Alexandre Vassalotti 16a0247393 Fix bad variable name in r73846. 2009-07-05 04:25:46 +00:00
Alexandre Vassalotti 0fe799151f Issue 2370: Add Python 3 warnings for the removal of operator.isCallable and
operator.sequenceIncludes.

Patch contributed by Jeff Balogh (and updated slightly by me).
2009-07-05 04:22:40 +00:00
Ezio Melotti e7a0cc2aa8 if zlib -> skipUnless(zlib) and minor cleanups 2009-07-04 14:58:27 +00:00
Gregory P. Smith 1844b0d748 Merge r73838 from py3k branch. Use the nondeprecated unittest method
names.
2009-07-04 08:42:10 +00:00
Tarek Ziadé cd947e0c6a using print statements when used for user interaction 2009-07-04 02:59:19 +00:00
Tarek Ziadé 63f1738d4b Fixed #6413: fixed log level in distutils.dist.announce 2009-07-04 02:02:41 +00:00
Gregory P. Smith dd7ca24eb5 Use select.poll() in subprocess, when available, rather than select() so that
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.
2009-07-04 01:49:29 +00:00
Kristján Valur Jónsson e5445da631 http://bugs.python.org/issue6267
Incorrect exception handling for xmlrpc client retry
2009-07-03 23:29:50 +00:00
Kristján Valur Jónsson f83648ef48 http://bugs.python.org/issue6267
Incorrect exception handling for xmlrp client retry
2009-07-03 23:26:02 +00:00
Kristján Valur Jónsson b5faac73a4 http://bugs.python.org/issue6381
some platforms may raise ENOTCONN if the stack has disconnected the socket on behalf of the peer.
2009-07-03 23:07:07 +00:00
Tarek Ziadé 9ad7bbc637 cleaned distutils.file_util 2009-07-03 19:14:49 +00:00
Tarek Ziadé eea9d0d846 basic tests to raise distutils.file_util coverage 2009-07-03 19:01:12 +00:00
Tarek Ziadé fe97ebbf62 cleaned up distutils.command.build_py 2009-07-03 09:01:07 +00:00
Tarek Ziadé 65ec61ed06 Fixed #6403 : package path usage for build_ext 2009-07-03 08:22:56 +00:00
Benjamin Peterson 50a2252851 condense with assertRaises 2009-07-02 22:56:16 +00:00
Benjamin Peterson d3243d8db8 test that compile() accepts the future flag 2009-07-02 21:38:36 +00:00
Benjamin Peterson 753d16234f when print() gets unicode arguments, sep and end should be unicode by default #4618 2009-07-02 18:16:45 +00:00
Benjamin Peterson 1bf4765369 only order comparisons are removed in py3k #6119 2009-07-02 17:06:17 +00:00
Benjamin Peterson 0c6de43dd9 remove this test; a module level warning is enough 2009-07-02 16:51:56 +00:00
Tarek Ziadé 3757fbba25 pep8-fied and cleaned up distutils.util 2009-07-02 14:20:47 +00:00
Tarek Ziadé 85bb62872d cleaned up the bdist_dumb module 2009-07-02 12:51:56 +00:00
Tarek Ziadé d0ca455368 raising bdist_dumb test coverage 2009-07-02 12:47:54 +00:00
Benjamin Peterson 4f24767938 proxy the __exit__ call 2009-07-01 13:34:35 +00:00
Benjamin Peterson 7e2801d1b5 Merged revisions 73379,73388,73507,73722 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3

........
  r73379 | benjamin.peterson | 2009-06-11 18:06:21 -0500 (Thu, 11 Jun 2009) | 1 line

  use a real conditional expresion
........
  r73388 | benjamin.peterson | 2009-06-12 09:44:29 -0500 (Fri, 12 Jun 2009) | 1 line

  fix typo in last fix
........
  r73507 | benjamin.peterson | 2009-06-22 13:32:04 -0500 (Mon, 22 Jun 2009) | 1 line

  remove svn:executable property
........
  r73722 | benjamin.peterson | 2009-06-30 19:44:30 -0500 (Tue, 30 Jun 2009) | 1 line

  replace fail* with assert*
........
2009-07-01 00:49:09 +00:00
Benjamin Peterson 4d3f18f2ed fix a few cases where automated fail -> assert translation messed up
Thanks Joe Amenta
2009-07-01 00:36:41 +00:00
Benjamin Peterson 6b0032f2c3 use assert* methods in test_unittest 2009-06-30 23:30:12 +00:00
Benjamin Peterson 5c8da86f3a convert usage of fail* to assert* 2009-06-30 22:57:08 +00:00
Benjamin Peterson 31f42ab254 provide a dummy __exit__ on windows 2009-06-30 22:14:33 +00:00
Jesse Noller 1b90efbdc5 Resolves issues 5155, 5313, 5331 - bad file descriptor error with processes in processes 2009-06-30 17:11:52 +00:00
Raymond Hettinger 5dfc7f9fc8 Issue 6370: Performance issue with collections.Counter(). 2009-06-29 19:10:29 +00:00
Tarek Ziadé 3fbcc60eb8 Fixed 6365: wrong inplace location for build_ext if the extension had dots 2009-06-29 16:13:39 +00:00
Antoine Pitrou 79c3bd80ed Backport fix for buglet from py3k 2009-06-29 14:14:56 +00:00
Kristján Valur Jónsson e007860b8b http://bugs.python.org/issue6267
Cumulative patch to http and xmlrpc
2009-06-28 21:04:17 +00:00
Benjamin Peterson 552e7a7e2f return locals and cells in get_locals() not bound globals, though 2009-06-28 19:27:55 +00:00
Georg Brandl a4c622972a Remove stray pychecker directive. 2009-06-28 12:10:18 +00:00
Gregory P. Smith 2662733bce Fixes the last problem mentioned in issue1202. 2009-06-26 07:50:21 +00:00
Amaury Forgeot d'Arc 595f7a5bf9 #2016 Fix a crash in function call when the **kwargs dictionary is mutated
during the function call setup.

This even gives a slight speedup, probably because tuple allocation
is faster than PyMem_NEW.
2009-06-25 22:29:29 +00:00
Kristján Valur Jónsson f1d11efb72 http://bugs.python.org/issue6192
Move the newly introduced disable_nagle_algorithm flag into the StreamRequestHandler, where it is more appropriate.
2009-06-24 09:17:04 +00:00
Amaury Forgeot d'Arc 14fc673d4f Remove the ipaddr module per discussion on python-dev 2009-06-23 21:09:09 +00:00
Raymond Hettinger 62641e9534 Issue 6329: Fix iteration for memoryviews. 2009-06-23 20:59:43 +00:00
R. David Murray ef087da9e7 Fix issue 5230 by having pydoc's safeimport check to see if the import
error was thrown from itself in order to decide if the module can't be
found.  Thanks to Lucas Prado Melo for collaborating on the fix and tests.
2009-06-23 18:02:46 +00:00
Nick Coghlan 3a1dbb05a1 Remove markup from docstring 2009-06-23 10:51:02 +00:00
Nick Coghlan 0d8b4e33e7 Issue 6288: Update contextlib.nested() docstring to reflect new documentation 2009-06-23 10:19:30 +00:00
Amaury Forgeot d'Arc e71bd81a89 #4490 Fix sample code run by "python -m xml.sax.xmlreader" 2009-06-22 19:33:48 +00:00
Steven Bethard 35fad2fc48 Fix memory bug in bdist_msi. (Commit okayed in issue6319.) 2009-06-21 21:03:41 +00:00
Vinay Sajip 603fb6d667 Issue #6314: logging.basicConfig() performs extra checks on the "level" argument. 2009-06-21 17:37:27 +00:00
Guilherme Polo 7f146ab0ca Issue #5450: Moved tests involving loading tk from Lib/test/test_tcl to
Lib/lib-tk/test/test_tkinter/test_loadtk in order to follow the behaviour of
test_ttkguionly.
2009-06-21 17:22:50 +00:00
Tarek Ziadé 439bf93f8c Fixed #6164 AIX specific linker argument in Distutils unixcompiler 2009-06-20 13:57:20 +00:00
Benjamin Peterson dae5db2805 use closures 2009-06-19 22:21:12 +00:00
Benjamin Peterson 5fa09e3eb5 show that this one isn't used 2009-06-19 22:16:28 +00:00
Benjamin Peterson 9c5e4115ab add missing assertion #6313 2009-06-19 22:09:17 +00:00
Benjamin Peterson f1cccaa6b2 remove duplicate test 2009-06-19 22:07:47 +00:00
Facundo Batista 8c826b77e0 Issue #6274. Fixed a potential FD leak in subprocess.py. 2009-06-19 18:02:28 +00:00
Amaury Forgeot d'Arc 5fe420e34c #6189: The subprocess.py module should be kept compatible with python 2.2
(On windows, you still have to change one line to use pywin32
instead of the _subprocess helper module)
2009-06-18 22:32:50 +00:00
Georg Brandl c29863e3a6 #6276: Remove usage of nested() in favor of new with statement with multiple managers. 2009-06-18 22:24:26 +00:00
Hirokazu Yamamoto cdcd4bff12 Issue #6215: Fixed to use self.open() instead of open() or io.open(). 2009-06-17 07:05:33 +00:00
Mark Dickinson 5d730177a9 Acknowledge the role of the MPFR library in creating cmath_testcases.txt 2009-06-16 20:31:12 +00:00
Tarek Ziadé c1df95e12f starting distutils.ccompiler test coverage and cleanup 2009-06-16 08:31:01 +00:00
Benjamin Peterson 08a0bbc846 don't mask encoding errors when decoding a string #6289 2009-06-16 00:29:31 +00:00
Tarek Ziadé a1cc040828 Issue #6286: distutils upload command now uses urllib2 2009-06-15 23:30:13 +00:00
Tarek Ziadé d7c5cee2d5 code cleanup 2009-06-15 23:04:29 +00:00
Amaury Forgeot d'Arc f81ff989d6 #6227: Because of a wrong indentation, the test was not testing what it should.
Ensure that the snippet in doctest_aliases actually contains aliases.
2009-06-14 21:20:40 +00:00
Benjamin Peterson a72be3b325 when no module is given in a 'from' relative import, make ImportFrom.module NULL 2009-06-13 20:23:33 +00:00
Benjamin Peterson 52c4bec76b give a better error message when deleting () 2009-06-13 17:08:53 +00:00
Benjamin Peterson fb23463139 special case release candidates 2009-06-13 15:42:23 +00:00
Benjamin Peterson d1f5a59edb allow importing from a module named None if it has an 'as' clause 2009-06-13 13:06:21 +00:00
Benjamin Peterson 565e1b6bb7 prevent import statements from assigning to None 2009-06-13 03:46:30 +00:00
Benjamin Peterson 4afbba3d34 keep the slice.step field as NULL if no step expression is given 2009-06-13 01:40:00 +00:00
Alexandre Vassalotti cb73bdac95 Revert r73401 per Raymond Hettinger's request.
The rational is the change might cause imcompatiblity problems with
PyYAML. In addition, Raymond wants to kept the different versions of
collections synchronized across Python versions.
2009-06-12 23:03:35 +00:00
Alexandre Vassalotti 450ae573bc Make pickling of OrderedDict instances more efficient. 2009-06-12 21:52:14 +00:00
Antoine Pitrou c5ae86b9d3 Re-enable testing of builtin open() in test_bufio in test_largefile 2009-06-12 20:54:21 +00:00
Antoine Pitrou 47a5f48006 Try to restore the old test_file and test_univnewlines as new, different files
(with the right revisions this time, hopefully)
2009-06-12 20:41:52 +00:00
Antoine Pitrou c5d2b4156c Restore the old test_file.py (for the builtin file object) as a new file named test_file2k.py 2009-06-12 20:36:25 +00:00
Antoine Pitrou 1969059327 Issue #6215: backport the 3.1 io lib 2009-06-12 20:14:08 +00:00
Martin v. Löwis 2dcd7a0d52 Support AMD64 in msilib. Set Win64 on reglocator.
Fixes #6258.
2009-06-12 17:28:31 +00:00
Raymond Hettinger 2c0cdca564 Issue 6261: Clarify behavior of random.uniform(). 2009-06-11 23:14:53 +00:00
Benjamin Peterson 6118040b7a Merged revisions 72523,72950-72951,72994,73003,73033,73036-73040,73091-73093,73096,73179-73181,73192,73231,73244,73255-73256,73365 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3

........
  r72523 | benjamin.peterson | 2009-05-09 14:42:26 -0500 (Sat, 09 May 2009) | 1 line

  remove parenthesis
........
  r72950 | benjamin.peterson | 2009-05-26 18:19:45 -0500 (Tue, 26 May 2009) | 1 line

  remove unused imports
........
  r72951 | benjamin.peterson | 2009-05-26 18:27:00 -0500 (Tue, 26 May 2009) | 1 line

  this is no longer executable
........
  r72994 | benjamin.peterson | 2009-05-28 15:32:54 -0500 (Thu, 28 May 2009) | 1 line

  fix test_all_fixers on Windows #6134
........
  r73003 | benjamin.peterson | 2009-05-28 21:57:28 -0500 (Thu, 28 May 2009) | 4 lines

  make 2to3 test utilities easier to use with other applications (3to2)

  Patch by Joe Amenta
........
  r73033 | benjamin.peterson | 2009-05-29 16:58:32 -0500 (Fri, 29 May 2009) | 1 line

  update grammar for multi with statement
........
  r73036 | benjamin.peterson | 2009-05-29 17:33:20 -0500 (Fri, 29 May 2009) | 1 line

  simplify fix_unicode
........
  r73037 | benjamin.peterson | 2009-05-29 17:53:03 -0500 (Fri, 29 May 2009) | 1 line

  add custom error for pattern syntax errors
........
  r73038 | benjamin.peterson | 2009-05-29 17:55:00 -0500 (Fri, 29 May 2009) | 1 line

  complain if details are attached to a token
........
  r73039 | benjamin.peterson | 2009-05-29 18:00:28 -0500 (Fri, 29 May 2009) | 1 line

  add a test for whitespace
........
  r73040 | benjamin.peterson | 2009-05-29 18:01:17 -0500 (Fri, 29 May 2009) | 1 line

  a fix for emacs highlighting
........
  r73091 | benjamin.peterson | 2009-05-31 20:55:25 -0500 (Sun, 31 May 2009) | 1 line

  deprecate set_prefix() and get_prefix() in favor of a prefix property
........
  r73092 | benjamin.peterson | 2009-05-31 21:00:51 -0500 (Sun, 31 May 2009) | 1 line

  change hideous java naming scheme
........
  r73093 | benjamin.peterson | 2009-05-31 21:01:39 -0500 (Sun, 31 May 2009) | 1 line

  remove dated comment
........
  r73096 | benjamin.peterson | 2009-05-31 21:40:53 -0500 (Sun, 31 May 2009) | 1 line

  group tests
........
  r73179 | benjamin.peterson | 2009-06-03 13:09:53 -0500 (Wed, 03 Jun 2009) | 1 line

  handle the case where there's multiple trailers #6185
........
  r73180 | benjamin.peterson | 2009-06-03 13:18:05 -0500 (Wed, 03 Jun 2009) | 1 line

  scrap __main__ section
........
  r73181 | benjamin.peterson | 2009-06-03 13:24:48 -0500 (Wed, 03 Jun 2009) | 1 line

  remove shebang lines and __main__ sections
........
  r73192 | benjamin.peterson | 2009-06-03 19:16:30 -0500 (Wed, 03 Jun 2009) | 4 lines

  actually test something here

  Thanks to Joe Amenta for noticing.y
........
  r73231 | benjamin.peterson | 2009-06-04 13:38:50 -0500 (Thu, 04 Jun 2009) | 1 line

  remove unused variable
........
  r73244 | benjamin.peterson | 2009-06-05 08:39:25 -0500 (Fri, 05 Jun 2009) | 1 line

  allow fixers to give different options in setUp
........
  r73255 | benjamin.peterson | 2009-06-06 11:23:46 -0500 (Sat, 06 Jun 2009) | 1 line

  fix the except fixer on one line suites #6222
........
  r73256 | benjamin.peterson | 2009-06-06 11:27:40 -0500 (Sat, 06 Jun 2009) | 1 line

  test one-line else and finally clauses
........
  r73365 | benjamin.peterson | 2009-06-11 17:01:32 -0500 (Thu, 11 Jun 2009) | 1 line

  normalize whitespace
........
2009-06-11 22:06:46 +00:00
Benjamin Peterson 3bca523a8c use multi-with syntax 2009-06-11 17:51:17 +00:00
Tarek Ziadé ff1081874a pep8-fied cygwinccompiler module 2009-06-11 09:55:09 +00:00
Vinay Sajip 91290b5f53 Issue #5262: Improved fix. 2009-06-11 09:53:35 +00:00
Vinay Sajip 83da034c9a Issue #5262: Fixed bug in next roll over time computation in TimedRotatingFileHandler. 2009-06-11 09:23:41 +00:00
Tarek Ziadé c7498f5aab #6263 fixed syntax error in distutils.cygwinccompiler 2009-06-11 09:13:36 +00:00
Tarek Ziadé 2d36afd15e removed the last string.split() call 2009-06-11 08:43:26 +00:00
Tarek Ziadé 25d2bae1c9 Fixed #5201: now distutils.sysconfig.parse_makefile() understands '53264' in Makefiles 2009-06-11 08:12:20 +00:00
Tarek Ziadé 7ca57aa9fa Distutils: started code cleanup and test coverage for cygwinccompiler 2009-06-10 18:49:50 +00:00
Raymond Hettinger 1917ad587f Issue 6256: Fix stacklevel in warning message. 2009-06-10 16:15:02 +00:00
Amaury Forgeot d'Arc 5217c0848a Missing import in test_curses, uncovered by some buildbots.
(There are still a few test files that don't use the standard layout)
2009-06-09 23:37:11 +00:00
Amaury Forgeot d'Arc 03dcc73c11 Avoid invoking the parser/compiler just to test the presence of a function. 2009-06-09 22:53:16 +00:00
Benjamin Peterson 6a098d20e4 update symbol.py from with statement changes 2009-06-09 21:13:43 +00:00
Eric Smith 9eeeee9d71 Restored a test that was erroneously removed. See issue 6198. 2009-06-09 12:38:08 +00:00
Benjamin Peterson a5a5728cf0 remove error checks already done in set_context() 2009-06-08 23:44:13 +00:00
Georg Brandl 0c6d166479 Typo fix. 2009-06-08 18:41:36 +00:00
Benjamin Peterson 64092a56ec backport r73273 2009-06-07 23:12:44 +00:00
Kristján Valur Jónsson afefcfd4bf http://bugs.python.org/issue6192
Add a feature to disable the Nagle algorithm on sockets in TCPServer
2009-06-07 16:43:23 +00:00
Benjamin Peterson e021c9cb27 backport r73268 2009-06-07 16:24:48 +00:00
Georg Brandl 18187e2167 #6224: s/JPython/Jython/, and remove one link to a module nine years old. 2009-06-06 18:21:58 +00:00
Georg Brandl 9be5998760 #6206: fix test__locale. 2009-06-06 05:54:34 +00:00
Benjamin Peterson a663a373b2 only test for named pipe when os.stat doesn't raise #6209 2009-06-05 19:09:28 +00:00
Michael Foord d53d085ada Fix unittest discovery tests for Windows. Issue 6199 2009-06-05 14:14:34 +00:00
Tarek Ziadé 3b5d5fb123 reverting r72823 : Python trunk has to use latin-1 encoding 2009-06-05 13:37:29 +00:00
Eric Smith 7c58b09b64 Removed tests so that test_float pass on Windows. See issue 6198. 2009-06-05 12:33:26 +00:00
Hirokazu Yamamoto fbf63a7dfa Fix test__locale on windows (Backport of r72365) 2009-06-05 05:15:58 +00:00
Georg Brandl 4da2fa5517 Add test for #3684. 2009-06-04 18:59:58 +00:00
Georg Brandl 46121e79ce Better name for "Ctor". 2009-06-04 10:10:41 +00:00
Georg Brandl eb56aa169a #3584: ignore trailing newlines when placing the caret for a SyntaxError location. 2009-06-04 09:15:12 +00:00
Georg Brandl e6632b47bb #5767: remove sgmlop support from xmlrpclib; the sgmlop parser does not do much validation and is no longer much faster than e.g. the cElementTree XMLParser. 2009-06-04 08:58:32 +00:00
Tarek Ziadé e616c53aec improved test coverage for distutils.command.install and cleaned it up 2009-06-04 07:31:52 +00:00
Georg Brandl 19e79f79ce Avoid PendingDeprecationWarnings emitted by deprecated unittest methods. 2009-06-03 23:23:45 +00:00
Josiah Carlson 96b79c851a Fix for line wrap ugly. 2009-06-03 19:51:52 +00:00
Josiah Carlson a810bc736c This fixes bug 5798 on OS X.
This should also fix disconnect behavior cross-platform.
2009-06-03 19:46:21 +00:00
Tarek Ziadé 8df921b46b assertion message was dropped 2009-06-03 11:20:44 +00:00
Tarek Ziadé fe327b97d2 more cleanup and test coverage for distutils.extension 2009-06-03 11:12:08 +00:00
Tarek Ziadé c6709978ac added some tests for distutils.extension + code cleanup 2009-06-03 10:26:26 +00:00
Michael Foord dad7b7b1cb Restore default testRunner argument in unittest.main to None. Issue 6177 2009-06-02 18:08:27 +00:00
Tarek Ziadé abb4ec6dc4 improved distutils.spawn test coverage + cleaned it up 2009-06-02 15:58:43 +00:00