]>
granicus.if.org Git - python/log
Antoine Pitrou [Fri, 8 Jan 2010 19:20:17 +0000 (19:20 +0000)]
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.
Senthil Kumaran [Fri, 8 Jan 2010 19:04:16 +0000 (19:04 +0000)]
Reverting the Revision: 77368. I committed Flox's big patch for tests by
mistake. ( It may come in for sure tough)
Senthil Kumaran [Fri, 8 Jan 2010 18:41:40 +0000 (18:41 +0000)]
Fixing - Issue7026 - RuntimeError: dictionary changed size during iteration. Patch by flox
Mark Dickinson [Fri, 8 Jan 2010 16:53:56 +0000 (16:53 +0000)]
Backport some float repr tests that were missed in issue 7117.
Georg Brandl [Thu, 7 Jan 2010 21:48:47 +0000 (21:48 +0000)]
#7653: clarify how the PythonPath registry key should look like.
Georg Brandl [Thu, 7 Jan 2010 20:54:45 +0000 (20:54 +0000)]
Fix description for Py_GetPath(); it sounded like it always returned sys.path.
Antoine Pitrou [Thu, 7 Jan 2010 17:54:10 +0000 (17:54 +0000)]
Fix reattribution mistake when fixing attribution mistake!
Antoine Pitrou [Thu, 7 Jan 2010 17:49:37 +0000 (17:49 +0000)]
Fix attribution. Florent actually repackaged and reviewed Victor's patch (sorry!).
Antoine Pitrou [Thu, 7 Jan 2010 17:46:49 +0000 (17:46 +0000)]
Issue #7455: Fix possible crash in cPickle on invalid input. Patch by
Florent Xicluna.
Mark Dickinson [Thu, 7 Jan 2010 09:28:29 +0000 (09:28 +0000)]
Eric Smith was missing fro m the issue 7117 whatsnew attribution.
R. David Murray [Thu, 7 Jan 2010 04:04:28 +0000 (04:04 +0000)]
Fix inadvertent checkin of debug line.
R. David Murray [Thu, 7 Jan 2010 03:09:08 +0000 (03:09 +0000)]
Add -W to the 'basics', 'opt', and 'all' test runs so that we get verbose
information if a failure happens.
Georg Brandl [Wed, 6 Jan 2010 18:26:08 +0000 (18:26 +0000)]
#5950: document that zip files with comments are unsupported in zipimport.
Georg Brandl [Wed, 6 Jan 2010 18:02:16 +0000 (18:02 +0000)]
#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.
Georg Brandl [Wed, 6 Jan 2010 17:43:06 +0000 (17:43 +0000)]
Small fixes to test_cmd: fix signature of do_shell, remove duplicate import, add option to run the custom Cmd class.
Mark Dickinson [Wed, 6 Jan 2010 16:20:22 +0000 (16:20 +0000)]
Add missing docstring for Context.divmod. Thanks Juan José Conti.
Georg Brandl [Tue, 5 Jan 2010 18:14:52 +0000 (18:14 +0000)]
Add Stefan.
Benjamin Peterson [Tue, 5 Jan 2010 00:04:19 +0000 (00:04 +0000)]
add a test about hashing array.array
Antoine Pitrou [Mon, 4 Jan 2010 23:28:16 +0000 (23:28 +0000)]
Kill a couple of "<>"
Antoine Pitrou [Mon, 4 Jan 2010 23:22:44 +0000 (23:22 +0000)]
Issue #7092: Fix the DeprecationWarnings emitted by the standard library
when using the -3 flag. Patch by Florent Xicluna.
Ezio Melotti [Mon, 4 Jan 2010 21:43:02 +0000 (21:43 +0000)]
#3340: document print/get_usage and print/get_version
Mark Dickinson [Mon, 4 Jan 2010 21:32:02 +0000 (21:32 +0000)]
Fix typo in comment.
Ezio Melotti [Mon, 4 Jan 2010 09:00:11 +0000 (09:00 +0000)]
fixed markup errors
Benjamin Peterson [Mon, 4 Jan 2010 01:00:47 +0000 (01:00 +0000)]
factor out __complex__ lookup code to fix another case
Benjamin Peterson [Mon, 4 Jan 2010 00:43:01 +0000 (00:43 +0000)]
do correct lookup of the __complex__ method
Antoine Pitrou [Sun, 3 Jan 2010 22:38:50 +0000 (22:38 +0000)]
Credit Nir Aides for r77288
Antoine Pitrou [Sun, 3 Jan 2010 22:29:56 +0000 (22:29 +0000)]
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.
Gregory P. Smith [Sun, 3 Jan 2010 15:05:52 +0000 (15:05 +0000)]
Fix testSourceAddress to not test the host, it wasn't passing on some platforms.
Gregory P. Smith [Sun, 3 Jan 2010 14:56:28 +0000 (14:56 +0000)]
remove an obsolete file that should've gone with r77252
Georg Brandl [Sun, 3 Jan 2010 13:05:39 +0000 (13:05 +0000)]
Update doc build step.
Mark Dickinson [Sun, 3 Jan 2010 12:03:03 +0000 (12:03 +0000)]
Make use of PyLong_AsLongAndOverflow in math_ldexp.
Ezio Melotti [Sun, 3 Jan 2010 09:09:55 +0000 (09:09 +0000)]
:stmt: -> :keyword:
Ezio Melotti [Sun, 3 Jan 2010 09:01:27 +0000 (09:01 +0000)]
#7618: fix highlight of code blocks
Kurt B. Kaiser [Sun, 3 Jan 2010 08:36:45 +0000 (08:36 +0000)]
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.
Gregory P. Smith [Sun, 3 Jan 2010 02:06:07 +0000 (02:06 +0000)]
issue3972: HTTPConnection and HTTPSConnection now support a
source_address parameter.
Also cleans up an annotation in the socket documentation.
Gregory P. Smith [Sun, 3 Jan 2010 01:29:44 +0000 (01:29 +0000)]
Adds an optional source_address parameter to socket.create_connection().
For use by issue3972.
Andrew M. Kuchling [Sun, 3 Jan 2010 01:15:21 +0000 (01:15 +0000)]
Add a few items
Gregory P. Smith [Sun, 3 Jan 2010 00:43:02 +0000 (00:43 +0000)]
make setup.py similar to py3k's when reporting on _hashlib as missing or not.
Gregory P. Smith [Sun, 3 Jan 2010 00:19:04 +0000 (00:19 +0000)]
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.
Georg Brandl [Sat, 2 Jan 2010 22:55:55 +0000 (22:55 +0000)]
Fix typo.
Gregory P. Smith [Sat, 2 Jan 2010 22:42:50 +0000 (22:42 +0000)]
mention the r77252 change
Gregory P. Smith [Sat, 2 Jan 2010 22:28:48 +0000 (22:28 +0000)]
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.
Gregory P. Smith [Sat, 2 Jan 2010 22:25:29 +0000 (22:25 +0000)]
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.
Antoine Pitrou [Sat, 2 Jan 2010 21:53:44 +0000 (21:53 +0000)]
Remove silly conditional.
Antoine Pitrou [Sat, 2 Jan 2010 21:47:10 +0000 (21:47 +0000)]
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.
Gregory P. Smith [Sat, 2 Jan 2010 21:29:54 +0000 (21:29 +0000)]
Correct documentation for s* z* and w*, the argument that should be passed
is the address of a Py_buffer, not a Py_buffer *.
Antoine Pitrou [Sat, 2 Jan 2010 21:12:58 +0000 (21:12 +0000)]
Issue #7462: Implement the stringlib fast search algorithm for the `rfind`,
`rindex`, `rsplit` and `rpartition` methods. Patch by Florent Xicluna.
Mark Dickinson [Sat, 2 Jan 2010 14:45:40 +0000 (14:45 +0000)]
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.
Mark Dickinson [Sat, 2 Jan 2010 14:29:52 +0000 (14:29 +0000)]
Clarify that the rect, phase and polar functions work with radians.
Georg Brandl [Sat, 2 Jan 2010 12:35:01 +0000 (12:35 +0000)]
Fix casing.
Martin v. Löwis [Sat, 2 Jan 2010 09:53:18 +0000 (09:53 +0000)]
Make script work with 2.5.
Martin v. Löwis [Sat, 2 Jan 2010 09:25:21 +0000 (09:25 +0000)]
Update Windows build to sqlite 3.6.21.
Benjamin Peterson [Sat, 2 Jan 2010 02:43:04 +0000 (02:43 +0000)]
remove use of deprecated os.popen #7619
Mark Dickinson [Fri, 1 Jan 2010 17:27:30 +0000 (17:27 +0000)]
Issue #5080: turn the DeprecationWarning from float arguments passed
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.
Benjamin Peterson [Fri, 1 Jan 2010 15:21:13 +0000 (15:21 +0000)]
allow --with-dbmliborder to specify that no dbm modules will be built #6491
Benjamin Peterson [Fri, 1 Jan 2010 15:20:06 +0000 (15:20 +0000)]
fix indentation
Benjamin Peterson [Fri, 1 Jan 2010 15:18:38 +0000 (15:18 +0000)]
add note
Benjamin Peterson [Fri, 1 Jan 2010 15:16:29 +0000 (15:16 +0000)]
use pkg-config to find the libffi headers when --with-system-ffi is used #6943
Georg Brandl [Fri, 1 Jan 2010 13:07:05 +0000 (13:07 +0000)]
More yearly updates.
Ezio Melotti [Fri, 1 Jan 2010 04:16:42 +0000 (04:16 +0000)]
more copyright year updates
Benjamin Peterson [Fri, 1 Jan 2010 04:00:55 +0000 (04:00 +0000)]
update copyright year
Brett Cannon [Fri, 1 Jan 2010 01:44:57 +0000 (01:44 +0000)]
Add some missing command-line options to the main list. All but -V were already
documented. Left -V undocumented for now (and -U was already undocumented).
Mark Dickinson [Thu, 31 Dec 2009 21:11:48 +0000 (21:11 +0000)]
More configure fixes: avoid sh 'integer argument expected' error when 'long long' type doesn't exist.
Mark Dickinson [Thu, 31 Dec 2009 20:48:04 +0000 (20:48 +0000)]
Add missing quotes.
Benjamin Peterson [Thu, 31 Dec 2009 16:49:37 +0000 (16:49 +0000)]
add another advancement
Andrew M. Kuchling [Thu, 31 Dec 2009 16:38:53 +0000 (16:38 +0000)]
Add various items
Benjamin Peterson [Thu, 31 Dec 2009 16:28:24 +0000 (16:28 +0000)]
update expat comment
Andrew M. Kuchling [Thu, 31 Dec 2009 16:17:05 +0000 (16:17 +0000)]
Add some items
Ezio Melotti [Thu, 31 Dec 2009 13:47:24 +0000 (13:47 +0000)]
#7613: missing ) in flmodule.c
Ezio Melotti [Thu, 31 Dec 2009 13:27:41 +0000 (13:27 +0000)]
indentation and further alignment with py3k
Ezio Melotti [Thu, 31 Dec 2009 13:00:43 +0000 (13:00 +0000)]
cleanup and refactoring
Benjamin Peterson [Thu, 31 Dec 2009 03:17:18 +0000 (03:17 +0000)]
add a --with-system-expat option to build pyexpat against the system's lib #7609
Benjamin Peterson [Wed, 30 Dec 2009 19:44:23 +0000 (19:44 +0000)]
Merged revisions 77158 via svnmerge from
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
........
Benjamin Peterson [Wed, 30 Dec 2009 19:34:10 +0000 (19:34 +0000)]
check if the attribute is set before deleting it with T_OBJECT_EX (fixes #7604)
Also, add a note to the docs about the better behavior of T_OBJECT_EX as
compared to T_OBJECT.
Georg Brandl [Wed, 30 Dec 2009 19:03:00 +0000 (19:03 +0000)]
We only support Windows NT derivatives now.
Georg Brandl [Wed, 30 Dec 2009 18:36:09 +0000 (18:36 +0000)]
#7602: improve "clean" and "checkout" targets now that all tools are in externals.
Georg Brandl [Wed, 30 Dec 2009 18:32:50 +0000 (18:32 +0000)]
#7487: update Pygments version.
Georg Brandl [Wed, 30 Dec 2009 16:21:26 +0000 (16:21 +0000)]
Use new Pygments version.
Mark Dickinson [Wed, 30 Dec 2009 12:22:49 +0000 (12:22 +0000)]
Add Marcos Donolo for work on issue 7534 patch.
Mark Dickinson [Wed, 30 Dec 2009 12:12:23 +0000 (12:12 +0000)]
Issue #7534: Fix handling of nans, infinities, and negative zero in **
operator, on IEEE 754 platforms. Thanks Marcos Donolo for original patch.
Ezio Melotti [Wed, 30 Dec 2009 06:14:51 +0000 (06:14 +0000)]
#5511: Added the ability to use ZipFile as a context manager. Patch by Brian Curtin.
Benjamin Peterson [Wed, 30 Dec 2009 03:02:34 +0000 (03:02 +0000)]
wrap long line
Benjamin Peterson [Wed, 30 Dec 2009 02:58:50 +0000 (02:58 +0000)]
only build the nis module when the headers are found #7589
Andrew M. Kuchling [Tue, 29 Dec 2009 23:41:04 +0000 (23:41 +0000)]
Add various items
Amaury Forgeot d'Arc [Tue, 29 Dec 2009 23:06:17 +0000 (23:06 +0000)]
#7579: Add docstrings to the msvcrt module
Amaury Forgeot d'Arc [Tue, 29 Dec 2009 22:03:38 +0000 (22:03 +0000)]
#7413: Passing '\0' as the separator to datetime.datetime.isoformat()
used to drop the time part of the result.
Georg Brandl [Tue, 29 Dec 2009 21:09:17 +0000 (21:09 +0000)]
#7595: fix typo in argument default constant.
Mark Dickinson [Tue, 29 Dec 2009 20:51:24 +0000 (20:51 +0000)]
Issue #7575: An overflow test for math.expm1 was failing on OS X 10.4/Intel,
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.
Andrew M. Kuchling [Tue, 29 Dec 2009 20:10:16 +0000 (20:10 +0000)]
Various additions
Georg Brandl [Tue, 29 Dec 2009 11:25:38 +0000 (11:25 +0000)]
Fix wrong markup.
Georg Brandl [Tue, 29 Dec 2009 11:06:31 +0000 (11:06 +0000)]
Improve markup of ctypes docs.
Georg Brandl [Tue, 29 Dec 2009 10:34:34 +0000 (10:34 +0000)]
#7569: clarification about c_char_p.
Benjamin Peterson [Tue, 29 Dec 2009 00:09:33 +0000 (00:09 +0000)]
enable test_main.py
Benjamin Peterson [Mon, 28 Dec 2009 23:50:41 +0000 (23:50 +0000)]
Merged revisions 76871-76872,77093-77095,77097-77101 via svnmerge from
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
........
Benjamin Peterson [Mon, 28 Dec 2009 20:51:17 +0000 (20:51 +0000)]
document new fix_callable behavior
Georg Brandl [Mon, 28 Dec 2009 08:48:24 +0000 (08:48 +0000)]
#7404: remove reference to non-existing example files.
Georg Brandl [Mon, 28 Dec 2009 08:34:58 +0000 (08:34 +0000)]
#7033: add new API function PyErr_NewExceptionWithDoc, for easily giving new exceptions a docstring.
Georg Brandl [Mon, 28 Dec 2009 08:09:32 +0000 (08:09 +0000)]
#7381: consistency update, and backport avoiding ``None >= 0`` check from py3k.
Georg Brandl [Mon, 28 Dec 2009 08:01:59 +0000 (08:01 +0000)]
#7586: fix typo.
Georg Brandl [Mon, 28 Dec 2009 07:59:05 +0000 (07:59 +0000)]
#7577: fix signature of PyBuffer_FillInfo().