]>
granicus.if.org Git - python/log
Serhiy Storchaka [Sat, 18 Jan 2014 14:28:37 +0000 (16:28 +0200)]
Issue #20244: Fixed possible file leaks when unexpected error raised in
tarfile open functions.
Serhiy Storchaka [Sat, 18 Jan 2014 14:28:08 +0000 (16:28 +0200)]
Issue #20244: Fixed possible file leaks when unexpected error raised in
tarfile open functions.
Serhiy Storchaka [Sat, 18 Jan 2014 14:14:49 +0000 (16:14 +0200)]
Issue #20243: TarFile no longer raise ReadError when opened in write mode.
Serhiy Storchaka [Sat, 18 Jan 2014 14:14:10 +0000 (16:14 +0200)]
Issue #20243: TarFile no longer raise ReadError when opened in write mode.
Serhiy Storchaka [Sat, 18 Jan 2014 13:53:39 +0000 (15:53 +0200)]
Issue #20238: TarFile opened with external fileobj and "w:gz" mode didn't
write complete output on close.
Serhiy Storchaka [Sat, 18 Jan 2014 13:53:05 +0000 (15:53 +0200)]
Issue #20238: TarFile opened with external fileobj and "w:gz" mode didn't
write complete output on close.
Serhiy Storchaka [Sat, 18 Jan 2014 13:37:21 +0000 (15:37 +0200)]
Issue #20245: The open functions in the tarfile module now correctly handle empty mode.
Serhiy Storchaka [Sat, 18 Jan 2014 13:35:37 +0000 (15:35 +0200)]
Issue #20245: The open functions in the tarfile module now correctly handle empty mode.
Larry Hastings [Sat, 18 Jan 2014 09:08:50 +0000 (01:08 -0800)]
Doc improvements for Clinic howto "Goals" section.
Larry Hastings [Sat, 18 Jan 2014 08:26:16 +0000 (00:26 -0800)]
Issue #20292: Small bug fix for Argument Clinic supporting format units
for strings with explicit encodings.
Benjamin Peterson [Sat, 18 Jan 2014 05:49:30 +0000 (00:49 -0500)]
merge 3.3
Benjamin Peterson [Sat, 18 Jan 2014 05:49:04 +0000 (00:49 -0500)]
rm extra whitespace
Benjamin Peterson [Sat, 18 Jan 2014 05:47:06 +0000 (00:47 -0500)]
merge 3.3
Benjamin Peterson [Sat, 18 Jan 2014 05:47:00 +0000 (00:47 -0500)]
link to builtin open not io.open
Benjamin Peterson [Sat, 18 Jan 2014 05:46:49 +0000 (00:46 -0500)]
merge 3.3 (#17814)
Benjamin Peterson [Sat, 18 Jan 2014 05:45:56 +0000 (00:45 -0500)]
describe type of Popen streams (closes #17814)
Patch more or less by Nikolaus Rath.
Larry Hastings [Sat, 18 Jan 2014 01:47:17 +0000 (17:47 -0800)]
Issue #20287: Argument Clinic's output is now configurable, allowing
delaying its output or even redirecting it to a separate file.
Zachary Ware [Fri, 17 Jan 2014 21:24:18 +0000 (15:24 -0600)]
Issue #20265: Merge with 3.3
Zachary Ware [Fri, 17 Jan 2014 21:23:42 +0000 (15:23 -0600)]
Issue #20265: Updated some parts of the Using Windows document.
Includes:
-mention cx_Freeze instead of py2exe (at least until py2exe supports Python 3)
-update ActivePython link
-Remove mention of platforms that were never supported by Python 3 (Win9x, DOS)
Gregory P. Smith [Fri, 17 Jan 2014 20:09:05 +0000 (12:09 -0800)]
avoid a compiler warning about assigning const char * to char *.
Gregory P. Smith [Fri, 17 Jan 2014 20:08:49 +0000 (12:08 -0800)]
avoid a compiler warning about assigning const char * to char *.
Gregory P. Smith [Fri, 17 Jan 2014 20:01:40 +0000 (12:01 -0800)]
sort os.listxattr results before comparing it to avoid depending on the ordering of the directory information in the underlying filesystem.
Gregory P. Smith [Fri, 17 Jan 2014 20:01:22 +0000 (12:01 -0800)]
sort os.listxattr results before comparing it to avoid depending on the
ordering of the directory information in the underlying filesystem.
Vinay Sajip [Fri, 17 Jan 2014 18:36:41 +0000 (18:36 +0000)]
Merged documentation update from 3.3.
Vinay Sajip [Fri, 17 Jan 2014 18:36:02 +0000 (18:36 +0000)]
Added example to recently added cookbook entry.
Brett Cannon [Fri, 17 Jan 2014 17:06:28 +0000 (12:06 -0500)]
Issues #20194,20195: Add missing :deprecated: markers to some module
docs.
Brett Cannon [Fri, 17 Jan 2014 16:45:01 +0000 (11:45 -0500)]
Issue #20208: Clarify some things in the Python porting HOWTO.
Thanks to Rodrigo Bernardo Pimentel, Ondřej Čertík, and Dmitry
Shachnev for the feedback leading to the changes.
Brett Cannon [Fri, 17 Jan 2014 16:03:19 +0000 (11:03 -0500)]
Issue #18394: Document that cgi.FieldStorage now cleans up after its
'file' attribute properly in Python 3.4.
Thanks to Marcel Hellkamp for pointing out the oversight.
Zachary Ware [Fri, 17 Jan 2014 15:31:19 +0000 (09:31 -0600)]
Merge typo/grammar fixes from 3.3.
Zachary Ware [Fri, 17 Jan 2014 15:30:03 +0000 (09:30 -0600)]
Fix some typos/grammar in current sections of NEWS.
Zachary Ware [Fri, 17 Jan 2014 15:00:36 +0000 (09:00 -0600)]
Issue #20266: Merge with 3.3
Zachary Ware [Fri, 17 Jan 2014 14:59:44 +0000 (08:59 -0600)]
Issue #20266: Update parts of the Windows FAQ
Victor Stinner [Fri, 17 Jan 2014 09:31:02 +0000 (10:31 +0100)]
asyncio: oops, add missing word :-)
Larry Hastings [Thu, 16 Jan 2014 22:15:03 +0000 (14:15 -0800)]
Issue #20226: Added tests for new features and regressions.
Larry Hastings [Thu, 16 Jan 2014 19:32:01 +0000 (11:32 -0800)]
Issue #20226: Major improvements to Argument Clinic.
* You may now specify an expression as the default value for a
parameter! Example: "sys.maxsize - 1". This support is
intentionally quite limited; you may only use values that
can be represented as static C values.
* Removed "doc_default", simplified support for "c_default"
and "py_default". (I'm not sure we still even need
"py_default", but I'm leaving it in for now in case a
use presents itself.)
* Parameter lines support a trailing '\\' as a line
continuation character, allowing you to break up long lines.
* The argument parsing code generated when supporting optional
groups now uses PyTuple_GET_SIZE instead of PyTuple_GetSize,
leading to a 850% speedup in parsing. (Just kidding, this
is an unmeasurable difference.)
* A bugfix for the recent regression where the generated
prototype from pydoc for builtins would be littered with
unreadable "=<object ...>"" default values for parameters
that had no default value.
* Converted some asserts into proper failure messages.
* Many doc improvements and fixes.
Guido van Rossum [Thu, 16 Jan 2014 19:05:23 +0000 (11:05 -0800)]
asyncio: Reincarnate CoroWrapper's docstring as a comment.
Victor Stinner [Thu, 16 Jan 2014 18:30:21 +0000 (19:30 +0100)]
asyncio doc: replace "coroutine" with "coroutine object" or "coroutine function"
Victor Stinner [Thu, 16 Jan 2014 17:58:01 +0000 (18:58 +0100)]
asyncio: add a new "Develop with asyncio" section to the documentation
Serhiy Storchaka [Thu, 16 Jan 2014 16:50:53 +0000 (18:50 +0200)]
Issue #19936: Remove executable bits from C source files and several forgotten
test files.
Serhiy Storchaka [Thu, 16 Jan 2014 16:48:45 +0000 (18:48 +0200)]
Issue #19936: Remove executable bits from C source files and several forgotten
test files.
Serhiy Storchaka [Thu, 16 Jan 2014 15:33:23 +0000 (17:33 +0200)]
Issue #19936: Added executable bits or shebang lines to Python scripts which
requires them. Disable executable bits and shebang lines in test and
benchmark files in order to prevent using a random system python, and in
source files of modules which don't provide command line interface. Fixed
shebang lines in the unittestgui and checkpip scripts.
Serhiy Storchaka [Thu, 16 Jan 2014 15:20:02 +0000 (17:20 +0200)]
Merge heads
Serhiy Storchaka [Thu, 16 Jan 2014 15:15:49 +0000 (17:15 +0200)]
Issue #19936: Added executable bits or shebang lines to Python scripts which
requires them. Disable executable bits and shebang lines in test and
benchmark files in order to prevent using a random system python, and in
source files of modules which don't provide command line interface. Fixed
shebang line to use python3 executable in the unittestgui script.
Benjamin Peterson [Thu, 16 Jan 2014 15:10:26 +0000 (10:10 -0500)]
merge 3.3 (#20272)
Benjamin Peterson [Thu, 16 Jan 2014 15:10:13 +0000 (10:10 -0500)]
linkify chain.from_iterable (closes #20272)
Benjamin Peterson [Thu, 16 Jan 2014 14:53:22 +0000 (09:53 -0500)]
merge 3.3 (#20278)
Benjamin Peterson [Thu, 16 Jan 2014 14:52:38 +0000 (09:52 -0500)]
update pysqlite website (closes #20278)
Stefan Krah [Thu, 16 Jan 2014 13:43:22 +0000 (14:43 +0100)]
Merge from 3.3.
Stefan Krah [Thu, 16 Jan 2014 13:33:27 +0000 (14:33 +0100)]
Issue #19936: Disable shebang lines in order to prevent using a random
system python.
Georg Brandl [Thu, 16 Jan 2014 05:53:54 +0000 (06:53 +0100)]
Closes #20235: Report file and line on unexpected exceptions in Argument Clinic.
Victor Stinner [Thu, 16 Jan 2014 00:55:29 +0000 (01:55 +0100)]
asyncio: Fix CoroWrapper (fix my previous commit)
Add __name__ and __doc__ to __slots__
Victor Stinner [Thu, 16 Jan 2014 00:38:24 +0000 (01:38 +0100)]
asyncio: Fix a typo in CoroWrapper
__slot__ => __slots__
Vinay Sajip [Wed, 15 Jan 2014 15:09:43 +0000 (15:09 +0000)]
Merged documentation update from 3.3.
Vinay Sajip [Wed, 15 Jan 2014 15:09:05 +0000 (15:09 +0000)]
Added cookbook entry on alternative formatting styles.
Vinay Sajip [Wed, 15 Jan 2014 13:29:24 +0000 (13:29 +0000)]
Merged documentation update from 3.3.
Vinay Sajip [Wed, 15 Jan 2014 13:28:39 +0000 (13:28 +0000)]
Clarified documentation note on module-level convenience functions.
Ronald Oussoren [Wed, 15 Jan 2014 10:32:35 +0000 (11:32 +0100)]
Issue #14455: Fix some issues with plistlib
* Negative integer support in binary plists was broken
* Better exception for invalid data
* Fix the versionadded/versionchanged markup in the documentation
* Add the interface cleanup to what's new for 3.4
Larry Hastings [Wed, 15 Jan 2014 06:22:41 +0000 (22:22 -0800)]
Issue #20268: Argument Clinic now supports cloning the parameters
and return converter from existing functions.
Meador Inge [Tue, 14 Jan 2014 22:48:31 +0000 (16:48 -0600)]
Fix minor bug in dict.__contains__ docstring.
When dict got clinicized in
8fde1a2c94dc for Issue #16612 an erroneous
trailing quote was left in the clinic docstring summary line.
Zachary Ware [Tue, 14 Jan 2014 22:03:51 +0000 (16:03 -0600)]
Issue #20255: Update the about and bugs pages.
Zachary Ware [Tue, 14 Jan 2014 22:03:11 +0000 (16:03 -0600)]
Issue #20255: Update the about and bugs pages.
Antoine Pitrou [Tue, 14 Jan 2014 20:02:43 +0000 (21:02 +0100)]
Replace assert with a proper error
Antoine Pitrou [Tue, 14 Jan 2014 20:00:27 +0000 (21:00 +0100)]
Clinic-ize the crypt module. Derby!
Antoine Pitrou [Tue, 14 Jan 2014 19:52:01 +0000 (20:52 +0100)]
improve an error message in clinic
Zachary Ware [Tue, 14 Jan 2014 15:10:33 +0000 (09:10 -0600)]
Closes #20253: Merge typo fix
Zachary Ware [Tue, 14 Jan 2014 15:09:48 +0000 (09:09 -0600)]
Issue #20253: Fixed a typo in the ipaddress docs that advertised an
illegal attribute name. Found by INADA Naoki.
Zachary Ware [Tue, 14 Jan 2014 14:45:38 +0000 (08:45 -0600)]
Merge typo fix.
Zachary Ware [Tue, 14 Jan 2014 14:44:49 +0000 (08:44 -0600)]
Fix typo. Found by David Pesta on docs@.
Zachary Ware [Tue, 14 Jan 2014 14:41:41 +0000 (08:41 -0600)]
Merge typo fix.
Zachary Ware [Tue, 14 Jan 2014 14:40:53 +0000 (08:40 -0600)]
Fix typo. Found by David Pesta on docs@.
Eric V. Smith [Tue, 14 Jan 2014 13:15:03 +0000 (08:15 -0500)]
Fix typo in comment.
Georg Brandl [Tue, 14 Jan 2014 11:27:44 +0000 (12:27 +0100)]
merge
Georg Brandl [Tue, 14 Jan 2014 11:27:21 +0000 (12:27 +0100)]
merge with 3.3
Georg Brandl [Tue, 14 Jan 2014 11:00:45 +0000 (12:00 +0100)]
Closes #20258: Sphinx toolchain: move back to Jinja2 2.3.1 with support for Py2.5.
Benjamin Peterson [Tue, 14 Jan 2014 05:29:03 +0000 (00:29 -0500)]
merge 3.3
Benjamin Peterson [Tue, 14 Jan 2014 05:27:42 +0000 (00:27 -0500)]
add test for #20251
Benjamin Peterson [Tue, 14 Jan 2014 05:22:50 +0000 (00:22 -0500)]
merge 3.3 (#20251)
Benjamin Peterson [Tue, 14 Jan 2014 05:21:49 +0000 (00:21 -0500)]
remove overly strict assertion (closes #20251)
Benjamin Peterson [Tue, 14 Jan 2014 04:56:30 +0000 (23:56 -0500)]
merge 3.3 (#20250)
Benjamin Peterson [Tue, 14 Jan 2014 04:56:05 +0000 (23:56 -0500)]
correct defaultdict signature in docstring (closes #20250)
Patch from Andrew Barnert.
Benjamin Peterson [Tue, 14 Jan 2014 04:14:58 +0000 (23:14 -0500)]
merge 3.3 (#20246)
Benjamin Peterson [Tue, 14 Jan 2014 04:14:42 +0000 (23:14 -0500)]
merge 3.3 (#20246)
Benjamin Peterson [Tue, 14 Jan 2014 04:12:55 +0000 (23:12 -0500)]
merge 3.2 (#20246)
Benjamin Peterson [Tue, 14 Jan 2014 03:59:38 +0000 (22:59 -0500)]
complain when nbytes > buflen to fix possible buffer overflow (closes #20246)
Zachary Ware [Tue, 14 Jan 2014 02:39:21 +0000 (20:39 -0600)]
Merge typo fix.
Zachary Ware [Tue, 14 Jan 2014 02:38:57 +0000 (20:38 -0600)]
Fix typo.
Zachary Ware [Mon, 13 Jan 2014 22:08:54 +0000 (16:08 -0600)]
Correct a typo. Found by Lauri Hakko on docs@.
Vinay Sajip [Mon, 13 Jan 2014 22:01:16 +0000 (22:01 +0000)]
Closes #20242: Merged fix from 3.3.
Vinay Sajip [Mon, 13 Jan 2014 21:59:56 +0000 (21:59 +0000)]
Issue #20242: Fixed basicConfig() format strings for the alternative formatting styles.
Ned Deily [Mon, 13 Jan 2014 19:34:19 +0000 (11:34 -0800)]
Issue #20229: Avoid plistlib deprecation warning in platform.mac_ver().
R David Murray [Mon, 13 Jan 2014 18:51:42 +0000 (13:51 -0500)]
Merge #20236: Fix sphinx markup.
R David Murray [Mon, 13 Jan 2014 18:51:17 +0000 (13:51 -0500)]
#20236: Fix sphinx markup.
R David Murray [Mon, 13 Jan 2014 18:30:13 +0000 (13:30 -0500)]
Merge #20206, #5803: more efficient algorithm that doesn't truncate output.
(No idea why test_tarfile is listed as changed...it isn't.)
R David Murray [Mon, 13 Jan 2014 18:19:21 +0000 (13:19 -0500)]
#20206, #5803: more efficient algorithm that doesn't truncate output.
This fixes an edge case (20206) where if the input ended in a character
needing encoding but there was no newline on the string, the last byte
of the encoded character would be dropped. The fix is to use a more
efficient algorithm, provided by Serhiy Storchaka (5803), that does not
have the bug.
Serhiy Storchaka [Mon, 13 Jan 2014 17:08:00 +0000 (19:08 +0200)]
Test the open of non-exitent tarfile in all modes.
Serhiy Storchaka [Mon, 13 Jan 2014 17:07:33 +0000 (19:07 +0200)]
Test the open of non-exitent tarfile in all modes.
Benjamin Peterson [Mon, 13 Jan 2014 14:20:53 +0000 (09:20 -0500)]
fix refleak in the error case
Serhiy Storchaka [Mon, 13 Jan 2014 12:24:11 +0000 (14:24 +0200)]
Fixed typo.
Serhiy Storchaka [Mon, 13 Jan 2014 12:23:18 +0000 (14:23 +0200)]
Fixed typo.
Senthil Kumaran [Mon, 13 Jan 2014 00:07:59 +0000 (16:07 -0800)]
merge from 3.3
Issue #19082: Working xmlrpc.server and xmlrpc.client examples. Both in modules and in documentation.