summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Issue #7532: Add additional slicing test cases for new- and old-styleMark Dickinson2010-01-091-2/+97
| | | | classes. Patch by Florent Xicluna.
* bump version to 2.7a2v2.7a2Benjamin Peterson2010-01-092-2/+2
|
* Fixed #7617: all flavors of gcc should be recognized nowTarek Ziadé2010-01-082-2/+17
|
* Remove obsolete warning filters in regrtest.py (from issue #7092 -- patch byAntoine Pitrou2010-01-081-9/+0
| | | | Florent Xicluna).
* Fix for Issue7026. For the Error - RuntimeError: dictionary changed size ↵Senthil Kumaran2010-01-081-1/+1
| | | | during iteration
* Issue #7092: Remove py3k warning when importing cPickle. 2to3 handlesAntoine Pitrou2010-01-081-1/+1
| | | | | | renaming of `cPickle` to `pickle`. The warning was annoying since there's no alternative to cPickle if you care about performance. Patch by Florent Xicluna.
* Reverting the Revision: 77368. I committed Flox's big patch for tests bySenthil Kumaran2010-01-08107-800/+442
| | | | mistake. ( It may come in for sure tough)
* Fixing - Issue7026 - RuntimeError: dictionary changed size during iteration. ↵Senthil Kumaran2010-01-08107-442/+800
| | | | Patch by flox
* Backport some float repr tests that were missed in issue 7117.Mark Dickinson2010-01-081-0/+49
|
* Issue #7455: Fix possible crash in cPickle on invalid input. Patch byAntoine Pitrou2010-01-071-0/+9
| | | | Florent Xicluna.
* #5991: let completion for the "help" command include help topics.Georg Brandl2010-01-062-13/+11
| | | | | 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 Brandl2010-01-061-2/+4
| | | | add option to run the custom Cmd class.
* Add missing docstring for Context.divmod. Thanks Juan José Conti.Mark Dickinson2010-01-061-0/+7
|
* add a test about hashing array.arrayBenjamin Peterson2010-01-051-0/+9
|
* Kill a couple of "<>"Antoine Pitrou2010-01-043-6/+6
|
* Issue #7092: Fix the DeprecationWarnings emitted by the standard libraryAntoine Pitrou2010-01-0416-85/+87
| | | | when using the -3 flag. Patch by Florent Xicluna.
* do correct lookup of the __complex__ methodBenjamin Peterson2010-01-041-0/+3
|
* Issue #7471: Improve the performance of GzipFile's buffering mechanism,Antoine Pitrou2010-01-032-57/+53
| | | | | 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. Smith2010-01-031-9/+4
|
* issue3972: HTTPConnection and HTTPSConnection now support aGregory P. Smith2010-01-032-7/+44
| | | | | | source_address parameter. Also cleans up an annotation in the socket documentation.
* Adds an optional source_address parameter to socket.create_connection().Gregory P. Smith2010-01-032-4/+23
| | | | For use by issue3972.
* Import all implementations of the hash algorithms (OpenSSL & builtin) and runGregory P. Smith2010-01-031-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 passedGregory P. Smith2010-01-021-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 Pitrou2010-01-021-4/+2
|
* Add tests for issue #7458: str.rfind() would crash when called with an invalidAntoine Pitrou2010-01-021-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 Pitrou2010-01-022-3/+33
| | | | `rindex`, `rsplit` and `rpartition` methods. Patch by Florent Xicluna.
* Fix casing.Georg Brandl2010-01-021-1/+1
|
* remove use of deprecated os.popen #7619Benjamin Peterson2010-01-021-3/+8
|
* Issue #5080: turn the DeprecationWarning from float arguments passedMark Dickinson2010-01-014-26/+30
| | | | | | 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 Brandl2010-01-0110-11/+11
|
* indentation and further alignment with py3kEzio Melotti2009-12-311-3/+3
|
* cleanup and refactoringEzio Melotti2009-12-311-128/+123
|
* Merged revisions 77158 via svnmerge fromBenjamin Peterson2009-12-301-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 Peterson2009-12-301-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 Dickinson2009-12-302-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 Melotti2009-12-302-489/+458
| | | | Curtin.
* #7413: Passing '\0' as the separator to datetime.datetime.isoformat()Amaury Forgeot d'Arc2009-12-291-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 Dickinson2009-12-291-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.pyBenjamin Peterson2009-12-291-2/+3
|
* Merged revisions 76871-76872,77093-77095,77097-77101 via svnmerge fromBenjamin Peterson2009-12-286-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 Brandl2009-12-281-0/+39
| | | | exceptions a docstring.
* #7381: consistency update, and backport avoiding ``None >= 0`` check from py3k.Georg Brandl2009-12-281-4/+6
|
* Use a more idiomatic check in check_truediv.Mark Dickinson2009-12-271-3/+2
|
* Use ldexp(q, exp) instead of q*2.**exp in true division test, to avoid bogus ↵Mark Dickinson2009-12-271-1/+2
| | | | failures on platforms with broken pow (e.g., Ubuntu/ia64).
* Issue #1811: Improve accuracy and consistency of true division for integers.Mark Dickinson2009-12-271-0/+168
|
* Fix for issue5625 - test_urllib2 fails - urlopen error file not on local host.Senthil Kumaran2009-12-271-2/+3
| | | | This is on hosts with multiple ip addresses.
* #6108: unicode(exception) and str(exception) should return the same messageEzio Melotti2009-12-241-1/+109
|
* Issue #7568: typo in docstring. Thanks Mike Putnam.Mark Dickinson2009-12-241-1/+1
|
* allow Process name to be unicode #7571Benjamin Peterson2009-12-241-1/+1
|
* Unittests and news items for the patch in r77026.Ronald Oussoren2009-12-241-1/+30
|