Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | indentation and further alignment with py3k | Ezio Melotti | 2009-12-31 | 1 | -3/+3 |
| | |||||
* | cleanup and refactoring | Ezio Melotti | 2009-12-31 | 1 | -128/+123 |
| | |||||
* | Merged revisions 77158 via svnmerge from | Benjamin Peterson | 2009-12-30 | 1 | -0/+5 |
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3 ........ r77158 | benjamin.peterson | 2009-12-30 13:41:03 -0600 (Wed, 30 Dec 2009) | 1 line clean up logging's global state after the test finishes ........ | ||||
* | check if the attribute is set before deleting it with T_OBJECT_EX (fixes #7604) | Benjamin Peterson | 2009-12-30 | 1 | -0/+5 |
| | | | | | Also, add a note to the docs about the better behavior of T_OBJECT_EX as compared to T_OBJECT. | ||||
* | Issue #7534: Fix handling of nans, infinities, and negative zero in ** | Mark Dickinson | 2009-12-30 | 2 | -2/+216 |
| | | | | operator, on IEEE 754 platforms. Thanks Marcos Donolo for original patch. | ||||
* | #5511: Added the ability to use ZipFile as a context manager. Patch by Brian ↵ | Ezio Melotti | 2009-12-30 | 2 | -489/+458 |
| | | | | Curtin. | ||||
* | #7413: Passing '\0' as the separator to datetime.datetime.isoformat() | Amaury Forgeot d'Arc | 2009-12-29 | 1 | -0/+1 |
| | | | | used to drop the time part of the result. | ||||
* | Issue #7575: An overflow test for math.expm1 was failing on OS X 10.4/Intel, | Mark Dickinson | 2009-12-29 | 1 | -1/+7 |
| | | | | | | | due to a defect in the platform's implementation of expm1. Since the issue is of low severity, and appears to be fixed in OS X 10.5 and 10.6, it doesn't seem worth working around, so I'm just weakening the relevant test so that it passes on 10.4. | ||||
* | enable test_main.py | Benjamin Peterson | 2009-12-29 | 1 | -2/+3 |
| | |||||
* | Merged revisions 76871-76872,77093-77095,77097-77101 via svnmerge from | Benjamin Peterson | 2009-12-28 | 6 | -19/+123 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3 ........ r76871 | benjamin.peterson | 2009-12-17 20:49:21 -0600 (Thu, 17 Dec 2009) | 1 line handle unencodable diffs gracefully #5093 ........ r76872 | benjamin.peterson | 2009-12-17 20:51:37 -0600 (Thu, 17 Dec 2009) | 1 line fix emacs header ........ r77093 | benjamin.peterson | 2009-12-28 14:43:32 -0600 (Mon, 28 Dec 2009) | 7 lines replace callable(x) with isinstance(x, collections.Callable) #7006 This is a more accurate translation than hasattr(x, '__call__') which failed in the case that somebody had put __call__ in the instance dictionary. Patch mostly by Joe Amenta. ........ r77094 | benjamin.peterson | 2009-12-28 14:45:13 -0600 (Mon, 28 Dec 2009) | 2 lines deuglify imports ........ r77095 | benjamin.peterson | 2009-12-28 14:49:23 -0600 (Mon, 28 Dec 2009) | 1 line remove unused flag ........ r77097 | benjamin.peterson | 2009-12-28 16:12:13 -0600 (Mon, 28 Dec 2009) | 2 lines clean up imports and whitespace ........ r77098 | benjamin.peterson | 2009-12-28 16:43:35 -0600 (Mon, 28 Dec 2009) | 1 line *** empty log message *** ........ r77099 | benjamin.peterson | 2009-12-28 16:45:10 -0600 (Mon, 28 Dec 2009) | 1 line revert unintended change ........ r77100 | benjamin.peterson | 2009-12-28 16:53:21 -0600 (Mon, 28 Dec 2009) | 1 line revert unintended changes ........ r77101 | benjamin.peterson | 2009-12-28 17:46:02 -0600 (Mon, 28 Dec 2009) | 1 line normalize whitespace ........ | ||||
* | #7033: add new API function PyErr_NewExceptionWithDoc, for easily giving new ↵ | Georg Brandl | 2009-12-28 | 1 | -0/+39 |
| | | | | exceptions a docstring. | ||||
* | #7381: consistency update, and backport avoiding ``None >= 0`` check from py3k. | Georg Brandl | 2009-12-28 | 1 | -4/+6 |
| | |||||
* | Use a more idiomatic check in check_truediv. | Mark Dickinson | 2009-12-27 | 1 | -3/+2 |
| | |||||
* | Use ldexp(q, exp) instead of q*2.**exp in true division test, to avoid bogus ↵ | Mark Dickinson | 2009-12-27 | 1 | -1/+2 |
| | | | | failures on platforms with broken pow (e.g., Ubuntu/ia64). | ||||
* | Issue #1811: Improve accuracy and consistency of true division for integers. | Mark Dickinson | 2009-12-27 | 1 | -0/+168 |
| | |||||
* | Fix for issue5625 - test_urllib2 fails - urlopen error file not on local host. | Senthil Kumaran | 2009-12-27 | 1 | -2/+3 |
| | | | | This is on hosts with multiple ip addresses. | ||||
* | #6108: unicode(exception) and str(exception) should return the same message | Ezio Melotti | 2009-12-24 | 1 | -1/+109 |
| | |||||
* | Issue #7568: typo in docstring. Thanks Mike Putnam. | Mark Dickinson | 2009-12-24 | 1 | -1/+1 |
| | |||||
* | allow Process name to be unicode #7571 | Benjamin Peterson | 2009-12-24 | 1 | -1/+1 |
| | |||||
* | Unittests and news items for the patch in r77026. | Ronald Oussoren | 2009-12-24 | 1 | -1/+30 |
| | |||||
* | Issue #6834: replace the implementation for the 'python' and 'pythonw' ↵ | Ronald Oussoren | 2009-12-24 | 1 | -1/+7 |
| | | | | | | | | | | | | | | | | | executables on OSX. The previous implementation used execv(2) to run the real interpreter, which means that you cannot use the arch(1) tool to select the architecture you want to use for a universal build because that only affects the python/pythonw wrapper and not the actual interpreter. The new version uses posix_spawnv with a number of OSX-specific options that ensure that the real interpreter is started using the same CPU architecture as the wrapper, and that means that 'arch -ppc python' now actually works. I've also changed the way that the wrapper looks for the framework: it is now linked to the framework rather than hardcoding the framework path. This should make it easier to provide pythonw support in tools like virtualenv. | ||||
* | On OSX the output of "uname -m" always reflects the 32-bit architecture | Ronald Oussoren | 2009-12-24 | 1 | -0/+10 |
| | | | | | | | | | for the machine ("i386" or "ppc"), even if the executable is 64-bit. This patchs ensures that the distutils platform architecture represents the architecture for the executable when running a 64-bit only executable on OSX. | ||||
* | fix alleged refleak | Benjamin Peterson | 2009-12-24 | 1 | -3/+8 |
| | |||||
* | Fix possible integer overflow in lchown and fchown functions. For issue1747858. | Gregory P. Smith | 2009-12-23 | 1 | -25/+48 |
| | |||||
* | backported r76993 and r76994 so the trunk behaves the same way with MSVC ↵ | Tarek Ziadé | 2009-12-21 | 2 | -29/+108 |
| | | | | Manifest files editing | ||||
* | Issue #7553: test_long_future wasn't testing properly. Thanks Florent Xicluna | Mark Dickinson | 2009-12-21 | 1 | -9/+7 |
| | | | | for bug report and patch. | ||||
* | Remove a leftover from a previous iteration of the issue 7376 patch. | R. David Murray | 2009-12-21 | 1 | -1/+1 |
| | |||||
* | massive import cleaning in Distutils | Tarek Ziadé | 2009-12-21 | 24 | -121/+97 |
| | |||||
* | Fixed #7552: fixed distutils.command.upload failure on very long passwords | Tarek Ziadé | 2009-12-20 | 2 | -4/+25 |
| | |||||
* | Issue #7554: Various fixups in test_cmath.py: remove code duplication, | Mark Dickinson | 2009-12-20 | 1 | -63/+50 |
| | | | | use new-style formatting. Thanks Florent Xicluna for the patch. | ||||
* | Silence -3 warnings. Thanks Florent Xicluna. | Mark Dickinson | 2009-12-20 | 1 | -2/+4 |
| | |||||
* | Fix for consistency with py3k keyword-only version of assertAlmostEqual | Mark Dickinson | 2009-12-20 | 1 | -4/+4 |
| | |||||
* | Issue #7554: Fix incorrect usage of rAssertAlmostEqual. Thanks Florent ↵ | Mark Dickinson | 2009-12-20 | 1 | -2/+2 |
| | | | | Xicluna. | ||||
* | Issue #7376: When called with no arguments doctest was running a | R. David Murray | 2009-12-20 | 1 | -18/+22 |
| | | | | | | | | | | self-test. Because of a change to the way tracebacks are printed, this self-test was failing. The test is run (and passes) during normal regression testing. So instead of running the failing self-test this patch makes doctest emit a usage message. This is better behavior anyway since passing in arguments is the real reason to run doctest as a command. Bug discovery and initial patch by Florent Xicluna. | ||||
* | Fix comment typo. | R. David Murray | 2009-12-20 | 1 | -1/+1 |
| | |||||
* | Add missing tests for PyArg_Parse* with format 'h' | Mark Dickinson | 2009-12-20 | 1 | -1/+18 |
| | |||||
* | #7381: subprocess documentation and library docstring consistency fixes. | Georg Brandl | 2009-12-20 | 1 | -9/+9 |
| | |||||
* | Fix for issue 7291 - urllib2 cannot handle https with proxy requiring auth | Senthil Kumaran | 2009-12-20 | 3 | -35/+97 |
| | | | | Refactored HTTPHandler tests and added testcase for proxy authorization. | ||||
* | Remove superfetatory paragraph (left there by mistake). | Antoine Pitrou | 2009-12-19 | 1 | -5/+0 |
| | |||||
* | Issue #7545: improve documentation of the `buffering` argument in io.open(). | Antoine Pitrou | 2009-12-19 | 1 | -0/+15 |
| | |||||
* | Issue #3366: Add error function and complementary error function to | Mark Dickinson | 2009-12-19 | 1 | -0/+82 |
| | | | | math module. | ||||
* | Issue #3366: Add expm1 function to math module. Thanks Eric Smith for | Mark Dickinson | 2009-12-16 | 2 | -7/+76 |
| | | | | testing on Windows. | ||||
* | Issue #7396: fix -s, which was broken by the -j enhancement. | R. David Murray | 2009-12-16 | 1 | -11/+9 |
| | |||||
* | remove lib2to3 resource | Benjamin Peterson | 2009-12-16 | 1 | -2/+0 |
| | |||||
* | cleaned up the module (PEP 8 + old fashion test removal) | Tarek Ziadé | 2009-12-15 | 1 | -3/+2 |
| | |||||
* | Issue #7498: make test_multiprocessing use test_support.find_unused_port | R. David Murray | 2009-12-14 | 1 | -2/+3 |
| | | | | instead of a hard coded port number in test_rapid_restart. | ||||
* | Issue #1680159: unicode coercion during an 'in' operation was masking | R. David Murray | 2009-12-14 | 1 | -1/+3 |
| | | | | | | | any errors that might occur during coercion of the left operand and turning them into a TypeError with a message text that was confusing in the given context. This patch lets any errors through, as was already done during coercion of the right hand side. | ||||
* | accept None as the same as having passed no argument in file types #7349 | Benjamin Peterson | 2009-12-13 | 2 | -4/+41 |
| | | | | | | | This is for consistency with imitation file objects like StringIO and BytesIO. This commit also adds a few tests, where they were lacking for concerned methods. | ||||
* | #7342: make sure that the datetime object in test_fraction always has a ↵ | Ezio Melotti | 2009-12-13 | 1 | -3/+4 |
| | | | | number of microseconds != 0 | ||||
* | make StringIO like other file objects in that readline(-1) has no effect #7348 | Benjamin Peterson | 2009-12-13 | 2 | -1/+3 |
| |