Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Reverting the Revision: 77368. I committed Flox's big patch for tests by | Senthil Kumaran | 2010-01-08 | 107 | -800/+442 |
| | | | | mistake. ( It may come in for sure tough) | ||||
* | Fixing - Issue7026 - RuntimeError: dictionary changed size during iteration. ↵ | Senthil Kumaran | 2010-01-08 | 107 | -442/+800 |
| | | | | Patch by flox | ||||
* | Backport some float repr tests that were missed in issue 7117. | Mark Dickinson | 2010-01-08 | 1 | -0/+49 |
| | |||||
* | Issue #7455: Fix possible crash in cPickle on invalid input. Patch by | Antoine Pitrou | 2010-01-07 | 1 | -0/+9 |
| | | | | Florent Xicluna. | ||||
* | #5991: let completion for the "help" command include help topics. | Georg Brandl | 2010-01-06 | 1 | -2/+4 |
| | | | | | This also simplifies the Cmd.get_names() method implementation; it was written at a time where dir() didn't consider base class attributes. | ||||
* | Small fixes to test_cmd: fix signature of do_shell, remove duplicate import, ↵ | Georg Brandl | 2010-01-06 | 1 | -2/+4 |
| | | | | add option to run the custom Cmd class. | ||||
* | add a test about hashing array.array | Benjamin Peterson | 2010-01-05 | 1 | -0/+9 |
| | |||||
* | Kill a couple of "<>" | Antoine Pitrou | 2010-01-04 | 1 | -2/+2 |
| | |||||
* | do correct lookup of the __complex__ method | Benjamin Peterson | 2010-01-04 | 1 | -0/+3 |
| | |||||
* | Issue #7471: Improve the performance of GzipFile's buffering mechanism, | Antoine Pitrou | 2010-01-03 | 1 | -0/+11 |
| | | | | | and make it implement the `io.BufferedIOBase` ABC to allow for further speedups by wrapping it in an `io.BufferedReader`. Patch by Nir Aides. | ||||
* | Fix testSourceAddress to not test the host, it wasn't passing on some platforms. | Gregory P. Smith | 2010-01-03 | 1 | -9/+4 |
| | |||||
* | issue3972: HTTPConnection and HTTPSConnection now support a | Gregory P. Smith | 2010-01-03 | 1 | -2/+35 |
| | | | | | | source_address parameter. Also cleans up an annotation in the socket documentation. | ||||
* | Adds an optional source_address parameter to socket.create_connection(). | Gregory P. Smith | 2010-01-03 | 1 | -1/+14 |
| | | | | For use by issue3972. | ||||
* | Import all implementations of the hash algorithms (OpenSSL & builtin) and run | Gregory P. Smith | 2010-01-03 | 1 | -10/+75 |
| | | | | | | | | | the test suite across all that are available. Warns about extension modules that could not be imported when python was compiled with Py_DEBUG. That warning could be made fatal but I didn't want to do that initially as I suspect non setup.py based build processes (windows, any others?) won't compile them all conditionally based on the Py_DEBUG setting today. | ||||
* | Issue #3745: Undo the requirement for new buffer API only objects to be passed | Gregory P. Smith | 2010-01-02 | 1 | -11/+16 |
| | | | | | | to hashlib functions in python 2.x. The module now uses the 's*' for argument parsing which auto encodes unicode objects to the system default encoding for us. | ||||
* | Remove silly conditional. | Antoine Pitrou | 2010-01-02 | 1 | -4/+2 |
| | |||||
* | Add tests for issue #7458: str.rfind() would crash when called with an invalid | Antoine Pitrou | 2010-01-02 | 1 | -0/+6 |
| | | | | | start value. The offending code itself was removed as part of #7462. This patch by Victor Stinner. | ||||
* | Issue #7462: Implement the stringlib fast search algorithm for the `rfind`, | Antoine Pitrou | 2010-01-02 | 2 | -3/+33 |
| | | | | `rindex`, `rsplit` and `rpartition` methods. Patch by Florent Xicluna. | ||||
* | Issue #5080: turn the DeprecationWarning from float arguments passed | Mark Dickinson | 2010-01-01 | 3 | -25/+29 |
| | | | | | | to integer PyArg_Parse* format codes into a TypeError. Add a DeprecationWarning for floats passed with the 'L' format code, which didn't previously have a warning. | ||||
* | More yearly updates. | Georg Brandl | 2010-01-01 | 2 | -3/+3 |
| | |||||
* | 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 |
| | |||||
* | 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 | 1 | -489/+452 |
| | | | | 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 |
| | |||||
* | #7033: add new API function PyErr_NewExceptionWithDoc, for easily giving new ↵ | Georg Brandl | 2009-12-28 | 1 | -0/+39 |
| | | | | exceptions a docstring. | ||||
* | 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 |
| | |||||
* | #6108: unicode(exception) and str(exception) should return the same message | Ezio Melotti | 2009-12-24 | 1 | -1/+109 |
| | |||||
* | 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 |
| | |||||
* | 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. | ||||
* | 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. | ||||
* | Add missing tests for PyArg_Parse* with format 'h' | Mark Dickinson | 2009-12-20 | 1 | -1/+18 |
| | |||||
* | Fix for issue 7291 - urllib2 cannot handle https with proxy requiring auth | Senthil Kumaran | 2009-12-20 | 1 | -31/+74 |
| | | | | Refactored HTTPHandler tests and added testcase for proxy authorization. | ||||
* | 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 |
| | |||||
* | 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 |