]>
granicus.if.org Git - python/log
Raymond Hettinger [Tue, 13 Jan 2009 03:49:43 +0000 (03:49 +0000)]
Minor documentation tweaks and simpler update() example.
Benjamin Peterson [Tue, 13 Jan 2009 01:49:10 +0000 (01:49 +0000)]
small logic correction
Raymond Hettinger [Tue, 13 Jan 2009 01:05:03 +0000 (01:05 +0000)]
Simplify Counter() API. Replace items keyword argument
with a mapping. Makes Counter() idempotent, makes update()
API the same as Counter.__init__(), makes a more readable
repr, makes the API more dict-like, and allows Steven
Bethard's update() example to work.
Amaury Forgeot d'Arc [Mon, 12 Jan 2009 23:36:55 +0000 (23:36 +0000)]
#3720: Interpreter crashes when an evil iterator removes its own next function.
Now the slot is filled with a function that always raises.
Will not backport: extensions compiled with 2.6.x would not run on 2.6.0.
Raymond Hettinger [Mon, 12 Jan 2009 22:58:41 +0000 (22:58 +0000)]
Issue
1696199 : Add collections.Counter().
Vinay Sajip [Mon, 12 Jan 2009 20:36:18 +0000 (20:36 +0000)]
Minor changes/corrections in markup.
Kristján Valur Jónsson [Mon, 12 Jan 2009 18:09:27 +0000 (18:09 +0000)]
Add tests for invalid format specifiers in strftime, and for handling of invalid file descriptors in the os module.
Raymond Hettinger [Mon, 12 Jan 2009 10:37:32 +0000 (10:37 +0000)]
Optimize heapq.nsmallest/nlargest for cases where n==1 or n>=size.
Kristján Valur Jónsson [Mon, 12 Jan 2009 09:24:04 +0000 (09:24 +0000)]
Misc/NEWS for issue 4293
Kristján Valur Jónsson [Mon, 12 Jan 2009 09:20:34 +0000 (09:20 +0000)]
Update Misc/NEWS for issue 3582
Martin v. Löwis [Mon, 12 Jan 2009 08:11:24 +0000 (08:11 +0000)]
Issue #4893: Use NT threading on CE.
Martin v. Löwis [Mon, 12 Jan 2009 07:57:11 +0000 (07:57 +0000)]
Issue #4915: Port sysmodule to Windows CE.
Benjamin Peterson [Sun, 11 Jan 2009 19:48:15 +0000 (19:48 +0000)]
add email addresses
Gregory P. Smith [Sun, 11 Jan 2009 17:57:54 +0000 (17:57 +0000)]
Update the documentation for binascii and zlib crc32/adler32 functions
to better describe the signed vs unsigned return value behavior on
different platforms and versions of python. Mention the workaround to
make them all return the same thing by using & 0xffffffff.
Fixes issue4903.
Also needs to be merged into release26-maint, release30-maint, & py3k.
Gregory P. Smith [Sun, 11 Jan 2009 17:53:33 +0000 (17:53 +0000)]
correct email address
Kristján Valur Jónsson [Sun, 11 Jan 2009 16:23:37 +0000 (16:23 +0000)]
Issue 4879: Allow buffering for HTTPResponse
Martin v. Löwis [Sun, 11 Jan 2009 09:43:55 +0000 (09:43 +0000)]
Issue #4895: Use _strdup on Windows CE.
Martin v. Löwis [Sun, 11 Jan 2009 09:26:54 +0000 (09:26 +0000)]
Issue #4279: Fix build of parsermodule under Cygwin.
Hirokazu Yamamoto [Sun, 11 Jan 2009 03:28:13 +0000 (03:28 +0000)]
Fixed version number in build_ssl.bat.
Benjamin Peterson [Sat, 10 Jan 2009 23:49:08 +0000 (23:49 +0000)]
macos 9 isn't supported
Benjamin Peterson [Sat, 10 Jan 2009 23:41:59 +0000 (23:41 +0000)]
move seealso to a more appropiate place
Benjamin Peterson [Sat, 10 Jan 2009 22:42:10 +0000 (22:42 +0000)]
make tests fail if they can't be imported
Vinay Sajip [Sat, 10 Jan 2009 19:22:57 +0000 (19:22 +0000)]
Corrected minor typo and added .currentmodule directives to fix missing cross-references.
Mark Dickinson [Sat, 10 Jan 2009 19:14:55 +0000 (19:14 +0000)]
Remove an unnecessary check from test_decimal.
Benjamin Peterson [Sat, 10 Jan 2009 19:08:49 +0000 (19:08 +0000)]
fix encoding
Antoine Pitrou [Sat, 10 Jan 2009 18:33:21 +0000 (18:33 +0000)]
Add ACKS entries for some of the patches I've been committing.
Benjamin Peterson [Sat, 10 Jan 2009 17:36:44 +0000 (17:36 +0000)]
tp_iter only exists with Py_TPFLAGS_HAVE_ITER #4901
Benjamin Peterson [Sat, 10 Jan 2009 17:18:55 +0000 (17:18 +0000)]
rewrite verbose conditionals
Matthias Klose [Sat, 10 Jan 2009 17:00:42 +0000 (17:00 +0000)]
- Issue #4861: ctypes.util.find_library(): Robustify. Fix library detection on
biarch systems. Try to rely on ldconfig only, without using objdump and gcc.
Antoine Pitrou [Sat, 10 Jan 2009 16:15:24 +0000 (16:15 +0000)]
Add NEWS entry for r68484.
Antoine Pitrou [Sat, 10 Jan 2009 16:13:45 +0000 (16:13 +0000)]
Issue #3860: GzipFile and BZ2File now support the context manager protocol.
Vinay Sajip [Sat, 10 Jan 2009 13:42:04 +0000 (13:42 +0000)]
Corrected an incorrect self-reference.
Vinay Sajip [Sat, 10 Jan 2009 13:38:04 +0000 (13:38 +0000)]
Minor documentation changes cross-referencing NullHandler to the documentation on configuring logging in a library.
Kristján Valur Jónsson [Sat, 10 Jan 2009 12:14:31 +0000 (12:14 +0000)]
Issue 4906: Preserve windows error state across PyThread_get_key_value
Hirokazu Yamamoto [Sat, 10 Jan 2009 09:18:16 +0000 (09:18 +0000)]
Added helper script to build Tcl/Tk.
Hirokazu Yamamoto [Sat, 10 Jan 2009 08:12:09 +0000 (08:12 +0000)]
Link to debug version of Tcl/Tk when python is built as debug version.
Hirokazu Yamamoto [Sat, 10 Jan 2009 08:09:43 +0000 (08:09 +0000)]
Bump up Tcl/Tk version on VC6. (tcl8.4.12 -> tcl8.5.2, tk8.4.12 -> tk8.5.2, tix8.4.0 -> tix8.4.3)
Antoine Pitrou [Fri, 9 Jan 2009 21:40:55 +0000 (21:40 +0000)]
Issue #4074: Change the criteria for doing a full garbage collection (i.e.
collecting the oldest generation) so that allocating lots of objects without
destroying them does not show quadratic performance. Based on a proposal by
Martin von Löwis at http://mail.python.org/pipermail/python-dev/2008-June/080579.html.
Kristján Valur Jónsson [Fri, 9 Jan 2009 21:35:16 +0000 (21:35 +0000)]
Issue 4293: Make Py_AddPendingCall() thread safe
Add test cases and documentation
Kristján Valur Jónsson [Fri, 9 Jan 2009 20:31:26 +0000 (20:31 +0000)]
Issue 4293: Make Py_AddPendingCall() thread safe
Kristján Valur Jónsson [Fri, 9 Jan 2009 20:27:16 +0000 (20:27 +0000)]
Issue 4336: Let users of HTTPConnection.endheaders() submit a message body to the function if required.
Kristján Valur Jónsson [Fri, 9 Jan 2009 20:23:16 +0000 (20:23 +0000)]
Issue 4336: HTTPRequest._send_output() now deals with the case of the message body not being a string. This allows clients to use endheaders(message_body) instead of endheaders() + send(message_body) without making any extra checks.
Kristján Valur Jónsson [Fri, 9 Jan 2009 20:10:59 +0000 (20:10 +0000)]
Issue 3677: Fix import from UNC paths on Windows.
Kristján Valur Jónsson [Fri, 9 Jan 2009 20:03:27 +0000 (20:03 +0000)]
Issue 3582. Improved thread support and TLS for Windows
Jeffrey Yasskin [Fri, 9 Jan 2009 16:47:07 +0000 (16:47 +0000)]
Fix issue 4884, preventing a crash in the socket code when python is compiled
with llvm-gcc and run with a glibc <2.10.
Hirokazu Yamamoto [Fri, 9 Jan 2009 04:10:40 +0000 (04:10 +0000)]
Bump up bsddb version on VC6. (db-4.4.20 -> db-4.7.25)
Hirokazu Yamamoto [Fri, 9 Jan 2009 03:32:46 +0000 (03:32 +0000)]
Bump up bzip2 version on VC6. (bzip2-1.0.3 -> bzip2-1.0.5)
Benjamin Peterson [Fri, 9 Jan 2009 03:15:00 +0000 (03:15 +0000)]
remove temporary code now
Benjamin Peterson [Fri, 9 Jan 2009 03:07:27 +0000 (03:07 +0000)]
be more specific in -3 option help
Benjamin Peterson [Fri, 9 Jan 2009 03:05:14 +0000 (03:05 +0000)]
add -3 to manpage
Benjamin Peterson [Fri, 9 Jan 2009 03:03:05 +0000 (03:03 +0000)]
fix spelling
Benjamin Peterson [Fri, 9 Jan 2009 02:56:32 +0000 (02:56 +0000)]
fix markup
Benjamin Peterson [Fri, 9 Jan 2009 02:53:35 +0000 (02:53 +0000)]
specify what -3 warnings are about
Benjamin Peterson [Fri, 9 Jan 2009 02:13:34 +0000 (02:13 +0000)]
Merged revisions 68306-68308,68340,68368,68422 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3
........
r68306 | benjamin.peterson | 2009-01-04 12:27:19 -0600 (Sun, 04 Jan 2009) | 1 line
fix_urllib: add mappings for the url parsing functions
........
r68307 | benjamin.peterson | 2009-01-04 12:30:01 -0600 (Sun, 04 Jan 2009) | 1 line
remove duplicated function
........
r68308 | benjamin.peterson | 2009-01-04 12:50:34 -0600 (Sun, 04 Jan 2009) | 1 line
turtle is no longer renamed
........
r68340 | georg.brandl | 2009-01-05 02:11:39 -0600 (Mon, 05 Jan 2009) | 2 lines
Fix undefined locals in parse_tokens().
........
r68368 | benjamin.peterson | 2009-01-06 17:56:10 -0600 (Tue, 06 Jan 2009) | 1 line
fix typo (thanks to Robert Lehmann)
........
r68422 | benjamin.peterson | 2009-01-08 20:01:03 -0600 (Thu, 08 Jan 2009) | 1 line
run the imports fixers after fix_import, so fix_import doesn't try to make stdlib renames into relative imports #4876
........
Tarek Ziadé [Thu, 8 Jan 2009 23:56:31 +0000 (23:56 +0000)]
fixed #4394 make the storage of the password optional in .pypirc
Raymond Hettinger [Thu, 8 Jan 2009 06:39:04 +0000 (06:39 +0000)]
Forward port r68394 for issue 4816.
Benjamin Peterson [Thu, 8 Jan 2009 04:01:00 +0000 (04:01 +0000)]
use new sphinx modules
Benjamin Peterson [Thu, 8 Jan 2009 03:39:46 +0000 (03:39 +0000)]
string exceptions are gone
Martin v. Löwis [Wed, 7 Jan 2009 18:40:40 +0000 (18:40 +0000)]
Issue #4850: Change COUNT_ALLOCS variables to Py_ssize_t.
Mark Dickinson [Wed, 7 Jan 2009 17:48:33 +0000 (17:48 +0000)]
Issue #4869: clarify documentation for random.expovariate.
Hirokazu Yamamoto [Wed, 7 Jan 2009 09:42:28 +0000 (09:42 +0000)]
Issue #4864: test_msvc9compiler failed on VC6/7.
Reviewed by Amaury Forgeot d'Arc.
Antoine Pitrou [Tue, 6 Jan 2009 18:34:08 +0000 (18:34 +0000)]
Use shutil.rmtree rather than os.rmdir.
Antoine Pitrou [Tue, 6 Jan 2009 18:10:47 +0000 (18:10 +0000)]
Issue #
1180193 : When importing a module from a .pyc (or .pyo) file with
an existing .py counterpart, override the co_filename attributes of all
code objects if the original filename is obsolete (which can happen if the
file has been renamed, moved, or if it is accessed through different paths).
Patch by Ziga Seilnacht and Jean-Paul Calderone.
Marc-André Lemburg [Mon, 5 Jan 2009 19:43:35 +0000 (19:43 +0000)]
Fix #4846 (Py_UNICODE_ISSPACE causes linker error) by moving the declaration
into the extern "C" section.
Add a few more comments and apply some minor edits to make the file contents
fit the original structure again.
Neal Norwitz [Mon, 5 Jan 2009 03:57:25 +0000 (03:57 +0000)]
Make sure to checkout any new packages
Georg Brandl [Sun, 4 Jan 2009 22:03:10 +0000 (22:03 +0000)]
Update make.bat.
Benjamin Peterson [Sun, 4 Jan 2009 22:00:18 +0000 (22:00 +0000)]
use Jinja 2.1.1
Antoine Pitrou [Sun, 4 Jan 2009 21:29:23 +0000 (21:29 +0000)]
Issue #4272: Add an optional argument to the GzipFile constructor to override the timestamp in the gzip stream.
Mark Dickinson [Sun, 4 Jan 2009 21:25:40 +0000 (21:25 +0000)]
Misc/NEWS entry for r68317
Mark Dickinson [Sun, 4 Jan 2009 21:22:02 +0000 (21:22 +0000)]
More Python 2.3 compatibility fixes for decimal.py.
Mark Dickinson [Sun, 4 Jan 2009 21:10:56 +0000 (21:10 +0000)]
Fix Decimal.from_float to use valid Python 2.3 syntax, as per
comments at top of decimal.py. (But note that the from_float
method itself with still not be usable before Python 2.7.)
See issue 4796 for discussion.
Mark Dickinson [Sun, 4 Jan 2009 20:19:41 +0000 (20:19 +0000)]
It's wrong to use AC_REPLACE_FUNCS for hypot, since there's no longer any
Python/hypot.c replacement file. Use AC_CHECK_FUNCS instead. This change
should be backported to 2.6 and 3.0.
Mark Dickinson [Sun, 4 Jan 2009 19:53:00 +0000 (19:53 +0000)]
Use C99 'isfinite' macro in preference to BSD-derived 'finite' function.
Mark Dickinson [Sun, 4 Jan 2009 17:02:05 +0000 (17:02 +0000)]
Fix HAVE_DECL_ISINF/ISNAN test (again).
Mark Dickinson [Sun, 4 Jan 2009 16:06:40 +0000 (16:06 +0000)]
Oops. Need to check not only that HAVE_DECL_ISINF is defined, but also
that it's equal to 1. (If isinf isn't defined, HAVE_DECL_ISINF is
defined to be 0, rather than being undefined.)
Mark Dickinson [Sun, 4 Jan 2009 13:57:26 +0000 (13:57 +0000)]
isinf and isnan are macros, not functions; fix configure script
to use AC_CHECK_DECLS instead of AC_CHECK_FUNCS for these.
(See discussion in issue #4506)
Mark Dickinson [Sun, 4 Jan 2009 12:29:36 +0000 (12:29 +0000)]
Add autoconf test to detect x87-style double rounding, as described in
issue #2937. This information can be helpful for diagnosing platform-
specific problems in math and cmath. The result of the test also
serves as a fairly reliable indicator of whether the x87 floating-point
instructions (as opposed to SSE2) are in use on Intel x86/x86_64 systems.
Tarek Ziadé [Sun, 4 Jan 2009 10:37:52 +0000 (10:37 +0000)]
using clearer syntax
Skip Montanaro [Sun, 4 Jan 2009 10:36:58 +0000 (10:36 +0000)]
If user configures --without-gcc give preference to $CC instead of blindly
assuming the compiler will be "cc".
Georg Brandl [Sun, 4 Jan 2009 10:24:09 +0000 (10:24 +0000)]
Fix two issues found by the suspicious builder.
Georg Brandl [Sun, 4 Jan 2009 10:23:49 +0000 (10:23 +0000)]
Add "suspicious" builder which finds leftover markup in the HTML files.
Patch by Gabriel Genellina.
Georg Brandl [Sun, 4 Jan 2009 08:26:10 +0000 (08:26 +0000)]
Test commit.
Benjamin Peterson [Sun, 4 Jan 2009 00:39:07 +0000 (00:39 +0000)]
only check the actual compile() call for a SyntaxError
Tarek Ziadé [Sun, 4 Jan 2009 00:04:49 +0000 (00:04 +0000)]
fixed #
1702551 : distutils sdist was not pruning VCS directories under win32
Georg Brandl [Sat, 3 Jan 2009 22:15:42 +0000 (22:15 +0000)]
Add temporary code to fix the automatic doc build failure.
Georg Brandl [Sat, 3 Jan 2009 22:05:22 +0000 (22:05 +0000)]
Manually merge r67868 from 2.6 branch.
Georg Brandl [Sat, 3 Jan 2009 22:03:11 +0000 (22:03 +0000)]
Manually merge r68095,68186,68187,68188,68190 from 2.6 branch.
Georg Brandl [Sat, 3 Jan 2009 21:52:16 +0000 (21:52 +0000)]
Grammar fix.
Guilherme Polo [Sat, 3 Jan 2009 21:51:09 +0000 (21:51 +0000)]
The _tkinter module functions "createfilehandler", "deletefilehandler",
"createtimerhandler", "mainloop", "dooneevent" and "quit" have been
deprecated for removal in 3.x (part of issue #3638).
Georg Brandl [Sat, 3 Jan 2009 21:11:58 +0000 (21:11 +0000)]
Disable the line length checker by default.
Georg Brandl [Sat, 3 Jan 2009 21:04:55 +0000 (21:04 +0000)]
Remove tabs from the documentation.
Georg Brandl [Sat, 3 Jan 2009 20:55:06 +0000 (20:55 +0000)]
Remove trailing whitespace.
Georg Brandl [Sat, 3 Jan 2009 20:47:01 +0000 (20:47 +0000)]
Fix uses of the default role.
Georg Brandl [Sat, 3 Jan 2009 20:38:59 +0000 (20:38 +0000)]
Recognize usage of the default role.
Georg Brandl [Sat, 3 Jan 2009 20:30:15 +0000 (20:30 +0000)]
Add rstlint, a little tool to find subtle markup problems and inconsistencies in the Doc sources.
Georg Brandl [Sat, 3 Jan 2009 20:15:14 +0000 (20:15 +0000)]
Fix role name.
Georg Brandl [Sat, 3 Jan 2009 19:44:48 +0000 (19:44 +0000)]
Make indentation consistent.
Georg Brandl [Sat, 3 Jan 2009 19:10:12 +0000 (19:10 +0000)]
Set eol-style correctly for mp_distributing.py.
Raymond Hettinger [Sat, 3 Jan 2009 19:08:10 +0000 (19:08 +0000)]
Reapply r68191.
Raymond Hettinger [Sat, 3 Jan 2009 19:02:23 +0000 (19:02 +0000)]
Issue 4796: Add from_float methods to the decimal module.