Commit Graph

43753 Commits

Author SHA1 Message Date
Antoine Pitrou 5b77d6dfa3 Remove obsolete warning filters in regrtest.py (from issue #7092 -- patch by
Florent Xicluna).
2010-01-08 19:39:04 +00:00
Senthil Kumaran 7a2ee0b460 Fix for Issue7026. For the Error - RuntimeError: dictionary changed size during iteration 2010-01-08 19:20:25 +00:00
Antoine Pitrou 8015725d4f Issue #7092: Remove py3k warning when importing cPickle. 2to3 handles
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.
2010-01-08 19:20:17 +00:00
Senthil Kumaran ce8e33a095 Reverting the Revision: 77368. I committed Flox's big patch for tests by
mistake. ( It may come in for sure tough)
2010-01-08 19:04:16 +00:00
Senthil Kumaran 3ddc435af6 Fixing - Issue7026 - RuntimeError: dictionary changed size during iteration. Patch by flox 2010-01-08 18:41:40 +00:00
Mark Dickinson 3194d1454c Backport some float repr tests that were missed in issue 7117. 2010-01-08 16:53:56 +00:00
Georg Brandl 96aa3ca242 #7653: clarify how the PythonPath registry key should look like. 2010-01-07 21:48:47 +00:00
Georg Brandl 54fd8ae0a3 Fix description for Py_GetPath(); it sounded like it always returned sys.path. 2010-01-07 20:54:45 +00:00
Antoine Pitrou 54584188cd Fix reattribution mistake when fixing attribution mistake! 2010-01-07 17:54:10 +00:00
Antoine Pitrou 254d23f3a3 Fix attribution. Florent actually repackaged and reviewed Victor's patch (sorry!). 2010-01-07 17:49:37 +00:00
Antoine Pitrou 0d423b870b Issue #7455: Fix possible crash in cPickle on invalid input. Patch by
Florent Xicluna.
2010-01-07 17:46:49 +00:00
Mark Dickinson bdd863d062 Eric Smith was missing fro m the issue 7117 whatsnew attribution. 2010-01-07 09:28:29 +00:00
R. David Murray f4d63ab1b6 Fix inadvertent checkin of debug line. 2010-01-07 04:04:28 +00:00
R. David Murray ff2d7a7f09 Add -W to the 'basics', 'opt', and 'all' test runs so that we get verbose
information if a failure happens.
2010-01-07 03:09:08 +00:00
Georg Brandl 705a358265 #5950: document that zip files with comments are unsupported in zipimport. 2010-01-06 18:26:08 +00:00
Georg Brandl 8904053003 #5991: let completion for the "help" command include help topics.
This also simplifies the Cmd.get_names() method implementation; it was written
at a time where dir() didn't consider base class attributes.
2010-01-06 18:02:16 +00:00
Georg Brandl 5089a38af2 Small fixes to test_cmd: fix signature of do_shell, remove duplicate import, add option to run the custom Cmd class. 2010-01-06 17:43:06 +00:00
Mark Dickinson 202eb9094c Add missing docstring for Context.divmod. Thanks Juan José Conti. 2010-01-06 16:20:22 +00:00
Georg Brandl 442879ac71 Add Stefan. 2010-01-05 18:14:52 +00:00
Benjamin Peterson 2b6e4bc3ad add a test about hashing array.array 2010-01-05 00:04:19 +00:00
Antoine Pitrou af45b11527 Kill a couple of "<>" 2010-01-04 23:28:16 +00:00
Antoine Pitrou b9d4963a98 Issue #7092: Fix the DeprecationWarnings emitted by the standard library
when using the -3 flag.  Patch by Florent Xicluna.
2010-01-04 23:22:44 +00:00
Ezio Melotti b9c3ed4f82 #3340: document print/get_usage and print/get_version 2010-01-04 21:43:02 +00:00
Mark Dickinson 2bcd177270 Fix typo in comment. 2010-01-04 21:32:02 +00:00
Ezio Melotti 81982566aa fixed markup errors 2010-01-04 09:00:11 +00:00
Benjamin Peterson 3694366af5 factor out __complex__ lookup code to fix another case 2010-01-04 01:00:47 +00:00
Benjamin Peterson ecdae19fbe do correct lookup of the __complex__ method 2010-01-04 00:43:01 +00:00
Antoine Pitrou 37559a085b Credit Nir Aides for r77288 2010-01-03 22:38:50 +00:00
Antoine Pitrou 673ddf9907 Issue #7471: Improve the performance of GzipFile's buffering mechanism,
and make it implement the `io.BufferedIOBase` ABC to allow for further
speedups by wrapping it in an `io.BufferedReader`.  Patch by Nir Aides.
2010-01-03 22:29:56 +00:00
Gregory P. Smith 49d709c921 Fix testSourceAddress to not test the host, it wasn't passing on some platforms. 2010-01-03 15:05:52 +00:00
Gregory P. Smith 3b18ff7e8b remove an obsolete file that should've gone with r77252 2010-01-03 14:56:28 +00:00
Georg Brandl 7c910ebf5b Update doc build step. 2010-01-03 13:05:39 +00:00
Mark Dickinson f132c16199 Make use of PyLong_AsLongAndOverflow in math_ldexp. 2010-01-03 12:03:03 +00:00
Ezio Melotti 722a8a95b7 :stmt: -> :keyword: 2010-01-03 09:09:55 +00:00
Ezio Melotti 5129ed38c3 #7618: fix highlight of code blocks 2010-01-03 09:01:27 +00:00
Kurt B. Kaiser ae628c97be r77152 to Doc/Makefile broke doc build due to (at least some) make
binaries running clean prereq after checkout.
1. So, fix the insane make call in build.sh - seems to solve it.
2. Fix a missing redirection.
3. Check in the rsync opts that actually work during upload.
2010-01-03 08:36:45 +00:00
Gregory P. Smith 9d3252154f issue3972: HTTPConnection and HTTPSConnection now support a
source_address parameter.

