]>
granicus.if.org Git - python/log
Ethan Furman [Thu, 6 Feb 2014 16:13:14 +0000 (08:13 -0800)]
Close issue20412: Updated Enum docs to have referencable Enum and IntEnum classes
Brett Cannon [Thu, 6 Feb 2014 14:49:53 +0000 (09:49 -0500)]
Merge for issue #20488
Brett Cannon [Thu, 6 Feb 2014 14:46:08 +0000 (09:46 -0500)]
Issue #20488: Update docs to say importlib is *the* implementaiton of
import and not *an* implementation.
Brett Cannon [Thu, 6 Feb 2014 14:22:51 +0000 (09:22 -0500)]
Issue #6386: When executing a script that's a symlink, the directory
where the symlink resolves to is added to sys.path, not the directory
containing the symlink itself.
Thanks to Sanko Resic for an initial attempt at the patch.
Ronald Oussoren [Thu, 6 Feb 2014 10:19:18 +0000 (11:19 +0100)]
Issue #14455: fix handling of unsigned long long values for binary plist files
Values in the range of an unsigned long long, but outside of the range
of a signed long long were serialized as a negative value.
Due to a bug in PyObjC my test scripts indicated that the previous behavior
matched Apple's plist code, instead the handle large unsigned values correctly.
The change to plistlib.py is from a patch by Serhiy.
Serhiy Storchaka [Thu, 6 Feb 2014 07:27:28 +0000 (09:27 +0200)]
Issue #20520: Fixed readline test in test_codecs.
Serhiy Storchaka [Thu, 6 Feb 2014 07:26:56 +0000 (09:26 +0200)]
Issue #20520: Fixed readline test in test_codecs.
Yury Selivanov [Thu, 6 Feb 2014 05:18:48 +0000 (00:18 -0500)]
merge heads
Yury Selivanov [Thu, 6 Feb 2014 05:14:30 +0000 (00:14 -0500)]
asyncio.streams.StreamReader: Add 'at_eof()' method
Ned Deily [Thu, 6 Feb 2014 01:03:42 +0000 (17:03 -0800)]
Issue #20374: merge
Ned Deily [Thu, 6 Feb 2014 01:02:29 +0000 (17:02 -0800)]
Issue #20374: delete spurious empty line
Ned Deily [Thu, 6 Feb 2014 00:55:20 +0000 (16:55 -0800)]
Issue #20374: merge
Ned Deily [Thu, 6 Feb 2014 00:53:10 +0000 (16:53 -0800)]
Issue #20374: Avoid compiler warnings when compiling readline with libedit.
Yury Selivanov [Wed, 5 Feb 2014 23:11:13 +0000 (18:11 -0500)]
asyncio.streams: Use bytebuffer in StreamReader; Add assertion in feed_data
R David Murray [Wed, 5 Feb 2014 19:56:39 +0000 (14:56 -0500)]
#14515: clarify that TemporaryDirectory's __enter__ returns the name.
R David Murray [Wed, 5 Feb 2014 19:53:40 +0000 (14:53 -0500)]
#14515: clarify that TemporaryDirectory's __enter__ returns the name.
Serhiy Storchaka [Wed, 5 Feb 2014 18:54:43 +0000 (20:54 +0200)]
Issue #19920: TarFile.list() no longer fails when outputs a listing
containing non-encodable characters. Added tests for TarFile.list().
Based on patch by Vajrasky Kok.
Serhiy Storchaka [Wed, 5 Feb 2014 18:53:36 +0000 (20:53 +0200)]
Issue #19920: TarFile.list() no longer fails when outputs a listing
containing non-encodable characters. Added tests for TarFile.list().
Based on patch by Vajrasky Kok.
Eric V. Smith [Wed, 5 Feb 2014 15:33:14 +0000 (10:33 -0500)]
TestNamedTuple.test_pickle was only testing through protocol 2. Changed to have it automatically test through the most recent version.
Nick Coghlan [Wed, 5 Feb 2014 13:54:55 +0000 (23:54 +1000)]
Issue #20053: new test to check an assumption
Serhiy Storchaka [Wed, 5 Feb 2014 11:42:29 +0000 (13:42 +0200)]
Issue #20498: Fixed io.StringIO tests for newline='\n'. Added new tests.
Serhiy Storchaka [Wed, 5 Feb 2014 11:42:01 +0000 (13:42 +0200)]
Issue #20498: Fixed io.StringIO tests for newline='\n'. Added new tests.
Serhiy Storchaka [Wed, 5 Feb 2014 11:34:01 +0000 (13:34 +0200)]
Issue #20489: Explicitly qualified expressions for default values in methods.
Ned Deily [Wed, 5 Feb 2014 02:44:17 +0000 (18:44 -0800)]
Issue #20465: Update SQLite shipped with OS X installer to 3.8.3.
Christian Heimes [Tue, 4 Feb 2014 23:29:48 +0000 (00:29 +0100)]
Issue #20515: Fix NULL pointer dereference introduced by issue #20368
CID
1167595
Christian Heimes [Tue, 4 Feb 2014 23:29:17 +0000 (00:29 +0100)]
Issue #20515: Fix NULL pointer dereference introduced by issue #20368
CID
1167595
Guido van Rossum [Tue, 4 Feb 2014 22:27:14 +0000 (14:27 -0800)]
asyncio: Cosmetic improvement to test__run_once_logging() mock argument.
Guido van Rossum [Tue, 4 Feb 2014 21:49:34 +0000 (13:49 -0800)]
Add missing word ("thread") to sentence about call_soon_threadsafe.
Victor Stinner [Tue, 4 Feb 2014 17:18:27 +0000 (18:18 +0100)]
asyncio doc: add an example to schedule a coroutine from a different thread
Vinay Sajip [Tue, 4 Feb 2014 16:42:04 +0000 (16:42 +0000)]
Closes #20509: Merged documentation update from 3.3.
Vinay Sajip [Tue, 4 Feb 2014 16:28:07 +0000 (16:28 +0000)]
Issue #20509: Added cross-reference in documentation.
Benjamin Peterson [Tue, 4 Feb 2014 15:12:18 +0000 (10:12 -0500)]
merge 3.3 (#19186)
Benjamin Peterson [Tue, 4 Feb 2014 15:10:55 +0000 (10:10 -0500)]
restore namespacing of pyexpat symbols (closes #19186)
Nick Coghlan [Tue, 4 Feb 2014 13:02:36 +0000 (23:02 +1000)]
Close #20053: ignore default pip config settings
ensurepip now sets PIP_CONFIG_FILE to os.devnull before
import pip from the wheel file. This also ensures venv
ignores the default settings when bootstrapping pip.
Nick Coghlan [Tue, 4 Feb 2014 12:11:18 +0000 (22:11 +1000)]
Close #20404: blacklist non-text encodings in io.TextIOWrapper
- io.TextIOWrapper (and hence the open() builtin) now use the
internal codec marking system added for issue #19619
- also tweaked the C code to only look up the encoding once,
rather than multiple times
- the existing output type checks remain in place to deal with
unmarked third party codecs.
Victor Stinner [Tue, 4 Feb 2014 08:49:14 +0000 (09:49 +0100)]
Issue #17162: Fix compilation, replace non-breaking space with an ASCII space
Martin v. Löwis [Tue, 4 Feb 2014 08:33:05 +0000 (09:33 +0100)]
Issue #17162: Add PyType_GetSlot.
Victor Stinner [Tue, 4 Feb 2014 07:57:48 +0000 (08:57 +0100)]
asyncio: Fix _ProactorWritePipeTransport._pipe_closed()
Do nothing if the pipe is already closed. _loop_writing() may call
_force_close() when it gets ConnectionResetError.
Victor Stinner [Mon, 3 Feb 2014 22:59:52 +0000 (23:59 +0100)]
Oops, undo unwanted changes in test_asyncio: mistakes of my the last sync with
Tulip (changeset
d7ac90c0463a )
Victor Stinner [Mon, 3 Feb 2014 22:26:28 +0000 (23:26 +0100)]
asyncio doc: add an example of asyncio.subprocess with communicate() and wait()
Victor Stinner [Mon, 3 Feb 2014 22:08:14 +0000 (23:08 +0100)]
asyncio.subprocess: Replace Process.get_subprocess() method with a
Process.subprocess read-only property
Ned Deily [Mon, 3 Feb 2014 22:02:26 +0000 (14:02 -0800)]
Issue #20474: Fix "unexpected success" test_socket failures on OS X 10.7+.
Ned Deily [Mon, 3 Feb 2014 21:58:31 +0000 (13:58 -0800)]
Issue #20474: Fix "unexpected success" test_socket failures on OS X 10.7+.
Serhiy Storchaka [Mon, 3 Feb 2014 20:32:00 +0000 (22:32 +0200)]
Skip expr* tests for large integers for Tcl <8.5.
The '**' operator is available only since 8.5 and in any case such large
integers are not supported on Tcl <8.5.
Serhiy Storchaka [Mon, 3 Feb 2014 20:31:09 +0000 (22:31 +0200)]
Skip expr* tests for large integers for Tcl <8.5.
The '**' operator is available only since 8.5 and in any case such large
integers are not supported on Tcl <8.5.
Antoine Pitrou [Mon, 3 Feb 2014 20:01:35 +0000 (21:01 +0100)]
Issue #20426: When passing the re.DEBUG flag, re.compile() displays the debug output every time it is called, regardless of the compilation cache.
Antoine Pitrou [Mon, 3 Feb 2014 19:59:59 +0000 (20:59 +0100)]
Issue #20426: When passing the re.DEBUG flag, re.compile() displays the debug output every time it is called, regardless of the compilation cache.
Serhiy Storchaka [Mon, 3 Feb 2014 19:36:17 +0000 (21:36 +0200)]
Merge heads
Serhiy Storchaka [Mon, 3 Feb 2014 19:34:14 +0000 (21:34 +0200)]
Issue #19761: Fixed Tkinter tests on OS X.
Serhiy Storchaka [Mon, 3 Feb 2014 19:33:33 +0000 (21:33 +0200)]
Issue #19761: Fixed Tkinter tests on OS X.
Serhiy Storchaka [Mon, 3 Feb 2014 19:25:56 +0000 (21:25 +0200)]
Issue #20368: The null character now correctly passed from Tcl to Python.
Improved error handling in variables-related commands.
Serhiy Storchaka [Mon, 3 Feb 2014 19:24:07 +0000 (21:24 +0200)]
Issue #20368: The null character now correctly passed from Tcl to Python.
Improved error handling in variables-related commands.
Benjamin Peterson [Mon, 3 Feb 2014 19:08:00 +0000 (14:08 -0500)]
remove extra backtick
Serhiy Storchaka [Mon, 3 Feb 2014 18:46:14 +0000 (20:46 +0200)]
Issue #20368: Add tests for Tkinter methods exprstring(), exprdouble(),
exprlong() and exprboolean().
Serhiy Storchaka [Mon, 3 Feb 2014 18:41:34 +0000 (20:41 +0200)]
Issue #20368: Add tests for Tkinter methods exprstring(), exprdouble(),
exprlong() and exprboolean().
Benjamin Peterson [Mon, 3 Feb 2014 14:35:08 +0000 (09:35 -0500)]
remove code which does nothing but cause refleaks
Andrew Kuchling [Mon, 3 Feb 2014 14:20:22 +0000 (09:20 -0500)]
Merge from 3.3
Andrew Kuchling [Mon, 3 Feb 2014 14:04:02 +0000 (09:04 -0500)]
Use different word
Vinay Sajip [Mon, 3 Feb 2014 11:52:24 +0000 (11:52 +0000)]
Merged documentation update from 3.3.
Vinay Sajip [Mon, 3 Feb 2014 11:51:45 +0000 (11:51 +0000)]
Added cookbook entry on logging filter configuration using dictConfig().
Yury Selivanov [Mon, 3 Feb 2014 07:46:07 +0000 (02:46 -0500)]
inspect.signature: Add (restore) support for builtin classes #20473
R David Murray [Mon, 3 Feb 2014 06:33:39 +0000 (01:33 -0500)]
whatsnew: read/write on closed SSL socket exception has changed.
R David Murray [Mon, 3 Feb 2014 06:14:03 +0000 (01:14 -0500)]
whatsnew: html.escape 10x faster, _gestalt module gone.
Victor Stinner [Sun, 2 Feb 2014 23:35:46 +0000 (00:35 +0100)]
Issue #20472: asyncio: Adjust the note about Mac OS X on PTY, specify that it
requires at least Mac OS X 10.6.
Victor Stinner [Sun, 2 Feb 2014 23:32:13 +0000 (00:32 +0100)]
Issue #20472: test_asyncio: skip PTY tests on Mac OS X older than 10.6
Antoine Pitrou [Sun, 2 Feb 2014 22:38:48 +0000 (23:38 +0100)]
Issue #20435: Fix _pyio.StringIO.getvalue() to take into account newline translation settings.
Antoine Pitrou [Sun, 2 Feb 2014 22:37:29 +0000 (23:37 +0100)]
Issue #20435: Fix _pyio.StringIO.getvalue() to take into account newline translation settings.
Ned Deily [Sun, 2 Feb 2014 22:00:39 +0000 (14:00 -0800)]
Issue #19990: Install test/imghdrdata.
Ned Deily [Sun, 2 Feb 2014 21:59:49 +0000 (13:59 -0800)]
Issue #19990: Install test/imghdrdata.
Antoine Pitrou [Sun, 2 Feb 2014 21:49:03 +0000 (22:49 +0100)]
Issue #20423: fix documentation of io.StringIO's newline parameter
Antoine Pitrou [Sun, 2 Feb 2014 21:48:25 +0000 (22:48 +0100)]
Issue #20423: fix documentation of io.StringIO's newline parameter
Victor Stinner [Sun, 2 Feb 2014 21:43:39 +0000 (22:43 +0100)]
asyncio: document the new asyncio.subprocess module
Serhiy Storchaka [Sun, 2 Feb 2014 21:05:10 +0000 (23:05 +0200)]
Issue #19320: Fixed split/splitlist tests in test_tcl for Tcl 8.5.0-8.5.5.
Serhiy Storchaka [Sun, 2 Feb 2014 21:04:24 +0000 (23:04 +0200)]
Issue #19320: Fixed split/splitlist tests in test_tcl for Tcl 8.5.0-8.5.5.
Benjamin Peterson [Sun, 2 Feb 2014 20:31:07 +0000 (15:31 -0500)]
merge 3.3 (#20102)
Benjamin Peterson [Sun, 2 Feb 2014 20:30:22 +0000 (15:30 -0500)]
use with statement to ensure zipfile is always closed (closes #20102)
R David Murray [Sun, 2 Feb 2014 17:50:48 +0000 (12:50 -0500)]
whatsnew: hmac accepts more bytes types, importlib decode_source, stat in C.
R David Murray [Sun, 2 Feb 2014 17:19:57 +0000 (12:19 -0500)]
whatsnew: -m <namespace package>, plus 'using' doc updates.
Yury Selivanov [Sun, 2 Feb 2014 17:51:20 +0000 (12:51 -0500)]
inspect.signature: Use 'inspect.isbuiltin' in 'Signature.from_builtin'
R David Murray [Sun, 2 Feb 2014 16:32:31 +0000 (11:32 -0500)]
whatsnew: some more importlib replacements for imp functions.
get_magic->util.MAGIC_NUMBER, source_from_cache, and cache_from_source.
R David Murray [Sun, 2 Feb 2014 16:11:01 +0000 (11:11 -0500)]
whatsnew: filecmp.clear_cache, and reword description of cache in docs.
R David Murray [Sun, 2 Feb 2014 15:50:17 +0000 (10:50 -0500)]
whatsnew: fix importlib.reload entry.
Turns out I committed a work-in-progress entry because of a time
gap between when I wrote it and when I committed.
Victor Stinner [Sun, 2 Feb 2014 14:03:02 +0000 (15:03 +0100)]
asyncio doc: add "asyncio-" prefix to references
Terry Jan Reedy [Sun, 2 Feb 2014 04:14:59 +0000 (23:14 -0500)]
Update the python.gif icon for the Idle classbrowser and pathbowser
from the old green snake to the new new blue and yellow snakes.
Terry Jan Reedy [Sun, 2 Feb 2014 04:08:33 +0000 (23:08 -0500)]
Update the python.gif icon for the Idle classbrowser and pathbowser
from the old green snake to the new new blue and yellow snakes.
Victor Stinner [Sat, 1 Feb 2014 21:49:59 +0000 (22:49 +0100)]
Issue #20400: Merge Tulip into Python: add the new asyncio.subprocess module
* Add a new asyncio.subprocess module
* Add new create_subprocess_exec() and create_subprocess_shell() functions
* The new asyncio.subprocess.SubprocessStreamProtocol creates stream readers
for stdout and stderr and a stream writer for stdin.
* The new asyncio.subprocess.Process class offers an API close to the
subprocess.Popen class:
- pid, returncode, stdin, stdout and stderr attributes
- communicate(), wait(), send_signal(), terminate() and kill() methods
* Remove STDIN (0), STDOUT (1) and STDERR (2) constants from base_subprocess
and unix_events, to not be confused with the symbols with the same name of
subprocess and asyncio.subprocess modules
* _ProactorBasePipeTransport.get_write_buffer_size() now counts also the size
of the pending write
* _ProactorBaseWritePipeTransport._loop_writing() may now pause the protocol if
the write buffer size is greater than the high water mark (64 KB by default)
Ezio Melotti [Sat, 1 Feb 2014 19:22:26 +0000 (21:22 +0200)]
#20288: merge with 3.3.
Ezio Melotti [Sat, 1 Feb 2014 19:21:01 +0000 (21:21 +0200)]
#20288: fix handling of invalid numeric charrefs in HTMLParser.
Yury Selivanov [Sat, 1 Feb 2014 18:49:29 +0000 (13:49 -0500)]
inspect.tests: Fix tests to work on python built with '--without-doc-strings' #20471
R David Murray [Sat, 1 Feb 2014 17:27:07 +0000 (12:27 -0500)]
whatsnew: move of reload, update new windows-only ssl functions entry.
Larry Hastings [Sat, 1 Feb 2014 06:03:12 +0000 (22:03 -0800)]
#Issue 20456: Several improvements and bugfixes for Argument Clinic,
including correctly generating code for Clinic blocks inside C
preprocessor conditional blocks.
Victor Stinner [Sat, 1 Feb 2014 03:30:48 +0000 (04:30 +0100)]
Fix test_hash on "SPARC Solaris 10 (cc%2C 64b) [SB] 3.x" buildbot
I picked the value from the error message:
======================================================================
FAIL: test_ucs2_string (test.test_hash.StrHashRandomizationTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/cpython/buildslave/cc-64/3.x.snakebite-sol10-sparc-cc-64/build/Lib/test/test_hash.py", line 292, in test_ucs2_string
self.assertEqual(self.get_hash(self.repr_ucs2, seed=42), h)
AssertionError: -
3927695501187247084 != None
Victor Stinner [Sat, 1 Feb 2014 03:26:46 +0000 (04:26 +0100)]
test_hash: Fix a BytesWarning in get_hash_command()
Victor Stinner [Sat, 1 Feb 2014 03:11:16 +0000 (04:11 +0100)]
test_asyncio: relax timing, the "AMD64 Windows Server 2008 [SB] 3.x" buildbot
looks to be slow
Victor Stinner [Sat, 1 Feb 2014 03:07:02 +0000 (04:07 +0100)]
tracemalloc: Fix slicing traces and fix slicing a traceback.
Victor Stinner [Sat, 1 Feb 2014 02:58:07 +0000 (03:58 +0100)]
Issue #20354: Mention the fix in Misc/NEWS
Victor Stinner [Sat, 1 Feb 2014 02:43:58 +0000 (03:43 +0100)]
Issue #20354: Fix alignment issue in the tracemalloc module on 64-bit
platforms. Bug seen on 64-bit Linux when using "make profile-opt".
Only align the "frame_t" structure on 32-bit when Visual Studio is used. Before
the alignment to 32-bit was applied to the whole file any compiler supporting
"#pragma pack(4)" which includes GCC.
Victor Stinner [Sat, 1 Feb 2014 02:38:56 +0000 (03:38 +0100)]
Issue #20162: Fix an alignment issue in the siphash24() hash function which
caused a crash on PowerPC 64-bit (ppc64).
Victor Stinner [Sat, 1 Feb 2014 02:18:58 +0000 (03:18 +0100)]
asyncio doc: add "Concurrency and multithreading" section
Victor Stinner [Sat, 1 Feb 2014 01:36:43 +0000 (02:36 +0100)]
asyncio doc: document the granularity of the event loop
Improve also the "Logging" section