Commit Graph

42209 Commits

Author SHA1 Message Date
Georg Brandl d933cc293b #2856: document 2.x os.listdir() behavior for undecodable filenames. 2009-05-16 11:21:29 +00:00
Georg Brandl 14315d6513 #6009: undocument default argument of Option as deprecated. 2009-05-16 11:18:55 +00:00
Georg Brandl 29d3a04618 #6025: fix signature of parse(). 2009-05-16 11:14:46 +00:00
Georg Brandl 8dc3b445ec #6034: clarify __reversed__ doc. 2009-05-16 11:13:21 +00:00
Antoine Pitrou f541378d13 Fix bootstrapping by removing uses of the copy module in distutils 2009-05-15 17:27:30 +00:00
Antoine Pitrou 775fd66d7b Issue #2116: Weak references and weak dictionaries now support copy()ing and deepcopy()ing. 2009-05-15 16:54:52 +00:00
Antoine Pitrou 52035a04ab Issue #1655: Make imaplib IPv6-capable. Patch by Derek Morr. 2009-05-15 11:50:29 +00:00
Georg Brandl 490096e760 Fix example output for doctest-like demos. 2009-05-15 08:03:03 +00:00
Collin Winter 0f489743ef Issue 6024: make regrtest.py promote refleaks to test failures. 2009-05-14 23:26:30 +00:00
Benjamin Peterson 0db3cd6700 a useful decorator for cleaning up threads 2009-05-14 22:40:34 +00:00
Benjamin Peterson 92d102bf6d prevent refleaks from threads 2009-05-14 22:37:49 +00:00
Antoine Pitrou 42b5bcf048 Issue #5918: Fix a crash in the parser module.
Patch by Amaury.
2009-05-14 21:48:09 +00:00
Antoine Pitrou eed30d830b Issue #1664: Make nntplib IPv6-capable. Patch by Derek Morr.
(Unfortunately, nntplib doesn't have a test suite)
2009-05-14 21:22:08 +00:00
Tarek Ziadé cbb4f9ef58 #6022 fixed test_get_outputs so it doesn't leaves a test file in the cwd 2009-05-14 20:14:13 +00:00
R. David Murray 878555401e Fix test failure on Windows, and add skip check if even unicodedata
turns out not to be an external module on some other platform.
2009-05-14 16:12:57 +00:00
Tarek Ziadé 8953913cf5 pep8-fied distutils.command.sdist + more tests 2009-05-14 14:56:14 +00:00
Tarek Ziadé 064a768101 more test coverage for distutils sdist command 2009-05-14 12:40:59 +00:00
Benjamin Peterson 51d06abc99 importlib.import_module is better these days 2009-05-14 00:33:10 +00:00
Tarek Ziadé d547144f0f adding void to the c function 2009-05-13 22:16:03 +00:00
Tarek Ziadé 1652410429 added an inifoo in the C file, to avoid a warning by the MSVC9 linker 2009-05-13 21:30:06 +00:00
R. David Murray 996ba02602 Issue #4050: inspect.findsource/getsource now raise an IOError if the 'source'
file is a binary.  Patch by Brodie Rao, test by Daniel Diniz.
2009-05-13 17:14:11 +00:00
R. David Murray 525cffcd7e Move news item to correct section, remove spurious 'see below'
from docstring.
2009-05-13 13:07:14 +00:00
R. David Murray a3ec697cbd Issue 5994: add docstrings to marshal. 2009-05-13 00:30:29 +00:00
Benjamin Peterson e9a2b8a0e3 the compiler attribute is used in setup.py; can't rename 2009-05-12 21:06:05 +00:00
Tarek Ziadé 972480d999 fixed #5977: distutils build_ext.get_outputs was not using the inplace option 2009-05-12 17:07:14 +00:00
Michael Foord f596a5125a Better fix for modules using unittest.main(). Fixes regression caused by commit for issue 5995. Michael Foord 2009-05-12 10:49:13 +00:00
Michael Foord 7df82c9ef8 Fix to restore command line behaviour for test modules using unittest.main(). Regression caused by issue 5995. Michael 2009-05-12 10:46:23 +00:00
Tarek Ziadé 4ba25c25d2 removing the assert statement so the code works when Python is run with -O 2009-05-12 07:01:29 +00:00
R. David Murray 7118954914 Make it clear up front that shelve only records changes
when objects are assigned back to it when writeback is False.
2009-05-12 01:36:57 +00:00
Michael Foord 5471a77687 Add missing # to NEWS 2009-05-11 18:01:45 +00:00
Michael Foord 5d31e057c5 Adds a verbosity keyword argument to unittest.main plus a minor fix allowing you to specify test modules / classes
from the command line.

Closes issue 5995.

Michael Foord
2009-05-11 17:59:43 +00:00
Mark Dickinson b1d45856c2 Issue #5981: Fix some float.fromhex bugs related to inf and nan handling. 2009-05-11 15:33:08 +00:00
Tarek Ziadé 68e27eb834 distutils.test_build_clib added a new line at the end of the file, to avoid a warning with some compilers 2009-05-11 08:45:17 +00:00
Benjamin Peterson 3dabc10134 sys.setdefaultencoding() strikes me as a bad example 2009-05-10 23:52:09 +00:00
Tarek Ziadé 2bb084e643 fixed test_build_ext for win32 2009-05-10 21:27:55 +00:00
Benjamin Peterson e1577fb20f use isinstance 2009-05-10 14:16:47 +00:00
Tarek Ziadé e3f68a1a96 fixed test for all platforms 2009-05-10 12:36:48 +00:00
Tarek Ziadé 450ca11a58 now using EnvironGuard everywhere 2009-05-10 12:17:30 +00:00
Tarek Ziadé d35f2a33d5 refactored test_sysconfig so it uses test.test_support.EnvironmentVarGuard 2009-05-10 11:59:30 +00:00
Tarek Ziadé 234ab8fc1c Added tests form install_lib and pep8-fied the module 2009-05-10 11:42:46 +00:00
Tarek Ziadé d5d83424d2 fixed #5984 and improved test coverage 2009-05-10 10:12:08 +00:00
Benjamin Peterson b91e8ede7a make sure files are closed using the with statement 2009-05-10 02:29:00 +00:00
Benjamin Peterson 14c7bc2ad2 close file explicitly 2009-05-10 01:38:02 +00:00
Benjamin Peterson ceea163e7c clear error state properly 2009-05-09 19:18:36 +00:00
Benjamin Peterson 4c1fe51ca0 don't ignore exceptions from _PyObject_LengthHint 2009-05-09 19:17:59 +00:00
Benjamin Peterson a7dc949e17 ignore AttributeErrors for classic classes 2009-05-09 19:03:05 +00:00
Benjamin Peterson 784d455066 *sigh* deal with instances correctly 2009-05-09 17:23:03 +00:00
Benjamin Peterson 0a32f9c448 can't handle classic classes here 2009-05-09 17:13:10 +00:00
Benjamin Peterson 3f3d36bd03 ignore classic classes 2009-05-09 16:51:51 +00:00
Benjamin Peterson af1692a266 convert some more special methods to use _PyObject_LookupSpecial 2009-05-09 16:36:39 +00:00