Also cleans up an annotation in the socket documentation.
2010-01-03 02:06:07 +00:00
Gregory P. Smith 79a3eb1058 Adds an optional source_address parameter to socket.create_connection().
For use by issue3972.
2010-01-03 01:29:44 +00:00
Andrew M. Kuchling 7f8ebdbad5 Add a few items 2010-01-03 01:15:21 +00:00
Gregory P. Smith ffd5d886c2 make setup.py similar to py3k's when reporting on _hashlib as missing or not. 2010-01-03 00:43:02 +00:00
Gregory P. Smith 6dcdcde2a8 Import all implementations of the hash algorithms (OpenSSL & builtin) and run
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.
2010-01-03 00:19:04 +00:00
Georg Brandl 92c58ae384 Fix typo. 2010-01-02 22:55:55 +00:00
Gregory P. Smith fe32d3010c mention the r77252 change 2010-01-02 22:42:50 +00:00
Gregory P. Smith 443ec6875f Issue #3745: Undo the requirement for new buffer API only objects to be passed
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.
2010-01-02 22:28:48 +00:00
Gregory P. Smith c2fa18ca20 Always compile the all versions of the hashlib algorithm modules when Python
was compiled with Py_DEBUG defined.  Otherwise the builtins are not compiled by
default for many developers due to OpenSSL being present, making it easier for
bugs to slip by.  A future commit will add test code compare the behaviors of
all implementations when they are all available.
2010-01-02 22:25:29 +00:00
Antoine Pitrou b538d546da Remove silly conditional. 2010-01-02 21:53:44 +00:00
Antoine Pitrou 83f86e8e98 Add tests for issue #7458: str.rfind() would crash when called with an invalid
start value.  The offending code itself was removed as part of #7462.
This patch by Victor Stinner.
2010-01-02 21:47:10 +00:00
Gregory P. Smith b56fb12b74 Correct documentation for s* z* and w*, the argument that should be passed
is the address of a Py_buffer, not a Py_buffer *.
2010-01-02 21:29:54 +00:00
Antoine Pitrou 5b7139aab4 Issue #7462: Implement the stringlib fast search algorithm for the `rfind`,
`rindex`, `rsplit` and `rpartition` methods.  Patch by Florent Xicluna.
2010-01-02 21:12:58 +00:00
Mark Dickinson d3e323215c Refactor some longobject internals: PyLong_AsDouble and _PyLong_AsScaledDouble
(the latter renamed to _PyLong_Frexp) now use the same core code.  The
exponent produced by _PyLong_Frexp now has type Py_ssize_t instead of the
previously used int, and no longer needs scaling by PyLong_SHIFT.  This
frees the math module from having to know anything about the PyLong
implementation.  This closes issue #5576.
2010-01-02 14:45:40 +00:00