summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Merged revisions 71785 via svnmerge fromR. David Murray2009-04-222-5/+10
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r71785 | r.david.murray | 2009-04-21 09:06:04 -0400 (Tue, 21 Apr 2009) | 4 lines Restore skips of posix and pty tests on Windows by calling the test_support.import_module on the appropriate modules before any other imports. ........
* Update links and version info.Raymond Hettinger2009-04-211-1/+3
|
* Forward port r70471: Add object_pairs_hook. Issue 5381.Raymond Hettinger2009-04-214-8/+54
|
* Merged revisions 71772 via svnmerge fromMark Dickinson2009-04-201-0/+59
| | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r71772 | mark.dickinson | 2009-04-20 22:13:33 +0100 (Mon, 20 Apr 2009) | 5 lines Issue #3166: Make long -> float (and int -> float) conversions correctly rounded, using round-half-to-even. This ensures that the value of float(n) doesn't depend on whether we're using 15-bit digits or 30-bit digits for Python longs. ........
* Merged revisions 71759 via svnmerge fromTarek Ziadé2009-04-201-0/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r71759 | tarek.ziade | 2009-04-20 12:33:47 +0200 (Mon, 20 Apr 2009) | 1 line making BuildWinInstTestCase silent in case bdist_wininst is not run under win32 ........
* Merged revisions 71758 via svnmerge fromTarek Ziadé2009-04-201-3/+4
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r71758 | tarek.ziade | 2009-04-20 09:53:55 +0200 (Mon, 20 Apr 2009) | 1 line #5795 sysconfig._config_vars was shadowed in tearDown ........
* Issue #5463: Remove deprecated float coercion from struct module, alongMark Dickinson2009-04-191-58/+15
| | | | | with the _PY_STRUCT_FLOAT_COERCE constant. Simplify tests accordingly, and reenable (now-fixed) broken tests.
* Merged revisions 71750 via svnmerge fromMark Dickinson2009-04-191-1/+1
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r71750 | mark.dickinson | 2009-04-19 18:10:47 +0100 (Sun, 19 Apr 2009) | 3 lines Automatic conversion of floats to integers for struct.pack integer codes is deprecated. Use an explicit int() instead. ........
* Fix use of test skipping API.Antoine Pitrou2009-04-191-3/+3
|
* Issue #5734: BufferedRWPair was poorly tested and had several glaring bugs.Antoine Pitrou2009-04-192-10/+110
| | | | Patch by Brian Quinlan.
* Merged revisions 71722 via svnmerge fromBenjamin Peterson2009-04-181-0/+12
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r71722 | benjamin.peterson | 2009-04-18 15:12:47 -0500 (Sat, 18 Apr 2009) | 1 line try to initalize all builtin types with PyType_Ready to avoid problems like #5787 ........
* use the more offical skipping apiBenjamin Peterson2009-04-181-3/+3
|
* add annotations to open()Benjamin Peterson2009-04-181-2/+3
|
* Issue #1869 (and 4707, 5118, 5473, 1456775): use the newMark Dickinson2009-04-181-0/+83
| | | | | | | | string <-> float conversion routines to make round(x, n) correctly rounded for floats x, so that it always agrees with format(x, '.<n>f'). Also fix some other round nuisances, like round(123.456, 1-2**31) giving an integer rather than a float.
* Sort out some confusion in test_float.py: the twoMark Dickinson2009-04-171-15/+12
| | | | | | separate FormatTestCase classes have been combined, and test_short_repr has been moved from FormatTestCase to the existing ReprTestCase.
* Merged revisions 71674 via svnmerge fromTarek Ziadé2009-04-172-10/+9
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r71674 | tarek.ziade | 2009-04-17 16:29:56 +0200 (Fri, 17 Apr 2009) | 1 line DistutilsSetupError was not raised when one single warning occured ........
* The other half of Issue #1580: use short float repr where possible.Eric Smith2009-04-163-1/+129
| | | | | | | | | | | | | | Addresses the float -> string conversion, using David Gay's code which was added in Mark Dickinson's checkin r71663. Also addresses these, which are intertwined with the short repr changes: - Issue #5772: format(1e100, '<') produces '1e+100', not '1.0e+100' - Issue #5515: 'n' formatting with commas no longer works poorly with leading zeros. - PEP 378 Format Specifier for Thousands Separator: implemented for floats.
* Issue #1580: use short float repr where possible.Mark Dickinson2009-04-161-0/+354
| | | | | | | | | | | | | | | - incorporate and adapt David Gay's dtoa and strtod into the Python core - on platforms where we can use Gay's code (almost all!), repr(float) is based on the shortest sequence of decimal digits that rounds correctly. - add sys.float_repr_style attribute to indicate whether we're using Gay's code or not - add autoconf magic to detect and enable SSE2 instructions on x86/gcc - slight change to repr and str: repr switches to exponential notation at 1e16 instead of 1e17, str switches at 1e11 instead of 1e12
* Port r71408 to py3k: issue 5665, add more pickling tests.Collin Winter2009-04-162-9/+168
|
* Merged revisions 71627 via svnmerge fromBenjamin Peterson2009-04-151-0/+7
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r71627 | benjamin.peterson | 2009-04-15 16:26:36 -0500 (Wed, 15 Apr 2009) | 4 lines call __float__ on str subclasses #5759 tests by R. David Murray ........
* other places like this just catch IOErrorBenjamin Peterson2009-04-141-1/+1
|
* Merged revisions 71589 via svnmerge fromTarek Ziadé2009-04-131-10/+6
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r71589 | tarek.ziade | 2009-04-13 22:14:54 +0200 (Mon, 13 Apr 2009) | 1 line pep8-fied ........
* Merged revisions 71585 via svnmerge fromTarek Ziadé2009-04-131-0/+40
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r71585 | tarek.ziade | 2009-04-13 22:03:44 +0200 (Mon, 13 Apr 2009) | 1 line improved test coverage for distutils.cmd ........
* Merged revisions 71569 via svnmerge fromTarek Ziadé2009-04-131-0/+3
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r71569 | tarek.ziade | 2009-04-13 14:42:26 +0200 (Mon, 13 Apr 2009) | 1 line deactivate test_search_cpp under win32 ........
* Merged revisions 71560 via svnmerge fromTarek Ziadé2009-04-131-1/+31
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r71560 | tarek.ziade | 2009-04-13 14:34:01 +0200 (Mon, 13 Apr 2009) | 1 line Fixed #5607: Distutils test_get_platform was failing fo Mac OS X fat binaries. ........
* Merged revisions 71553 via svnmerge fromR. David Murray2009-04-131-4/+1
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r71553 | r.david.murray | 2009-04-12 21:06:46 -0400 (Sun, 12 Apr 2009) | 3 lines Adjust test_asyncore to account for intentional asyncore behavior change introduced by r70934 that was causing a test failure when run under -O. ........
* Merged revisions 71539 via svnmerge fromBenjamin Peterson2009-04-121-1/+0
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r71539 | benjamin.peterson | 2009-04-12 15:24:56 -0500 (Sun, 12 Apr 2009) | 1 line remove useless import ........
* Merged revisions 71533 via svnmerge fromTarek Ziadé2009-04-121-0/+18
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r71533 | tarek.ziade | 2009-04-12 19:02:08 +0200 (Sun, 12 Apr 2009) | 1 line removed string usage and added a test for _clean ........
* Merged revisions 71528 via svnmerge fromTarek Ziadé2009-04-122-0/+16
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r71528 | tarek.ziade | 2009-04-12 18:45:32 +0200 (Sun, 12 Apr 2009) | 1 line added a test for finalize_options ........
* Merged revisions 71523 via svnmerge fromTarek Ziadé2009-04-122-4/+14
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r71523 | tarek.ziade | 2009-04-12 18:31:24 +0200 (Sun, 12 Apr 2009) | 1 line added a simple test for search_cpp ........
* Add bytes/bytearray.maketrans() to mirror str.maketrans(), and deprecateGeorg Brandl2009-04-124-19/+18
| | | | string.maketrans() which actually works on bytes. (Also closes #5675.)
* Merged revisions 70873,70904,70934,71490 via svnmerge fromR. David Murray2009-04-122-65/+47
| | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r70873 | josiah.carlson | 2009-03-31 15:32:34 -0400 (Tue, 31 Mar 2009) | 2 lines This resolves issue 1161031. Tests pass. ........ r70904 | josiah.carlson | 2009-03-31 17:49:36 -0400 (Tue, 31 Mar 2009) | 3 lines Made handle_expt_event() be called last, so that we don't accidentally read after closing the socket. ........ r70934 | josiah.carlson | 2009-03-31 21:28:11 -0400 (Tue, 31 Mar 2009) | 2 lines Fix for failing asyncore tests. ........ r71490 | r.david.murray | 2009-04-11 13:52:56 -0400 (Sat, 11 Apr 2009) | 4 lines Make test_asyncore tests match code changes introduced by the fix to Issue1161031, refactoring the test to simplify it in the process. ........
* Merged revisions 71513 via svnmerge fromTarek Ziadé2009-04-121-10/+8
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r71513 | tarek.ziade | 2009-04-12 17:03:50 +0200 (Sun, 12 Apr 2009) | 1 line pep8-fied the module before adding tests ........
* Merged revisions 71509 via svnmerge fromTarek Ziadé2009-04-122-5/+52
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r71509 | tarek.ziade | 2009-04-12 16:53:51 +0200 (Sun, 12 Apr 2009) | 1 line removed the print statements and added a test ........
* Merged revisions ↵Benjamin Peterson2009-04-118-10/+107
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 70912,70944,70968,71033,71041,71208,71263,71286,71395-71396,71405-71406,71485,71492,71494 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r70912 | georg.brandl | 2009-03-31 17:35:46 -0500 (Tue, 31 Mar 2009) | 1 line #5617: add a handy function to print a unicode string to gdbinit. ........ r70944 | georg.brandl | 2009-03-31 23:32:39 -0500 (Tue, 31 Mar 2009) | 1 line #5631: add upload to list of possible commands, which is presented in --help-commands. ........ r70968 | michael.foord | 2009-04-01 13:25:38 -0500 (Wed, 01 Apr 2009) | 1 line Adding Wing project file ........ r71033 | brett.cannon | 2009-04-01 22:34:53 -0500 (Wed, 01 Apr 2009) | 3 lines Fix two issues introduced by issue #71031 by changing the signature of PyImport_AppendInittab() to take a const char *. ........ r71041 | jesse.noller | 2009-04-02 00:17:26 -0500 (Thu, 02 Apr 2009) | 1 line Add custom initializer argument to multiprocess.Manager*, courtesy of lekma ........ r71208 | michael.foord | 2009-04-04 20:15:01 -0500 (Sat, 04 Apr 2009) | 4 lines Change the way unittest.TestSuite use their tests to always access them through iteration. Non behavior changing, this allows you to create custom subclasses that override __iter__. Issue #5693 ........ r71263 | michael.foord | 2009-04-05 14:19:28 -0500 (Sun, 05 Apr 2009) | 4 lines Adding assertIs and assertIsNot methods to unittest.TestCase Issue #2578 ........ r71286 | tarek.ziade | 2009-04-05 17:04:38 -0500 (Sun, 05 Apr 2009) | 1 line added a simplest test to distutils.spawn._nt_quote_args ........ r71395 | benjamin.peterson | 2009-04-08 08:27:29 -0500 (Wed, 08 Apr 2009) | 1 line these must be installed to correctly run tests ........ r71396 | benjamin.peterson | 2009-04-08 08:29:41 -0500 (Wed, 08 Apr 2009) | 1 line fix syntax ........ r71405 | andrew.kuchling | 2009-04-09 06:22:47 -0500 (Thu, 09 Apr 2009) | 1 line Add items ........ r71406 | andrew.kuchling | 2009-04-09 06:23:36 -0500 (Thu, 09 Apr 2009) | 1 line Typo fixes ........ r71485 | andrew.kuchling | 2009-04-11 11:12:23 -0500 (Sat, 11 Apr 2009) | 1 line Add various items ........ r71492 | georg.brandl | 2009-04-11 13:19:27 -0500 (Sat, 11 Apr 2009) | 1 line Take credit for a patch of mine. ........ r71494 | benjamin.peterson | 2009-04-11 14:31:00 -0500 (Sat, 11 Apr 2009) | 1 line ignore py3_test_grammar when compiling the library ........
* Merged revisions 71303 via svnmerge fromBenjamin Peterson2009-04-112-14/+96
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r71303 | gregory.p.smith | 2009-04-06 01:33:26 -0500 (Mon, 06 Apr 2009) | 3 lines - Issue #2254: Fix CGIHTTPServer information disclosure. Relative paths are now collapsed within the url properly before looking in cgi_directories. ........
* Merged revisions ↵Benjamin Peterson2009-04-118-15/+76
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 70980,71059,71225,71234,71241,71243,71249,71251,71255,71266,71299,71329,71397-71398,71486 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r70980 | jack.diederich | 2009-04-01 15:26:13 -0500 (Wed, 01 Apr 2009) | 3 lines bounds check arguments to mmap.move(). All of them. Really. fixes crasher on OS X 10.5 ........ r71059 | mark.dickinson | 2009-04-02 13:39:37 -0500 (Thu, 02 Apr 2009) | 2 lines sys.long_info attributes should be ints, not longs ........ r71225 | georg.brandl | 2009-04-05 06:54:07 -0500 (Sun, 05 Apr 2009) | 1 line #5580: no need to use parentheses when converterr() argument is actually a type description. ........ r71234 | georg.brandl | 2009-04-05 08:16:35 -0500 (Sun, 05 Apr 2009) | 1 line Whitespace normalization. ........ r71241 | georg.brandl | 2009-04-05 09:48:49 -0500 (Sun, 05 Apr 2009) | 1 line #5471: fix expanduser() for $HOME set to "/". ........ r71243 | georg.brandl | 2009-04-05 10:14:29 -0500 (Sun, 05 Apr 2009) | 1 line #5432: make plistlib docstring a raw string, since it contains examples with backslash escapes. ........ r71249 | georg.brandl | 2009-04-05 11:30:43 -0500 (Sun, 05 Apr 2009) | 1 line #5444: adapt make.bat to new htmlhelp output file name. ........ r71251 | georg.brandl | 2009-04-05 12:17:42 -0500 (Sun, 05 Apr 2009) | 1 line #5298: clarify docs about GIL by using more consistent wording. ........ r71255 | georg.brandl | 2009-04-05 13:34:58 -0500 (Sun, 05 Apr 2009) | 1 line #602893: add indicator for current line in cgitb that doesnt rely on styling alone. ........ r71266 | georg.brandl | 2009-04-05 15:23:13 -0500 (Sun, 05 Apr 2009) | 1 line Normalize issue referencing style. ........ r71299 | gregory.p.smith | 2009-04-05 18:43:58 -0500 (Sun, 05 Apr 2009) | 3 lines Fixes issue5705: os.setuid() and friends did not accept the same range of values that pwd.getpwnam() returns. ........ r71329 | benjamin.peterson | 2009-04-06 16:53:33 -0500 (Mon, 06 Apr 2009) | 1 line add create_connection to __all__ #5711 ........ r71397 | georg.brandl | 2009-04-08 11:36:39 -0500 (Wed, 08 Apr 2009) | 1 line Remove redundant backtick. ........ r71398 | georg.brandl | 2009-04-08 11:39:04 -0500 (Wed, 08 Apr 2009) | 1 line Update ignore file for suspicious builder. ........ r71486 | andrew.kuchling | 2009-04-11 11:18:14 -0500 (Sat, 11 Apr 2009) | 1 line Re-word ........
* Merged revisions 71478 via svnmerge fromTarek Ziadé2009-04-112-1/+8
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r71478 | tarek.ziade | 2009-04-11 17:14:17 +0200 (Sat, 11 Apr 2009) | 1 line testing a full check case ........
* Merged revisions 71473 via svnmerge fromTarek Ziadé2009-04-113-0/+236
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r71473 | tarek.ziade | 2009-04-11 16:55:07 +0200 (Sat, 11 Apr 2009) | 1 line #5732: added the check command into Distutils ........
* Merged revisions 71465 via svnmerge fromNick Coghlan2009-04-113-34/+81
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r71465 | nick.coghlan | 2009-04-11 23:31:31 +1000 (Sat, 11 Apr 2009) | 1 line Issue 5354: Provide a standardised testing mechanism for doing fresh imports of modules, including the ability to block extension modules in order to test the pure Python fallbacks ........
* #5698, part 2: generate a meta info in pydoc HTML pages indicating the ↵Georg Brandl2009-04-101-2/+3
| | | | encoding, and fix the -w option to use the correct encoding.
* Merged revisions 71443 via svnmerge fromGeorg Brandl2009-04-101-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r71443 | georg.brandl | 2009-04-10 10:20:23 +0200 (Fr, 10 Apr 2009) | 1 line #5698: Fix casing of !DOCTYPE to conform to W3C specs. ........
* -fixes telnetlib constants to be one-length byte arrays instead of intsJack Diederich2009-04-102-76/+367
| | | | | | | | | | | | | | | | | | | | | | | | -this fixes telnet negotiation (broken in 3.0) -merged/ported telnetlib tests from trunk (below) Merged revisions 71302,71377,71385 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r71302 | jack.diederich | 2009-04-05 22:08:44 -0400 (Sun, 05 Apr 2009) | 1 line test the telnetlib.Telnet interface more thoroughly ........ r71377 | jack.diederich | 2009-04-07 16:22:59 -0400 (Tue, 07 Apr 2009) | 1 line eliminate more race conditions in telnetlib tests ........ r71385 | jack.diederich | 2009-04-07 19:56:57 -0400 (Tue, 07 Apr 2009) | 4 lines - Make timing assertions very generous (a la test_timeout.py) - Break the gc cycle in negotiation tests - test the different guarantees of read_lazy and read_very_lazy ........
* Merged revisions 71414 via svnmerge fromR. David Murray2009-04-092-18/+172
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r71414 | r.david.murray | 2009-04-09 17:54:50 -0400 (Thu, 09 Apr 2009) | 3 lines Issue #2170: refactored xml.dom.minidom.normalize, increasing both its clarity and its speed. ........
* Merged revisions 71413 via svnmerge fromTarek Ziadé2009-04-092-3/+37
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r71413 | tarek.ziade | 2009-04-09 23:36:44 +0200 (Thu, 09 Apr 2009) | 1 line Fixed #5731: Distutils bdist_wininst no longer worked on non-Windows platforms ........
* Minor factoring.Raymond Hettinger2009-04-081-1/+1
|
* Typo.Raymond Hettinger2009-04-081-1/+1
|
* Add docstrings.Raymond Hettinger2009-04-081-0/+29
|
* Merged revisions 71268 via svnmerge fromMatthias Klose2009-04-071-1/+1
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r71268 | matthias.klose | 2009-04-05 23:00:48 +0200 (So, 05 Apr 2009) | 3 lines - Issue #2703: SimpleXMLRPCDispatcher.__init__: Provide default values for new arguments introduced in 2.5. ........
* Merged revisions 71291 via svnmerge fromTarek Ziadé2009-04-052-21/+57
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r71291 | tarek.ziade | 2009-04-06 00:51:09 +0200 (Mon, 06 Apr 2009) | 1 line Fixed #5095: msi missing from Distutils bdist formats ........